|
|
@ -93869,28 +93869,33 @@ BI.Filter.FILTER_TYPE.EMPTY_CONDITION = 37; |
|
|
|
!(function () { |
|
|
|
!(function () { |
|
|
|
var OPERATION_ADD_CONDITION = 0, OPERATION_ADD_ANDOR_CONDITION = 1; |
|
|
|
var OPERATION_ADD_CONDITION = 0, OPERATION_ADD_ANDOR_CONDITION = 1; |
|
|
|
var FilterOperation = BI.inherit(BI.Widget, { |
|
|
|
var FilterOperation = BI.inherit(BI.Widget, { |
|
|
|
|
|
|
|
_defaultConfig: function () { |
|
|
|
|
|
|
|
return BI.extend(FilterOperation.superclass._defaultConfig.apply(this, arguments), { |
|
|
|
|
|
|
|
constants: { |
|
|
|
|
|
|
|
FORMULA_COMBO: [{ |
|
|
|
|
|
|
|
text: BI.i18nText("BI-Conf_Formula_And"), |
|
|
|
|
|
|
|
value: BI.AbstractFilterItem.FILTER_OPERATION_FORMULA_AND |
|
|
|
|
|
|
|
}, { |
|
|
|
|
|
|
|
text: BI.i18nText("BI-Conf_Formula_Or"), |
|
|
|
|
|
|
|
value: BI.AbstractFilterItem.FILTER_OPERATION_FORMULA_OR |
|
|
|
|
|
|
|
}], |
|
|
|
|
|
|
|
CONDITION_COMBO: [{ |
|
|
|
|
|
|
|
text: BI.i18nText("BI-Conf_Condition_And"), |
|
|
|
|
|
|
|
value: BI.AbstractFilterItem.FILTER_OPERATION_CONDITION_AND |
|
|
|
|
|
|
|
}, { |
|
|
|
|
|
|
|
text: BI.i18nText("BI-Conf_Condition_Or"), |
|
|
|
|
|
|
|
value: BI.AbstractFilterItem.FILTER_OPERATION_CONDITION_OR |
|
|
|
|
|
|
|
}] |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
props: { |
|
|
|
props: { |
|
|
|
baseCls: "bi-filter-operation", |
|
|
|
baseCls: "bi-filter-operation", |
|
|
|
expander: {}, |
|
|
|
expander: {}, |
|
|
|
items: [], |
|
|
|
items: [], |
|
|
|
selections: [BI.AbstractFilterItem.FILTER_OPERATION_CONDITION, BI.AbstractFilterItem.FILTER_OPERATION_FORMULA], |
|
|
|
selections: [BI.AbstractFilterItem.FILTER_OPERATION_CONDITION, BI.AbstractFilterItem.FILTER_OPERATION_FORMULA], |
|
|
|
itemsCreator: BI.emptyFn, |
|
|
|
itemsCreator: BI.emptyFn |
|
|
|
constants: { |
|
|
|
|
|
|
|
FORMULA_COMBO: [{ |
|
|
|
|
|
|
|
text: BI.i18nText("BI-Conf_Formula_And"), |
|
|
|
|
|
|
|
value: BI.AbstractFilterItem.FILTER_OPERATION_FORMULA_AND |
|
|
|
|
|
|
|
}, { |
|
|
|
|
|
|
|
text: BI.i18nText("BI-Conf_Formula_Or"), |
|
|
|
|
|
|
|
value: BI.AbstractFilterItem.FILTER_OPERATION_FORMULA_OR |
|
|
|
|
|
|
|
}], |
|
|
|
|
|
|
|
CONDITION_COMBO: [{ |
|
|
|
|
|
|
|
text: BI.i18nText("BI-Conf_Condition_And"), |
|
|
|
|
|
|
|
value: BI.AbstractFilterItem.FILTER_OPERATION_CONDITION_AND |
|
|
|
|
|
|
|
}, { |
|
|
|
|
|
|
|
text: BI.i18nText("BI-Conf_Condition_Or"), |
|
|
|
|
|
|
|
value: BI.AbstractFilterItem.FILTER_OPERATION_CONDITION_OR |
|
|
|
|
|
|
|
}] |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
render: function () { |
|
|
|
render: function () { |
|
|
|