@qrvey/utils 1.11.0-1 → 1.11.0-1-features-0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/columns/helpers/index.d.ts +1 -0
- package/dist/cjs/columns/helpers/index.js +1 -0
- package/dist/cjs/columns/helpers/isDurationColumn.d.ts +7 -0
- package/dist/cjs/columns/helpers/isDurationColumn.js +18 -0
- package/dist/cjs/columns/interfaces/IColumnPropertyType.d.ts +2 -1
- package/dist/cjs/dates/helpers/getTimezoneObject.js +1 -1
- package/dist/cjs/filters/adapters/FDToFlatUI.js +2 -1
- package/dist/cjs/filters/adapters/UIToOldLogic.js +1 -0
- package/dist/cjs/filters/adapters/logicToFlatUI.js +4 -4
- package/dist/cjs/filters/constants/settings/FILTER_SETTINGS_DEFAULT.js +2 -0
- package/dist/cjs/filters/helpers/backend/getBackendValues.js +3 -1
- package/dist/cjs/filters/helpers/common/adaptTimeUnitValuesFromFilters.d.ts +11 -0
- package/dist/cjs/filters/helpers/common/adaptTimeUnitValuesFromFilters.js +29 -0
- package/dist/cjs/filters/helpers/common/index.d.ts +1 -0
- package/dist/cjs/filters/helpers/common/index.js +1 -0
- package/dist/cjs/filters/helpers/common/resolveDatasetConditions.js +5 -0
- package/dist/cjs/filters/helpers/common/resolveFilterConditions.js +5 -0
- package/dist/cjs/filters/helpers/common/resolveScopeConditions.js +5 -0
- package/dist/cjs/filters/interfaces/OLD_IFilterDetail.d.ts +4 -0
- package/dist/cjs/filters/interfaces/builder/IFilterBuilderSettings.d.ts +5 -0
- package/dist/cjs/filters/interfaces/common/IFSParamsToGetFilter.d.ts +2 -0
- package/dist/cjs/filters/interfaces/common/IFSParamsToGetFilterDisplayeds.d.ts +9 -0
- package/dist/cjs/filters/interfaces/common/IFSParamsToGetFilterDisplayeds.js +2 -0
- package/dist/cjs/filters/interfaces/common/index.d.ts +1 -0
- package/dist/cjs/filters/interfaces/common/index.js +1 -0
- package/dist/cjs/filters/interfaces/settings/IFSettingsFilterBuilder.d.ts +1 -0
- package/dist/cjs/filters/interfaces/settings/IFSettingsFilterPanel.d.ts +1 -0
- package/dist/cjs/format/definition.d.ts +1 -0
- package/dist/cjs/format/definition.js +2 -1
- package/dist/cjs/format/duration/convertTimeUnit.d.ts +15 -0
- package/dist/cjs/format/duration/convertTimeUnit.js +34 -0
- package/dist/cjs/format/duration/index.d.ts +1 -0
- package/dist/cjs/format/duration/index.js +1 -0
- package/dist/cjs/globalization/interfaces/common/I18nTimeUnitProperties.d.ts +10 -0
- package/dist/cjs/globalization/interfaces/common/I18nTimeUnitProperties.js +2 -0
- package/dist/cjs/globalization/interfaces/common/II18nCommon.d.ts +2 -0
- package/dist/cjs/globalization/interfaces/common/index.d.ts +1 -0
- package/dist/cjs/globalization/interfaces/common/index.js +1 -0
- package/dist/cjs/globalization/interfaces/tabular_view/II18nTabularView.d.ts +1 -0
- package/dist/cjs/globalization/labels/common/I18N_COMMON.js +2 -0
- package/dist/cjs/globalization/labels/common/I18N_TIME_UNITS.d.ts +2 -0
- package/dist/cjs/globalization/labels/common/I18N_TIME_UNITS.js +14 -0
- package/dist/cjs/globalization/labels/tabular_view/I18N_TABULAR_VIEW.js +1 -0
- package/dist/cjs/index.d.ts +1 -0
- package/dist/cjs/index.js +1 -0
- package/dist/cjs/qrvey/helpers/getPropertyLabel.d.ts +7 -0
- package/dist/cjs/qrvey/helpers/getPropertyLabel.js +14 -3
- package/dist/cjs/time/adapters/adaptTimeUnitNumbers.d.ts +9 -0
- package/dist/cjs/time/adapters/adaptTimeUnitNumbers.js +204 -0
- package/dist/cjs/time/adapters/daysToHours.d.ts +6 -0
- package/dist/cjs/time/adapters/daysToHours.js +22 -0
- package/dist/cjs/time/adapters/daysToMinutes.d.ts +6 -0
- package/dist/cjs/time/adapters/daysToMinutes.js +22 -0
- package/dist/cjs/time/adapters/daysToMonths.d.ts +6 -0
- package/dist/cjs/time/adapters/daysToMonths.js +22 -0
- package/dist/cjs/time/adapters/daysToSeconds.d.ts +6 -0
- package/dist/cjs/time/adapters/daysToSeconds.js +22 -0
- package/dist/cjs/time/adapters/daysToYears.d.ts +6 -0
- package/dist/cjs/time/adapters/daysToYears.js +22 -0
- package/dist/cjs/time/adapters/hoursToDays.d.ts +6 -0
- package/dist/cjs/time/adapters/hoursToDays.js +22 -0
- package/dist/cjs/time/adapters/hoursToMinutes.d.ts +6 -0
- package/dist/cjs/time/adapters/hoursToMinutes.js +22 -0
- package/dist/cjs/time/adapters/hoursToMonths.d.ts +6 -0
- package/dist/cjs/time/adapters/hoursToMonths.js +22 -0
- package/dist/cjs/time/adapters/hoursToSeconds.d.ts +6 -0
- package/dist/cjs/time/adapters/hoursToSeconds.js +22 -0
- package/dist/cjs/time/adapters/hoursToYears.d.ts +6 -0
- package/dist/cjs/time/adapters/hoursToYears.js +22 -0
- package/dist/cjs/time/adapters/index.d.ts +31 -0
- package/dist/cjs/time/adapters/index.js +47 -0
- package/dist/cjs/time/adapters/minutesToDays.d.ts +6 -0
- package/dist/cjs/time/adapters/minutesToDays.js +22 -0
- package/dist/cjs/time/adapters/minutesToHours.d.ts +6 -0
- package/dist/cjs/time/adapters/minutesToHours.js +22 -0
- package/dist/cjs/time/adapters/minutesToMonths.d.ts +6 -0
- package/dist/cjs/time/adapters/minutesToMonths.js +22 -0
- package/dist/cjs/time/adapters/minutesToSeconds.d.ts +6 -0
- package/dist/cjs/time/adapters/minutesToSeconds.js +22 -0
- package/dist/cjs/time/adapters/minutesToYears.d.ts +6 -0
- package/dist/cjs/time/adapters/minutesToYears.js +22 -0
- package/dist/cjs/time/adapters/monthsToDays.d.ts +6 -0
- package/dist/cjs/time/adapters/monthsToDays.js +22 -0
- package/dist/cjs/time/adapters/monthsToHours.d.ts +6 -0
- package/dist/cjs/time/adapters/monthsToHours.js +22 -0
- package/dist/cjs/time/adapters/monthsToMinutes.d.ts +6 -0
- package/dist/cjs/time/adapters/monthsToMinutes.js +22 -0
- package/dist/cjs/time/adapters/monthsToSeconds.d.ts +6 -0
- package/dist/cjs/time/adapters/monthsToSeconds.js +22 -0
- package/dist/cjs/time/adapters/monthsToYears.d.ts +6 -0
- package/dist/cjs/time/adapters/monthsToYears.js +22 -0
- package/dist/cjs/time/adapters/secondsToDays.d.ts +6 -0
- package/dist/cjs/time/adapters/secondsToDays.js +22 -0
- package/dist/cjs/time/adapters/secondsToHours.d.ts +6 -0
- package/dist/cjs/time/adapters/secondsToHours.js +22 -0
- package/dist/cjs/time/adapters/secondsToMinutes.d.ts +6 -0
- package/dist/cjs/time/adapters/secondsToMinutes.js +22 -0
- package/dist/cjs/time/adapters/secondsToMonths.d.ts +6 -0
- package/dist/cjs/time/adapters/secondsToMonths.js +22 -0
- package/dist/cjs/time/adapters/secondsToYears.d.ts +6 -0
- package/dist/cjs/time/adapters/secondsToYears.js +22 -0
- package/dist/cjs/time/adapters/yearsToDays.d.ts +6 -0
- package/dist/cjs/time/adapters/yearsToDays.js +22 -0
- package/dist/cjs/time/adapters/yearsToHours.d.ts +6 -0
- package/dist/cjs/time/adapters/yearsToHours.js +22 -0
- package/dist/cjs/time/adapters/yearsToMinutes.d.ts +6 -0
- package/dist/cjs/time/adapters/yearsToMinutes.js +22 -0
- package/dist/cjs/time/adapters/yearsToMonths.d.ts +6 -0
- package/dist/cjs/time/adapters/yearsToMonths.js +22 -0
- package/dist/cjs/time/adapters/yearsToSeconds.d.ts +6 -0
- package/dist/cjs/time/adapters/yearsToSeconds.js +22 -0
- package/dist/cjs/time/constants/TIME_UNIT_INFO.d.ts +5 -0
- package/dist/cjs/time/constants/TIME_UNIT_INFO.js +55 -0
- package/dist/cjs/time/constants/TIME_UNIT_INFO_LIST.d.ts +2 -0
- package/dist/cjs/time/constants/TIME_UNIT_INFO_LIST.js +13 -0
- package/dist/cjs/time/constants/TIME_UNIT_PROPERTY.d.ts +8 -0
- package/dist/cjs/time/constants/TIME_UNIT_PROPERTY.js +12 -0
- package/dist/cjs/time/constants/TIME_UNIT_PROPERTY_LABEL.d.ts +8 -0
- package/dist/cjs/time/constants/TIME_UNIT_PROPERTY_LABEL.js +12 -0
- package/dist/cjs/time/constants/index.d.ts +4 -0
- package/dist/cjs/time/constants/index.js +20 -0
- package/dist/cjs/time/index.d.ts +3 -0
- package/dist/cjs/time/index.js +19 -0
- package/dist/cjs/time/interfaces/ITimeUnitProperty.d.ts +2 -0
- package/dist/cjs/time/interfaces/ITimeUnitProperty.js +2 -0
- package/dist/cjs/time/interfaces/ITimeUnitPropertyInfo.d.ts +5 -0
- package/dist/cjs/time/interfaces/ITimeUnitPropertyInfo.js +2 -0
- package/dist/cjs/time/interfaces/index.d.ts +2 -0
- package/dist/cjs/time/interfaces/index.js +18 -0
- package/dist/columns/helpers/index.d.ts +1 -0
- package/dist/columns/helpers/index.js +1 -0
- package/dist/columns/helpers/isDurationColumn.d.ts +7 -0
- package/dist/columns/helpers/isDurationColumn.js +14 -0
- package/dist/columns/interfaces/IColumnPropertyType.d.ts +2 -1
- package/dist/dates/helpers/getTimezoneObject.js +1 -1
- package/dist/filters/adapters/FDToFlatUI.js +2 -1
- package/dist/filters/adapters/UIToOldLogic.js +1 -0
- package/dist/filters/adapters/logicToFlatUI.js +4 -4
- package/dist/filters/constants/settings/FILTER_SETTINGS_DEFAULT.js +2 -0
- package/dist/filters/helpers/backend/getBackendValues.js +3 -1
- package/dist/filters/helpers/common/adaptTimeUnitValuesFromFilters.d.ts +11 -0
- package/dist/filters/helpers/common/adaptTimeUnitValuesFromFilters.js +25 -0
- package/dist/filters/helpers/common/index.d.ts +1 -0
- package/dist/filters/helpers/common/index.js +1 -0
- package/dist/filters/helpers/common/resolveDatasetConditions.js +5 -0
- package/dist/filters/helpers/common/resolveFilterConditions.js +5 -0
- package/dist/filters/helpers/common/resolveScopeConditions.js +5 -0
- package/dist/filters/interfaces/OLD_IFilterDetail.d.ts +4 -0
- package/dist/filters/interfaces/builder/IFilterBuilderSettings.d.ts +5 -0
- package/dist/filters/interfaces/common/IFSParamsToGetFilter.d.ts +2 -0
- package/dist/filters/interfaces/common/IFSParamsToGetFilterDisplayeds.d.ts +9 -0
- package/dist/filters/interfaces/common/IFSParamsToGetFilterDisplayeds.js +1 -0
- package/dist/filters/interfaces/common/index.d.ts +1 -0
- package/dist/filters/interfaces/common/index.js +1 -0
- package/dist/filters/interfaces/settings/IFSettingsFilterBuilder.d.ts +1 -0
- package/dist/filters/interfaces/settings/IFSettingsFilterPanel.d.ts +1 -0
- package/dist/format/definition.d.ts +1 -0
- package/dist/format/definition.js +1 -0
- package/dist/format/duration/convertTimeUnit.d.ts +15 -0
- package/dist/format/duration/convertTimeUnit.js +27 -0
- package/dist/format/duration/index.d.ts +1 -0
- package/dist/format/duration/index.js +1 -0
- package/dist/globalization/interfaces/common/I18nTimeUnitProperties.d.ts +10 -0
- package/dist/globalization/interfaces/common/I18nTimeUnitProperties.js +1 -0
- package/dist/globalization/interfaces/common/II18nCommon.d.ts +2 -0
- package/dist/globalization/interfaces/common/index.d.ts +1 -0
- package/dist/globalization/interfaces/common/index.js +1 -0
- package/dist/globalization/interfaces/tabular_view/II18nTabularView.d.ts +1 -0
- package/dist/globalization/labels/common/I18N_COMMON.js +2 -0
- package/dist/globalization/labels/common/I18N_TIME_UNITS.d.ts +2 -0
- package/dist/globalization/labels/common/I18N_TIME_UNITS.js +11 -0
- package/dist/globalization/labels/tabular_view/I18N_TABULAR_VIEW.js +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/qrvey/helpers/getPropertyLabel.d.ts +7 -0
- package/dist/qrvey/helpers/getPropertyLabel.js +14 -3
- package/dist/time/adapters/adaptTimeUnitNumbers.d.ts +9 -0
- package/dist/time/adapters/adaptTimeUnitNumbers.js +200 -0
- package/dist/time/adapters/daysToHours.d.ts +6 -0
- package/dist/time/adapters/daysToHours.js +15 -0
- package/dist/time/adapters/daysToMinutes.d.ts +6 -0
- package/dist/time/adapters/daysToMinutes.js +15 -0
- package/dist/time/adapters/daysToMonths.d.ts +6 -0
- package/dist/time/adapters/daysToMonths.js +15 -0
- package/dist/time/adapters/daysToSeconds.d.ts +6 -0
- package/dist/time/adapters/daysToSeconds.js +15 -0
- package/dist/time/adapters/daysToYears.d.ts +6 -0
- package/dist/time/adapters/daysToYears.js +15 -0
- package/dist/time/adapters/hoursToDays.d.ts +6 -0
- package/dist/time/adapters/hoursToDays.js +15 -0
- package/dist/time/adapters/hoursToMinutes.d.ts +6 -0
- package/dist/time/adapters/hoursToMinutes.js +15 -0
- package/dist/time/adapters/hoursToMonths.d.ts +6 -0
- package/dist/time/adapters/hoursToMonths.js +15 -0
- package/dist/time/adapters/hoursToSeconds.d.ts +6 -0
- package/dist/time/adapters/hoursToSeconds.js +15 -0
- package/dist/time/adapters/hoursToYears.d.ts +6 -0
- package/dist/time/adapters/hoursToYears.js +15 -0
- package/dist/time/adapters/index.d.ts +31 -0
- package/dist/time/adapters/index.js +31 -0
- package/dist/time/adapters/minutesToDays.d.ts +6 -0
- package/dist/time/adapters/minutesToDays.js +15 -0
- package/dist/time/adapters/minutesToHours.d.ts +6 -0
- package/dist/time/adapters/minutesToHours.js +15 -0
- package/dist/time/adapters/minutesToMonths.d.ts +6 -0
- package/dist/time/adapters/minutesToMonths.js +15 -0
- package/dist/time/adapters/minutesToSeconds.d.ts +6 -0
- package/dist/time/adapters/minutesToSeconds.js +15 -0
- package/dist/time/adapters/minutesToYears.d.ts +6 -0
- package/dist/time/adapters/minutesToYears.js +15 -0
- package/dist/time/adapters/monthsToDays.d.ts +6 -0
- package/dist/time/adapters/monthsToDays.js +15 -0
- package/dist/time/adapters/monthsToHours.d.ts +6 -0
- package/dist/time/adapters/monthsToHours.js +15 -0
- package/dist/time/adapters/monthsToMinutes.d.ts +6 -0
- package/dist/time/adapters/monthsToMinutes.js +15 -0
- package/dist/time/adapters/monthsToSeconds.d.ts +6 -0
- package/dist/time/adapters/monthsToSeconds.js +15 -0
- package/dist/time/adapters/monthsToYears.d.ts +6 -0
- package/dist/time/adapters/monthsToYears.js +15 -0
- package/dist/time/adapters/secondsToDays.d.ts +6 -0
- package/dist/time/adapters/secondsToDays.js +15 -0
- package/dist/time/adapters/secondsToHours.d.ts +6 -0
- package/dist/time/adapters/secondsToHours.js +15 -0
- package/dist/time/adapters/secondsToMinutes.d.ts +6 -0
- package/dist/time/adapters/secondsToMinutes.js +15 -0
- package/dist/time/adapters/secondsToMonths.d.ts +6 -0
- package/dist/time/adapters/secondsToMonths.js +15 -0
- package/dist/time/adapters/secondsToYears.d.ts +6 -0
- package/dist/time/adapters/secondsToYears.js +15 -0
- package/dist/time/adapters/yearsToDays.d.ts +6 -0
- package/dist/time/adapters/yearsToDays.js +15 -0
- package/dist/time/adapters/yearsToHours.d.ts +6 -0
- package/dist/time/adapters/yearsToHours.js +15 -0
- package/dist/time/adapters/yearsToMinutes.d.ts +6 -0
- package/dist/time/adapters/yearsToMinutes.js +15 -0
- package/dist/time/adapters/yearsToMonths.d.ts +6 -0
- package/dist/time/adapters/yearsToMonths.js +15 -0
- package/dist/time/adapters/yearsToSeconds.d.ts +6 -0
- package/dist/time/adapters/yearsToSeconds.js +15 -0
- package/dist/time/constants/TIME_UNIT_INFO.d.ts +5 -0
- package/dist/time/constants/TIME_UNIT_INFO.js +52 -0
- package/dist/time/constants/TIME_UNIT_INFO_LIST.d.ts +2 -0
- package/dist/time/constants/TIME_UNIT_INFO_LIST.js +10 -0
- package/dist/time/constants/TIME_UNIT_PROPERTY.d.ts +8 -0
- package/dist/time/constants/TIME_UNIT_PROPERTY.js +9 -0
- package/dist/time/constants/TIME_UNIT_PROPERTY_LABEL.d.ts +8 -0
- package/dist/time/constants/TIME_UNIT_PROPERTY_LABEL.js +9 -0
- package/dist/time/constants/index.d.ts +4 -0
- package/dist/time/constants/index.js +4 -0
- package/dist/time/index.d.ts +3 -0
- package/dist/time/index.js +3 -0
- package/dist/time/interfaces/ITimeUnitProperty.d.ts +2 -0
- package/dist/time/interfaces/ITimeUnitProperty.js +1 -0
- package/dist/time/interfaces/ITimeUnitPropertyInfo.d.ts +5 -0
- package/dist/time/interfaces/ITimeUnitPropertyInfo.js +1 -0
- package/dist/time/interfaces/index.d.ts +2 -0
- package/dist/time/interfaces/index.js +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TIME_UNIT_PROPERTY = void 0;
|
|
4
|
+
var TIME_UNIT_PROPERTY;
|
|
5
|
+
(function (TIME_UNIT_PROPERTY) {
|
|
6
|
+
TIME_UNIT_PROPERTY["YEAR"] = "YEAR";
|
|
7
|
+
TIME_UNIT_PROPERTY["MONTH"] = "MONTH";
|
|
8
|
+
TIME_UNIT_PROPERTY["DAY"] = "DAY";
|
|
9
|
+
TIME_UNIT_PROPERTY["HOUR"] = "HOUR";
|
|
10
|
+
TIME_UNIT_PROPERTY["MINUTE"] = "MINUTE";
|
|
11
|
+
TIME_UNIT_PROPERTY["SECOND"] = "SECOND";
|
|
12
|
+
})(TIME_UNIT_PROPERTY = exports.TIME_UNIT_PROPERTY || (exports.TIME_UNIT_PROPERTY = {}));
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TIME_UNIT_PROPERTY_LABEL = void 0;
|
|
4
|
+
var TIME_UNIT_PROPERTY_LABEL;
|
|
5
|
+
(function (TIME_UNIT_PROPERTY_LABEL) {
|
|
6
|
+
TIME_UNIT_PROPERTY_LABEL["YEAR"] = "Years";
|
|
7
|
+
TIME_UNIT_PROPERTY_LABEL["MONTH"] = "Months";
|
|
8
|
+
TIME_UNIT_PROPERTY_LABEL["DAY"] = "Days";
|
|
9
|
+
TIME_UNIT_PROPERTY_LABEL["HOUR"] = "Hours";
|
|
10
|
+
TIME_UNIT_PROPERTY_LABEL["MINUTE"] = "Minutes";
|
|
11
|
+
TIME_UNIT_PROPERTY_LABEL["SECOND"] = "Seconds";
|
|
12
|
+
})(TIME_UNIT_PROPERTY_LABEL = exports.TIME_UNIT_PROPERTY_LABEL || (exports.TIME_UNIT_PROPERTY_LABEL = {}));
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./TIME_UNIT_INFO_LIST"), exports);
|
|
18
|
+
__exportStar(require("./TIME_UNIT_INFO"), exports);
|
|
19
|
+
__exportStar(require("./TIME_UNIT_PROPERTY_LABEL"), exports);
|
|
20
|
+
__exportStar(require("./TIME_UNIT_PROPERTY"), exports);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./adapters/index"), exports);
|
|
18
|
+
__exportStar(require("./constants/index"), exports);
|
|
19
|
+
__exportStar(require("./interfaces/index"), exports);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./ITimeUnitProperty"), exports);
|
|
18
|
+
__exportStar(require("./ITimeUnitPropertyInfo"), exports);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IColumn } from "../interfaces/IColumn";
|
|
2
|
+
/**
|
|
3
|
+
* It checks if the given column has a duration format.
|
|
4
|
+
* @param {IColumn} A UI Column object
|
|
5
|
+
* @returns true: the column is a duration type
|
|
6
|
+
*/
|
|
7
|
+
export declare const isDurationColumn: (column: IColumn) => boolean;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { isNumericalColumn } from "..";
|
|
2
|
+
import { DURATION_PARTS_LIST } from "../../column_format/constants/DURATION_PARTS_LIST";
|
|
3
|
+
import { isEmpty } from "../../general/mix/isEmpty";
|
|
4
|
+
/**
|
|
5
|
+
* It checks if the given column has a duration format.
|
|
6
|
+
* @param {IColumn} A UI Column object
|
|
7
|
+
* @returns true: the column is a duration type
|
|
8
|
+
*/
|
|
9
|
+
export const isDurationColumn = (column) => {
|
|
10
|
+
var _a;
|
|
11
|
+
return (!isEmpty(column) &&
|
|
12
|
+
isNumericalColumn(column) &&
|
|
13
|
+
DURATION_PARTS_LIST.includes((_a = column.outputFormat) === null || _a === void 0 ? void 0 : _a.format));
|
|
14
|
+
};
|
|
@@ -2,4 +2,5 @@ import { ICompoundColumnPropertyType } from "./ICompoundColumnPropertyType";
|
|
|
2
2
|
import { IDateColumnPropertyType } from "./IDateColumnPropertyType";
|
|
3
3
|
import { COLUMN_PROPERTY } from "../constants/COLUMN_PROPERTY";
|
|
4
4
|
import { IComplexColumnPropertyType } from "./IComplexColumnPropertyType";
|
|
5
|
-
|
|
5
|
+
import { ITimeUnitProperty } from "../../time/interfaces/ITimeUnitProperty";
|
|
6
|
+
export type IColumnPropertyType = COLUMN_PROPERTY | IComplexColumnPropertyType | ICompoundColumnPropertyType | IDateColumnPropertyType | ITimeUnitProperty;
|
|
@@ -86,7 +86,7 @@ function getType(timezone, model, offset) {
|
|
|
86
86
|
* @returns {IDTimezoneType} the right timezone type for the offset
|
|
87
87
|
*/
|
|
88
88
|
function getTypeByOffset(offset) {
|
|
89
|
-
if (offset === "+00:00") {
|
|
89
|
+
if (offset === "+00:00" || offset === "00:00" || offset === "-00:00") {
|
|
90
90
|
return TIMEZONE_TYPE.DEFAULT;
|
|
91
91
|
}
|
|
92
92
|
else if (offset === "browser") {
|
|
@@ -36,6 +36,7 @@ function FD21ToFlatUI(scopes = [], datasetsInfo = []) {
|
|
|
36
36
|
scope.datasets.forEach((dataset) => {
|
|
37
37
|
if (dataset.filters.length > 0) {
|
|
38
38
|
dataset.filters.forEach((filter) => {
|
|
39
|
+
var _a;
|
|
39
40
|
const datasetInfo = datasetsInfo.find((dInfo) => dInfo.qrveyid === dataset.qrveyid);
|
|
40
41
|
let columnInfo;
|
|
41
42
|
if (!isEmpty(datasetInfo))
|
|
@@ -61,7 +62,7 @@ function FD21ToFlatUI(scopes = [], datasetsInfo = []) {
|
|
|
61
62
|
type: (columnInfo === null || columnInfo === void 0 ? void 0 : columnInfo.type) || filter.column.type,
|
|
62
63
|
},
|
|
63
64
|
dateSection: filter.dateSection,
|
|
64
|
-
displayed: filter.displayed,
|
|
65
|
+
displayed: (_a = filter.displayed) !== null && _a !== void 0 ? _a : true,
|
|
65
66
|
enabled: filter.enabled,
|
|
66
67
|
extras: Object.assign(Object.assign({}, filter.extras), { panelid: filter.extras.panelid, filterLabel: filter.extras.filterLabel, info, scope: filter.extras.scope, scopeid: filter.extras.scopeid, section: filter.extras.section, scopeInfo: {
|
|
67
68
|
collapsed: scope.collapsed,
|
|
@@ -61,7 +61,7 @@ function buildFilterByExpression(expression, scopeItem, uFilters) {
|
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
function getFilterByExpression(expression, scopeItem) {
|
|
64
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
64
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
65
65
|
const uiExtras = expression.uiExtras;
|
|
66
66
|
const scopeid = scopeItem.scope !== FILTER_SCOPE.GLOBAL
|
|
67
67
|
? _get(scopeItem, "uiExtras.scopeid")
|
|
@@ -87,11 +87,11 @@ function getFilterByExpression(expression, scopeItem) {
|
|
|
87
87
|
type: (_l = uiExtras.column) === null || _l === void 0 ? void 0 : _l.type,
|
|
88
88
|
},
|
|
89
89
|
dateSection: uiExtras.dateSection,
|
|
90
|
-
displayed: true,
|
|
90
|
+
displayed: (_o = (_m = uiExtras._newFilters) === null || _m === void 0 ? void 0 : _m.displayed) !== null && _o !== void 0 ? _o : true,
|
|
91
91
|
enabled: uiExtras.enabled,
|
|
92
92
|
extras: Object.assign(Object.assign({}, uiExtras.extras), { panelid: uiExtras.panelid, filterLabel: uiExtras.panelName, info,
|
|
93
93
|
scopeid, scope: scopeItem.scope, section: uiExtras.section, scopeInfo: {
|
|
94
|
-
collapsed: (
|
|
94
|
+
collapsed: (_p = scopeItem.uiExtras) === null || _p === void 0 ? void 0 : _p.collapsed,
|
|
95
95
|
enabled: scopeItem.enabled,
|
|
96
96
|
displayed: true,
|
|
97
97
|
scope: scopeItem.scope,
|
|
@@ -100,7 +100,7 @@ function getFilterByExpression(expression, scopeItem) {
|
|
|
100
100
|
collapsed: false,
|
|
101
101
|
enabled: true,
|
|
102
102
|
displayed: true,
|
|
103
|
-
qrveyid: (
|
|
103
|
+
qrveyid: (_q = uiExtras.column) === null || _q === void 0 ? void 0 : _q.qrveyid,
|
|
104
104
|
label: _get(uiExtras.column, "dataset.name") ||
|
|
105
105
|
_get(uiExtras.column, "label"),
|
|
106
106
|
} }),
|
|
@@ -9,6 +9,7 @@ export const FILTER_SETTINGS_DEFAULT = {
|
|
|
9
9
|
filterBuilder: {
|
|
10
10
|
scopeSelectorDisplayed: true,
|
|
11
11
|
scopeSelectorEnabled: true,
|
|
12
|
+
strictlyInteractivity: false,
|
|
12
13
|
},
|
|
13
14
|
filterDisplayer: {
|
|
14
15
|
addFilterDisplayed: true,
|
|
@@ -71,6 +72,7 @@ export const FILTER_SETTINGS_DEFAULT = {
|
|
|
71
72
|
},
|
|
72
73
|
iconsDisplayed: true,
|
|
73
74
|
readonly: false,
|
|
75
|
+
strictlyInteractivity: false,
|
|
74
76
|
updateFilterInfo: true,
|
|
75
77
|
},
|
|
76
78
|
filterPanelSettings: {
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { COLUMN } from "../../../columns/constants/COLUMN";
|
|
2
2
|
import { flattenDeep } from "../../../general/array/flattenDeep";
|
|
3
|
+
import { TIME_UNIT_PROPERTY } from "../../../time";
|
|
3
4
|
import { FILTER_VALIDATOR } from "../../constants/common/FILTER_VALIDATOR";
|
|
4
5
|
import { FILTER_VALIDATOR_INFO } from "../../constants/common/FILTER_VALIDATOR_INFO";
|
|
6
|
+
import { adaptTimeUnitValuesFromFilters } from "../common/adaptTimeUnitValuesFromFilters";
|
|
5
7
|
import { isRankingFilter } from "../common/isRankingFilter";
|
|
6
8
|
/**
|
|
7
9
|
* Gets the expresion values in the logic format
|
|
@@ -9,7 +11,7 @@ import { isRankingFilter } from "../common/isRankingFilter";
|
|
|
9
11
|
* @returns A collection of backend expression value
|
|
10
12
|
*/
|
|
11
13
|
export function getBackendValues(filter) {
|
|
12
|
-
const values =
|
|
14
|
+
const values = adaptTimeUnitValuesFromFilters(TIME_UNIT_PROPERTY.SECOND, filter) || [];
|
|
13
15
|
switch (filter.validator) {
|
|
14
16
|
case FILTER_VALIDATOR.EQUALS:
|
|
15
17
|
case FILTER_VALIDATOR.NOT_EQUAL:
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ITimeUnitProperty } from "../../../time/interfaces/ITimeUnitProperty";
|
|
2
|
+
import { IFValue } from "../../interfaces";
|
|
3
|
+
import { IFSFilter } from "../../interfaces/common/IFSFilter";
|
|
4
|
+
/**
|
|
5
|
+
* Converts the Filter values to the given time unit
|
|
6
|
+
* It is only happening when the filter column format is a duration type
|
|
7
|
+
* @param {ITimeUnitProperty} to a time unit
|
|
8
|
+
* @param {IFSFilter} filter the filter object
|
|
9
|
+
* @returns the converted filter values
|
|
10
|
+
*/
|
|
11
|
+
export declare function adaptTimeUnitValuesFromFilters(to: ITimeUnitProperty, filter: IFSFilter): IFValue[];
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { isDurationColumn } from "../../../columns/helpers/isDurationColumn";
|
|
2
|
+
import { isEmpty } from "../../../general";
|
|
3
|
+
import { adaptTimeUnitNumbers } from "../../../time/adapters/adaptTimeUnitNumbers";
|
|
4
|
+
import { isRangeValidator } from "./isRangeValidator";
|
|
5
|
+
import { isRegularValidator } from "./isRegularValidator";
|
|
6
|
+
/**
|
|
7
|
+
* Converts the Filter values to the given time unit
|
|
8
|
+
* It is only happening when the filter column format is a duration type
|
|
9
|
+
* @param {ITimeUnitProperty} to a time unit
|
|
10
|
+
* @param {IFSFilter} filter the filter object
|
|
11
|
+
* @returns the converted filter values
|
|
12
|
+
*/
|
|
13
|
+
export function adaptTimeUnitValuesFromFilters(to, filter) {
|
|
14
|
+
if (isEmpty(filter) || isEmpty(to))
|
|
15
|
+
return filter.values;
|
|
16
|
+
if (isDurationColumn(filter.column)) {
|
|
17
|
+
if (isRangeValidator(filter.validator)) {
|
|
18
|
+
return filter.values.map((value) => (Object.assign(Object.assign({}, value), { max: String(adaptTimeUnitNumbers(filter.property, to, Number(value.max))), min: String(adaptTimeUnitNumbers(filter.property, to, Number(value.min))) })));
|
|
19
|
+
}
|
|
20
|
+
else if (isRegularValidator(filter.validator)) {
|
|
21
|
+
return filter.values.map((value) => (Object.assign(Object.assign({}, value), { value: String(adaptTimeUnitNumbers(filter.property, to, Number(value.value))) })));
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
return filter.values;
|
|
25
|
+
}
|
|
@@ -14,6 +14,11 @@ export function resolveDatasetConditions(dataset, params, letPassUndefinedProper
|
|
|
14
14
|
(letPassUndefinedProperties && dataset.enabled == null) ||
|
|
15
15
|
(letPassUndefinedParams && params.enableds.datasets == null) ||
|
|
16
16
|
params.enableds.datasets === dataset.enabled) &&
|
|
17
|
+
(!_hasProperty(params, "displayeds") ||
|
|
18
|
+
!_hasProperty(params.displayeds, "datasets") ||
|
|
19
|
+
(letPassUndefinedProperties && dataset.displayed == null) ||
|
|
20
|
+
(letPassUndefinedParams && params.displayeds.datasets == null) ||
|
|
21
|
+
params.displayeds.datasets === dataset.displayed) &&
|
|
17
22
|
(!_hasProperty(params, "qrveyid") ||
|
|
18
23
|
(letPassUndefinedProperties && dataset.qrveyid == null) ||
|
|
19
24
|
(letPassUndefinedParams && isEmpty(params.qrveyid)) ||
|
|
@@ -15,6 +15,11 @@ export function resolveFilterConditions(filter, params, letPassUndefinedProperti
|
|
|
15
15
|
(letPassUndefinedProperties && filter.enabled == null) ||
|
|
16
16
|
(letPassUndefinedParams && params.enableds.filters == null) ||
|
|
17
17
|
params.enableds.filters === filter.enabled) &&
|
|
18
|
+
(!_hasProperty(params, "displayeds") ||
|
|
19
|
+
!_hasProperty(params.displayeds, "filters") ||
|
|
20
|
+
(letPassUndefinedProperties && filter.displayed == null) ||
|
|
21
|
+
(letPassUndefinedParams && params.displayeds.filters == null) ||
|
|
22
|
+
params.displayeds.filters === filter.displayed) &&
|
|
18
23
|
(!_hasProperty(params, "dateSection") ||
|
|
19
24
|
(letPassUndefinedProperties && filter.dateSection == null) ||
|
|
20
25
|
(letPassUndefinedParams && isEmpty(params.dateSection)) ||
|
|
@@ -14,6 +14,11 @@ export function resolveScopeConditions(scope, params, letPassUndefinedProperties
|
|
|
14
14
|
(letPassUndefinedProperties && scope.enabled == null) ||
|
|
15
15
|
(letPassUndefinedParams && params.enableds.scopes == null) ||
|
|
16
16
|
params.enableds.scopes === scope.enabled) &&
|
|
17
|
+
(!_hasProperty(params, "displayeds") ||
|
|
18
|
+
!_hasProperty(params.displayeds, "scopes") ||
|
|
19
|
+
(letPassUndefinedProperties && scope.displayed == null) ||
|
|
20
|
+
(letPassUndefinedParams && params.displayeds.scopes == null) ||
|
|
21
|
+
params.displayeds.scopes === scope.displayed) &&
|
|
17
22
|
(!_hasProperty(params, "scope") ||
|
|
18
23
|
(letPassUndefinedProperties && scope.scope == null) ||
|
|
19
24
|
(letPassUndefinedParams && isEmpty(params.scope)) ||
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { IColumn } from "../../columns/interfaces/IColumn";
|
|
2
2
|
import { IDataset } from "../../qrvey/interfaces/IDataset";
|
|
3
|
+
import { IFSFilter } from "./common/IFSFilter";
|
|
3
4
|
import { IFSFilterExtrasInfo } from "./common/IFSFilterExtrasInfo";
|
|
4
5
|
import { IFDateSection } from "./IFDateSection";
|
|
5
6
|
import { IFOperator } from "./IFOperator";
|
|
@@ -9,6 +10,8 @@ import { IFSection } from "./IFSection";
|
|
|
9
10
|
import { IFValidator } from "./IFValidator";
|
|
10
11
|
import { IFValue } from "./IFValue";
|
|
11
12
|
import { IFUChartSettings } from "./ui/IFUChartSettings";
|
|
13
|
+
import { IFUFilter } from "./ui/IFUFilter";
|
|
14
|
+
import { IFUFlattenedFilter } from "./ui/IFUFlattenedFilter";
|
|
12
15
|
import { IFUValue } from "./ui/IFUValue";
|
|
13
16
|
export interface OLD_IFilterDetail {
|
|
14
17
|
column?: Omit<IColumn, "label"> & {
|
|
@@ -44,4 +47,5 @@ export interface OLD_IFilterDetail {
|
|
|
44
47
|
section?: IFSection;
|
|
45
48
|
groupValue?: IFProperty;
|
|
46
49
|
extras?: any;
|
|
50
|
+
_newFilters?: IFUFilter | IFSFilter | IFUFlattenedFilter;
|
|
47
51
|
}
|
|
@@ -8,4 +8,9 @@ export interface IFilterBuilderSettings {
|
|
|
8
8
|
chart?: IFUChartSettings;
|
|
9
9
|
mode?: FILTER_FLOW;
|
|
10
10
|
returningFilterStructureType?: IFStructureType;
|
|
11
|
+
displayed?: boolean;
|
|
12
|
+
displayable?: boolean;
|
|
13
|
+
deletable?: boolean;
|
|
14
|
+
editable?: boolean;
|
|
15
|
+
enableable?: boolean;
|
|
11
16
|
}
|
|
@@ -4,6 +4,7 @@ import { IFScope } from "../IFScope";
|
|
|
4
4
|
import { IFValidator } from "../IFValidator";
|
|
5
5
|
import { IFUChartSettings } from "../ui/IFUChartSettings";
|
|
6
6
|
import { IFSColumn } from "./IFSColumn";
|
|
7
|
+
import { IFSParamsToGetFilterDisplayeds } from "./IFSParamsToGetFilterDisplayeds";
|
|
7
8
|
import { IFSParamsToGetFilterEnableds } from "./IFSParamsToGetFilterEnableds";
|
|
8
9
|
/**
|
|
9
10
|
* Structure for filter properties
|
|
@@ -11,6 +12,7 @@ import { IFSParamsToGetFilterEnableds } from "./IFSParamsToGetFilterEnableds";
|
|
|
11
12
|
export interface IFSParamsToGetFilter {
|
|
12
13
|
column?: Partial<IFSColumn>;
|
|
13
14
|
dateSection?: IFDateSection;
|
|
15
|
+
displayeds?: IFSParamsToGetFilterDisplayeds;
|
|
14
16
|
enableds?: IFSParamsToGetFilterEnableds;
|
|
15
17
|
chart?: IFUChartSettings;
|
|
16
18
|
panelid?: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -23,6 +23,7 @@ export * from "./IFSFilterExtras";
|
|
|
23
23
|
export * from "./IFSFilterExtrasInfo";
|
|
24
24
|
export * from "./IFSGetDataValues";
|
|
25
25
|
export * from "./IFSParamsToGetFilter";
|
|
26
|
+
export * from "./IFSParamsToGetFilterDisplayeds";
|
|
26
27
|
export * from "./IFSParamsToGetFilterEnableds";
|
|
27
28
|
export * from "./IFSScope";
|
|
28
29
|
export * from "./IFSScopeID";
|
|
@@ -23,6 +23,7 @@ export * from "./IFSFilterExtras";
|
|
|
23
23
|
export * from "./IFSFilterExtrasInfo";
|
|
24
24
|
export * from "./IFSGetDataValues";
|
|
25
25
|
export * from "./IFSParamsToGetFilter";
|
|
26
|
+
export * from "./IFSParamsToGetFilterDisplayeds";
|
|
26
27
|
export * from "./IFSParamsToGetFilterEnableds";
|
|
27
28
|
export * from "./IFSScope";
|
|
28
29
|
export * from "./IFSScopeID";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import duration from "dayjs/plugin/duration";
|
|
2
|
+
/**
|
|
3
|
+
* "Convert a time value from one unit to another."
|
|
4
|
+
*
|
|
5
|
+
* The function takes three parameters:
|
|
6
|
+
*
|
|
7
|
+
* * value: The time value to convert.
|
|
8
|
+
* * sourceUnit: The unit of the time value to convert.
|
|
9
|
+
* * targetUnit: The target unit to convert the time value
|
|
10
|
+
* @param {number} value - The value to convert
|
|
11
|
+
* @param sourceUnit - The unit of the value you're passing in.
|
|
12
|
+
* @param targetUnit - The unit of time you want to convert to.
|
|
13
|
+
* @returns The value converted to the specified unit
|
|
14
|
+
*/
|
|
15
|
+
export declare function convertTimeUnit(value: number, sourceUnit?: duration.DurationUnitType, targetUnit?: duration.DurationUnitType): number;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import dayjs from "dayjs";
|
|
2
|
+
import duration from "dayjs/plugin/duration";
|
|
3
|
+
import { isEmpty } from "../../general";
|
|
4
|
+
import { DEFAULT_TIME_UNIT } from "../definition";
|
|
5
|
+
dayjs.extend(duration);
|
|
6
|
+
/**
|
|
7
|
+
* "Convert a time value from one unit to another."
|
|
8
|
+
*
|
|
9
|
+
* The function takes three parameters:
|
|
10
|
+
*
|
|
11
|
+
* * value: The time value to convert.
|
|
12
|
+
* * sourceUnit: The unit of the time value to convert.
|
|
13
|
+
* * targetUnit: The target unit to convert the time value
|
|
14
|
+
* @param {number} value - The value to convert
|
|
15
|
+
* @param sourceUnit - The unit of the value you're passing in.
|
|
16
|
+
* @param targetUnit - The unit of time you want to convert to.
|
|
17
|
+
* @returns The value converted to the specified unit
|
|
18
|
+
*/
|
|
19
|
+
export function convertTimeUnit(value, sourceUnit = DEFAULT_TIME_UNIT, targetUnit = DEFAULT_TIME_UNIT) {
|
|
20
|
+
if (isEmpty(value) ||
|
|
21
|
+
isEmpty(sourceUnit) ||
|
|
22
|
+
isEmpty(targetUnit) ||
|
|
23
|
+
isNaN(value))
|
|
24
|
+
return undefined;
|
|
25
|
+
const durationValue = dayjs.duration(value, sourceUnit).as(targetUnit);
|
|
26
|
+
return isNaN(durationValue) ? undefined : durationValue;
|
|
27
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -8,6 +8,7 @@ import { II18nUnits } from "./II18nUnits";
|
|
|
8
8
|
import { II18nCalendar } from "../calendar/II18nCalendar";
|
|
9
9
|
import { II18nTokenBox } from "../filters/II18nTokenBox";
|
|
10
10
|
import { II18nTokenMode } from "./II18nTokenMode";
|
|
11
|
+
import { I18nTimeUnitProperties } from "./I18nTimeUnitProperties";
|
|
11
12
|
export interface II18nCommon {
|
|
12
13
|
aggregates: string;
|
|
13
14
|
aggregate_labels: II18nAgreggateLabels;
|
|
@@ -20,6 +21,7 @@ export interface II18nCommon {
|
|
|
20
21
|
properties: II18nColumnProperties;
|
|
21
22
|
search: string;
|
|
22
23
|
sort: string;
|
|
24
|
+
time_units: I18nTimeUnitProperties;
|
|
23
25
|
token_box: II18nTokenBox;
|
|
24
26
|
token_mode: II18nTokenMode;
|
|
25
27
|
units: II18nUnits;
|
|
@@ -14,6 +14,7 @@ export interface II18nTabularView {
|
|
|
14
14
|
edit_modal_edit_option: string;
|
|
15
15
|
edit_modal_cancel_option: string;
|
|
16
16
|
filter_access_point: string;
|
|
17
|
+
no_columns_selected_message: string;
|
|
17
18
|
no_records_found_message: string;
|
|
18
19
|
select_columns_all_option: string;
|
|
19
20
|
select_columns_date_option: string;
|
|
@@ -5,6 +5,7 @@ import { I18N_COLUMN_LABEL } from "./I18N_COLUMN_LABEL";
|
|
|
5
5
|
import { I18N_COLUMN_PROPERTY_LABEL } from "./I18N_COLUMN_PROPERTY_LABEL";
|
|
6
6
|
import { I18N_DATE_GROUPING } from "./I18N_DATE_GROUPING";
|
|
7
7
|
import { I18N_DAY_NAMES } from "./I18N_DAY_NAMES";
|
|
8
|
+
import { I18N_TIME_UNITS } from "./I18N_TIME_UNITS";
|
|
8
9
|
export const I18N_COMMON = {
|
|
9
10
|
aggregates: "Aggregates",
|
|
10
11
|
aggregate_labels: I18N_AGGREGATE_LABEL,
|
|
@@ -22,6 +23,7 @@ export const I18N_COMMON = {
|
|
|
22
23
|
properties: I18N_COLUMN_PROPERTY_LABEL,
|
|
23
24
|
search: "Search",
|
|
24
25
|
sort: "Sort",
|
|
26
|
+
time_units: I18N_TIME_UNITS,
|
|
25
27
|
token_box: {
|
|
26
28
|
data_tokens: "Data Tokens",
|
|
27
29
|
language_tokens: "Language Tokens",
|