@luzmo/analytics-components-kit 1.0.1-alpha.87 → 1.0.1-alpha.90
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/angular/components/display-settings-binning.component.ts +2 -2
- package/angular/components/display-settings-datetime.component.ts +2 -2
- package/angular/components/display-settings-grand-totals.component.ts +2 -2
- package/angular/components/display-settings-numeric.component.ts +2 -2
- package/angular/components/display-settings.component.ts +3 -3
- package/angular/components/draggable-data-item/index.ts +1 -0
- package/angular/components/draggable-data-item/types.ts +42 -0
- package/angular/components/draggable-data-item-level/index.ts +1 -0
- package/angular/components/draggable-data-item-level/types.ts +15 -0
- package/angular/components/draggable-data-item-level.component.ts +4 -10
- package/angular/components/draggable-data-item.component.ts +4 -10
- package/angular/components/droppable-slot/index.ts +1 -0
- package/angular/components/droppable-slot/types.ts +16 -0
- package/angular/components/droppable-slot.component.ts +5 -3
- package/angular/components/slot-menu/index.ts +1 -0
- package/angular/components/slot-menu/types.ts +31 -0
- package/angular/components/slot-menu-list.component.ts +2 -2
- package/angular/components/slot-menu.component.ts +3 -3
- package/angular/esm/components/display-settings-binning.component.d.ts +2 -1
- package/angular/esm/components/display-settings-datetime.component.d.ts +2 -2
- package/angular/esm/components/display-settings-grand-totals.component.d.ts +2 -1
- package/angular/esm/components/display-settings-numeric.component.d.ts +2 -1
- package/angular/esm/components/display-settings.component.d.ts +3 -3
- package/angular/esm/components/draggable-data-item/index.d.ts +1 -0
- package/angular/esm/components/draggable-data-item/index.js +1 -0
- package/angular/esm/components/draggable-data-item/types.d.ts +21 -0
- package/angular/esm/components/draggable-data-item/types.js +1 -0
- package/angular/esm/components/draggable-data-item-level/index.d.ts +1 -0
- package/angular/esm/components/draggable-data-item-level/index.js +1 -0
- package/angular/esm/components/draggable-data-item-level/types.d.ts +12 -0
- package/angular/esm/components/draggable-data-item-level/types.js +1 -0
- package/angular/esm/components/draggable-data-item-level.component.d.ts +9 -7
- package/angular/esm/components/draggable-data-item-level.component.js +2 -17
- package/angular/esm/components/draggable-data-item.component.d.ts +9 -7
- package/angular/esm/components/draggable-data-item.component.js +2 -17
- package/angular/esm/components/droppable-slot/index.d.ts +1 -0
- package/angular/esm/components/droppable-slot/index.js +1 -0
- package/angular/esm/components/droppable-slot/types.d.ts +9 -0
- package/angular/esm/components/droppable-slot/types.js +1 -0
- package/angular/esm/components/droppable-slot.component.d.ts +5 -4
- package/angular/esm/components/droppable-slot.component.js +7 -2
- package/angular/esm/components/slot-menu/index.d.ts +1 -0
- package/angular/esm/components/slot-menu/index.js +1 -0
- package/angular/esm/components/slot-menu/types.d.ts +25 -0
- package/angular/esm/components/slot-menu/types.js +1 -0
- package/angular/esm/components/slot-menu-list.component.d.ts +2 -1
- package/angular/esm/components/slot-menu.component.d.ts +3 -3
- package/angular/esm/types.d.ts +9 -3
- package/angular/tsconfig.json +3 -0
- package/angular/types.ts +24 -3
- package/angular/utils/base/base.d.ts +16 -0
- package/angular/utils/base/focus-visible.d.ts +29 -0
- package/angular/utils/base/focusable.d.ts +58 -0
- package/angular/utils/base/index.d.ts +4 -0
- package/angular/utils/base/sized-mixin.d.ts +17 -0
- package/angular/utils/color/color-palettes.d.ts +17 -0
- package/angular/utils/color/extrapolate-color.d.ts +1 -0
- package/angular/utils/data/load-draggable-items-for-datasets.d.ts +24 -0
- package/angular/utils/data-broker/index.d.ts +191 -0
- package/angular/utils/data-item-types/calculate-data-item-icon.d.ts +10 -0
- package/angular/utils/data-item-types/tests/calculate-data-item-icon.test.d.ts +1 -0
- package/angular/utils/drag/draggable.d.ts +13 -0
- package/angular/utils/filters/expressions.d.ts +15 -0
- package/angular/utils/filters/index.d.ts +1 -0
- package/angular/utils/formatter/calculate-duration.d.ts +2 -0
- package/angular/utils/formatter/decompose-numeric-format.d.ts +11 -0
- package/angular/utils/formatter/default-local-formats.d.ts +20 -0
- package/angular/utils/formatter/formats/cs.d.ts +20 -0
- package/angular/utils/formatter/formats/da.d.ts +20 -0
- package/angular/utils/formatter/formats/de.d.ts +21 -0
- package/angular/utils/formatter/formats/en-GB.d.ts +21 -0
- package/angular/utils/formatter/formats/en-US.d.ts +1 -0
- package/angular/utils/formatter/formats/en.d.ts +1 -0
- package/angular/utils/formatter/formats/es.d.ts +54 -0
- package/angular/utils/formatter/formats/fi.d.ts +20 -0
- package/angular/utils/formatter/formats/fr.d.ts +54 -0
- package/angular/utils/formatter/formats/he.d.ts +20 -0
- package/angular/utils/formatter/formats/hu.d.ts +20 -0
- package/angular/utils/formatter/formats/it.d.ts +54 -0
- package/angular/utils/formatter/formats/ja.d.ts +20 -0
- package/angular/utils/formatter/formats/ko.d.ts +20 -0
- package/angular/utils/formatter/formats/mk.d.ts +20 -0
- package/angular/utils/formatter/formats/nl.d.ts +21 -0
- package/angular/utils/formatter/formats/no.d.ts +21 -0
- package/angular/utils/formatter/formats/pl.d.ts +20 -0
- package/angular/utils/formatter/formats/pt.d.ts +20 -0
- package/angular/utils/formatter/formats/ru.d.ts +20 -0
- package/angular/utils/formatter/formats/sv.d.ts +20 -0
- package/angular/utils/formatter/formats/tr.d.ts +21 -0
- package/angular/utils/formatter/formats/zh-CN.d.ts +20 -0
- package/angular/utils/formatter/formats/zh-TW.d.ts +20 -0
- package/angular/utils/formatter/formatter.d.ts +9 -0
- package/angular/utils/formatter/localize.d.ts +3 -0
- package/angular/utils/formatter/smart-datetime-formats.const.d.ts +36 -0
- package/angular/utils/get-css-variable.d.ts +1 -0
- package/angular/utils/index.d.ts +7 -0
- package/angular/utils/localize/set-locale.d.ts +7 -0
- package/angular/utils/map-tile-providers/index.d.ts +93 -0
- package/angular/utils/store/slot-context.d.ts +4 -0
- package/angular/utils/store/slot-store.d.ts +39 -0
- package/angular/utils/switch-item/index.d.ts +14 -0
- package/angular/utils/themes/bliss.d.ts +43 -0
- package/angular/utils/themes/classic-dark.d.ts +34 -0
- package/angular/utils/themes/classic.d.ts +43 -0
- package/angular/utils/themes/default-dark.d.ts +46 -0
- package/angular/utils/themes/default.d.ts +46 -0
- package/angular/utils/themes/index.d.ts +3 -0
- package/angular/utils/themes/orion.d.ts +44 -0
- package/angular/utils/themes/pinky.d.ts +42 -0
- package/angular/utils/themes/radiant.d.ts +42 -0
- package/angular/utils/themes/royale.d.ts +36 -0
- package/angular/utils/themes/seasonal.d.ts +43 -0
- package/angular/utils/themes/urban.d.ts +44 -0
- package/angular/utils/themes/vivid.d.ts +42 -0
- package/angular/utils/time/formats.const.d.ts +4 -0
- package/angular/utils/time/periods.const.d.ts +15 -0
- package/angular/utils/transformations/convert-data-item-to-slot-content.d.ts +9 -0
- package/angular/utils/transformations/convert-datasets-to-draggable-items.d.ts +17 -0
- package/angular/utils/transformations/tests/convert-data-item-to-slot-content.test.d.ts +1 -0
- package/angular/utils/transformations/tests/convert-datasets-to-draggable-items.test.d.ts +1 -0
- package/angular/utils/types/type-check.d.ts +7 -0
- package/components/ai-chat-message-assistant/index.cjs +1 -1
- package/components/ai-chat-message-assistant/index.js +0 -1
- package/components/calculate-data-item-icon-DMDhKq_m.js +147 -0
- package/components/{calculate-data-item-icon-CX4VW9Km.cjs → calculate-data-item-icon-DtVGbet3.cjs} +1 -1
- package/components/dataset-selector-list/index.cjs +1 -1
- package/components/dataset-selector-list/index.js +1 -1
- package/components/display-settings/display-settings.d.ts +4 -2
- package/components/display-settings/index.cjs +1 -1
- package/components/display-settings/index.js +1 -1
- package/components/display-settings-binning/display-settings-binning.d.ts +2 -1
- package/components/display-settings-datetime/display-settings-datetime.d.ts +2 -1
- package/components/display-settings-datetime/index.cjs +1 -1
- package/components/display-settings-datetime/index.js +4 -4
- package/components/display-settings-grand-totals/display-settings-grand-totals.d.ts +2 -1
- package/components/display-settings-numeric/display-settings-numeric.d.ts +2 -1
- package/components/display-settings-numeric/index.cjs +10 -10
- package/components/display-settings-numeric/index.js +5 -5
- package/components/draggable-data-item/draggable-data-item.d.ts +5 -7
- package/components/draggable-data-item/index.cjs +14 -22
- package/components/draggable-data-item/index.d.ts +1 -0
- package/components/draggable-data-item/index.js +80 -88
- package/components/draggable-data-item/types.d.ts +21 -0
- package/components/draggable-data-item-level/draggable-data-item-level.d.ts +4 -6
- package/components/draggable-data-item-level/helpers/generate-preview.d.ts +9 -1
- package/components/draggable-data-item-level/index.cjs +13 -13
- package/components/draggable-data-item-level/index.js +84 -102
- package/components/draggable-data-item-level/types.d.ts +12 -0
- package/components/droppable-slot/droppable-slot.d.ts +4 -2
- package/components/droppable-slot/index.cjs +13 -13
- package/components/droppable-slot/index.d.ts +1 -0
- package/components/droppable-slot/index.js +198 -199
- package/components/droppable-slot/types.d.ts +9 -0
- package/components/{en-CtCctD2c.js → en-D3ihEGXg.js} +67 -67
- package/components/{en--a5SfjnM.cjs → en-DZcn_iz_.cjs} +1 -1
- package/components/{en-GB-CXVKFWyH.cjs → en-GB-TqvgIw9B.cjs} +1 -1
- package/components/{en-GB-CbNfyZMo.js → en-GB-ialeqj_z.js} +1 -1
- package/components/filter-data-item-picker/index.cjs +1 -1
- package/components/filter-data-item-picker/index.js +1 -1
- package/components/filter-item/index.cjs +1 -1
- package/components/filter-item/index.js +8 -8
- package/components/filter-value-picker-hierarchy/index.cjs +1 -1
- package/components/filter-value-picker-hierarchy/index.js +1 -1
- package/components/filter-value-picker-numeric/index.cjs +1 -1
- package/components/filter-value-picker-numeric/index.js +1 -1
- package/components/{get-css-variable-CuDaWSjr.cjs → get-css-variable-COd1d84B.cjs} +3 -3
- package/components/{get-css-variable-DEf4GhTH.js → get-css-variable-CdwF98oh.js} +31 -31
- package/components/grid/index.cjs +1 -7
- package/components/grid/index.js +0 -7
- package/components/{index-BUal0r_D.cjs → index-BekTY3Em.cjs} +1 -1
- package/components/index-CFL6gmIu.cjs +20 -0
- package/components/{index-3WsfvkZF.js → index-CqKpf0B8.js} +1 -1
- package/components/{index-BGb_wRRW.js → index-DNPULp4A.js} +177 -188
- package/components/index.cjs +1 -1
- package/components/index.js +26 -24
- package/components/slot-contents-picker/index.cjs +1 -1
- package/components/slot-contents-picker/index.js +2 -2
- package/components/slot-menu/index.cjs +1 -1
- package/components/slot-menu/index.d.ts +1 -0
- package/components/slot-menu/index.js +64 -69
- package/components/slot-menu/slot-menu.d.ts +7 -6
- package/components/slot-menu/types.d.ts +25 -0
- package/components/slot-menu-list/index.cjs +1 -1
- package/components/slot-menu-list/index.js +2 -2
- package/components/slot-menu-list/slot-menu-list.d.ts +2 -1
- package/components/utils.cjs +1 -1
- package/components/utils.js +129 -62
- package/custom-elements.json +123 -126
- package/item-definitions/slicer-filter/slicer-filter-options.config.d.ts +1 -1
- package/package.json +1 -1
- package/types.d.ts +9 -3
- package/utils/data/load-draggable-items-for-datasets.d.ts +24 -0
- package/utils/data-broker/index.d.ts +69 -66
- package/utils/data-item-types/calculate-data-item-icon.d.ts +8 -2
- package/utils/data-item-types/tests/calculate-data-item-icon.test.d.ts +1 -0
- package/utils/index.d.ts +2 -0
- package/utils/transformations/convert-data-item-to-slot-content.d.ts +9 -0
- package/utils/transformations/convert-datasets-to-draggable-items.d.ts +17 -0
- package/utils/transformations/tests/convert-data-item-to-slot-content.test.d.ts +1 -0
- package/utils/transformations/tests/convert-datasets-to-draggable-items.test.d.ts +1 -0
- package/components/calculate-data-item-icon-C8CbsMQf.js +0 -139
- package/components/index-D1Y5TRsH.cjs +0 -20
- package/utils/types/column.types.d.ts +0 -57
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
decimal: string;
|
|
3
|
+
thousands: string;
|
|
4
|
+
grouping: number[];
|
|
5
|
+
currency: string[];
|
|
6
|
+
dateTime: string;
|
|
7
|
+
date: string;
|
|
8
|
+
dateSeparator: string;
|
|
9
|
+
time: string;
|
|
10
|
+
periods: string[];
|
|
11
|
+
days: string[];
|
|
12
|
+
shortDays: string[];
|
|
13
|
+
months: string[];
|
|
14
|
+
shortMonths: string[];
|
|
15
|
+
levels: string[];
|
|
16
|
+
shortLevels: string[];
|
|
17
|
+
durationLongSuffix: string[];
|
|
18
|
+
durationShortSuffix: string[];
|
|
19
|
+
multi: string[];
|
|
20
|
+
};
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
decimal: string;
|
|
3
|
+
thousands: string;
|
|
4
|
+
grouping: number[];
|
|
5
|
+
currency: string[];
|
|
6
|
+
dateTime: string;
|
|
7
|
+
date: string;
|
|
8
|
+
dateSeparator: string;
|
|
9
|
+
time: string;
|
|
10
|
+
periods: string[];
|
|
11
|
+
days: string[];
|
|
12
|
+
shortDays: string[];
|
|
13
|
+
months: string[];
|
|
14
|
+
shortMonths: string[];
|
|
15
|
+
levels: string[];
|
|
16
|
+
durationLongSuffix: string[];
|
|
17
|
+
durationShortSuffix: string[];
|
|
18
|
+
multi: string[];
|
|
19
|
+
};
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
decimal: string;
|
|
3
|
+
thousands: string;
|
|
4
|
+
grouping: number[];
|
|
5
|
+
currency: string[];
|
|
6
|
+
dateTime: string;
|
|
7
|
+
date: string;
|
|
8
|
+
dateSeparator: string;
|
|
9
|
+
time: string;
|
|
10
|
+
periods: string[];
|
|
11
|
+
days: string[];
|
|
12
|
+
shortDays: string[];
|
|
13
|
+
months: string[];
|
|
14
|
+
shortMonths: string[];
|
|
15
|
+
levels: string[];
|
|
16
|
+
durationLongSuffix: string[];
|
|
17
|
+
durationShortSuffix: string[];
|
|
18
|
+
multi: string[];
|
|
19
|
+
};
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
decimal: string;
|
|
3
|
+
thousands: string;
|
|
4
|
+
grouping: number[];
|
|
5
|
+
currency: string[];
|
|
6
|
+
dateTime: string;
|
|
7
|
+
date: string;
|
|
8
|
+
dateSeparator: string;
|
|
9
|
+
time: string;
|
|
10
|
+
periods: string[];
|
|
11
|
+
days: string[];
|
|
12
|
+
shortDays: string[];
|
|
13
|
+
months: string[];
|
|
14
|
+
shortMonths: string[];
|
|
15
|
+
levels: string[];
|
|
16
|
+
durationLongSuffix: string[];
|
|
17
|
+
durationShortSuffix: string[];
|
|
18
|
+
multi: string[];
|
|
19
|
+
};
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
decimal: string;
|
|
3
|
+
thousands: string;
|
|
4
|
+
grouping: number[];
|
|
5
|
+
currency: string[];
|
|
6
|
+
dateTime: string;
|
|
7
|
+
date: string;
|
|
8
|
+
dateSeparator: string;
|
|
9
|
+
time: string;
|
|
10
|
+
periods: string[];
|
|
11
|
+
days: string[];
|
|
12
|
+
shortDays: string[];
|
|
13
|
+
months: string[];
|
|
14
|
+
shortMonths: string[];
|
|
15
|
+
levels: string[];
|
|
16
|
+
durationLongSuffix: string[];
|
|
17
|
+
durationShortSuffix: string[];
|
|
18
|
+
multi: string[];
|
|
19
|
+
};
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
decimal: string;
|
|
3
|
+
thousands: string;
|
|
4
|
+
grouping: number[];
|
|
5
|
+
currency: string[];
|
|
6
|
+
dateTime: string;
|
|
7
|
+
date: string;
|
|
8
|
+
dateSeparator: string;
|
|
9
|
+
time: string;
|
|
10
|
+
periods: string[];
|
|
11
|
+
days: string[];
|
|
12
|
+
shortDays: string[];
|
|
13
|
+
months: string[];
|
|
14
|
+
shortMonths: string[];
|
|
15
|
+
levels: string[];
|
|
16
|
+
shortLevels: string[];
|
|
17
|
+
durationLongSuffix: string[];
|
|
18
|
+
durationShortSuffix: string[];
|
|
19
|
+
multi: string[];
|
|
20
|
+
};
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
decimal: string;
|
|
3
|
+
thousands: string;
|
|
4
|
+
grouping: number[];
|
|
5
|
+
currency: string[];
|
|
6
|
+
dateTime: string;
|
|
7
|
+
date: string;
|
|
8
|
+
dateSeparator: string;
|
|
9
|
+
time: string;
|
|
10
|
+
periods: string[];
|
|
11
|
+
days: string[];
|
|
12
|
+
shortDays: string[];
|
|
13
|
+
months: string[];
|
|
14
|
+
shortMonths: string[];
|
|
15
|
+
levels: string[];
|
|
16
|
+
durationLongSuffix: string[];
|
|
17
|
+
durationShortSuffix: string[];
|
|
18
|
+
multi: string[];
|
|
19
|
+
};
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
decimal: string;
|
|
3
|
+
thousands: string;
|
|
4
|
+
grouping: number[];
|
|
5
|
+
currency: string[];
|
|
6
|
+
dateTime: string;
|
|
7
|
+
date: string;
|
|
8
|
+
dateSeparator: string;
|
|
9
|
+
time: string;
|
|
10
|
+
periods: string[];
|
|
11
|
+
days: string[];
|
|
12
|
+
shortDays: string[];
|
|
13
|
+
months: string[];
|
|
14
|
+
shortMonths: string[];
|
|
15
|
+
levels: string[];
|
|
16
|
+
durationLongSuffix: string[];
|
|
17
|
+
durationShortSuffix: string[];
|
|
18
|
+
multi: string[];
|
|
19
|
+
};
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare function formatter(content: any, options?: {
|
|
2
|
+
level?: number;
|
|
3
|
+
locale?: string;
|
|
4
|
+
localFormats?: Record<string, any>;
|
|
5
|
+
multi?: boolean;
|
|
6
|
+
hideDuration?: boolean;
|
|
7
|
+
hideCurrency?: boolean;
|
|
8
|
+
trimZero?: boolean;
|
|
9
|
+
}): (value: number | string | Date) => string;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { FormatLocaleDefinition } from 'd3-format';
|
|
2
|
+
import { TimeLocaleDefinition } from 'd3-time-format';
|
|
3
|
+
export type DateFormat = {
|
|
4
|
+
key: string;
|
|
5
|
+
lev1: string;
|
|
6
|
+
lev2: string;
|
|
7
|
+
lev3: string;
|
|
8
|
+
lev4: string;
|
|
9
|
+
lev5: string;
|
|
10
|
+
monthType?: string;
|
|
11
|
+
longText?: boolean;
|
|
12
|
+
weekday?: boolean;
|
|
13
|
+
mmdd?: boolean | null;
|
|
14
|
+
separator?: '/' | '-' | '.' | '~';
|
|
15
|
+
};
|
|
16
|
+
export type TimeFormat = {
|
|
17
|
+
key: string;
|
|
18
|
+
ampm: boolean;
|
|
19
|
+
lev6: string;
|
|
20
|
+
lev7: string;
|
|
21
|
+
lev8: string;
|
|
22
|
+
lev9: string;
|
|
23
|
+
};
|
|
24
|
+
export declare const DEFAULT_DATETIME_FORMAT = "%d-%m-%Y";
|
|
25
|
+
export interface LocaleFormat extends TimeLocaleDefinition, FormatLocaleDefinition {
|
|
26
|
+
dateSeparator?: string;
|
|
27
|
+
durationLongSuffix?: string[];
|
|
28
|
+
durationShortSuffix?: string[];
|
|
29
|
+
levels?: string[];
|
|
30
|
+
multi?: string[];
|
|
31
|
+
shortLevels?: string[];
|
|
32
|
+
smartDateFormats?: DateFormat[];
|
|
33
|
+
smartTimeFormats?: TimeFormat[];
|
|
34
|
+
}
|
|
35
|
+
export declare const SMART_DATE_FORMATS: DateFormat[];
|
|
36
|
+
export declare const SMART_TIME_FORMATS: TimeFormat[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getCssVariableValue: (element: HTMLElement, variable: string) => string;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { loadDraggableItemsForDatasets } from './data/load-draggable-items-for-datasets';
|
|
2
|
+
export { decomposeNumericFormat } from './formatter/decompose-numeric-format';
|
|
3
|
+
export { formatter } from './formatter/formatter';
|
|
4
|
+
export { localize } from './formatter/localize';
|
|
5
|
+
export { switchItem } from './switch-item';
|
|
6
|
+
export * from './themes';
|
|
7
|
+
export { convertDatasetsToDraggableItems } from './transformations/convert-datasets-to-draggable-items';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
declare const getLocale: (() => string) & {
|
|
2
|
+
_LIT_LOCALIZE_GET_LOCALE_?: never;
|
|
3
|
+
}, setLocale: ((newLocale: string) => Promise<void>) & {
|
|
4
|
+
_LIT_LOCALIZE_SET_LOCALE_?: never;
|
|
5
|
+
};
|
|
6
|
+
export { targetLocales } from './../../generated/locale-codes.js';
|
|
7
|
+
export { getLocale, setLocale };
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
export declare const mapVectorTileProviders: {
|
|
2
|
+
'No Tiles': {
|
|
3
|
+
name: string;
|
|
4
|
+
id: string;
|
|
5
|
+
url: string;
|
|
6
|
+
attribution: string;
|
|
7
|
+
rasterName: string;
|
|
8
|
+
};
|
|
9
|
+
Basic: {
|
|
10
|
+
name: string;
|
|
11
|
+
id: string;
|
|
12
|
+
url: string;
|
|
13
|
+
attribution: string;
|
|
14
|
+
rasterName: string;
|
|
15
|
+
};
|
|
16
|
+
Bright: {
|
|
17
|
+
name: string;
|
|
18
|
+
id: string;
|
|
19
|
+
url: string;
|
|
20
|
+
attribution: string;
|
|
21
|
+
rasterName: string;
|
|
22
|
+
};
|
|
23
|
+
Dark: {
|
|
24
|
+
name: string;
|
|
25
|
+
id: string;
|
|
26
|
+
url: string;
|
|
27
|
+
attribution: string;
|
|
28
|
+
rasterName: string;
|
|
29
|
+
};
|
|
30
|
+
Fiord: {
|
|
31
|
+
name: string;
|
|
32
|
+
id: string;
|
|
33
|
+
url: string;
|
|
34
|
+
attribution: string;
|
|
35
|
+
rasterName: string;
|
|
36
|
+
};
|
|
37
|
+
Liberty: {
|
|
38
|
+
name: string;
|
|
39
|
+
id: string;
|
|
40
|
+
url: string;
|
|
41
|
+
attribution: string;
|
|
42
|
+
rasterName: string;
|
|
43
|
+
};
|
|
44
|
+
Pastel: {
|
|
45
|
+
name: string;
|
|
46
|
+
id: string;
|
|
47
|
+
url: string;
|
|
48
|
+
attribution: string;
|
|
49
|
+
rasterName: string;
|
|
50
|
+
};
|
|
51
|
+
Positron: {
|
|
52
|
+
name: string;
|
|
53
|
+
id: string;
|
|
54
|
+
url: string;
|
|
55
|
+
attribution: string;
|
|
56
|
+
rasterName: string;
|
|
57
|
+
};
|
|
58
|
+
Streets: {
|
|
59
|
+
name: string;
|
|
60
|
+
id: string;
|
|
61
|
+
url: string;
|
|
62
|
+
attribution: string;
|
|
63
|
+
rasterName: string;
|
|
64
|
+
};
|
|
65
|
+
Toner: {
|
|
66
|
+
name: string;
|
|
67
|
+
id: string;
|
|
68
|
+
url: string;
|
|
69
|
+
attribution: string;
|
|
70
|
+
rasterName: string;
|
|
71
|
+
};
|
|
72
|
+
Topographique: {
|
|
73
|
+
name: string;
|
|
74
|
+
id: string;
|
|
75
|
+
url: string;
|
|
76
|
+
attribution: string;
|
|
77
|
+
rasterName: string;
|
|
78
|
+
};
|
|
79
|
+
Voyager: {
|
|
80
|
+
name: string;
|
|
81
|
+
id: string;
|
|
82
|
+
url: string;
|
|
83
|
+
attribution: string;
|
|
84
|
+
rasterName: string;
|
|
85
|
+
};
|
|
86
|
+
'3D buildings': {
|
|
87
|
+
name: string;
|
|
88
|
+
id: string;
|
|
89
|
+
url: string;
|
|
90
|
+
attribution: string;
|
|
91
|
+
rasterName: string;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { GenericSlotContent, SlotName, VizItemSlots, VizItemType } from '@luzmo/dashboard-contents-types';
|
|
2
|
+
import { PeriodOverPeriodCondition } from '../../types';
|
|
3
|
+
export type SlotContent = GenericSlotContent;
|
|
4
|
+
export declare class SlotStore {
|
|
5
|
+
/**
|
|
6
|
+
* Holds all contents for this droppable slot.
|
|
7
|
+
*/
|
|
8
|
+
readonly slotContents: import("signal-polyfill").Signal.State<GenericSlotContent[]>;
|
|
9
|
+
readonly slotsContents: import("signal-polyfill").Signal.State<VizItemSlots>;
|
|
10
|
+
readonly periodOverPeriodUiType: import("signal-polyfill").Signal.State<PeriodOverPeriodCondition | null>;
|
|
11
|
+
readonly linkedDataset: import("signal-polyfill").Signal.State<{
|
|
12
|
+
name: any;
|
|
13
|
+
id: string;
|
|
14
|
+
columns: any[];
|
|
15
|
+
}[]>;
|
|
16
|
+
private readonly _popEnabledChartTypes;
|
|
17
|
+
readonly activeSlotContents: import("signal-polyfill").Signal.Computed<GenericSlotContent>;
|
|
18
|
+
/**
|
|
19
|
+
* Index of the content currently selected / active in a slot menu.
|
|
20
|
+
*/
|
|
21
|
+
readonly activeIndex: import("signal-polyfill").Signal.State<number>;
|
|
22
|
+
private isArrayColumnType;
|
|
23
|
+
setPeriodOverPeriodCondition(itemType: VizItemType, currentSlotContents: SlotContent): void;
|
|
24
|
+
private getUiConditionToApply;
|
|
25
|
+
private oldConditionalLogic;
|
|
26
|
+
/**
|
|
27
|
+
* Detects if there's a datetime column on Category or X-axis slots
|
|
28
|
+
*/
|
|
29
|
+
private hasDatetimeColumnOnCategoryOrXAxis;
|
|
30
|
+
/** Replace the full list (e.g. after dropping or re-ordering). */
|
|
31
|
+
setContents(contents: SlotContent[], slotName?: SlotName): void;
|
|
32
|
+
setFullContents(fullSlotsContents: VizItemSlots): void;
|
|
33
|
+
/** Change which item is considered active (e.g. user clicked in list). */
|
|
34
|
+
updateActive(index: number): void;
|
|
35
|
+
/** Update / overwrite a single content entry. */
|
|
36
|
+
updateContent(content: SlotContent, index?: number): void;
|
|
37
|
+
/** Remove one content entry by index. */
|
|
38
|
+
removeContent(index: number): void;
|
|
39
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare function switchItem(args: {
|
|
2
|
+
oldItemType: string;
|
|
3
|
+
newItemType: string;
|
|
4
|
+
slots?: any[];
|
|
5
|
+
options?: any;
|
|
6
|
+
customItemSlotsConfigs?: {
|
|
7
|
+
type: string;
|
|
8
|
+
slotsConfig: any;
|
|
9
|
+
}[];
|
|
10
|
+
}): {
|
|
11
|
+
type: string;
|
|
12
|
+
slots: any[];
|
|
13
|
+
options?: any;
|
|
14
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export declare const blissTheme: {
|
|
2
|
+
type: string;
|
|
3
|
+
background: string;
|
|
4
|
+
itemsBackground: string;
|
|
5
|
+
boxShadow: {
|
|
6
|
+
size: string;
|
|
7
|
+
color: string;
|
|
8
|
+
};
|
|
9
|
+
title: {
|
|
10
|
+
align: string;
|
|
11
|
+
bold: boolean;
|
|
12
|
+
italic: boolean;
|
|
13
|
+
underline: boolean;
|
|
14
|
+
border: boolean;
|
|
15
|
+
};
|
|
16
|
+
font: {
|
|
17
|
+
fontFamily: string;
|
|
18
|
+
fontSize: number;
|
|
19
|
+
};
|
|
20
|
+
colors: string[];
|
|
21
|
+
borders: {
|
|
22
|
+
'border-color': string;
|
|
23
|
+
'border-style': string;
|
|
24
|
+
'border-radius': string;
|
|
25
|
+
'border-top-width': string;
|
|
26
|
+
'border-left-width': string;
|
|
27
|
+
'border-right-width': string;
|
|
28
|
+
'border-bottom-width': string;
|
|
29
|
+
};
|
|
30
|
+
margins: number[];
|
|
31
|
+
mainColor: string;
|
|
32
|
+
axis: {};
|
|
33
|
+
legend: {
|
|
34
|
+
type: string;
|
|
35
|
+
};
|
|
36
|
+
tooltip: {};
|
|
37
|
+
itemSpecific: {
|
|
38
|
+
rounding: number;
|
|
39
|
+
padding: number;
|
|
40
|
+
};
|
|
41
|
+
name: string;
|
|
42
|
+
editModeBackground: string;
|
|
43
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export declare const classicDarkTheme: {
|
|
2
|
+
type: string;
|
|
3
|
+
background: string;
|
|
4
|
+
itemsBackground: string;
|
|
5
|
+
boxShadow: {
|
|
6
|
+
size: string;
|
|
7
|
+
color: string;
|
|
8
|
+
};
|
|
9
|
+
title: {
|
|
10
|
+
align: string;
|
|
11
|
+
bold: boolean;
|
|
12
|
+
italic: boolean;
|
|
13
|
+
underline: boolean;
|
|
14
|
+
border: boolean;
|
|
15
|
+
};
|
|
16
|
+
font: {
|
|
17
|
+
fontFamily: string;
|
|
18
|
+
fontSize: number;
|
|
19
|
+
};
|
|
20
|
+
colors: string[];
|
|
21
|
+
borders: {};
|
|
22
|
+
margins: number[];
|
|
23
|
+
mainColor: string;
|
|
24
|
+
axis: {};
|
|
25
|
+
legend: {
|
|
26
|
+
type: string;
|
|
27
|
+
};
|
|
28
|
+
tooltip: {};
|
|
29
|
+
itemSpecific: {
|
|
30
|
+
rounding: number;
|
|
31
|
+
padding: number;
|
|
32
|
+
};
|
|
33
|
+
name: string;
|
|
34
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export declare const classicTheme: {
|
|
2
|
+
type: string;
|
|
3
|
+
background: string;
|
|
4
|
+
itemsBackground: string;
|
|
5
|
+
boxShadow: {
|
|
6
|
+
size: string;
|
|
7
|
+
color: string;
|
|
8
|
+
};
|
|
9
|
+
title: {
|
|
10
|
+
align: string;
|
|
11
|
+
bold: boolean;
|
|
12
|
+
italic: boolean;
|
|
13
|
+
underline: boolean;
|
|
14
|
+
border: boolean;
|
|
15
|
+
};
|
|
16
|
+
font: {
|
|
17
|
+
fontFamily: string;
|
|
18
|
+
fontSize: number;
|
|
19
|
+
};
|
|
20
|
+
colors: string[];
|
|
21
|
+
borders: {
|
|
22
|
+
'border-color': string;
|
|
23
|
+
'border-style': string;
|
|
24
|
+
'border-radius': string;
|
|
25
|
+
'border-top-width': string;
|
|
26
|
+
'border-left-width': string;
|
|
27
|
+
'border-right-width': string;
|
|
28
|
+
'border-bottom-width': string;
|
|
29
|
+
};
|
|
30
|
+
margins: number[];
|
|
31
|
+
mainColor: string;
|
|
32
|
+
axis: {};
|
|
33
|
+
legend: {
|
|
34
|
+
type: string;
|
|
35
|
+
};
|
|
36
|
+
tooltip: {};
|
|
37
|
+
itemSpecific: {
|
|
38
|
+
rounding: number;
|
|
39
|
+
padding: number;
|
|
40
|
+
};
|
|
41
|
+
name: string;
|
|
42
|
+
editModeBackground: string;
|
|
43
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
export declare const defaultDarkTheme: {
|
|
2
|
+
type: string;
|
|
3
|
+
background: string;
|
|
4
|
+
itemsBackground: string;
|
|
5
|
+
boxShadow: {
|
|
6
|
+
size: string;
|
|
7
|
+
color: string;
|
|
8
|
+
};
|
|
9
|
+
title: {
|
|
10
|
+
align: string;
|
|
11
|
+
bold: boolean;
|
|
12
|
+
italic: boolean;
|
|
13
|
+
underline: boolean;
|
|
14
|
+
border: boolean;
|
|
15
|
+
};
|
|
16
|
+
font: {
|
|
17
|
+
fontFamily: string;
|
|
18
|
+
'font-style': string;
|
|
19
|
+
'font-weight': number;
|
|
20
|
+
fontSize: number;
|
|
21
|
+
};
|
|
22
|
+
colors: string[];
|
|
23
|
+
borders: {
|
|
24
|
+
'border-color': string;
|
|
25
|
+
'border-style': string;
|
|
26
|
+
'border-radius': string;
|
|
27
|
+
'border-top-width': string;
|
|
28
|
+
'border-left-width': string;
|
|
29
|
+
'border-right-width': string;
|
|
30
|
+
'border-bottom-width': string;
|
|
31
|
+
};
|
|
32
|
+
margins: number[];
|
|
33
|
+
mainColor: string;
|
|
34
|
+
axis: {};
|
|
35
|
+
legend: {
|
|
36
|
+
type: string;
|
|
37
|
+
};
|
|
38
|
+
tooltip: {
|
|
39
|
+
background: string;
|
|
40
|
+
};
|
|
41
|
+
itemSpecific: {
|
|
42
|
+
rounding: number;
|
|
43
|
+
padding: number;
|
|
44
|
+
};
|
|
45
|
+
name: string;
|
|
46
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
export declare const defaultTheme: {
|
|
2
|
+
type: string;
|
|
3
|
+
background: string;
|
|
4
|
+
itemsBackground: string;
|
|
5
|
+
boxShadow: {
|
|
6
|
+
size: string;
|
|
7
|
+
color: string;
|
|
8
|
+
};
|
|
9
|
+
title: {
|
|
10
|
+
align: string;
|
|
11
|
+
bold: boolean;
|
|
12
|
+
italic: boolean;
|
|
13
|
+
underline: boolean;
|
|
14
|
+
border: boolean;
|
|
15
|
+
};
|
|
16
|
+
font: {
|
|
17
|
+
fontFamily: string;
|
|
18
|
+
'font-style': string;
|
|
19
|
+
'font-weight': number;
|
|
20
|
+
fontSize: number;
|
|
21
|
+
};
|
|
22
|
+
colors: string[];
|
|
23
|
+
borders: {
|
|
24
|
+
'border-color': string;
|
|
25
|
+
'border-style': string;
|
|
26
|
+
'border-radius': string;
|
|
27
|
+
'border-top-width': string;
|
|
28
|
+
'border-left-width': string;
|
|
29
|
+
'border-right-width': string;
|
|
30
|
+
'border-bottom-width': string;
|
|
31
|
+
};
|
|
32
|
+
margins: number[];
|
|
33
|
+
mainColor: string;
|
|
34
|
+
axis: {};
|
|
35
|
+
legend: {
|
|
36
|
+
type: string;
|
|
37
|
+
};
|
|
38
|
+
tooltip: {
|
|
39
|
+
background: string;
|
|
40
|
+
};
|
|
41
|
+
itemSpecific: {
|
|
42
|
+
rounding: number;
|
|
43
|
+
padding: number;
|
|
44
|
+
};
|
|
45
|
+
name: string;
|
|
46
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare const systemThemeIds: string[];
|
|
2
|
+
export type SystemThemeId = 'default' | 'default_dark' | 'vivid' | 'seasonal' | 'orion' | 'royale' | 'urban' | 'pinky' | 'bliss' | 'radiant' | 'classic' | 'classic_dark';
|
|
3
|
+
export declare const getTheme: (themeId: SystemThemeId) => Promise<any>;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export declare const orionTheme: {
|
|
2
|
+
type: string;
|
|
3
|
+
background: string;
|
|
4
|
+
itemsBackground: string;
|
|
5
|
+
boxShadow: {
|
|
6
|
+
size: string;
|
|
7
|
+
color: string;
|
|
8
|
+
};
|
|
9
|
+
title: {
|
|
10
|
+
align: string;
|
|
11
|
+
bold: boolean;
|
|
12
|
+
italic: boolean;
|
|
13
|
+
underline: boolean;
|
|
14
|
+
border: boolean;
|
|
15
|
+
};
|
|
16
|
+
font: {
|
|
17
|
+
fontFamily: string;
|
|
18
|
+
fontSize: number;
|
|
19
|
+
};
|
|
20
|
+
colors: string[];
|
|
21
|
+
borders: {
|
|
22
|
+
'border-color': string;
|
|
23
|
+
'border-style': string;
|
|
24
|
+
'border-radius': string;
|
|
25
|
+
'border-top-width': string;
|
|
26
|
+
'border-left-width': string;
|
|
27
|
+
'border-right-width': string;
|
|
28
|
+
'border-bottom-width': string;
|
|
29
|
+
};
|
|
30
|
+
margins: number[];
|
|
31
|
+
mainColor: string;
|
|
32
|
+
axis: {};
|
|
33
|
+
legend: {
|
|
34
|
+
type: string;
|
|
35
|
+
};
|
|
36
|
+
tooltip: {
|
|
37
|
+
background: string;
|
|
38
|
+
};
|
|
39
|
+
itemSpecific: {
|
|
40
|
+
rounding: number;
|
|
41
|
+
padding: number;
|
|
42
|
+
};
|
|
43
|
+
name: string;
|
|
44
|
+
};
|