@luzmo/analytics-components-kit 1.0.1-alpha.143 → 1.0.1-alpha.145
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/esm/types/ai-chat.types.d.ts +4 -0
- package/angular/tsconfig.json +3 -0
- package/angular/types/ai-chat.types.ts +6 -0
- package/components/ai-chat/ai-chat-streaming.d.ts +14 -0
- package/components/ai-chat/ai-chat.d.ts +37 -5
- package/components/ai-chat/index.cjs +1 -1
- package/components/ai-chat/index.d.ts +3 -0
- package/components/ai-chat/index.js +6 -6
- package/components/ai-chat/request-contract.d.ts +1 -0
- package/components/ai-chat-BGgOjOjv.cjs +113 -0
- package/components/{ai-chat-CvRO-iWK.js → ai-chat-DreqkkBA.js} +260 -103
- package/components/ai-interaction-textarea/index.cjs +1 -1
- package/components/ai-interaction-textarea/index.js +3 -3
- package/components/data-fields-select/index.cjs +1 -1
- package/components/data-fields-select/index.js +3 -3
- package/components/{data-fields-select-Dc1pByjy.js → data-fields-select-CHOKEMb2.js} +1 -1
- package/components/{data-fields-select-BB9jMIZt.cjs → data-fields-select-_WjjNpcl.cjs} +1 -1
- package/components/dataset-selector-list/index.cjs +1 -1
- package/components/dataset-selector-list/index.js +2 -2
- package/components/{dataset-selector-list-DlXb_jK4.js → dataset-selector-list-C5FvwP-r.js} +1 -1
- package/components/{dataset-selector-list-CFdVv3iN.cjs → dataset-selector-list-DYsi3LBF.cjs} +1 -1
- package/components/dataset-selector-row/index.cjs +1 -1
- package/components/dataset-selector-row/index.js +3 -3
- package/components/{dataset-selector-row-Bxu3lzqR.js → dataset-selector-row-BKIFTyJl.js} +1 -1
- package/components/{dataset-selector-row-Bsq7KGfS.cjs → dataset-selector-row-Qwz9WmR4.cjs} +1 -1
- package/components/{de-DURun-dA.js → de-DOhCpte6.js} +5 -5
- package/components/de-DR0saUbU.cjs +20 -0
- package/components/display-settings/index.cjs +1 -1
- package/components/display-settings/index.js +2 -2
- package/components/display-settings-binning/index.cjs +1 -1
- package/components/display-settings-binning/index.js +3 -3
- package/components/{display-settings-binning-CJSWcOkS.js → display-settings-binning-B58LCqmn.js} +1 -1
- package/components/{display-settings-binning-BkPQ6M08.cjs → display-settings-binning-Bte25mmH.cjs} +1 -1
- package/components/display-settings-datetime/index.cjs +1 -1
- package/components/display-settings-datetime/index.js +3 -3
- package/components/{display-settings-datetime-HErjCVVJ.cjs → display-settings-datetime-DAL8zjtk.cjs} +1 -1
- package/components/{display-settings-datetime-iI-W9K_T.js → display-settings-datetime-DxSNsem7.js} +1 -1
- package/components/display-settings-grand-totals/index.cjs +1 -1
- package/components/display-settings-grand-totals/index.js +3 -3
- package/components/{display-settings-grand-totals-CeOhzDtp.cjs → display-settings-grand-totals-NWow1vhX.cjs} +1 -1
- package/components/{display-settings-grand-totals-D-BMS_hC.js → display-settings-grand-totals-Poa2qL3U.js} +1 -1
- package/components/display-settings-numeric/index.cjs +1 -1
- package/components/display-settings-numeric/index.js +3 -3
- package/components/{display-settings-numeric-pc4CUJWx.js → display-settings-numeric-CTaS1NhY.js} +1 -1
- package/components/{display-settings-numeric-D3cQ5CNK.cjs → display-settings-numeric-eG0gr9Jn.cjs} +1 -1
- package/components/display-settings-period-over-period/index.cjs +1 -1
- package/components/display-settings-period-over-period/index.js +3 -3
- package/components/{display-settings-period-over-period-Cazylizf.js → display-settings-period-over-period-D9r-6vbW.js} +1 -1
- package/components/{display-settings-period-over-period-lYLbMfrq.cjs → display-settings-period-over-period-DjB0K-Zj.cjs} +1 -1
- package/components/draggable-data-field/index.cjs +1 -1
- package/components/draggable-data-field/index.js +3 -3
- package/components/{draggable-data-field-BAZsLoRm.js → draggable-data-field-BIWzuhyP.js} +1 -1
- package/components/{draggable-data-field-uCJzFo7I.cjs → draggable-data-field-Cez4-c6O.cjs} +1 -1
- package/components/draggable-data-field-level/index.cjs +1 -1
- package/components/draggable-data-field-level/index.js +2 -2
- package/components/draggable-data-fields-panel/index.cjs +1 -1
- package/components/draggable-data-fields-panel/index.js +4 -4
- package/components/{draggable-data-fields-panel-Bu5H_7MY.cjs → draggable-data-fields-panel-B0DzaGsv.cjs} +1 -1
- package/components/{draggable-data-fields-panel-C5NIJ12I.js → draggable-data-fields-panel-C3IwyVQh.js} +1 -1
- package/components/droppable-slot/index.cjs +1 -1
- package/components/droppable-slot/index.js +3 -3
- package/components/{droppable-slot-CMWxuHys.js → droppable-slot-BEKnuzJd.js} +1 -1
- package/components/{droppable-slot-Chxv3_Va.cjs → droppable-slot-CHtF9RZo.cjs} +1 -1
- package/components/edit-filters/index.cjs +1 -1
- package/components/edit-filters/index.js +10 -10
- package/components/{edit-filters-wgGKeSp-.js → edit-filters-BHiGSnrn.js} +6 -15
- package/components/{edit-filters-lNJfW7v6.cjs → edit-filters-CoVNGAfA.cjs} +3 -13
- package/components/edit-item/index.cjs +1 -1
- package/components/edit-item/index.js +2 -2
- package/components/edit-option/index.cjs +1 -1
- package/components/edit-option/index.js +2 -2
- package/components/edit-option-action-button-group/index.cjs +1 -1
- package/components/edit-option-action-button-group/index.js +2 -2
- package/components/edit-option-color-palette-picker/index.cjs +1 -1
- package/components/edit-option-color-palette-picker/index.js +2 -2
- package/components/edit-option-color-picker/index.cjs +1 -1
- package/components/edit-option-color-picker/index.js +2 -2
- package/components/edit-option-color-range/index.cjs +1 -1
- package/components/edit-option-color-range/index.js +2 -2
- package/components/edit-option-multi-language-field/index.cjs +1 -1
- package/components/edit-option-multi-language-field/index.js +2 -2
- package/components/edit-option-number-field/index.cjs +1 -1
- package/components/edit-option-number-field/index.js +2 -2
- package/components/edit-option-picker/index.cjs +1 -1
- package/components/edit-option-picker/index.js +2 -2
- package/components/edit-option-position-picker/index.cjs +1 -1
- package/components/edit-option-position-picker/index.js +2 -2
- package/components/edit-option-positions-number-field/index.cjs +1 -1
- package/components/edit-option-positions-number-field/index.js +2 -2
- package/components/edit-option-radio-button-group/index.cjs +1 -1
- package/components/edit-option-radio-button-group/index.js +2 -2
- package/components/edit-option-slider/index.cjs +1 -1
- package/components/edit-option-slider/index.js +2 -2
- package/components/edit-option-switch/index.cjs +1 -1
- package/components/edit-option-switch/index.js +2 -2
- package/components/edit-option-text-field/index.cjs +1 -1
- package/components/edit-option-text-field/index.js +2 -2
- package/components/{es-Dkzx8miN.js → es-CjgYaJJY.js} +6 -5
- package/components/es-D8zLt69A.cjs +20 -0
- package/components/filter-expression-picker/index.cjs +1 -1
- package/components/filter-expression-picker/index.js +3 -3
- package/components/{filter-expression-picker-B4x6ubd5.js → filter-expression-picker-Bbu8Bd25.js} +1 -1
- package/components/{filter-expression-picker-BP78A8JD.cjs → filter-expression-picker-Dc3K44W0.cjs} +1 -1
- package/components/filter-item/index.cjs +1 -1
- package/components/filter-item/index.js +9 -9
- package/components/{filter-item-DCVew0eE.cjs → filter-item-C7i8LLr-.cjs} +1 -1
- package/components/{filter-item-fLvnKrE1.js → filter-item-DmzZL5Wr.js} +2 -2
- package/components/filter-value-picker/index.cjs +1 -1
- package/components/filter-value-picker/index.js +6 -6
- package/components/{filter-value-picker-BPC88xE_.cjs → filter-value-picker-CwQLOgTl.cjs} +1 -1
- package/components/{filter-value-picker-CLajA3W8.js → filter-value-picker-Vq-PfjoU.js} +1 -1
- package/components/filter-value-picker-datetime/index.cjs +1 -1
- package/components/filter-value-picker-datetime/index.js +3 -3
- package/components/{filter-value-picker-datetime-C_tPd_73.cjs → filter-value-picker-datetime-By3czRqA.cjs} +1 -1
- package/components/{filter-value-picker-datetime-DP4M57KA.js → filter-value-picker-datetime-Cf60JAgg.js} +1 -1
- package/components/filter-value-picker-hierarchy/index.cjs +1 -1
- package/components/filter-value-picker-hierarchy/index.js +3 -3
- package/components/{filter-value-picker-hierarchy-CowyNbHg.js → filter-value-picker-hierarchy-CL1YmeY9.js} +1 -1
- package/components/{filter-value-picker-hierarchy-BRID5j_G.cjs → filter-value-picker-hierarchy-CpvItjbb.cjs} +1 -1
- package/components/filter-value-picker-numeric/index.cjs +1 -1
- package/components/filter-value-picker-numeric/index.js +3 -3
- package/components/{filter-value-picker-numeric-D8MiGBfv.js → filter-value-picker-numeric-CDUGCKAy.js} +1 -1
- package/components/{filter-value-picker-numeric-BgMq1FT5.cjs → filter-value-picker-numeric-Dq143AGo.cjs} +1 -1
- package/components/fr-DKJHfJgy.cjs +20 -0
- package/components/{fr-BxxnKM9J.js → fr-x3aFvlKk.js} +5 -5
- package/components/grid/index.cjs +1 -1
- package/components/grid/index.js +3 -3
- package/components/{grid-1ZLTyUUM.cjs → grid-By5MAIqI.cjs} +9 -8
- package/components/{grid-Dka6HAFu.js → grid-DN9I7DDY.js} +9 -8
- package/components/index.cjs +1 -1
- package/components/index.js +27 -27
- package/components/item-data-drop-panel/index.cjs +1 -1
- package/components/item-data-drop-panel/index.js +4 -4
- package/components/{item-data-drop-panel-DCdT8u3S.js → item-data-drop-panel-hXvAIkBq.js} +1 -1
- package/components/{item-data-drop-panel-BNQmmouC.cjs → item-data-drop-panel-jxlsaggu.cjs} +1 -1
- package/components/item-data-picker-panel/index.cjs +1 -1
- package/components/item-data-picker-panel/index.js +5 -5
- package/components/{item-data-picker-panel-D8YWBbZZ.js → item-data-picker-panel-C7wyaWko.js} +1 -1
- package/components/{item-data-picker-panel-DOsGE-Xc.cjs → item-data-picker-panel-sWJGFZ7e.cjs} +1 -1
- package/components/{localized-mixin-Cxbtsznk.cjs → localized-mixin-BhUvOsd7.cjs} +1 -1
- package/components/{localized-mixin-DluVAteK.js → localized-mixin-HngLqDZn.js} +1 -1
- package/components/{nl-DDQ-Saw3.js → nl-Cv7QXh6s.js} +5 -5
- package/components/nl-DtxDWOXH.cjs +20 -0
- package/components/{set-locale-DmVKN5NY.js → set-locale-C3o6ooUV.js} +4 -4
- package/components/{set-locale-BbhzBfZV.cjs → set-locale-CdlBx8s9.cjs} +1 -1
- package/components/slot-contents-picker/index.cjs +1 -1
- package/components/slot-contents-picker/index.js +4 -4
- package/components/{slot-contents-picker--QucgYkS.js → slot-contents-picker-G3JVFgG1.js} +1 -1
- package/components/{slot-contents-picker-CQQuh9fg.cjs → slot-contents-picker-vO7GDwhF.cjs} +1 -1
- package/components/slot-menu/index.cjs +1 -1
- package/components/slot-menu/index.js +2 -2
- package/components/slot-menu-list/index.cjs +1 -1
- package/components/slot-menu-list/index.js +2 -2
- package/components/utils/base.cjs +1 -1
- package/components/utils/base.js +2 -2
- package/components/utils.cjs +1 -1
- package/components/utils.js +1 -1
- package/components/viz-item-menu/index.cjs +1 -1
- package/components/viz-item-menu/index.js +3 -3
- package/components/{viz-item-menu-CO7XfqyI.js → viz-item-menu-BX_S-XUm.js} +1 -1
- package/components/{viz-item-menu-BZp_MMRO.cjs → viz-item-menu-CGhptlJg.cjs} +1 -1
- package/custom-elements.json +173 -10
- package/package.json +1 -1
- package/types/ai-chat.types.d.ts +4 -0
- package/components/ai-chat-Boiu1Zce.cjs +0 -89
- package/components/de-D71oQ28U.cjs +0 -20
- package/components/es-BVpCQVYE.cjs +0 -20
- package/components/fr-DW5eOlYL.cjs +0 -20
- package/components/nl-CNyDzCqx.cjs +0 -20
|
@@ -17,4 +17,4 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`../set-locale-
|
|
20
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`../set-locale-CdlBx8s9.cjs`),require(`../localized-mixin-BhUvOsd7.cjs`),require(`../data-broker-BUIUM5hr.cjs`),require(`../formatter-CWhf4xbq.cjs`),require(`../periods.const-CX2ZWWrf.cjs`),require(`../calculate-data-field-icon-BhiGlh0u.cjs`),require(`../load-data-fields-for-datasets-B6cGgPld.cjs`),require(`../filter-expression-picker-Dc3K44W0.cjs`),require(`../data-fields-select-_WjjNpcl.cjs`),require(`../filter-value-picker-CwQLOgTl.cjs`),require(`../filter-value-picker-datetime-By3czRqA.cjs`),require(`../utils-Dzbml7oI.cjs`),require(`../filter-value-picker-hierarchy-CpvItjbb.cjs`),require(`../filter-value-picker-numeric-Dq143AGo.cjs`);const e=require(`../filter-item-C7i8LLr-.cjs`);Object.defineProperty(exports,`LuzmoFilterItem`,{enumerable:!0,get:function(){return e.t}});
|
|
@@ -23,19 +23,19 @@
|
|
|
23
23
|
e.setAttribute("data-luzmo-vars", ""), e.textContent = "html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-background-color-alt-1: rgb(250, 250, 250);--luzmo-background-color-alt-2: rgb(239, 239, 239);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-scrollbar-size: 6px;--luzmo-scrollbar-width: thin;--luzmo-scrollbar-track-background: transparent;--luzmo-scrollbar-track-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-background: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-scrollbar-thumb-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-hover-background: rgba(var(--luzmo-border-color-rgb), 0.4);--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-secondary-outline: rgba(255, 0, 255, 0.2);--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: #b3241f;--luzmo-negative-color-down: #9f231f;--luzmo-negative-color-focus: #b3241f;--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: rgb(17, 128, 86);--luzmo-positive-color-down: rgb(16, 105, 71);--luzmo-positive-color-focus: rgb(17, 128, 86);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: rgb(70, 70, 70);--luzmo-selected-color-down: rgb(40, 40, 40);--luzmo-selected-color-focus: rgb(70, 70, 70);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: rgb(0, 0, 0);--luzmo-selected-color-hard-down: rgb(0, 0, 0);--luzmo-selected-color-hard-focus: rgb(0, 0, 0);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}", document.head.appendChild(e);
|
|
24
24
|
}
|
|
25
25
|
})();
|
|
26
|
-
import "../set-locale-
|
|
27
|
-
import "../localized-mixin-
|
|
26
|
+
import "../set-locale-C3o6ooUV.js";
|
|
27
|
+
import "../localized-mixin-HngLqDZn.js";
|
|
28
28
|
import "../data-broker-cLR-t5LM.js";
|
|
29
29
|
import "../formatter-B21Tb3sf.js";
|
|
30
30
|
import "../periods.const-Ch6SfeaG.js";
|
|
31
31
|
import "../calculate-data-field-icon-CY7Y6fn1.js";
|
|
32
32
|
import "../load-data-fields-for-datasets-CW4n0Pvf.js";
|
|
33
|
-
import "../filter-expression-picker-
|
|
34
|
-
import "../data-fields-select-
|
|
35
|
-
import "../filter-value-picker-
|
|
36
|
-
import "../filter-value-picker-datetime-
|
|
33
|
+
import "../filter-expression-picker-Bbu8Bd25.js";
|
|
34
|
+
import "../data-fields-select-CHOKEMb2.js";
|
|
35
|
+
import "../filter-value-picker-Vq-PfjoU.js";
|
|
36
|
+
import "../filter-value-picker-datetime-Cf60JAgg.js";
|
|
37
37
|
import "../utils-MKWG2xEp.js";
|
|
38
|
-
import "../filter-value-picker-hierarchy-
|
|
39
|
-
import "../filter-value-picker-numeric-
|
|
40
|
-
import { t as LuzmoFilterItem } from "../filter-item-
|
|
38
|
+
import "../filter-value-picker-hierarchy-CL1YmeY9.js";
|
|
39
|
+
import "../filter-value-picker-numeric-CDUGCKAy.js";
|
|
40
|
+
import { t as LuzmoFilterItem } from "../filter-item-DmzZL5Wr.js";
|
|
41
41
|
export { LuzmoFilterItem };
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
const e=require(`./chunk-350yNsax.cjs`),t=require(`./decorate-Dq4-zbi1.cjs`),n=require(`./localized-mixin-
|
|
20
|
+
const e=require(`./chunk-350yNsax.cjs`),t=require(`./decorate-Dq4-zbi1.cjs`),n=require(`./localized-mixin-BhUvOsd7.cjs`),r=require(`./type-check-CdFE0wiu.cjs`),i=require(`./data-broker-BUIUM5hr.cjs`),a=require(`./filter-expression-picker-Dc3K44W0.cjs`);let o=require(`lit`),s=require(`lit/decorators.js`),c=require(`@lit/localize`),l=require(`lit/directives/if-defined.js`),u=require(`@luzmo/lucero/utils`);var d=`:host{gap:var(--luzmo-filter-item-gap,var(--filter-item-gap));flex-direction:row;min-width:0;max-width:100%;display:flex}luzmo-data-fields-select{flex-shrink:1;min-width:0}luzmo-filter-value-picker{flex-shrink:2;min-width:0}:host{--filter-item-gap:var(--luzmo-spacing-3)}:host([size=s]){--filter-item-gap:var(--luzmo-spacing-2)}:host([size=m]){--filter-item-gap:var(--luzmo-spacing-3)}:host([size=l]){--filter-item-gap:calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1))}:host([size=xl]){--filter-item-gap:var(--luzmo-spacing-4)}`,f=class extends n.t((0,u.SizedMixin)(u.LuzmoElement,{validSizes:Object.values(u.ElementSizes)})){constructor(...e){super(...e),this.apiUrl=`https://api.luzmo.com`,this.contentLanguage=`en`,this.filter={},this._loading=!1,this._datasetsDataFields=[]}static get styles(){return[(0,o.unsafeCSS)(d)]}connectedCallback(){super.connectedCallback();let e={};this.apiUrl&&(e.apiUrl=this.apiUrl),this.cacheTime&&(e.staleTime=this.cacheTime,e.gcTime=this.cacheTime*2),e.authKey=this.authKey||``,e.authToken=this.authToken||``,i.t.configure(e)}_clearTypeState(){this._type=void 0,this._subType=void 0,this._isFormula=void 0}async _fetchDatasetDataFields(){if(!this.datasetIds||this.datasetIds.length===0){this._error=`Missing dataset ids to fetch columns & formulas`,this._datasetsDataFields=[],this._loading=!1;return}let{valid:e,invalid:t}=r.c(this.datasetIds);if(t.length>0&&console.warn(`[LuzmoFilterItem] Invalid dataset IDs provided (not valid UUIDs): ${t.join(`, `)}. These will be skipped.`),e.length===0){this._error=`Invalid dataset IDs provided. Dataset IDs must be valid UUIDs.`,this._datasetsDataFields=[],this._loading=!1;return}this._loading=!0,this._error=null;try{let t=await i.t.fetchDatasetsWithColumnsAndFormulas(e);for(let e of t)for(let t of[...e.columns,...e.formulas])t.datasetId=e.id;this._datasetsDataFields=t}catch(e){console.error(`Error fetching dataset columns & formulas:`,e),this._error=e instanceof Error?e.message:`Unknown error`,this._datasetsDataFields=[]}finally{this._loading=!1}}willUpdate(e){super.willUpdate(e);let t=e.has(`filter`),n=e.has(`datasetIds`),r=e.has(`authKey`),a=e.has(`authToken`),o=e.has(`_datasetsDataFields`);if(t||n||o&&this.filter?.parameters?.[0]?.columnId&&(this.filter?.parameters?.[0]?.datasetId||this.filter?.parameters?.[0]?.formulaId))if(!this.datasetIds||this.datasetIds.length===0||this._datasetsDataFields.length===0)this._clearTypeState();else{let e=this._datasetsDataFields.find(e=>e.id===this.filter.parameters?.[0]?.datasetId);if(e){let t=!1;for(let n of[...e.columns||[],...e?.formulas||[]])if(n.id===this.filter.parameters?.[0]?.columnId||n.id===this.filter.parameters?.[0]?.formulaId){this._type=n.type,this._subType=n.subtype,this._isFormula=n.id===this.filter.parameters?.[0]?.formulaId,t=!0;break}t||this._clearTypeState()}else this._clearTypeState()}if(r||a){let e={authKey:this.authKey||``,authToken:this.authToken||``};i.t.configure(e)}(n||r||a)&&this._fetchDatasetDataFields()}_sendChangeEvent(){this.dispatchEvent(new CustomEvent(`luzmo-filter-changed`,{bubbles:!0,composed:!0,cancelable:!0,detail:{filter:this.filter}}))}setFilterDataField(e){if(this._cannotReferenceColumn())return;let t=e.detail?.dataFields?.[0],n=this._type,r=this.filter?.parameters?.[0]?.columnId||this.filter?.parameters?.[0]?.formulaId,i=t?.columnId||t?.formulaId;this._type=t?.type,this._subType=t?.subtype,this._isFormula=!!t?.formulaId;let o=a.n(this._type,this._subType,this._isFormula);this.filter=structuredClone(this.filter??{}),o?.includes(this.filter?.expression)||(this.filter.expression=o?.[0]?.expression),this.filter.parameters=this.filter?.parameters??[],this.filter.parameters[0]={datasetId:t?.datasetId},this._isFormula?this.filter.parameters[0].formulaId=t?.formulaId:this.filter.parameters[0].columnId=t?.columnId,t?.lowestLevel,n===this._type?r!==i&&this._type===`hierarchy`&&(this.filter.parameters[1]=[`? in ?`,`? not in ?`].includes(this.filter.expression)?[]:``):this._type===`hierarchy`?(this.filter.expression=`? like ?`,this.filter.parameters[1]=``):this._type===`numeric`?(this.filter.expression=`? > ?`,this.filter.parameters[1]=0):this._type===`datetime`?(this.filter.expression=`? < ?`,this.filter.parameters[1]=new Date().toISOString()):(this.filter.expression=`? is not null`,this.filter.parameters=[this.filter.parameters[0]]),this._sendChangeEvent()}setFilterExpression(e){if(this._cannotReferenceColumn())return;let t=structuredClone(this.filter??{}),n=t.expression;if(t.expression=e.detail?.expression,n!==t.expression){if([`? is null`,`? is not null`].includes(t.expression))t.parameters=[t.parameters[0]];else if(this._type===`datetime`)if([`YTD`,`QTD`,`MTD`,`WTD`].includes(t.expression)){let n=e?.detail?.unit;n&&(t.parameters[1]={unit:typeof n==`number`?n:1})}else if([`last_completed`,`next_full`,`to_date`].includes(t.expression)){let e=t?.parameters?.[1]?.unit;t.parameters[1]={unit:typeof e==`number`?e:1}}else if([`last_now`,`last_available`,`next_now`,`more_than_ago`,`or_more_ago`].includes(t.expression)){let e=t?.parameters?.[1]?.unit,n=t?.parameters?.[1]?.quantity;t.parameters[1]={unit:typeof e==`number`?e:1,quantity:typeof n==`number`?n:1}}else t.parameters[1]=new Date().toISOString();else this._type===`hierarchy`?[`? in ?`,`? not in ?`].includes(t.expression)?[`? = ?`,`? != ?`].includes(n)?t.parameters[1]=t.parameters[1]?[t.parameters[1]]:[]:t.parameters[1]=[]:[`? = ?`,`? != ?`].includes(t.expression)?[`? in ?`,`? not in ?`].includes(n)?t.parameters[1]=Array.isArray(t.parameters[1])&&t.parameters[1][0]?t.parameters[1][0]:``:t.parameters[1]=``:t.parameters[1]=[`? in ?`,`? not in ?`].includes(n)?``:t.parameters[1]??``:this._type===`numeric`&&([`? in ?`,`? not in ?`].includes(t.expression)&&[`? in ?`,`? not in ?`].includes(n)?t.parameters[1]=t.parameters[1]??[]:[`? in ?`,`? not in ?`].includes(t.expression)?t.parameters[1]=[]:t.parameters[1]=[`? in ?`,`? not in ?`].includes(n)?0:t.parameters[1]??0);this.filter=t,this._sendChangeEvent()}}setFilterValue(e){this._cannotReferenceColumn()||(this.filter.parameters[1]=e?.detail?.value,this._sendChangeEvent())}_cannotReferenceColumn(){if(!(this.filter?.parameters?.[0]?.columnId||this.filter?.parameters?.[0]?.formulaId))return!1;if(!this.datasetIds||this.datasetIds.length===0||this._datasetsDataFields.length===0)return!0;let e=this.filter?.parameters?.[0]?.datasetId,t=this._datasetsDataFields.find(t=>t.id===e);return t?![...t.columns||[],...t.formulas||[]].find(e=>e.id===this.filter?.parameters?.[0]?.columnId||e.id===this.filter?.parameters?.[0]?.formulaId):!0}renderDataFieldPicker(){let e=this._cannotReferenceColumn(),t=e?(0,c.msg)(`Unknown`):void 0,n=e||this._loading?``:this.filter?.parameters?.[0]?.columnId||this.filter?.parameters?.[0]?.formulaId;return o.html`<luzmo-data-fields-select
|
|
21
21
|
.language=${this.language}
|
|
22
22
|
.contentLanguage=${this.contentLanguage}
|
|
23
23
|
.size=${this.size}
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
20
|
import { t as __decorate } from "./decorate-Da6S_xrw.js";
|
|
21
|
-
import { t as LocalizedMixin } from "./localized-mixin-
|
|
21
|
+
import { t as LocalizedMixin } from "./localized-mixin-HngLqDZn.js";
|
|
22
22
|
import { c as validateUuids } from "./type-check-CVgyxvdF.js";
|
|
23
23
|
import { t as dataBroker } from "./data-broker-cLR-t5LM.js";
|
|
24
|
-
import { n as getValidExpressions } from "./filter-expression-picker-
|
|
24
|
+
import { n as getValidExpressions } from "./filter-expression-picker-Bbu8Bd25.js";
|
|
25
25
|
import { html, unsafeCSS } from "lit";
|
|
26
26
|
import { property, state } from "lit/decorators.js";
|
|
27
27
|
import { localized, msg } from "@lit/localize";
|
|
@@ -17,4 +17,4 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`../set-locale-
|
|
20
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`../set-locale-CdlBx8s9.cjs`),require(`../localized-mixin-BhUvOsd7.cjs`),require(`../data-broker-BUIUM5hr.cjs`),require(`../formatter-CWhf4xbq.cjs`),require(`../periods.const-CX2ZWWrf.cjs`),require(`../load-data-fields-for-datasets-B6cGgPld.cjs`);const e=require(`../filter-value-picker-CwQLOgTl.cjs`);require(`../filter-value-picker-datetime-By3czRqA.cjs`),require(`../utils-Dzbml7oI.cjs`),require(`../filter-value-picker-hierarchy-CpvItjbb.cjs`),require(`../filter-value-picker-numeric-Dq143AGo.cjs`),exports.LuzmoFilterValuePicker=e.t;
|
|
@@ -23,15 +23,15 @@
|
|
|
23
23
|
e.setAttribute("data-luzmo-vars", ""), e.textContent = "html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-background-color-alt-1: rgb(250, 250, 250);--luzmo-background-color-alt-2: rgb(239, 239, 239);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-scrollbar-size: 6px;--luzmo-scrollbar-width: thin;--luzmo-scrollbar-track-background: transparent;--luzmo-scrollbar-track-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-background: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-scrollbar-thumb-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-hover-background: rgba(var(--luzmo-border-color-rgb), 0.4);--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-secondary-outline: rgba(255, 0, 255, 0.2);--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: #b3241f;--luzmo-negative-color-down: #9f231f;--luzmo-negative-color-focus: #b3241f;--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: rgb(17, 128, 86);--luzmo-positive-color-down: rgb(16, 105, 71);--luzmo-positive-color-focus: rgb(17, 128, 86);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: rgb(70, 70, 70);--luzmo-selected-color-down: rgb(40, 40, 40);--luzmo-selected-color-focus: rgb(70, 70, 70);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: rgb(0, 0, 0);--luzmo-selected-color-hard-down: rgb(0, 0, 0);--luzmo-selected-color-hard-focus: rgb(0, 0, 0);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}", document.head.appendChild(e);
|
|
24
24
|
}
|
|
25
25
|
})();
|
|
26
|
-
import "../set-locale-
|
|
27
|
-
import "../localized-mixin-
|
|
26
|
+
import "../set-locale-C3o6ooUV.js";
|
|
27
|
+
import "../localized-mixin-HngLqDZn.js";
|
|
28
28
|
import "../data-broker-cLR-t5LM.js";
|
|
29
29
|
import "../formatter-B21Tb3sf.js";
|
|
30
30
|
import "../periods.const-Ch6SfeaG.js";
|
|
31
31
|
import "../load-data-fields-for-datasets-CW4n0Pvf.js";
|
|
32
|
-
import { t as LuzmoFilterValuePicker } from "../filter-value-picker-
|
|
33
|
-
import "../filter-value-picker-datetime-
|
|
32
|
+
import { t as LuzmoFilterValuePicker } from "../filter-value-picker-Vq-PfjoU.js";
|
|
33
|
+
import "../filter-value-picker-datetime-Cf60JAgg.js";
|
|
34
34
|
import "../utils-MKWG2xEp.js";
|
|
35
|
-
import "../filter-value-picker-hierarchy-
|
|
36
|
-
import "../filter-value-picker-numeric-
|
|
35
|
+
import "../filter-value-picker-hierarchy-CL1YmeY9.js";
|
|
36
|
+
import "../filter-value-picker-numeric-CDUGCKAy.js";
|
|
37
37
|
export { LuzmoFilterValuePicker };
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
const e=require(`./chunk-350yNsax.cjs`),t=require(`./decorate-Dq4-zbi1.cjs`),n=require(`./localized-mixin-
|
|
20
|
+
const e=require(`./chunk-350yNsax.cjs`),t=require(`./decorate-Dq4-zbi1.cjs`),n=require(`./localized-mixin-BhUvOsd7.cjs`);let r=require(`lit`),i=require(`lit/decorators.js`);require(`@luzmo/lucero/text-field`),require(`@luzmo/lucero/picker`);let a=require(`@luzmo/lucero/utils`);var o=`:host{--var:blue}`,s=class extends n.t((0,a.SizedMixin)(a.LuzmoElement,{validSizes:Object.values(a.ElementSizes)})){constructor(...e){super(...e),this.contentLanguage=`en`,this._expressionsWithoutValuePicker=new Set([`? is null`,`? is not null`,`to_date`])}static get styles(){return[(0,r.unsafeCSS)(o)]}_sendChangeEvent(e){this.dispatchEvent(new CustomEvent(`luzmo-filter-value-changed`,{bubbles:!0,composed:!0,cancelable:!0,detail:{value:e}}))}setFilterValue(e){e.stopPropagation(),this._sendChangeEvent(e?.detail?.value)}renderNumericValuePicker(){return r.html`<luzmo-filter-value-picker-numeric
|
|
21
21
|
.apiUrl=${this.apiUrl}
|
|
22
22
|
.authKey=${this.authKey}
|
|
23
23
|
.authToken=${this.authToken}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
20
|
import { t as __decorate } from "./decorate-Da6S_xrw.js";
|
|
21
|
-
import { t as LocalizedMixin } from "./localized-mixin-
|
|
21
|
+
import { t as LocalizedMixin } from "./localized-mixin-HngLqDZn.js";
|
|
22
22
|
import { html, unsafeCSS } from "lit";
|
|
23
23
|
import { property } from "lit/decorators.js";
|
|
24
24
|
import "@luzmo/lucero/text-field";
|
|
@@ -17,4 +17,4 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`../set-locale-
|
|
20
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`../set-locale-CdlBx8s9.cjs`),require(`../localized-mixin-BhUvOsd7.cjs`),require(`../periods.const-CX2ZWWrf.cjs`);const e=require(`../filter-value-picker-datetime-By3czRqA.cjs`);Object.defineProperty(exports,`LuzmoFilterValuePickerDatetime`,{enumerable:!0,get:function(){return e.t}});
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
e.setAttribute("data-luzmo-vars", ""), e.textContent = "html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-background-color-alt-1: rgb(250, 250, 250);--luzmo-background-color-alt-2: rgb(239, 239, 239);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-scrollbar-size: 6px;--luzmo-scrollbar-width: thin;--luzmo-scrollbar-track-background: transparent;--luzmo-scrollbar-track-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-background: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-scrollbar-thumb-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-hover-background: rgba(var(--luzmo-border-color-rgb), 0.4);--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-secondary-outline: rgba(255, 0, 255, 0.2);--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: #b3241f;--luzmo-negative-color-down: #9f231f;--luzmo-negative-color-focus: #b3241f;--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: rgb(17, 128, 86);--luzmo-positive-color-down: rgb(16, 105, 71);--luzmo-positive-color-focus: rgb(17, 128, 86);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: rgb(70, 70, 70);--luzmo-selected-color-down: rgb(40, 40, 40);--luzmo-selected-color-focus: rgb(70, 70, 70);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: rgb(0, 0, 0);--luzmo-selected-color-hard-down: rgb(0, 0, 0);--luzmo-selected-color-hard-focus: rgb(0, 0, 0);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}", document.head.appendChild(e);
|
|
24
24
|
}
|
|
25
25
|
})();
|
|
26
|
-
import "../set-locale-
|
|
27
|
-
import "../localized-mixin-
|
|
26
|
+
import "../set-locale-C3o6ooUV.js";
|
|
27
|
+
import "../localized-mixin-HngLqDZn.js";
|
|
28
28
|
import "../periods.const-Ch6SfeaG.js";
|
|
29
|
-
import { t as LuzmoFilterValuePickerDatetime } from "../filter-value-picker-datetime-
|
|
29
|
+
import { t as LuzmoFilterValuePickerDatetime } from "../filter-value-picker-datetime-Cf60JAgg.js";
|
|
30
30
|
export { LuzmoFilterValuePickerDatetime };
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
const e=require(`./chunk-350yNsax.cjs`),t=require(`./decorate-Dq4-zbi1.cjs`),n=require(`./localized-mixin-
|
|
20
|
+
const e=require(`./chunk-350yNsax.cjs`),t=require(`./decorate-Dq4-zbi1.cjs`),n=require(`./localized-mixin-BhUvOsd7.cjs`),r=require(`./periods.const-CX2ZWWrf.cjs`);let i=require(`lit`),a=require(`lit/decorators.js`),o=require(`@lit/localize`);require(`@luzmo/lucero/text-field`),require(`@luzmo/lucero/number-field`),require(`@luzmo/lucero/picker`);let s=require(`@luzmo/lucero/utils`);require(`@luzmo/lucero/date-time-picker`);var c=`:host{gap:var(--luzmo-filter-value-picker-datetime-gap,var(--filter-value-picker-datetime-gap));--filter-value-picker-datetime-gap:var(--luzmo-spacing-3);flex-direction:row;flex-shrink:1;min-width:0;display:flex}:host([size=s]){--filter-value-picker-datetime-gap:var(--luzmo-spacing-2)}:host([size=m]){--filter-value-picker-datetime-gap:var(--luzmo-spacing-3)}:host([size=l]){--filter-value-picker-datetime-gap:calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1))}:host([size=xl]){--filter-value-picker-datetime-gap:var(--luzmo-spacing-4)}`,l=class extends n.t((0,s.SizedMixin)(s.LuzmoElement,{validSizes:Object.values(s.ElementSizes)})){constructor(...e){super(...e),this.contentLanguage=`en`}static get styles(){return[(0,i.unsafeCSS)(c)]}willUpdate(e){super.willUpdate(e),e.get(`filter`)&&([`last_now`,`last_available`,`next_now`,`more_than_ago`,`or_more_ago`].includes(this.filter?.expression)?this.filter.parameters[1]={quantity:this.filter?.parameters?.[1]?.quantity??1,unit:this.filter?.parameters?.[1]?.unit??1}:[`last_completed`,`next_full`,`to_date`].includes(this.filter?.expression)?this.filter.parameters[1]={unit:this.filter?.parameters?.[1]?.unit??1}:this.filter.parameters[1]=typeof this.filter.parameters[1]==`string`?this.filter.parameters[1]:new Date().toISOString())}_sendChangeEvent(){this.filter.parameters=[{...this.filter?.parameters?.[0]},this._value],this.dispatchEvent(new CustomEvent(`luzmo-filter-value-changed`,{bubbles:!0,composed:!0,cancelable:!0,detail:{value:this._value}}))}setDate(e){this._value=e.detail.value,this._value!==this.filter?.parameters?.[1]&&this._sendChangeEvent()}setUnit(e){let t=r.n.find(t=>t.key===e?.target?.value)?.level;this.filter?.parameters?.[1]?.unit!==t&&(this._value={unit:t??1,quantity:this.filter?.parameters?.[1]?.quantity??1},this._sendChangeEvent())}setQuantity(e){let t=e?.target?.value;this.filter?.parameters?.[1]?.quantity!==t&&(this._value={quantity:t,unit:this.filter?.parameters?.[1]?.unit??1},this._sendChangeEvent())}renderDatePicker(){let e=`second`;return this.filter?.parameters?.[0]?.lowestLevel>4&&(e=this.filter?.parameters?.[0]?.lowestLevel===5?`day`:this.filter?.parameters?.[0]?.lowestLevel===6?`hour`:this.filter?.parameters?.[0]?.lowestLevel===7?`minute`:`second`),i.html`<luzmo-date-time-picker
|
|
21
21
|
.size=${this.size}
|
|
22
22
|
.precision=${e}
|
|
23
23
|
.timeZone=${this.timeZone}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
20
|
import { t as __decorate } from "./decorate-Da6S_xrw.js";
|
|
21
|
-
import { t as LocalizedMixin } from "./localized-mixin-
|
|
21
|
+
import { t as LocalizedMixin } from "./localized-mixin-HngLqDZn.js";
|
|
22
22
|
import { n as DATETIME_LEVELS } from "./periods.const-Ch6SfeaG.js";
|
|
23
23
|
import { html, unsafeCSS } from "lit";
|
|
24
24
|
import { property } from "lit/decorators.js";
|
|
@@ -17,4 +17,4 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`../set-locale-
|
|
20
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`../set-locale-CdlBx8s9.cjs`),require(`../localized-mixin-BhUvOsd7.cjs`),require(`../data-broker-BUIUM5hr.cjs`),require(`../formatter-CWhf4xbq.cjs`),require(`../load-data-fields-for-datasets-B6cGgPld.cjs`),require(`../utils-Dzbml7oI.cjs`);const e=require(`../filter-value-picker-hierarchy-CpvItjbb.cjs`);Object.defineProperty(exports,`LuzmoFilterValuePickerHierarchy`,{enumerable:!0,get:function(){return e.t}});
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
e.setAttribute("data-luzmo-vars", ""), e.textContent = "html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-background-color-alt-1: rgb(250, 250, 250);--luzmo-background-color-alt-2: rgb(239, 239, 239);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-scrollbar-size: 6px;--luzmo-scrollbar-width: thin;--luzmo-scrollbar-track-background: transparent;--luzmo-scrollbar-track-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-background: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-scrollbar-thumb-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-hover-background: rgba(var(--luzmo-border-color-rgb), 0.4);--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-secondary-outline: rgba(255, 0, 255, 0.2);--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: #b3241f;--luzmo-negative-color-down: #9f231f;--luzmo-negative-color-focus: #b3241f;--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: rgb(17, 128, 86);--luzmo-positive-color-down: rgb(16, 105, 71);--luzmo-positive-color-focus: rgb(17, 128, 86);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: rgb(70, 70, 70);--luzmo-selected-color-down: rgb(40, 40, 40);--luzmo-selected-color-focus: rgb(70, 70, 70);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: rgb(0, 0, 0);--luzmo-selected-color-hard-down: rgb(0, 0, 0);--luzmo-selected-color-hard-focus: rgb(0, 0, 0);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}", document.head.appendChild(e);
|
|
24
24
|
}
|
|
25
25
|
})();
|
|
26
|
-
import "../set-locale-
|
|
27
|
-
import "../localized-mixin-
|
|
26
|
+
import "../set-locale-C3o6ooUV.js";
|
|
27
|
+
import "../localized-mixin-HngLqDZn.js";
|
|
28
28
|
import "../data-broker-cLR-t5LM.js";
|
|
29
29
|
import "../formatter-B21Tb3sf.js";
|
|
30
30
|
import "../load-data-fields-for-datasets-CW4n0Pvf.js";
|
|
31
31
|
import "../utils-MKWG2xEp.js";
|
|
32
|
-
import { t as LuzmoFilterValuePickerHierarchy } from "../filter-value-picker-hierarchy-
|
|
32
|
+
import { t as LuzmoFilterValuePickerHierarchy } from "../filter-value-picker-hierarchy-CL1YmeY9.js";
|
|
33
33
|
export { LuzmoFilterValuePickerHierarchy };
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
20
|
import { t as __decorate } from "./decorate-Da6S_xrw.js";
|
|
21
|
-
import { t as LocalizedMixin } from "./localized-mixin-
|
|
21
|
+
import { t as LocalizedMixin } from "./localized-mixin-HngLqDZn.js";
|
|
22
22
|
import { t as localize } from "./localize-Dlt3EN5i.js";
|
|
23
23
|
import { t as dataBroker } from "./data-broker-cLR-t5LM.js";
|
|
24
24
|
import { html, unsafeCSS } from "lit";
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
const e=require(`./chunk-350yNsax.cjs`),t=require(`./decorate-Dq4-zbi1.cjs`),n=require(`./localized-mixin-
|
|
20
|
+
const e=require(`./chunk-350yNsax.cjs`),t=require(`./decorate-Dq4-zbi1.cjs`),n=require(`./localized-mixin-BhUvOsd7.cjs`),r=require(`./localize-BBuZJf_h.cjs`),i=require(`./data-broker-BUIUM5hr.cjs`);let a=require(`lit`),o=require(`lit/decorators.js`),s=require(`@lit/localize`);require(`@luzmo/lucero/text-field`),require(`@luzmo/lucero/select`);let c=require(`@luzmo/lucero/utils`);var l=`.missing-value{opacity:.4}:host{--var:blue}`,u=5e3,d=class extends n.t((0,c.SizedMixin)(c.LuzmoElement,{validSizes:Object.values(c.ElementSizes)})){constructor(...e){super(...e),this.contentLanguage=`en`,this._hierarchyValues=[],this._retrieving=!0,this._search=``,this._error=null,this._allValuesRetrieved=!1,this._runningQueries=[]}static get styles(){return[(0,a.unsafeCSS)(l)]}connectedCallback(){super.connectedCallback();let e={};this.apiUrl&&(e.apiUrl=this.apiUrl),this.cacheTime&&(e.staleTime=this.cacheTime,e.gcTime=this.cacheTime*2),this.authKey&&this.authToken&&(e.authKey=this.authKey,e.authToken=this.authToken),i.t.configure(e)}willUpdate(e){if(super.willUpdate(e),e.has(`filter`)&&this.filter){let t=e.get(`filter`)?.expression;(e.get(`filter`)?.parameters?.[0]?.columnId||e.get(`filter`)?.parameters?.[0]?.formulaId)!==(this.filter?.parameters?.[0]?.columnId||this.filter?.parameters?.[0]?.formulaId)&&([`? in ?`,`? not in ?`,`? = ?`,`? != ?`].includes(this.filter?.expression)||![`? in ?`,`? not in ?`,`? = ?`,`? != ?`].includes(t))&&(this._hierarchyValues=[],this._allValuesRetrieved=!1,this._retrieving=!0)}}async _fetchHierarchyValues(e=0){if(this._allValuesRetrieved){this._retrieving=!1;return}if(!this.filter?.parameters?.[0]){this._retrieving=!1,this._error=`Missing column parameters`;return}let t=this.filter.parameters[0],n=t.columnId,r=t.formulaId,a=t.datasetId;if(!n&&!r){this._retrieving=!1,this._error=`Missing column id or formula id`;return}else if(!a){this._retrieving=!1,this._error=`Missing dataset id`;return}this._retrieving=!0,this._error=null;let o={expression:`? like ?`,parameters:[{column_id:n,formula_id:r,dataset_id:a},this._search]},s={dimensions:[{column_id:n,formula_id:r,dataset_id:a}],where:[],order:[{column_id:n,formula_id:r,dataset_id:a,order:`asc`}],limit:{by:u,offset:e}};this._search&&this._allValuesRetrieved&&s.where.push(o);let c=new AbortController,l=new Promise((e,t)=>{i.t.fetchData(s).then(e).catch(t),c.signal.addEventListener(`abort`,()=>{console.warn(`Request aborted`),t({status:`aborted`})})}),d={promise:l,abortController:c};this._runningQueries.push(d);try{let t=await l,n=t&&Array.isArray(t.data)?t.data.map(e=>e[0]):[];this._search||(this._allValuesRetrieved=n.length<u),this._hierarchyValues=e>0?[...this._hierarchyValues,...n]:n}catch(e){if(e?.status===`aborted`)return;this._error=e instanceof Error?e.message:`Unknown error`,this._hierarchyValues=[]}finally{this._runningQueries=this._runningQueries.filter(e=>e.promise!==l),this._retrieving=!1}}_sendChangeEvent(){this.dispatchEvent(new CustomEvent(`luzmo-filter-value-changed`,{bubbles:!0,composed:!0,cancelable:!0,detail:{value:this._value}}))}setHierarchy(e){let t;t=[`? in ?`,`? not in ?`].includes(this.filter?.expression)?e?.detail?.value:[`? = ?`,`? != ?`].includes(this.filter?.expression)?e?.detail?.value?.[0]:e?.target?.value,this._value!==t&&(this._value=t,this.filter={...this.filter,parameters:[{...this.filter?.parameters?.[0]},this._value]},this._sendChangeEvent())}onScrolled(e){!this._retrieving&&!this._allValuesRetrieved&&e?.detail?.last===this._hierarchyValues.length-1&&this._fetchHierarchyValues(this._hierarchyValues.length)}renderTextField(){return a.html`<luzmo-text-field
|
|
21
21
|
.size=${this.size}
|
|
22
22
|
@change=${this.setHierarchy}
|
|
23
23
|
@input=${this.setHierarchy}
|
|
@@ -17,4 +17,4 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`../set-locale-
|
|
20
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`../set-locale-CdlBx8s9.cjs`),require(`../localized-mixin-BhUvOsd7.cjs`),require(`../data-broker-BUIUM5hr.cjs`);const e=require(`../filter-value-picker-numeric-Dq143AGo.cjs`);Object.defineProperty(exports,`LuzmoFilterValuePickerNumeric`,{enumerable:!0,get:function(){return e.t}});
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
e.setAttribute("data-luzmo-vars", ""), e.textContent = "html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-background-color-alt-1: rgb(250, 250, 250);--luzmo-background-color-alt-2: rgb(239, 239, 239);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-scrollbar-size: 6px;--luzmo-scrollbar-width: thin;--luzmo-scrollbar-track-background: transparent;--luzmo-scrollbar-track-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-background: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-scrollbar-thumb-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-hover-background: rgba(var(--luzmo-border-color-rgb), 0.4);--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-secondary-outline: rgba(255, 0, 255, 0.2);--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: #b3241f;--luzmo-negative-color-down: #9f231f;--luzmo-negative-color-focus: #b3241f;--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: rgb(17, 128, 86);--luzmo-positive-color-down: rgb(16, 105, 71);--luzmo-positive-color-focus: rgb(17, 128, 86);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: rgb(70, 70, 70);--luzmo-selected-color-down: rgb(40, 40, 40);--luzmo-selected-color-focus: rgb(70, 70, 70);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: rgb(0, 0, 0);--luzmo-selected-color-hard-down: rgb(0, 0, 0);--luzmo-selected-color-hard-focus: rgb(0, 0, 0);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}", document.head.appendChild(e);
|
|
24
24
|
}
|
|
25
25
|
})();
|
|
26
|
-
import "../set-locale-
|
|
27
|
-
import "../localized-mixin-
|
|
26
|
+
import "../set-locale-C3o6ooUV.js";
|
|
27
|
+
import "../localized-mixin-HngLqDZn.js";
|
|
28
28
|
import "../data-broker-cLR-t5LM.js";
|
|
29
|
-
import { t as LuzmoFilterValuePickerNumeric } from "../filter-value-picker-numeric-
|
|
29
|
+
import { t as LuzmoFilterValuePickerNumeric } from "../filter-value-picker-numeric-CDUGCKAy.js";
|
|
30
30
|
export { LuzmoFilterValuePickerNumeric };
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
20
|
import { t as __decorate } from "./decorate-Da6S_xrw.js";
|
|
21
|
-
import { t as LocalizedMixin } from "./localized-mixin-
|
|
21
|
+
import { t as LocalizedMixin } from "./localized-mixin-HngLqDZn.js";
|
|
22
22
|
import { t as dataBroker } from "./data-broker-cLR-t5LM.js";
|
|
23
23
|
import { html, unsafeCSS } from "lit";
|
|
24
24
|
import { property, state } from "lit/decorators.js";
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
const e=require(`./chunk-350yNsax.cjs`),t=require(`./decorate-Dq4-zbi1.cjs`),n=require(`./localized-mixin-
|
|
20
|
+
const e=require(`./chunk-350yNsax.cjs`),t=require(`./decorate-Dq4-zbi1.cjs`),n=require(`./localized-mixin-BhUvOsd7.cjs`),r=require(`./data-broker-BUIUM5hr.cjs`);let i=require(`lit`),a=require(`lit/decorators.js`),o=require(`@lit/localize`);require(`@luzmo/lucero/number-field`),require(`@luzmo/lucero/select`);let s=require(`@luzmo/lucero/utils`);var c=`.missing-value{opacity:.4}:host{--var:blue}`,l=5e3,u=class extends n.t((0,s.SizedMixin)(s.LuzmoElement,{validSizes:Object.values(s.ElementSizes)})){constructor(...e){super(...e),this.contentLanguage=`en`,this._numericValues=[],this._retrieving=!0,this._search=``,this._error=null,this._allValuesRetrieved=!1,this._runningQueries=[]}static get styles(){return[(0,i.unsafeCSS)(c)]}connectedCallback(){super.connectedCallback();let e={};this.apiUrl&&(e.apiUrl=this.apiUrl),this.cacheTime&&(e.staleTime=this.cacheTime,e.gcTime=this.cacheTime*2),this.authKey&&this.authToken&&(e.authKey=this.authKey,e.authToken=this.authToken),r.t.configure(e)}willUpdate(e){if(super.willUpdate(e),e.has(`filter`)&&this.filter){let t=e.get(`filter`)?.expression,n=this.filter?.expression;((e.get(`filter`)?.parameters?.[0]?.columnId||e.get(`filter`)?.parameters?.[0]?.formulaId)!==(this.filter?.parameters?.[0]?.columnId||this.filter?.parameters?.[0]?.formulaId)||![`? in ?`,`? not in ?`].includes(t))&&[`? in ?`,`? not in ?`].includes(n)&&(this._numericValues=[],this._allValuesRetrieved=!1,this._retrieving=!0)}}async _fetchNumericValues(e=0){if(this._allValuesRetrieved){this._retrieving=!1;return}if(!this.filter?.parameters?.[0]){this._retrieving=!1,this._error=`Missing column parameters`;return}let t=this.filter.parameters[0],n=t.columnId,i=t.formulaId,a=t.datasetId;if(!n&&!i){this._retrieving=!1,this._error=`Missing column id or formula id`;return}else if(!a){this._retrieving=!1,this._error=`Missing dataset id`;return}this._retrieving=!0,this._error=null;let o={expression:`? like ?`,parameters:[{dataset_id:a,expression:`CAST({${a}:${n??i}},hierarchy)`},this._search]},s={dimensions:[{column_id:n,formula_id:i,dataset_id:a}],where:[],order:[{column_id:n,formula_id:i,dataset_id:a,order:`asc`}],limit:{by:l,offset:e}};this._search&&!this._allValuesRetrieved&&s.where.push(o);let c=new AbortController,u=new Promise((e,t)=>{r.t.fetchData(s).then(e).catch(t),c.signal.addEventListener(`abort`,()=>{console.warn(`Request aborted`),t({status:`aborted`})})}),d={promise:u,abortController:c};this._runningQueries.push(d);try{let t=await u,n=t&&Array.isArray(t.data)?t.data.map(e=>e[0]):[];this._search||(this._allValuesRetrieved=n.length<l),this._numericValues=e>0?[...this._numericValues,...n]:n}catch(e){if(e?.status===`aborted`)return;this._error=e instanceof Error?e.message:`Unknown error`,this._numericValues=[]}finally{this._runningQueries=this._runningQueries.filter(e=>e.promise!==u),this._retrieving=!1}}_sendChangeEvent(){this.dispatchEvent(new CustomEvent(`luzmo-filter-value-changed`,{bubbles:!0,composed:!0,cancelable:!0,detail:{value:this._value}}))}setValue(e){let t=[`? in ?`,`? not in ?`].includes(this.filter?.expression)?e?.detail?.value:e?.target?.value;this._value!==t&&(this._value=t,this.filter={...this.filter,parameters:[{...this.filter?.parameters?.[0]},t]},this._sendChangeEvent())}selectValue(e){let t=(e.detail?.value??``).map(e=>Number.parseFloat(e));this.filter={...this.filter,parameters:[{...this.filter?.parameters?.[0]},t]},this._value=t,this._sendChangeEvent()}onScrolled(e){!this._retrieving&&!this._allValuesRetrieved&&e?.detail?.last===this._numericValues.length-1&&this._fetchNumericValues(this._numericValues.length)}renderNumberField(){return i.html`<luzmo-number-field
|
|
21
21
|
grows
|
|
22
22
|
.size=${this.size}
|
|
23
23
|
@change=${this.setValue}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
|
2
|
+
*
|
|
3
|
+
* Copyright © 2026 Luzmo
|
|
4
|
+
* All rights reserved.
|
|
5
|
+
* Luzmo web components (“Luzmo Web Components”)
|
|
6
|
+
* must be used according to the Luzmo Terms of Service.
|
|
7
|
+
* This license allows users with a current active Luzmo account
|
|
8
|
+
* to use the Luzmo Web Components. This license terminates
|
|
9
|
+
* automatically if a user no longer has an active Luzmo account.
|
|
10
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
|
11
|
+
*
|
|
12
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
13
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
14
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
15
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
16
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
17
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
|
+
* SOFTWARE.
|
|
19
|
+
* */
|
|
20
|
+
const e={s00decbd8fed4f501:`Maximum`,s0218a6cc95bc9386:`Type de plage`,s0456d2ad905847d9:`dernier`,s079a052719914d71:`Catégorie`,s088e3b07b5394bc3:`ég`,s091d3407b5b2f824:`OU`,s095140a7d22730b7:`Catégories`,s099b18e1bd8a1154:`Heures`,s09c2b609dff29061:`Somme cumulative`,s0bb151c9319a6813:`Axe X`,s0bca0c91195d8d6d:`cont`,s1125d159f7e64df5:`Affichage`,s11326fd2590f4e5e:`Par défaut`,s122f7f3f1a22ea50:`non ég`,s13f5793e33ebda4f:`entre`,s146475c4daa430ed:`Décimales`,s16d507740d87045d:`Formule ad hoc`,s173bffc4bc8fdb40:`Numéro du trimestre`,s178b06f4d02cfd40:`n'est pas manquant`,s184501a399a815dc:`Trimestres`,s18498398aeb37b07:`La semaine commence le`,s187528426100c44e:`Aucune donnée`,s1cdb6b07fe827486:`Numéro de la semaine`,s1e593719b55d60c0:`MTD`,s1e7745005c37315c:`Décalage relatif`,s1f0916624a87d415:`Jour de l'année`,s1f7698c061c208c9:`Ouverture`,s23a368c93d7e6a90:`Métrique du curseur`,s2454d1f117573457:`Précision`,s247d110f13a3a288:`Jour de la semaine`,s24f3a319b88552c1:`Bas`,s26273c258ddde0e1:`Sélectionner...`,s2695506122ffd614:`Seconde dans la minute`,s2718cebf7de190e1:`est entre`,s2798d16f4e04857e:`Minute dans l'heure`,s29e9a2758d0ffdc3:`Dimension`,s2ba5f4d8f3bd7c57:`Ordre`,s2ea38ce3da088075:`Périodes`,s2fb2a49481123d6a:`Semaines`,s2fedf26ef08343d4:`est égal à`,s31f1afc1bfe1cb3a:`En savoir plus`,s344ea8f4939cdc98:`Couleur`,s354ae458a550da1f:`Destination`,s360896d6e6234cc4:`Mise à jour de l’élément...`,s3924c3d773a80312:`dernier dispo`,s3c6455b19fb1c3e4:`Changement absolu`,s3dcf7b255596a2c3:`Écart type`,s4406e2a8264d6a3e:`Itinéraire`,s441accd1cd3484c9:`Minute`,s463b8c4e92751ba5:`Options`,s467b030b9a34b3c8:`Moyenne`,s48e186fb300e5464:`Temps`,s496c60f73bdf5725:`Agrégation`,s4b30fad1c34464e1:`supérieur ou égal à`,s4b58c01e2578f5e4:`Légende`,s4e585eeea351a038:`contient`,s4efbcab48a433013:`Long`,s4f27f6b48a68b5c2:`Verrouiller`,s50d9e1b0c1636e99:`Géographie`,s519d0aa80bbafd42:`semaine en cours`,s55e343865792fc47:`Impossible de récupérer les champs de données du jeu de données`,s57ace73e7c6e719f:`n'est pas dans`,s58ec693e33483873:`inférieur à`,s5a801360c0e7cc6e:`Cercles`,s5d73a3b3b68e6cba:`Défini par l'utilisateur`,s5d929ff1619ac0c9:`Rechercher`,s5e2654fb8587f442:`Dupliquer`,s5e8250fb85d64c23:`Clôture`,s5f43af3669b1e098:`Source`,s602805b1eb3106c6:`Axe Y`,s6031881827829901:`24h`,s60b34c3c17dc35bd:`Années`,s64ef2a6c2dd1d3d1:`Modifier`,s66722bc2ea775e05:`Désactivé`,s669b18c6d2d9c95b:`Aucun`,s66dcbbc0355c2759:`Dimanche`,s680f01021b5e339d:`Semaine`,s6b0bffd88024372f:`Heure`,s6de3d6e9660857a1:`Exemple`,s708bbac083d05109:`ne commence pas par`,s709a09b6edea9d90:`Date/heure`,s70a773eb3133e5fa:`mois en cours`,s716a6024e3fe999c:`Afficher`,s7468e87263dfff7e:`Identifiant`,s74c00d5f85cc6da9:`Décrivez comment vous souhaitez modifier cet élément…`,s74dcd519e6563a26:`WTD`,s7632fc9aa12bf382:`Mois`,s782f286a79cca35d:`Relatif`,s78789724e789221c:`Taille`,s7a6878d41ffac284:`dernier complet`,s7c95876637f6a9d7:`Filtre`,s7cb5d294ed7634e3:`Jeu de données`,s7e357543a7b769f4:`Colonne de date de décalage`,s846876f9b712e843:`n'est pas égal à`,s862f5319f0256b94:`QTD`,s8665d029b5cb8b24:`Totaux généraux`,s8a56a8c8bd19c9c7:`manquant`,s8ba2b22eee9bb57e:`Ajouter un filtre`,s8d0259032729869d:`Seconde`,s8d77a3cb03eea446:`Chargement des données...`,s8de2a5b227e80c95:`(x) périodes ou plus`,s9094c0cde8fb5058:`Aucun résultat trouvé`,s92ab9b834d8fd1fc:`Sous-groupe`,s92c8c8ca61f1e379:`Sélectionner un jeu de données...`,s965c503c3e42fdfe:`Activé`,s9689e928323dc124:`dernière (période) complète`,s981f232bd33ec927:`Taux`,s9854300ef4a37d18:`ne se termine pas par`,s987abe19fac8d108:`Somme`,s98b1cb8fb62909ec:`Groupe`,s98c337186f2d57c6:`Largeur de la bin`,s98db41a3eb532203:`année en cours`,s991d216e6efc157c:`Aucun résultat`,s996319f23f6cf0b5:`se termine par`,s9b9009d4a5004fb8:`Regroupement`,s9b9d6ce29d05a298:`inférieur ou égal à`,s9deeefd89ca8a81d:`Haut`,s9e40e59654c8ad67:`Colonne`,sa26d7a273074cbf9:`Aucune donnée disponible`,sa3c9339de23c1752:`Format`,sa6ab5184d6315895:`De`,sa6f2645578b2d2bc:`Année`,sa7effa06c0f6784c:`supérieur à`,sa8beb6b1182241ac:`Filtres`,sa91d4991fca9514e:`plus de`,sac8256732f2ee1e5:`Données`,sac8b59943205b14f:`prochaine (période) complète`,sac94bb71f7737997:`Médiane`,sacae74732f544fca:`Jours`,saf2a19f4eaf00f68:`ou plus`,sb0f3327210fe18fc:`Colonnes`,sb1f654608a3eea75:`Jour de la semaine`,sb3b793ff5cc1bc39:`prochaines (x) périodes`,sb47daaf9e1c4a905:`Mois`,sb5b295e3a7500b9c:`Niveaux de durée`,sb6513caf69971fb5:`Court`,sb70671db5700ff60:`ne finit pas par`,sb93e5af29aca2e3d:`est manquant`,sb9f1339b3a61604a:`Niveaux`,sbbb97b1c63507dc0:`Nombre`,sbeebe911264bed23:`dernières (x) périodes disponibles`,sc1bf67624fa6d498:`% de changement`,sc4842e5b8b90466a:`Secondes`,sc592307ea80f16b9:`Inconnu`,sc6e49f3d37e54030:`Heure dans la journée`,sc6f5a4fc0583d734:`est dans`,sc70ad8207db856a8:`Coordonnées`,sc86e72c4fdd4e0ec:`Compter distinct`,scace072bef961918:`Lignes`,scb7bab1a17663a6c:`YTD`,scbaef981909d487e:`Évolution`,scf2bb2b0de9cdb8a:`Milliseconde`,sd05671183b4fe913:`Impossible de récupérer les données`,sd237be440de38cc7:`Trimestre`,sd28141a332dc31fa:`Jour du mois`,sd5b1040899eb149d:`suivant complet`,sd66a74fff07a11fb:`{count} éléments sélectionnés`,sd7ebafacf602c9bd:`Lettre`,sdb73788b3c975f16:`Automatique`,sdc673e73b5c13aea:`Supprimer`,sdebe99a43259a451:`Compter les lignes`,sdfeb2151b9e78d4d:`ne contient pas`,se01bc9eea39688ad:`Mois de l'année`,se0955919920ee87d:`Jour`,se211e3d21bbf3bff:`Mesure`,se2b7530e30fa607d:`Comparaison de période`,se2d6ee866b592a9f:`plus de (x) périodes`,se3a1aa0525f22ee4:`Mesures`,se415bbea6c976fb1:`Grouper par`,se5316cbaa025f028:`suivant`,se715be190539325a:`il y a`,se9e535bb9591039e:`Sélectionner une expression`,se9ff6e9a514d8cf9:`Lundi`,seb4eae68d45315b7:`Minimum`,seb9c440de1ce6044:`commence par`,sec2f608650e36ac5:`dernière période complète`,secf42ec1c7c47be2:`non manquant`,sed522484748a787d:`Création de l’élément...`,see0ec27fb03d880e:`Minutes`,sef49aec68fd1dc66:`Nom`,sf095cc47a4ff9c3d:`Formule`,sf518b78d9734f57b:`ne commence pas par`,sf6cda8263b3170af:`Utiliser la période à ce jour pour les périodes incomplètes`,sf70eaf9ab4c93082:`non cont`,sf9c10516a62a23db:`Afficher comme`,sfa069719a050be66:`ET`,sfa2d0aa30ee5aa58:`dernières (x) périodes`,sfad9ed343e97551c:`Valeur passée`,sfb9e6d0c6baa99f5:`Correspond au plage de dates visible dans le graphique ou la table`,sfbac36245480ddbc:`Séparateur`,sfda1c9d0be35cec8:`trimestre en cours`,sff5bb7742c2896c8:`Cible`,sffa721bb6aa3128d:`Rechercher...`,"slot-label-name":`Nom`,"slot-label-time":`Temps`,s736157452e7fc7af:`Une erreur s'est produite. Veuillez réessayer.`};exports.templates=e;
|
|
@@ -45,7 +45,6 @@ const templates = {
|
|
|
45
45
|
s1e7745005c37315c: "Décalage relatif",
|
|
46
46
|
s1f0916624a87d415: "Jour de l'année",
|
|
47
47
|
s1f7698c061c208c9: "Ouverture",
|
|
48
|
-
s229095b8370ddeb7: "Mise à jour du graphique...",
|
|
49
48
|
s23a368c93d7e6a90: "Métrique du curseur",
|
|
50
49
|
s2454d1f117573457: "Précision",
|
|
51
50
|
s247d110f13a3a288: "Jour de la semaine",
|
|
@@ -62,6 +61,7 @@ const templates = {
|
|
|
62
61
|
s31f1afc1bfe1cb3a: "En savoir plus",
|
|
63
62
|
s344ea8f4939cdc98: "Couleur",
|
|
64
63
|
s354ae458a550da1f: "Destination",
|
|
64
|
+
s360896d6e6234cc4: "Mise à jour de l’élément...",
|
|
65
65
|
s3924c3d773a80312: "dernier dispo",
|
|
66
66
|
s3c6455b19fb1c3e4: "Changement absolu",
|
|
67
67
|
s3dcf7b255596a2c3: "Écart type",
|
|
@@ -87,7 +87,6 @@ const templates = {
|
|
|
87
87
|
s5e2654fb8587f442: "Dupliquer",
|
|
88
88
|
s5e8250fb85d64c23: "Clôture",
|
|
89
89
|
s5f43af3669b1e098: "Source",
|
|
90
|
-
s5f7a45e1e8ae87e4: "Décrivez comment vous souhaitez modifier ce graphique…",
|
|
91
90
|
s602805b1eb3106c6: "Axe Y",
|
|
92
91
|
s6031881827829901: "24h",
|
|
93
92
|
s60b34c3c17dc35bd: "Années",
|
|
@@ -103,11 +102,11 @@ const templates = {
|
|
|
103
102
|
s70a773eb3133e5fa: "mois en cours",
|
|
104
103
|
s716a6024e3fe999c: "Afficher",
|
|
105
104
|
s7468e87263dfff7e: "Identifiant",
|
|
105
|
+
s74c00d5f85cc6da9: "Décrivez comment vous souhaitez modifier cet élément…",
|
|
106
106
|
s74dcd519e6563a26: "WTD",
|
|
107
107
|
s7632fc9aa12bf382: "Mois",
|
|
108
108
|
s782f286a79cca35d: "Relatif",
|
|
109
109
|
s78789724e789221c: "Taille",
|
|
110
|
-
s79f7983c97f2aaed: "Ajouter un groupe de filtres",
|
|
111
110
|
s7a6878d41ffac284: "dernier complet",
|
|
112
111
|
s7c95876637f6a9d7: "Filtre",
|
|
113
112
|
s7cb5d294ed7634e3: "Jeu de données",
|
|
@@ -149,7 +148,6 @@ const templates = {
|
|
|
149
148
|
sac94bb71f7737997: "Médiane",
|
|
150
149
|
sacae74732f544fca: "Jours",
|
|
151
150
|
saf2a19f4eaf00f68: "ou plus",
|
|
152
|
-
sb09bc2fffe6468c4: "Création du graphique...",
|
|
153
151
|
sb0f3327210fe18fc: "Colonnes",
|
|
154
152
|
sb1f654608a3eea75: "Jour de la semaine",
|
|
155
153
|
sb3b793ff5cc1bc39: "prochaines (x) périodes",
|
|
@@ -197,6 +195,7 @@ const templates = {
|
|
|
197
195
|
seb9c440de1ce6044: "commence par",
|
|
198
196
|
sec2f608650e36ac5: "dernière période complète",
|
|
199
197
|
secf42ec1c7c47be2: "non manquant",
|
|
198
|
+
sed522484748a787d: "Création de l’élément...",
|
|
200
199
|
see0ec27fb03d880e: "Minutes",
|
|
201
200
|
sef49aec68fd1dc66: "Nom",
|
|
202
201
|
sf095cc47a4ff9c3d: "Formule",
|
|
@@ -213,6 +212,7 @@ const templates = {
|
|
|
213
212
|
sff5bb7742c2896c8: "Cible",
|
|
214
213
|
sffa721bb6aa3128d: "Rechercher...",
|
|
215
214
|
"slot-label-name": "Nom",
|
|
216
|
-
"slot-label-time": "Temps"
|
|
215
|
+
"slot-label-time": "Temps",
|
|
216
|
+
s736157452e7fc7af: "Une erreur s'est produite. Veuillez réessayer."
|
|
217
217
|
};
|
|
218
218
|
export { templates };
|
|
@@ -17,4 +17,4 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`../set-locale-
|
|
20
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`../set-locale-CdlBx8s9.cjs`),require(`../localized-mixin-BhUvOsd7.cjs`);const e=require(`../grid-By5MAIqI.cjs`);exports.LuzmoGrid=e.t,Object.defineProperty(exports,`LuzmoGridItemActionsMenu`,{enumerable:!0,get:function(){return e.n}});
|
package/components/grid/index.js
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
e.setAttribute("data-luzmo-vars", ""), e.textContent = "html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-background-color-alt-1: rgb(250, 250, 250);--luzmo-background-color-alt-2: rgb(239, 239, 239);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-scrollbar-size: 6px;--luzmo-scrollbar-width: thin;--luzmo-scrollbar-track-background: transparent;--luzmo-scrollbar-track-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-background: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-scrollbar-thumb-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-hover-background: rgba(var(--luzmo-border-color-rgb), 0.4);--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-secondary-outline: rgba(255, 0, 255, 0.2);--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: #b3241f;--luzmo-negative-color-down: #9f231f;--luzmo-negative-color-focus: #b3241f;--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: rgb(17, 128, 86);--luzmo-positive-color-down: rgb(16, 105, 71);--luzmo-positive-color-focus: rgb(17, 128, 86);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: rgb(70, 70, 70);--luzmo-selected-color-down: rgb(40, 40, 40);--luzmo-selected-color-focus: rgb(70, 70, 70);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: rgb(0, 0, 0);--luzmo-selected-color-hard-down: rgb(0, 0, 0);--luzmo-selected-color-hard-focus: rgb(0, 0, 0);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}", document.head.appendChild(e);
|
|
24
24
|
}
|
|
25
25
|
})();
|
|
26
|
-
import "../set-locale-
|
|
27
|
-
import "../localized-mixin-
|
|
28
|
-
import { n as LuzmoGridItemActionsMenu, t as LuzmoGrid } from "../grid-
|
|
26
|
+
import "../set-locale-C3o6ooUV.js";
|
|
27
|
+
import "../localized-mixin-HngLqDZn.js";
|
|
28
|
+
import { n as LuzmoGridItemActionsMenu, t as LuzmoGrid } from "../grid-DN9I7DDY.js";
|
|
29
29
|
export { LuzmoGrid, LuzmoGridItemActionsMenu };
|