@luzmo/analytics-components-kit 1.0.1-alpha.48 → 1.0.1-alpha.49
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/components/{bar-chart-options.config-BdbbHUJZ.js → bar-chart-options.config-D1mb5TDl.js} +1 -0
- package/components/{bar-chart-options.config-C9XGEujs.cjs → bar-chart-options.config-DcxEkOT5.cjs} +1 -1
- package/components/{bar-chart-options.de-DwTn_qfu.js → bar-chart-options.de-BQ4qGaQc.js} +1 -0
- package/components/{bar-chart-options.de-BGzu5Zgd.cjs → bar-chart-options.de-Dr5zKz8Q.cjs} +1 -1
- package/components/{column-chart-options.en-D1UfGsS3.cjs → bar-chart-options.en-DdQ2PYrw.cjs} +1 -1
- package/components/{bar-chart-options.en-Crc8tYUJ.js → bar-chart-options.en-LjG6f4hw.js} +1 -0
- package/components/{bar-chart-options.es-ByT_D06p.js → bar-chart-options.es-BfIKCPf-.js} +1 -0
- package/components/{bar-chart-options.es-B2UWafXc.cjs → bar-chart-options.es-DgYVxn9U.cjs} +1 -1
- package/components/{bar-chart-options.fr-BwiGRlQf.js → bar-chart-options.fr-Cg1lQV2y.js} +1 -0
- package/components/{bar-chart-options.fr-CP7DTrlk.cjs → bar-chart-options.fr-rteFm93C.cjs} +1 -1
- package/components/{column-chart-options.nl-3wAj9uWY.cjs → bar-chart-options.nl--gwlkpc0.cjs} +1 -1
- package/components/{bar-chart-options.nl-DzXnHdwX.js → bar-chart-options.nl-CB2W4rzf.js} +1 -0
- package/components/{calculate-data-item-icon-DlfbBvFN.cjs → calculate-data-item-icon-Dn-9Kd0U.cjs} +1 -1
- package/components/{calculate-data-item-icon-BiIL_s4Z.js → calculate-data-item-icon-Dpvf1aLI.js} +51 -51
- package/components/{column-chart-options.config-BqSQ1Sl9.js → column-chart-options.config-B5SjBVdy.js} +10 -9
- package/components/{column-chart-options.config-Bi0RAzK-.cjs → column-chart-options.config-BjDvA7i9.cjs} +1 -1
- package/components/{column-chart-options.de-pgdcIHqk.cjs → column-chart-options.de-BU__cJy3.cjs} +1 -1
- package/components/{column-chart-options.de-VQVdi8aP.js → column-chart-options.de-BkkWD9rB.js} +1 -0
- package/components/{bar-chart-options.en-D1UfGsS3.cjs → column-chart-options.en-DdQ2PYrw.cjs} +1 -1
- package/components/{column-chart-options.en-Crc8tYUJ.js → column-chart-options.en-LjG6f4hw.js} +1 -0
- package/components/{column-chart-options.es-CT9ZtjV_.js → column-chart-options.es-BgOc-gTh.js} +1 -0
- package/components/{column-chart-options.es-CAAXJv_2.cjs → column-chart-options.es-CkaTU6qn.cjs} +1 -1
- package/components/{column-chart-options.fr-BwiGRlQf.js → column-chart-options.fr-Cg1lQV2y.js} +1 -0
- package/components/{column-chart-options.fr-CP7DTrlk.cjs → column-chart-options.fr-rteFm93C.cjs} +1 -1
- package/components/{bar-chart-options.nl-DZe2pKRa.cjs → column-chart-options.nl-Bhe6rcUo.cjs} +1 -1
- package/components/{column-chart-options.nl-DB2dcotu.js → column-chart-options.nl-CAeBYwQC.js} +1 -0
- package/components/{de-eIqMhTVC.cjs → de-Cxe7xkT4.cjs} +1 -1
- package/components/{de-BbcctJsI.js → de-ZPzjN2kc.js} +0 -1
- package/components/directive-BOOaQO_r.cjs +24 -0
- package/components/directive-CF_9GVrT.js +46 -0
- package/components/display-settings/display-settings.d.ts +2 -2
- 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 +11 -11
- package/components/display-settings-datetime/index.cjs +1 -1
- package/components/display-settings-datetime/index.js +13 -13
- package/components/display-settings-grand-totals/index.cjs +1 -1
- package/components/display-settings-grand-totals/index.js +11 -11
- package/components/display-settings-numeric/display-settings-numeric.d.ts +3 -1
- package/components/display-settings-numeric/index.cjs +61 -40
- package/components/display-settings-numeric/index.js +223 -182
- package/components/display-settings-period-over-period/index.cjs +6 -6
- package/components/display-settings-period-over-period/index.js +11 -11
- package/components/draggable-data-item/draggable-data-item.d.ts +1 -0
- package/components/draggable-data-item/index.cjs +8 -5
- package/components/draggable-data-item/index.js +44 -38
- package/components/draggable-data-item-level/draggable-data-item-level.d.ts +4 -0
- package/components/draggable-data-item-level/index.cjs +10 -10
- package/components/draggable-data-item-level/index.js +102 -77
- package/components/droppable-slot/droppable-slot.d.ts +29 -9
- package/components/droppable-slot/index.cjs +25 -71
- package/components/droppable-slot/index.js +274 -623
- package/components/edit-item/index.cjs +2 -2
- package/components/edit-item/index.js +18 -18
- 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 +6 -6
- package/components/{edit-option-base-D25zHZVl.js → edit-option-base-CG0JcbX9.js} +3 -3
- package/components/{edit-option-base-h5ndfVK4.cjs → edit-option-base-a2yoNqdf.cjs} +1 -1
- package/components/edit-option-color-palette-picker/index.cjs +1 -1
- package/components/edit-option-color-palette-picker/index.js +3 -3
- package/components/edit-option-color-picker/index.cjs +1 -1
- package/components/edit-option-color-picker/index.js +5 -5
- package/components/edit-option-color-range/index.cjs +1 -1
- package/components/edit-option-color-range/index.js +12 -12
- package/components/edit-option-multi-language-field/index.cjs +1 -1
- package/components/edit-option-multi-language-field/index.js +4 -4
- package/components/edit-option-number-field/index.cjs +1 -1
- package/components/edit-option-number-field/index.js +5 -5
- package/components/edit-option-picker/index.cjs +1 -1
- package/components/edit-option-picker/index.js +5 -5
- package/components/edit-option-position-picker/index.cjs +1 -1
- package/components/edit-option-position-picker/index.js +4 -4
- package/components/edit-option-positions-number-field/index.cjs +1 -1
- package/components/edit-option-positions-number-field/index.js +6 -6
- package/components/edit-option-radio-button-group/index.cjs +1 -1
- package/components/edit-option-radio-button-group/index.js +4 -4
- package/components/edit-option-slider/index.cjs +1 -1
- package/components/edit-option-slider/index.js +3 -3
- package/components/edit-option-switch/index.cjs +1 -1
- package/components/edit-option-switch/index.js +3 -3
- package/components/edit-option-text-field/index.cjs +1 -1
- package/components/edit-option-text-field/index.js +7 -7
- package/components/{es-tWaYVbsQ.cjs → es-4dEouIgb.cjs} +1 -1
- package/components/{es-ByWFTJ0s.js → es-C0JGlz18.js} +0 -1
- package/components/filter-data-item-picker/index.cjs +1 -1
- package/components/filter-data-item-picker/index.js +8 -8
- package/components/filter-expression-picker/index.cjs +1 -1
- package/components/filter-expression-picker/index.js +2 -2
- package/components/filter-item/index.cjs +1 -1
- package/components/filter-item/index.js +24 -24
- package/components/filter-value-picker/index.cjs +1 -1
- package/components/filter-value-picker/index.js +4 -4
- package/components/filter-value-picker-datetime/index.cjs +1 -1
- package/components/filter-value-picker-datetime/index.js +302 -302
- package/components/filter-value-picker-hierarchy/index.cjs +1 -1
- package/components/filter-value-picker-hierarchy/index.js +8 -8
- package/components/filter-value-picker-numeric/index.cjs +1 -1
- package/components/filter-value-picker-numeric/index.js +8 -8
- package/components/{focusable-Bhf_beoW.js → focusable-BbymtxWI.js} +1 -1
- package/components/{focusable-B8t8a-WJ.cjs → focusable-DAGGGYyz.cjs} +1 -1
- package/components/{fr-C5b2Wgoz.js → fr-B_-_f-VN.js} +0 -1
- package/components/{fr-2igiTsHU.cjs → fr-Dwulhlbi.cjs} +1 -1
- package/components/grid/index.cjs +18 -22
- package/components/grid/index.js +28 -49
- package/components/{if-defined-Dg09naf2.js → if-defined-Barg9gGQ.js} +1 -1
- package/components/{if-defined-DjdbEoAa.cjs → if-defined-wiCAR_aA.cjs} +1 -1
- package/components/{index-cbfU96gS.cjs → index-1oIrlkAr.cjs} +8 -8
- package/components/{index-BqSQoHjg.js → index-5Z9GD60H.js} +6 -6
- package/components/{index-9LxnqLJa.js → index-B2ngKWOI.js} +2 -2
- package/components/{index-COU9XhBt.js → index-BC1LV3vH.js} +1 -1
- package/components/{index-Cf_a7VrO.js → index-BEtf1WaQ.js} +2 -2
- package/components/{index-DMhm0FM8.cjs → index-BbpsZYZF.cjs} +25 -26
- package/components/{index-DRLFjkH0.cjs → index-BfzppmHn.cjs} +2 -2
- package/components/{index-BobhBKA2.js → index-BssHAgUU.js} +1 -1
- package/components/index-Bt3JTHTC.js +787 -0
- package/components/index-CY_cyFdI.cjs +174 -0
- package/components/{index-DeIay7ZE.js → index-CbuHBIDB.js} +2 -2
- package/components/{index-BukPAqqU.cjs → index-Ck5VRoXN.cjs} +1 -1
- package/components/{index-DYmi-X87.js → index-DE3d0E0P.js} +2 -2
- package/components/{index-fwJBhawL.cjs → index-DSQyBS9Z.cjs} +1 -1
- package/components/{index-BY1yDIAI.js → index-DTI4dIyd.js} +586 -634
- package/components/index-D_jFGBMs.js +174 -0
- package/components/{index-D9yzIoGv.js → index-Delpl7qa.js} +368 -306
- package/components/{index-B7AFYrfv.cjs → index-Df-_TbOD.cjs} +1 -1
- package/components/{index-C6NpWavw.js → index-DsP81c4M.js} +2 -2
- package/components/index-Dy_5M3M5.cjs +42 -0
- package/components/{index-Bpdwb9Js.cjs → index-MPM_B4re.cjs} +3 -3
- package/components/{index-ydBgjAru.js → index-N845QLku.js} +16 -16
- package/components/{index--3gSNupB.cjs → index-Tx5oQjbt.cjs} +1 -1
- package/components/{index-BSgp4MWQ.cjs → index-cHKqEi5-.cjs} +1 -1
- package/components/index-eBsINoH9.cjs +20 -0
- package/components/{index-BKx2WhDB.cjs → index-tXl_aMnZ.cjs} +1 -1
- package/components/index.cjs +1 -1
- package/components/index.js +4 -4
- package/components/{localized-decorator-DNr1P1m0.js → localized-decorator-Bl5gcI6n.js} +1 -1
- package/components/{localized-decorator-SOrjcPab.cjs → localized-decorator-DIXYZ3RL.cjs} +1 -1
- package/components/{luzmo-icons-4Tmb3sKr.js → luzmo-icons-CVeTZ59u.js} +9 -9
- package/components/{luzmo-icons-4nDFv1Lq-D6-m-VWM.cjs → luzmo-icons-DbwDQtuO-DSQ-uVxy.cjs} +2 -2
- package/components/{luzmo-icons-4nDFv1Lq-DffGNBpO.js → luzmo-icons-DbwDQtuO-QG0fLECn.js} +7 -7
- package/components/{luzmo-icons-Bvm-_ECi.cjs → luzmo-icons-DonyjSXg.cjs} +1 -1
- package/components/{nl-B50x7wMn.cjs → nl-DxdBIXDd.cjs} +1 -1
- package/components/{nl-76jn_zMH.js → nl-gdQCG4WV.js} +0 -1
- package/components/{periods.const-CfXsouLz.cjs → periods.const-7sXlqgEo.cjs} +1 -1
- package/components/{periods.const-C89NNRX-.js → periods.const-B7FKokcH.js} +1 -1
- package/components/property-Cu4Q1hS4.cjs +42 -0
- package/components/{property-BFMfZY1k.js → property-DCzt3DR1.js} +277 -277
- package/components/{set-locale-Cam8nRIW.cjs → set-locale-DCPlazsZ.cjs} +1 -1
- package/components/{set-locale-DbEAMqUs.js → set-locale-GI34z_M7.js} +1 -1
- package/components/{sized-mixin-CkdMApAU.js → sized-mixin-BGzkX2g1.js} +1 -1
- package/components/{sized-mixin-C48t6K7U.cjs → sized-mixin-j_7aJM4b.cjs} +1 -1
- package/components/slot-contents-picker/index.cjs +1 -1
- package/components/slot-contents-picker/index.js +16 -16
- package/components/slot-menu/index.cjs +27 -22
- package/components/slot-menu/index.js +237 -148
- package/components/slot-menu/slot-menu.d.ts +34 -12
- package/components/slot-menu-list/index.cjs +1 -1
- package/components/slot-menu-list/index.js +5 -5
- package/components/{state-CuE7TJCY.cjs → state-fyl3IYMu.cjs} +1 -1
- package/components/{state-BSTa7W6f.js → state-nDsQPund.js} +1 -1
- package/components/{task-CDsB8Kbr.js → task-Bh_X-xIU.js} +1 -1
- package/components/{task-0B-FC3rj.cjs → task-CwmAXlv0.cjs} +1 -1
- package/components/{text-field-ol9Ed5lQ-cRqtIf_0.cjs → text-field-BIADXoLC-B8w9TVmS.cjs} +1 -1
- package/components/{text-field-ol9Ed5lQ-DbpeM4EP.js → text-field-BIADXoLC-B9oE05VF.js} +1 -1
- package/custom-elements.json +226 -41
- package/item-definitions/bar-chart/i18n/bar-chart-options.de.d.ts +1 -0
- package/item-definitions/bar-chart/i18n/bar-chart-options.en.d.ts +1 -0
- package/item-definitions/bar-chart/i18n/bar-chart-options.es.d.ts +1 -0
- package/item-definitions/bar-chart/i18n/bar-chart-options.fr.d.ts +1 -0
- package/item-definitions/bar-chart/i18n/bar-chart-options.nl.d.ts +1 -0
- package/item-definitions/box-plot/box-plot-options.config.d.ts +1 -1
- package/item-definitions/choropleth-map/choropleth-map-options.config.d.ts +1 -1
- package/item-definitions/column-chart/i18n/column-chart-options.de.d.ts +1 -0
- package/item-definitions/column-chart/i18n/column-chart-options.en.d.ts +1 -0
- package/item-definitions/column-chart/i18n/column-chart-options.es.d.ts +1 -0
- package/item-definitions/column-chart/i18n/column-chart-options.fr.d.ts +1 -0
- package/item-definitions/column-chart/i18n/column-chart-options.nl.d.ts +1 -0
- package/item-definitions/hexbin-map/hexbin-map-options.config.d.ts +1 -1
- package/item-definitions/route-map/route-map-options.config.d.ts +1 -1
- package/item-definitions/spike-map/spike-map-options.config.d.ts +1 -1
- package/package.json +1 -1
- package/utils/data-broker/index.d.ts +9 -0
- package/utils/store/slot-store.d.ts +9 -3
- package/components/index-Be-pSgzQ.js +0 -174
- package/components/index-DCdx3dxQ.cjs +0 -42
- package/components/index-PGX2p9Ns.js +0 -304
- package/components/index-TQG9Xdxu.cjs +0 -20
- package/components/index-VHrmgynd.cjs +0 -121
- package/components/property-BV1QaY8E.cjs +0 -42
package/components/grid/index.js
CHANGED
@@ -17,51 +17,30 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
import { T as _i, i as je, a as Ie, x as A, n as g, r as ot, B as _t } from "../property-
|
21
|
-
import { r as xe } from "../state-
|
20
|
+
import { T as _i, i as je, a as Ie, x as A, n as g, r as ot, B as _t } from "../property-DCzt3DR1.js";
|
21
|
+
import { r as xe } from "../state-nDsQPund.js";
|
22
22
|
import { e as qe } from "../query-Ddbd72Um.js";
|
23
|
-
import {
|
24
|
-
import "../
|
23
|
+
import { e as zi, i as xi, t as Ei } from "../directive-CF_9GVrT.js";
|
24
|
+
import { i as ki, ab as Ri, ah as Si, a7 as Ai, a9 as Mi, ai as Di, aj as Ci, ak as Ti, ae as Ii } from "../luzmo-icons-CVeTZ59u.js";
|
25
|
+
import "../index-D_jFGBMs.js";
|
25
26
|
import "../index-BW3AUnEX.js";
|
26
|
-
import "../index-
|
27
|
+
import "../index-BC1LV3vH.js";
|
27
28
|
import { I as Zt } from "../base-D76d76ww-BGkuhs54.js";
|
28
29
|
import "../focusable-BxtpnzWp-DJQkL8Zv.js";
|
29
30
|
import { C as zt } from "../color-DuJ4-73S.js";
|
30
|
-
import { r as
|
31
|
-
import { itemTypes as
|
32
|
-
import { s as
|
33
|
-
import { m as le, g as
|
34
|
-
import { l as
|
31
|
+
import { r as Li } from "../query-all-Ddzx2fEK.js";
|
32
|
+
import { itemTypes as Hi } from "../item-list.js";
|
33
|
+
import { s as Ni, g as xt } from "../index-CgnTl6Sc.js";
|
34
|
+
import { m as le, g as Oi, t as Pi, s as $i } from "../set-locale-GI34z_M7.js";
|
35
|
+
import { l as Wi } from "../localized-decorator-Bl5gcI6n.js";
|
35
36
|
import "../index-BmshD32H.js";
|
36
37
|
const wi = () => {
|
37
38
|
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
38
39
|
const s = document.createElement("style");
|
39
|
-
s.setAttribute("data-luzmo-vars", ""), s.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-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-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-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(s);
|
40
|
+
s.setAttribute("data-luzmo-vars", ""), s.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-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-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(s);
|
40
41
|
}
|
41
42
|
};
|
42
43
|
wi();
|
43
|
-
/**
|
44
|
-
* @license
|
45
|
-
* Copyright 2017 Google LLC
|
46
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
47
|
-
*/
|
48
|
-
const Pi = { ATTRIBUTE: 1 }, $i = (s) => (...e) => ({ _$litDirective$: s, values: e });
|
49
|
-
let Wi = class {
|
50
|
-
constructor(e) {
|
51
|
-
}
|
52
|
-
get _$AU() {
|
53
|
-
return this._$AM._$AU;
|
54
|
-
}
|
55
|
-
_$AT(e, t, i) {
|
56
|
-
this._$Ct = e, this._$AM = t, this._$Ci = i;
|
57
|
-
}
|
58
|
-
_$AS(e, t) {
|
59
|
-
return this.update(e, t);
|
60
|
-
}
|
61
|
-
update(e, t) {
|
62
|
-
return this.render(...t);
|
63
|
-
}
|
64
|
-
};
|
65
44
|
const nt = Math.min, fe = Math.max, Pe = Math.round, Ne = Math.floor, X = (s) => ({
|
66
45
|
x: s,
|
67
46
|
y: s
|
@@ -1548,10 +1527,10 @@ async function oe(s, e = "DashboardApp") {
|
|
1548
1527
|
* Copyright 2018 Google LLC
|
1549
1528
|
* SPDX-License-Identifier: BSD-3-Clause
|
1550
1529
|
*/
|
1551
|
-
const ui = "important", Ws = " !" + ui, he =
|
1530
|
+
const ui = "important", Ws = " !" + ui, he = zi(class extends xi {
|
1552
1531
|
constructor(s) {
|
1553
1532
|
var e;
|
1554
|
-
if (super(s), s.type !==
|
1533
|
+
if (super(s), s.type !== Ei.ATTRIBUTE || s.name !== "style" || ((e = s.strings) == null ? void 0 : e.length) > 2) throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.");
|
1555
1534
|
}
|
1556
1535
|
render(s) {
|
1557
1536
|
return Object.keys(s).reduce((e, t) => {
|
@@ -5258,43 +5237,43 @@ function Re(s, e, t) {
|
|
5258
5237
|
return i[6] = i[6] & 15 | 64, i[8] = i[8] & 63 | 128, Zs(i);
|
5259
5238
|
}
|
5260
5239
|
const sr = {
|
5261
|
-
icon:
|
5240
|
+
icon: Mi,
|
5262
5241
|
label: "Lock",
|
5263
5242
|
tooltip: "Lock",
|
5264
5243
|
action: "lock",
|
5265
5244
|
type: "toggle"
|
5266
5245
|
}, rr = {
|
5267
|
-
icon:
|
5246
|
+
icon: Ci,
|
5268
5247
|
label: "Edit",
|
5269
5248
|
tooltip: "Edit",
|
5270
5249
|
action: "edit",
|
5271
5250
|
type: "toggle"
|
5272
5251
|
}, gi = {
|
5273
|
-
icon:
|
5252
|
+
icon: ki,
|
5274
5253
|
label: "Edit data",
|
5275
5254
|
tooltip: "Data",
|
5276
5255
|
action: "edit-data",
|
5277
5256
|
type: "toggle"
|
5278
5257
|
}, fi = {
|
5279
|
-
icon:
|
5258
|
+
icon: Ri,
|
5280
5259
|
label: "Edit options",
|
5281
5260
|
tooltip: "Options",
|
5282
5261
|
action: "edit-options",
|
5283
5262
|
type: "toggle"
|
5284
5263
|
}, Yt = {
|
5285
|
-
icon:
|
5264
|
+
icon: Di,
|
5286
5265
|
label: "Edit filters",
|
5287
5266
|
tooltip: "Filters",
|
5288
5267
|
action: "edit-filters",
|
5289
5268
|
type: "toggle"
|
5290
5269
|
}, pi = {
|
5291
|
-
icon:
|
5270
|
+
icon: Si,
|
5292
5271
|
label: "Clone",
|
5293
5272
|
tooltip: "Clone",
|
5294
5273
|
action: "clone",
|
5295
5274
|
type: "button"
|
5296
5275
|
}, bi = {
|
5297
|
-
icon:
|
5276
|
+
icon: Ai,
|
5298
5277
|
label: "Delete",
|
5299
5278
|
tooltip: "Delete",
|
5300
5279
|
action: "delete",
|
@@ -5327,7 +5306,7 @@ const sr = {
|
|
5327
5306
|
lock: { ...sr }
|
5328
5307
|
}[i];
|
5329
5308
|
if (typeof i == "object")
|
5330
|
-
return i.icon = i.icon ??
|
5309
|
+
return i.icon = i.icon ?? Ti, i.label = i.label ?? i.action, i.tooltip = i.tooltip ?? i.label ?? i.action, i.type = ["toggle", "button"].includes(i.type ?? "") ? i.type : "button", i;
|
5331
5310
|
}).filter(Boolean), t;
|
5332
5311
|
}).filter(Boolean), e;
|
5333
5312
|
}, yi = () => [
|
@@ -5438,7 +5417,7 @@ let ze = class extends Zt {
|
|
5438
5417
|
` : A``;
|
5439
5418
|
}
|
5440
5419
|
willUpdate(s) {
|
5441
|
-
s.has("language") && this.language !==
|
5420
|
+
s.has("language") && this.language !== Oi() && ([...Pi].includes(this.language ?? "en") || this.language === "en") && $i(this.language);
|
5442
5421
|
}
|
5443
5422
|
render() {
|
5444
5423
|
const s = this.actions.map(
|
@@ -5459,7 +5438,7 @@ Ze([
|
|
5459
5438
|
g({ type: String })
|
5460
5439
|
], ze.prototype, "language", 2);
|
5461
5440
|
ze = Ze([
|
5462
|
-
|
5441
|
+
Wi()
|
5463
5442
|
], ze);
|
5464
5443
|
const lr = ':host{display:block;width:100%}.grid-stack{width:100%;min-height:var(--luzmo-grid-min-height);position:relative;background:var(--luzmo-grid-background, var(--grid-background, var(--luzmo-background-color)))}.grid-stack[has-active-item] .grid-stack-item:not([active])>.grid-stack-item-content,.grid-stack[has-active-item] .grid-stack-item:not([active])>.grid-item-actions-popover{opacity:.5}.grid-stack .grid-stack-item[active]>.ui-resizable-handle,.grid-stack .grid-stack-item[active].ui-resizable-autohide>.ui-resizable-handle{display:block}.grid-stack .grid-stack-item.ui-resizable-resizing,.grid-stack .grid-stack-item.ui-resizable-resizing>.grid-stack-item-content{opacity:var(--luzmo-grid-item-resizing-opacity, .8)!important}.grid-item-drag-handle{position:absolute;color:var(--luzmo-grid-item-drag-handle-color, #000);top:var(--luzmo-grid-item-drag-handle-position-top, 0);left:var(--luzmo-grid-item-drag-handle-position-left, 0);right:var(--luzmo-grid-item-drag-handle-position-right, auto);bottom:var(--luzmo-grid-item-drag-handle-position-bottom, auto);padding:var(--luzmo-grid-item-drag-handle-padding, .5rem);z-index:var(--luzmo-grid-item-drag-handle-z-index, 3);cursor:var(--luzmo-grid-item-drag-handle-cursor, move)}.grid-stack[dark-background] .grid-item-drag-handle{color:var(--luzmo-grid-item-drag-handle-color, #fff)}.grid-stack .grid-stack-item .grid-stack-item-content{overflow:hidden;border-radius:var(--luzmo-grid-item-border-radius, var(--grid-item-border-radius, 4px));background:var(--luzmo-grid-item-background, var(--grid-item-background, transparent));box-shadow:var(--luzmo-grid-item-box-shadow, var(--grid-item-box-shadow, none));border-style:var(--luzmo-grid-item-border-style, none);border-color:var(--luzmo-grid-item-border-color, transparent);-webkit-backdrop-filter:var(--luzmo-grid-item-backdrop-filter, none);backdrop-filter:var(--luzmo-grid-item-backdrop-filter, none)}.grid-stack .grid-stack-item:not(.has-luzmo-viz-item) .grid-stack-item-content{border-style:var(--luzmo-grid-item-border-style, var(--grid-item-border-style, none));border-color:var(--luzmo-grid-item-border-color, var(--grid-item-border-color, transparent));border-width:var(--luzmo-grid-item-border-width, var(--grid-item-border-width, 0));border-top-width:var(--luzmo-grid-item-border-top-width, var(--grid-item-border-top-width, 0));border-right-width:var(--luzmo-grid-item-border-right-width, var(--grid-item-border-right-width, 0));border-bottom-width:var(--luzmo-grid-item-border-bottom-width, var(--grid-item-border-bottom-width, 0));border-left-width:var(--luzmo-grid-item-border-left-width, var(--grid-item-border-left-width, 0))}.grid-stack .grid-stack-placeholder>.placeholder-content{border-radius:var(--grid-item-border-radius, 4px)}:host .grid-stack-item[active]>.ui-resizable-handle,:host .grid-stack-item:hover>.ui-resizable-handle{display:block!important;position:absolute!important;z-index:var(--luzmo-grid-resize-handle-z-index, 100);background:var(--luzmo-grid-resize-handle-background, #fff);border-radius:var(--luzmo-grid-resize-handle-border-radius, 3px);opacity:var(--luzmo-grid-resize-handle-opacity, 0);transition:var(--luzmo-grid-resize-handle-transition, opacity .2s ease);box-shadow:0 0 6px #0000001a,0 0 2px #000000bf}:host .grid-stack[dark-background]>.grid-stack-item[active]>.ui-resizable-handle,:host .grid-stack[dark-background]>.grid-stack-item:hover>.ui-resizable-handle{background:var(--luzmo-grid-resize-handle-background, #333);box-shadow:0 0 6px #ffffff1a,0 0 2px #ffffffbf}:host .grid-stack-item[active]>.ui-resizable-handle,:host .grid-stack-item:hover>.ui-resizable-handle{opacity:var(--luzmo-grid-resize-handle-opacity-hover, 1)}:host .grid-stack-item>.ui-resizable-handle:hover{opacity:var(--luzmo-grid-resize-handle-opacity-active, 1);background:var(--luzmo-grid-resize-handle-background-hover, var(--luzmo-background-color-highlight))}:host .grid-stack-item>.ui-resizable-n,:host .grid-stack-item>.ui-resizable-s{height:var(--luzmo-grid-resize-handle-edge-size, 8px);width:var(--luzmo-grid-resize-handle-side-size, 18px);left:calc(50% - var(--luzmo-grid-resize-handle-side-size, 18px) / 2)}:host .grid-stack-item>.ui-resizable-n{cursor:n-resize;top:calc(var(--luzmo-grid-resize-handle-edge-offset, -4px) + var(--gs-item-margin-top, 0px))}:host .grid-stack-item>.ui-resizable-s{cursor:s-resize;bottom:calc(var(--luzmo-grid-resize-handle-edge-offset, -4px) + var(--gs-item-margin-bottom, 0px))}:host .grid-stack-item>.ui-resizable-e,:host .grid-stack-item>.ui-resizable-w{width:var(--luzmo-grid-resize-handle-edge-size, 8px);height:var(--luzmo-grid-resize-handle-side-size, 18px);top:calc(50% - var(--luzmo-grid-resize-handle-side-size, 18px) / 2)}:host .grid-stack-item>.ui-resizable-e{cursor:e-resize;right:calc(var(--luzmo-grid-resize-handle-edge-offset, -4px) + var(--gs-item-margin-right, 0px))}:host .grid-stack-item>.ui-resizable-w{cursor:w-resize;left:calc(var(--luzmo-grid-resize-handle-edge-offset, -4px) + var(--gs-item-margin-left, 0px))}:host .grid-stack-item>.ui-resizable-ne,:host .grid-stack-item>.ui-resizable-nw,:host .grid-stack-item>.ui-resizable-se,:host .grid-stack-item>.ui-resizable-sw{transform:none;background-image:none;width:var(--luzmo-grid-resize-handle-corner-size, 12px);height:var(--luzmo-grid-resize-handle-corner-size, 12px)}:host .grid-stack-item>.ui-resizable-ne{cursor:ne-resize;top:calc(var(--luzmo-grid-resize-handle-edge-offset, -6px) + var(--gs-item-margin-top, 0px));right:calc(var(--luzmo-grid-resize-handle-edge-offset, -6px) + var(--gs-item-margin-right, 0px))}:host .grid-stack-item>.ui-resizable-nw{cursor:nw-resize;top:calc(var(--luzmo-grid-resize-handle-edge-offset, -6px) + var(--gs-item-margin-top, 0px));left:calc(var(--luzmo-grid-resize-handle-edge-offset, -6px) + var(--gs-item-margin-left, 0px))}:host .grid-stack-item>.ui-resizable-se{cursor:se-resize;right:calc(var(--luzmo-grid-resize-handle-corner-offset, -4px) + var(--gs-item-margin-right, 0px));bottom:calc(var(--luzmo-grid-resize-handle-corner-offset, -4px) + var(--gs-item-margin-bottom, 0px))}:host .grid-stack-item>.ui-resizable-sw{cursor:sw-resize;left:calc(var(--luzmo-grid-resize-handle-corner-offset, -4px) + var(--gs-item-margin-left, 0px));bottom:calc(var(--luzmo-grid-resize-handle-corner-offset, -4px) + var(--gs-item-margin-bottom, 0px))}:host .grid-stack-item>.ui-resizable-resizing .ui-resizable-handle{opacity:1!important;background:var(--luzmo-grid-resize-handle-background-active, var(--luzmo-background-color-highlight))}.grid-item-actions-popover{position:absolute;outline:none;border:none;padding:0;margin:0;z-index:2;overflow:visible;background:transparent}luzmo-grid-item-actions-menu{padding:var(--luzmo-grid-item-actions-padding, var(--grid-item-actions-padding))}.dimensions-hint-popover{font-size:var(--luzmo-grid-item-dimensions-hint-font-size, var(--luzmo-font-size-xs, 10px));font-family:var(--luzmo-grid-item-dimensions-hint-font-family, var(--luzmo-font-family, inherit));position:absolute;outline:none;border-width:var(--luzmo-grid-item-dimensions-hint-border-width, var(--luzmo-border-width));border-style:solid;border-color:var(--luzmo-grid-item-dimensions-hint-border-color, var(--luzmo-border-color));border-radius:var(--luzmo-grid-item-dimensions-hint-border-radius, var(--luzmo-border-radius));padding:var(--luzmo-grid-item-dimensions-hint-padding, var(--luzmo-spacing-1) var(--luzmo-spacing-2));margin:0;z-index:3;overflow:visible;background:var(--luzmo-grid-item-dimensions-hint-background, var(--luzmo-background-color));color:var(--luzmo-grid-item-dimensions-hint-color, var(--luzmo-font-color));pointer-events:none}luzmo-grid-item-actions-menu{--grid-item-actions-padding: 0 .75rem}luzmo-grid-item-actions-menu[placement=top-start],luzmo-grid-item-actions-menu[placement=top],luzmo-grid-item-actions-menu[placement=top-end],luzmo-grid-item-actions-menu[placement=bottom-start],luzmo-grid-item-actions-menu[placement=bottom],luzmo-grid-item-actions-menu[placement=bottom-end]{--grid-item-actions-padding: .75rem 0}.grid-stack-item:focus-visible{outline:none}.grid-stack-item:focus-visible .grid-stack-item-content:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;border:var(--luzmo-indicator-width) solid var(--luzmo-indicator-color, var(--luzmo-primary));box-sizing:border-box;border-radius:var(--luzmo-grid-item-border-radius, var(--grid-item-border-radius, 4px));z-index:2}';
|
5465
5444
|
var dr = Object.defineProperty, D = (s, e, t, i) => {
|
@@ -5639,7 +5618,7 @@ class M extends Zt {
|
|
5639
5618
|
}
|
5640
5619
|
async _loadTheme(e) {
|
5641
5620
|
var t, i, r, o, n, a, l;
|
5642
|
-
(e == null ? void 0 : e.type) === "custom" ? this._fullTheme = structuredClone(e) : e != null && e.id &&
|
5621
|
+
(e == null ? void 0 : e.type) === "custom" ? this._fullTheme = structuredClone(e) : e != null && e.id && Ni.includes(e.id) && ((t = this._fullTheme) == null ? void 0 : t.id) !== e.id ? (this._fullTheme = await xt(e.id), this._fullTheme.id = e.id) : e != null && e.id && ((i = this._fullTheme) == null ? void 0 : i.id) !== e.id || !e && this._fullTheme || (this._fullTheme = await xt("default")), this._initialized && this._updateThemeProperties(), !this._initialized && this._gridElement && await requestAnimationFrame(() => {
|
5643
5622
|
this._initializeGrid();
|
5644
5623
|
}), this._grid && ((l = this._grid) == null || l.margin(
|
5645
5624
|
[
|
@@ -5849,7 +5828,7 @@ class M extends Zt {
|
|
5849
5828
|
}
|
5850
5829
|
_renderOverlayContent(e) {
|
5851
5830
|
let t = Xt(e == null ? void 0 : e.actionsMenu) ?? Xt(this.defaultItemActionsMenu) ?? yi();
|
5852
|
-
const i =
|
5831
|
+
const i = Hi.find((r) => r.type === (e == null ? void 0 : e.type));
|
5853
5832
|
return !(i != null && i.containsData) && !(e != null && e.actionsMenu) && !this.defaultItemActionsMenu && (t = t.map((r) => {
|
5854
5833
|
var o;
|
5855
5834
|
return {
|
@@ -6027,7 +6006,7 @@ class M extends Zt {
|
|
6027
6006
|
>
|
6028
6007
|
${this._initialized ? A` ${r ? A`
|
6029
6008
|
<div class="grid-item-drag-handle">
|
6030
|
-
<luzmo-icon .icon=${
|
6009
|
+
<luzmo-icon .icon=${Ii} size="s"></luzmo-icon>
|
6031
6010
|
</div>
|
6032
6011
|
` : A``}
|
6033
6012
|
<luzmo-embed-viz-item
|
@@ -6129,7 +6108,7 @@ D([
|
|
6129
6108
|
qe(".grid-stack")
|
6130
6109
|
], M.prototype, "_gridElement");
|
6131
6110
|
D([
|
6132
|
-
|
6111
|
+
Li(".luzmo-grid-item")
|
6133
6112
|
], M.prototype, "_gridItemElements");
|
6134
6113
|
customElements.get("luzmo-grid") || customElements.define("luzmo-grid", M);
|
6135
6114
|
customElements.get("luzmo-grid-item-actions-menu") || customElements.define(
|
@@ -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
|
-
import { E as r } from "./property-
|
20
|
+
import { E as r } from "./property-DCzt3DR1.js";
|
21
21
|
/**
|
22
22
|
* @license
|
23
23
|
* Copyright 2018 Google LLC
|
@@ -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
|
-
"use strict";const r=require("./property-
|
20
|
+
"use strict";const r=require("./property-Cu4Q1hS4.cjs");/**
|
21
21
|
* @license
|
22
22
|
* Copyright 2018 Google LLC
|
23
23
|
* SPDX-License-Identifier: BSD-3-Clause
|
@@ -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
|
-
"use strict";const io=require("./mutation-controller-DH7YOCyj-B6sXpbgh.cjs"),r=require("./base-D76d76ww-tT6yr8eb.cjs"),_=require("./if-defined-DOaE2coe-Cvlu5s9n.cjs"),K=require("./focusable-BxtpnzWp-CkK9AeMt.cjs"),q=require("./observe-slot-text-BPfIQQtz-D4LmMIo0.cjs"),ro=require("./observe-slot-presence-CmVi0zTc-NPSGFmv-.cjs"),no=require("./element-resolution-FCUT-wql-DSTvdyds.cjs"),y=require("./luzmo-icons-
|
20
|
+
"use strict";const io=require("./mutation-controller-DH7YOCyj-B6sXpbgh.cjs"),r=require("./base-D76d76ww-tT6yr8eb.cjs"),_=require("./if-defined-DOaE2coe-Cvlu5s9n.cjs"),K=require("./focusable-BxtpnzWp-CkK9AeMt.cjs"),q=require("./observe-slot-text-BPfIQQtz-D4LmMIo0.cjs"),ro=require("./observe-slot-presence-CmVi0zTc-NPSGFmv-.cjs"),no=require("./element-resolution-FCUT-wql-DSTvdyds.cjs"),y=require("./luzmo-icons-DbwDQtuO-DSQ-uVxy.cjs"),b=require("./directive-helpers-Cm6gitnu-BeggOiwf.cjs"),so=require("./async-directive-BfcqVjDp-C8C45jl6.cjs");require("./index-BKwbYw6x.cjs");const ao=require("./divider.module-DoQWQEIJ-Bg8RrFkc.cjs"),I=require("./pending-state-DTX7ggyF-CoV2RbDq.cjs"),co=require("./index-CYeQkVeJ.cjs");require("./index-DSQyBS9Z.cjs");require("./index-CUvucmA0.cjs");require("./index-BoXbQm2o.cjs");/*! * Lucero - The design system for Luzmo.
|
21
21
|
*
|
22
22
|
* Copyright © 2025 Luzmo
|
23
23
|
* All rights reserved.
|
@@ -43,11 +43,11 @@
|
|
43
43
|
</span>
|
44
44
|
`,bo=s=>r.Rt`
|
45
45
|
<span class="icon-container icon checkbox ${s.join(" ")}">
|
46
|
-
${y.D(y.
|
46
|
+
${y.D(y.w)}
|
47
47
|
</span>
|
48
48
|
`,fo=s=>r.Rt`
|
49
49
|
<span class="icon-container icon checkbox ${s.join(" ")}">
|
50
|
-
${y.D(y.
|
50
|
+
${y.D(y.d)}
|
51
51
|
</span>
|
52
52
|
`;class x extends q.b(q.y(ro.b(K.r,'[slot="icon"]'))){constructor(){super(),this.active=!1,this.focused=!1,this.selected=!1,this.emphasized=!1,this.variant="checkmarks",this._value="",this.noWrap=!1,this.renderCheckIcon=(o,e)=>{const t=e?["check-icon--with-adjacent-icon"]:[];return this.variant==="checkboxes"?o?fo(t):bo(t):o&&this.variant!=="highlight"?go(t):r.Rt``},this.proxyFocus=()=>{this.focus()},this.willDispatchUpdate=!1,this.addEventListener("click",this.handleClickCapture,{capture:!0}),new io.a(this,{config:{characterData:!0,childList:!0,subtree:!0},callback:()=>{this.breakItemChildrenCache()}})}static get styles(){return[r.at(po)]}get value(){return this._value||this.itemText}set value(o){o!==this._value&&(this._value=o||"",this._value?this.setAttribute("value",this._value):this.removeAttribute("value"))}get itemText(){return this.itemChildren.content.reduce((o,e)=>o+(e.textContent||"").trim(),"")}get focusElement(){return this}get hasIcon(){return this.slotContentIsPresent}get itemChildren(){if(!this.iconSlot||!this.contentSlot)return{icon:[],content:[]};if(this._itemChildren)return this._itemChildren;const o=this.iconSlot.assignedElements().map(t=>{const l=t.cloneNode(!0);return l.removeAttribute("slot"),l.classList.toggle("icon"),l}),e=this.contentSlot.assignedNodes().map(t=>t.cloneNode(!0));return this._itemChildren={icon:o,content:e},this._itemChildren}click(){this.disabled||this.shouldProxyClick()||super.click()}handleClickCapture(o){if(this.disabled)return o.preventDefault(),o.stopImmediatePropagation(),o.stopPropagation(),!1}shouldProxyClick(){let o=!1;return this.anchorElement&&(this.anchorElement.click(),o=!0),o}breakItemChildrenCache(){this._itemChildren=void 0,this.triggerUpdate()}render(){return r.Rt`
|
53
53
|
${this.renderCheckIcon(this.selected,this.hasIcon)}
|
@@ -64,7 +64,7 @@
|
|
64
64
|
* @license
|
65
65
|
* Copyright 2017 Google LLC
|
66
66
|
* SPDX-License-Identifier: BSD-3-Clause
|
67
|
-
*/const j=(s,o,e)=>{const t=new Map;for(let l=o;l<=e;l++)t.set(s[l],l);return t},
|
67
|
+
*/const j=(s,o,e)=>{const t=new Map;for(let l=o;l<=e;l++)t.set(s[l],l);return t},Q=b._(class extends b.${constructor(s){if(super(s),s.type!==b.s.CHILD)throw Error("repeat() can only be used in text expressions")}dt(s,o,e){let t;e===void 0?e=o:o!==void 0&&(t=o);const l=[],i=[];let a=0;for(const n of s)l[a]=t?t(n,a):a,i[a]=e(n,a),a++;return{values:i,keys:l}}render(s,o,e){return this.dt(s,o,e).values}update(s,[o,e,t]){const l=b.a(s),{values:i,keys:a}=this.dt(o,e,t);if(!Array.isArray(l))return this.ut=a,i;const n=this.ut??(this.ut=[]),c=[];let u,z,h=0,m=l.length-1,d=0,g=i.length-1;for(;h<=m&&d<=g;)if(l[h]===null)h++;else if(l[m]===null)m--;else if(n[h]===a[d])c[d]=b.p(l[h],i[d]),h++,d++;else if(n[m]===a[g])c[g]=b.p(l[m],i[g]),m--,g--;else if(n[h]===a[g])c[g]=b.p(l[h],i[g]),b.g(s,c[g+1],l[h]),h++,g--;else if(n[m]===a[d])c[d]=b.p(l[m],i[d]),b.g(s,l[h],l[m]),m--,d++;else if(u===void 0&&(u=j(a,d,g),z=j(n,h,m)),u.has(n[h]))if(u.has(n[m])){const f=z.get(a[d]),k=f!==void 0?l[f]:null;if(k===null){const E=b.g(s,l[h]);b.p(E,i[d]),c[d]=E}else c[d]=b.p(k,i[d]),b.g(s,l[h],k),l[f]=null;d++}else b.b(l[m]),m--;else b.b(l[h]),h++;for(;d<=g;){const f=b.g(s,c[g+1]);b.p(f,i[d]),c[d++]=f}for(;h<=m;){const f=l[h++];f!==null&&b.b(f)}return this.ut=a,b.x(s,c),r.v}});/**
|
68
68
|
* @license
|
69
69
|
* Copyright 2021 Google LLC
|
70
70
|
* SPDX-License-Identifier: BSD-3-Clause
|
@@ -80,11 +80,11 @@
|
|
80
80
|
* @license
|
81
81
|
* Copyright 2021 Google LLC
|
82
82
|
* SPDX-License-Identifier: BSD-3-Clause
|
83
|
-
*/const
|
83
|
+
*/const G=s=>s,Y=(s,o)=>r.Rt`${o}: ${JSON.stringify(s,null,2)}`;class Co extends so.C{constructor(o){if(super(o),this._virtualizer=null,this._first=0,this._last=-1,this._renderItem=(e,t)=>Y(e,t+this._first),this._keyFunction=(e,t)=>G(e,t+this._first),this._items=[],o.type!==b.s.CHILD)throw new Error("The virtualize directive can only be used in child expressions")}render(o){o&&this._setFunctions(o);const e=[];if(this._first>=0&&this._last>=this._first)for(let t=this._first;t<=this._last;t++)e.push(this._items[t]);return Q(e,this._keyFunction,this._renderItem)}update(o,[e]){this._setFunctions(e);const t=this._items!==e.items;return this._items=e.items||[],this._virtualizer?this._updateVirtualizerConfig(o,e):this._initialize(o,e),t?r.v:this.render()}async _updateVirtualizerConfig(o,e){if(!await this._virtualizer.updateLayoutConfig(e.layout||{})){const t=o.parentNode;this._makeVirtualizer(t,e)}this._virtualizer.items=this._items}_setFunctions(o){const{renderItem:e,keyFunction:t}=o;e&&(this._renderItem=(l,i)=>e(l,i+this._first)),t&&(this._keyFunction=(l,i)=>t(l,i+this._first))}_makeVirtualizer(o,e){this._virtualizer&&this._virtualizer.disconnected();const{layout:t,scroller:l,items:i}=e;this._virtualizer=new _o({hostElement:o,layout:t,scroller:l}),this._virtualizer.items=i,this._virtualizer.connected()}_initialize(o,e){const t=o.parentNode;t&&t.nodeType===1&&(t.addEventListener("rangeChanged",l=>{this._first=l.first,this._last=l.last,this.setValue(this.render())}),this._makeVirtualizer(t,e))}disconnected(){var o;(o=this._virtualizer)==null||o.disconnected()}reconnected(){var o;(o=this._virtualizer)==null||o.connected()}}const So=b._(Co);/**
|
84
84
|
* @license
|
85
85
|
* Copyright 2021 Google LLC
|
86
86
|
* SPDX-License-Identifier: BSD-3-Clause
|
87
|
-
*/class $ extends r.P{constructor(){super(...arguments),this.items=[],this.renderItem=Y,this.keyFunction=
|
87
|
+
*/class $ extends r.P{constructor(){super(...arguments),this.items=[],this.renderItem=Y,this.keyFunction=G,this.layout={},this.scroller=!1}createRenderRoot(){return this}render(){const{items:o,renderItem:e,keyFunction:t,layout:l,scroller:i}=this;return r.Rt`${So({items:o,renderItem:e,keyFunction:t,layout:l,scroller:i})}`}element(o){var e;return(e=this[F])==null?void 0:e.element(o)}get layoutComplete(){var o;return(o=this[F])==null?void 0:o.layoutComplete}scrollToIndex(o,e="start"){var t;(t=this.element(o))==null||t.scrollIntoView({block:e})}}A([r.zt({attribute:!1})],$.prototype,"items",void 0);A([r.zt()],$.prototype,"renderItem",void 0);A([r.zt()],$.prototype,"keyFunction",void 0);A([r.zt({attribute:!1})],$.prototype,"layout",void 0);A([r.zt({reflect:!0,type:Boolean})],$.prototype,"scroller",void 0);/**
|
88
88
|
* @license
|
89
89
|
* Copyright 2021 Google LLC
|
90
90
|
* SPDX-License-Identifier: BSD-3-Clause
|
@@ -114,7 +114,7 @@
|
|
114
114
|
.renderItem=${l}
|
115
115
|
@rangeChanged=${this.rangeChange}
|
116
116
|
@visibilityChanged=${this.visibilityChanged}
|
117
|
-
></lit-virtualizer>`:
|
117
|
+
></lit-virtualizer>`:Q(this.options,l),a=this.pending?r.Rt`<div id="pending">
|
118
118
|
<luzmo-progress-circle indeterminate></luzmo-progress-circle>
|
119
119
|
</div>`:r.d;return r.Rt`${i} ${a}`}connectedCallback(){super.connectedCallback(),this.setAttribute("role","listbox"),this.updateComplete.then(()=>this.updateItemFocus())}disconnectedCallback(){super.disconnectedCallback()}prepareToCleanUp(){document.addEventListener("focusout",()=>{requestAnimationFrame(()=>{this.updateSelectedItemIndex()})},{once:!0})}updateItemFocus(){if(this.visibleOptionElements.length===0)return;const o=this.focusedOptionIndex,e=[...this.visibleOptionElements].find(t=>{var l,i,a,n,c,u;return(t.value===null?null:(l=t.value)==null?void 0:l.toString())===(((a=(i=this.options)==null?void 0:i[o])==null?void 0:a.value)===null?null:(u=(c=(n=this.options)==null?void 0:n[o])==null?void 0:c.value)==null?void 0:u.toString())});this.setFocusedAndActiveDescendant(e)}setFocusedAndActiveDescendant(o){var e,t;if(!o)return;const l=this.hasVisibleFocusInTree()||!!((e=this.visibleOptionElements)!=null&&e.some&&(t=this.visibleOptionElements)!=null&&t.some(i=>i.hasVisibleFocusInTree()));o.focused=l,l&&this.setAttribute("aria-activedescendant",o.id)}}S([r.zt({type:String,reflect:!0})],w.prototype,"label");S([r.zt({type:String,reflect:!0})],w.prototype,"variant");S([r.zt({type:String,reflect:!0})],w.prototype,"selects");S([r.zt({type:Boolean,reflect:!0})],w.prototype,"emphasized");S([r.zt({type:Boolean,reflect:!0})],w.prototype,"pending");S([r.zt({type:Array})],w.prototype,"options");S([r.zt({type:Boolean,reflect:!0,attribute:"no-wrap"})],w.prototype,"noWrap");S([r.zt({type:Array})],w.prototype,"value");S([_.d("lit-virtualizer")],w.prototype,"virtualizer");S([ho("luzmo-option")],w.prototype,"visibleOptionElements");customElements.get("luzmo-options")||customElements.define("luzmo-options",w);customElements.get("luzmo-options-divider")||customElements.define("luzmo-options-divider",Oo);customElements.get("luzmo-option")||customElements.define("luzmo-option",x);/*! * Lucero - The design system for Luzmo.
|
120
120
|
*
|
@@ -142,7 +142,7 @@
|
|
142
142
|
</div>
|
143
143
|
`,Fo=()=>r.Rt`
|
144
144
|
<div class="icon-container search-icon icon" id="search-icon">
|
145
|
-
${y.D(y.
|
145
|
+
${y.D(y.k)}
|
146
146
|
</div>
|
147
147
|
`,W="select-option-menu",Po=20;class p extends r.m(K.r,{noDefaultSize:!0}){constructor(){super(),this.disabled=!1,this.focused=!1,this.variant="checkmarks",this.emphasized=!1,this.invalid=!1,this.search="auto",this.noWrap=!1,this.retrieving=!1,this.pending=!1,this.clearable=!1,this.pendingLabel="Pending",this.searchLabel="Search",this.noResultsLabel="No results",this.noDataLabel="No data",this.multipleLabelTemplate="Selected {count} items",this.open=!1,this.readonly=!1,this.placement="bottom-end",this.quiet=!1,this.value=[],this.options=[],this.selects="multiple",this.dependencyManager=new co.a(this),this.isMobile=new I.g(this,I.u),this.listRole="listbox",this.itemRole="option",this.hasRenderedOverlay=!1,this._selfManageFocusElement=!1,this.selectionPromise=Promise.resolve(),this.enterKeydownOn=null,this._selectedOptions=[],this.handleSlottableRequest=o=>{},this.renderAngleIcon=()=>Bo(),this.renderAlertIcon=()=>Do(),this.handleEnterKeydown=o=>{if(o.code==="Enter"){if(this.enterKeydownOn){o.preventDefault();return}this.enterKeydownOn=o.target,this.addEventListener("keyup",e=>{e.code==="Enter"&&(this.enterKeydownOn=null)},{once:!0})}},this.clearValue=o=>{o.preventDefault(),o.stopPropagation(),this.value=[],this.strategy&&(this.strategy.preventNextToggle="no"),this.open=!1,this.strategy&&(this.strategy.open=!1),this.dispatchEvent(new CustomEvent("change",{bubbles:!0,cancelable:!0,composed:!0,detail:{value:this.value??[]}}))},this.handleKeydown=o=>{var e,t;const{code:l}=o;if(["Delete","Backspace"].includes(l)){this.clearValue(o);return}if(this.focused=!0,!(!l.startsWith("Arrow")||this.readonly||this.pending)){if(l==="ArrowUp"||l==="ArrowDown"){this.toggle(!0),o.preventDefault();return}if(o.preventDefault(),this.selects==="single"){const i=l==="ArrowRight"?1:-1,a=this.options.findIndex(u=>{var z,h,m;return((z=u==null?void 0:u.value)==null?void 0:z.toString())===((m=(h=this.value)==null?void 0:h[0])==null?void 0:m.toString())});let n=(this.options.length+a+i)%this.options.length,c=this.options.length;for(;(t=(e=this.options)==null?void 0:e[n])!=null&&t.disabled&&c;)c-=1,n=(this.options.length+n+i)%this.options.length;this.value=[this.options[n].value],this.dispatchEvent(new CustomEvent("change",{bubbles:!0,cancelable:!0,composed:!0,detail:{value:this.value??[]}}))}}},this.pendingStateController=new I.o(this)}static get styles(){return[r.at(Ro)]}get selfManageFocusElement(){return this._selfManageFocusElement}get focusElement(){var o;return this.open?this.search==="on"||this.search==="auto"&&((o=this.options)==null?void 0:o.length)>Po?this.searchInput:this.optionsMenu:this.button}forceFocusVisible(){this.disabled||(this.focused=!0)}click(){this.disabled||this.toggle()}handleButtonBlur(){this.focused=!1}focus(o){super.focus(o),!this.disabled&&this.focusElement&&(this.focused=this.hasVisibleFocusInTree())}handleHelperFocus(){this.focused=!0,this.button.focus()}handleChange(o){var e;this.value=((e=o==null?void 0:o.detail)==null?void 0:e.value)??[],this.strategy&&(this.strategy.preventNextToggle="no"),o.stopPropagation(),(!o.cancelable||this.selects==="single")&&(this.open=!1,this.strategy&&(this.strategy.open=!1)),o.preventDefault(),this.dispatchEvent(new CustomEvent("change",{bubbles:!0,cancelable:!0,composed:!0,detail:{value:this.value??[]}}))}handleButtonFocus(o){var e;(e=this.strategy)==null||e.handleButtonFocus(o)}toggle(o){this.readonly||this.pending||(this.open=o===void 0?!this.open:o,this.strategy&&(this.strategy.open=this.open),this._selfManageFocusElement=this.open)}close(){this.readonly||this.strategy&&(this.open=!1,this.strategy.open=!1)}bindEvents(){var o;(o=this.strategy)==null||o.abort(),this.strategy=this.isMobile.matches?new I.v.mobile(this.button,this):new I.v.desktop(this.button,this)}connectedCallback(){super.connectedCallback()}disconnectedCallback(){var o;this.close(),(o=this.strategy)==null||o.releaseDescription(),super.disconnectedCallback()}handleTooltipSlotchange(o){this.tooltipEl=o.target.assignedElements()[0]}get labelTemplate(){var o,e,t,l,i,a,n,c,u,z,h,m,d,g,f;const k=((o=this._selectedOptions)==null?void 0:o.length)===1&&((e=this._selectedOptions[0])==null?void 0:e.icon),E=r.Rt`<div
|
148
148
|
id="icon"
|
@@ -18,14 +18,14 @@
|
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
20
|
import "./index-CsDgk_sj.js";
|
21
|
-
import "./index-
|
22
|
-
import "./index-
|
23
|
-
import { r as v, x as _, n as d } from "./property-
|
24
|
-
import { m as e, g as q, t as E, s as D } from "./set-locale-
|
25
|
-
import { l as $ } from "./localized-decorator-
|
21
|
+
import "./index-BssHAgUU.js";
|
22
|
+
import "./index-BEtf1WaQ.js";
|
23
|
+
import { r as v, x as _, n as d } from "./property-DCzt3DR1.js";
|
24
|
+
import { m as e, g as q, t as E, s as D } from "./set-locale-GI34z_M7.js";
|
25
|
+
import { l as $ } from "./localized-decorator-Bl5gcI6n.js";
|
26
26
|
import { m as z, b as T, I as L } from "./base-D76d76ww-BGkuhs54.js";
|
27
27
|
import "./focusable-BxtpnzWp-DJQkL8Zv.js";
|
28
|
-
import { r as S } from "./state-
|
28
|
+
import { r as S } from "./state-nDsQPund.js";
|
29
29
|
const m = () => [
|
30
30
|
{
|
31
31
|
id: "? = ?",
|
@@ -24,8 +24,8 @@ import { g as y, u as x, o as w, v as b, a as I } from "./pending-state-DTX7ggyF
|
|
24
24
|
import { p as $ } from "./index-DUF6bALI.js";
|
25
25
|
import { r as S } from "./focusable-BxtpnzWp-DJQkL8Zv.js";
|
26
26
|
import { a as M } from "./index-BmshD32H.js";
|
27
|
-
import { D as m, s as q, u as C } from "./luzmo-icons-
|
28
|
-
import "./index-
|
27
|
+
import { D as m, s as q, u as C } from "./luzmo-icons-DbwDQtuO-QG0fLECn.js";
|
28
|
+
import "./index-BssHAgUU.js";
|
29
29
|
import "./index-C3N6qTxJ.js";
|
30
30
|
/*! * Lucero - The design system for Luzmo.
|
31
31
|
*
|
@@ -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
|
-
import { D as d } from "./luzmo-icons-
|
20
|
+
import { D as d } from "./luzmo-icons-DbwDQtuO-QG0fLECn.js";
|
21
21
|
import { R as m, I as g, a as b, z as t } from "./base-D76d76ww-BGkuhs54.js";
|
22
22
|
import { m as f } from "./if-defined-DOaE2coe-CNT45Xcl.js";
|
23
23
|
/*! * Lucero - The design system for Luzmo.
|
@@ -24,14 +24,14 @@ import { r as to } from "./focusable-BxtpnzWp-DJQkL8Zv.js";
|
|
24
24
|
import { b as yo, y as _o } from "./observe-slot-text-BPfIQQtz-DLOwgi-A.js";
|
25
25
|
import { b as ko } from "./observe-slot-presence-CmVi0zTc-hhUl4oRa.js";
|
26
26
|
import { n as xo } from "./element-resolution-FCUT-wql--7ctE626.js";
|
27
|
-
import { D as O,
|
27
|
+
import { D as O, d as wo, w as Co, Z as So, A as Eo, s as $o, u as Oo, k as Ao } from "./luzmo-icons-DbwDQtuO-QG0fLECn.js";
|
28
28
|
import { _ as lo, $ as Io, s as io, a as Lo, p as A, g as L, b as j, x as To, n as H } from "./directive-helpers-Cm6gitnu-CeYtlPO9.js";
|
29
29
|
import { C as Vo } from "./async-directive-BfcqVjDp-BCT-lA4F.js";
|
30
30
|
import "./index-C3N6qTxJ.js";
|
31
31
|
import { r as Bo } from "./divider.module-DoQWQEIJ-B19eHVg2.js";
|
32
32
|
import { g as Fo, u as Po, o as Ro, v as K, a as Mo } from "./pending-state-DTX7ggyF-BQdsLMT1.js";
|
33
33
|
import { a as Do } from "./index-BmshD32H.js";
|
34
|
-
import "./index-
|
34
|
+
import "./index-BC1LV3vH.js";
|
35
35
|
import "./index-DUF6bALI.js";
|
36
36
|
import "./index-CTVNGPeT.js";
|
37
37
|
/*! * Lucero - The design system for Luzmo.
|