@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
@@ -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";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("../property-BV1QaY8E.cjs"),v=require("../get-css-variable-DLiZYZEi.cjs"),C=require("../luzmo-icons-Bvm-_ECi.cjs"),_=require("../localize-r7ALOUy_.cjs"),P=require("../query-all-CR2wWKRD.cjs"),j=require("../focusable-B8t8a-WJ.cjs"),k=require("../sized-mixin-C48t6K7U.cjs");var D={large:700};function F(i){i.animate([{backgroundColor:"var(--ds-background-selected, #E9F2FF)"},{}],{duration:D.large,easing:"cubic-bezier(0.25, 0.1, 0.25, 1.0)",iterations:1})}function w(i,t){var e=Object.keys(i);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(i);t&&(o=o.filter(function(s){return Object.getOwnPropertyDescriptor(i,s).enumerable})),e.push.apply(e,o)}return e}function S(i){for(var t=1;t<arguments.length;t++){var e=arguments[t]!=null?arguments[t]:{};t%2?w(Object(e),!0).forEach(function(o){v._defineProperty(i,o,e[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(e)):w(Object(e)).forEach(function(o){Object.defineProperty(i,o,Object.getOwnPropertyDescriptor(e,o))})}return i}var L={top:function(t,e){return Math.abs(e.y-t.top)},right:function(t,e){return Math.abs(t.right-e.x)},bottom:function(t,e){return Math.abs(t.bottom-e.y)},left:function(t,e){return Math.abs(e.x-t.left)}},I=Symbol("closestEdge");function $(i,t){var e,o,s=t.element,u=t.input,n=t.allowedEdges,l={x:u.clientX,y:u.clientY},r=s.getBoundingClientRect(),a=n.map(function(c){return{edge:c,value:L[c](r,l)}}),d=(e=(o=a.sort(function(c,b){return c.value-b.value})[0])===null||o===void 0?void 0:o.edge)!==null&&e!==void 0?e:null;return S(S({},i),{},v._defineProperty({},I,d))}function E(i){var t;return(t=i[I])!==null&&t!==void 0?t:null}const M=':host{font-family:var(--luzmo-slot-menu-list-font-family, var(--luzmo-font-family));font-size:var(--luzmo-slot-menu-list-font-size, var(--slot-menu-list-font-size));color:var(--luzmo-slot-menu-listfont-color, var(--luzmo-font-color))}:host{margin:0;padding:0;list-style:none;border-right:var(--luzmo-slot-menu-list-border-right-width, var(--luzmo-border-width)) solid var(--luzmo-slot-menu-list-border-right-color, var(--luzmo-border-color))}:host li{position:relative;cursor:pointer}:host li:hover{background-color:var(--luzmo-slot-menu-list-background-color-hover, var(--slot-menu-list-background-color-hover))}:host .active{background-color:var(--luzmo-slot-menu-list-active-background-color, var(--slot-menu-list-active-background-color));color:var(--luzmo-slot-menu-list-active-color, var(--slot-menu-list-active-color))}:host .active:hover{background-color:var(--luzmo-slot-menu-list-active-background-color-hover, var(--slot-menu-list-active-background-color-hover))}.drop-indicator{position:absolute;left:0;right:0;height:var(--luzmo-slot-menu-list-drop-indicator-height, var(--slot-menu-list-drop-indicator-height));background-color:var(--luzmo-slot-menu-list-drop-indicator-color, var(--slot-menu-list-drop-indicator-color))}.drop-indicator:before{content:"";display:block;width:100%;border:var(--luzmo-slot-menu-list-drop-indicator-height, var(--slot-menu-list-drop-indicator-height)) solid var(--luzmo-slot-menu-list-drop-indicator-color, var(--slot-menu-list-drop-indicator-color));border-radius:50%;position:absolute;background:var(--luzmo-slot-menu-list-drop-indicator-background, var(--luzmo-background-color));left:calc(-.5 * (var(--luzmo-slot-menu-list-drop-indicator-circle-size, var(--slot-menu-list-drop-indicator-circle-size)) + var(--luzmo-slot-menu-list-drop-indicator-height, var(--slot-menu-list-drop-indicator-height))));top:calc(-.5 * (var(--luzmo-slot-menu-list-drop-indicator-circle-size, var(--slot-menu-list-drop-indicator-circle-size)) + var(--luzmo-slot-menu-list-drop-indicator-height, var(--slot-menu-list-drop-indicator-height))));height:var(--luzmo-slot-menu-list-drop-indicator-circle-size, var(--slot-menu-list-drop-indicator-circle-size));width:var(--luzmo-slot-menu-list-drop-indicator-circle-size, var(--slot-menu-list-drop-indicator-circle-size))}.drop-indicator[data-edge=top]{top:calc(-.5 * var(--luzmo-slot-menu-list-drop-indicator-height, var(--slot-menu-list-drop-indicator-height)))}.drop-indicator[data-edge=bottom]{bottom:calc(-.5 * var(--luzmo-slot-menu-list-drop-indicator-height, var(--slot-menu-list-drop-indicator-height)))}.draggable-slot-content{display:flex;justify-content:space-between;gap:var(--luzmo-slot-menu-label-to-icon-gap, var(--slot-menu-label-to-icon-gap));align-items:center}.draggable-slot-content .draggable-slot-content-label,.draggable-slot-content .draggable-slot-content-remove{padding-block-start:var(--luzmo-slot-menu-list-item-vertical-padding, var(--slot-menu-list-item-vertical-padding));padding-block-end:var(--luzmo-slot-menu-list-item-vertical-padding, var(--slot-menu-list-item-vertical-padding))}.draggable-slot-content .draggable-slot-content-label{padding-inline-start:var(--luzmo-slot-menu-list-item-horizontal-padding, var(--slot-menu-list-item-horizontal-padding));flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.draggable-slot-content .draggable-slot-content-remove{padding-inline-end:var(--luzmo-slot-menu-list-item-horizontal-padding, var(--slot-menu-list-item-horizontal-padding));flex:0 0 auto}:host{--slot-menu-list-active-background-color: var(--luzmo-primary);--slot-menu-list-active-background-color-hover: var(--luzmo-primary-hover);--slot-menu-list-active-color: var(--luzmo-primary-inverse-color);--slot-menu-list-background-color-hover: var(--luzmo-background-color-hover);--slot-menu-list-drop-indicator-color: var(--luzmo-font-color-down);--slot-menu-list-drop-indicator-height: 2px;--slot-menu-list-drop-indicator-circle-size: 4px}:host{--slot-menu-display-settings-min-width: 19rem;--slot-menu-min-height: calc(var(--luzmo-component-height) * 2);--slot-menu-font-size: var(--luzmo-font-size);--slot-menu-list-item-horizontal-padding: var(--luzmo-spacing-4);--slot-menu-list-item-vertical-padding: var(--luzmo-spacing-3);--slot-menu-label-to-icon-gap: var(--luzmo-spacing-3)}:host([size=s]){--slot-menu-display-settings-min-width: 16rem;--slot-menu-min-height: calc(var(--luzmo-component-height-s) * 2);--slot-menu-font-size: var(--luzmo-font-size-s);--slot-menu-list-item-horizontal-padding: var(--luzmo-spacing-3);--slot-menu-list-item-vertical-padding: var(--luzmo-spacing-3);--slot-menu-label-to-icon-gap: var(--luzmo-spacing-2)}:host([size=l]){--slot-menu-display-settings-min-width: 23rem;--slot-menu-min-height: calc(var(--luzmo-component-height-l) * 2);--slot-menu-font-size: var(--luzmo-font-size-l);--slot-menu-list-item-horizontal-padding: var(--luzmo-spacing-5);--slot-menu-list-item-vertical-padding: var(--luzmo-spacing-3);--slot-menu-label-to-icon-gap: var(--luzmo-spacing-4)}:host([size=xl]){--slot-menu-display-settings-min-width: 26rem;--slot-menu-min-height: calc(var(--luzmo-component-height-xl) * 2);--slot-menu-font-size: var(--luzmo-font-size-xl);--slot-menu-list-item-horizontal-padding: var(--luzmo-spacing-5);--slot-menu-list-item-vertical-padding: var(--luzmo-spacing-4);--slot-menu-label-to-icon-gap: var(--luzmo-spacing-5)}';var q=Object.defineProperty,f=(i,t,e,o)=>{for(var s=void 0,u=i.length-1,n;u>=0;u--)(n=i[u])&&(s=n(t,e,s)||s);return s&&q(t,e,s),s};class h extends k.SizedMixin(j.LuzmoElement,{validSizes:Object.values(k.ElementSizes)}){constructor(){super(...arguments),this.language="en",this.contentLanguage="en",this.slotContents=[],this.activeIndex=0,this._sendChangeEvent=()=>{this.dispatchEvent(new CustomEvent("slot-list-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContents:structuredClone(this.slotContents),activeIndex:this.activeIndex}}))},this._cleanupFns=[],this._attachAll=()=>{[...this._draggableSlotContentElements].forEach(t=>{const e=this._sendChangeEvent.bind(this),o=this,s=v.draggable({element:t,onGenerateDragPreview({nativeSetDragImage:n}){v.setCustomNativeDragPreview({nativeSetDragImage:n,render({container:l}){var d;const r=document.createElement("div");r.classList.add("drag-preview");const a={};[["borderColor","--luzmo-slot-menu-list-border-color","--luzmo-border-color"],["backgroundColor","--luzmo-slot-menu-list-background-color","--luzmo-background-color"],["color","--luzmo-slot-menu-list-font-color","--slot-menu-list-font-color"],["fontSize","--luzmo-slot-menu-list-font-size","--slot-menu-list-font-size"],["horizontalPadding","--luzmo-slot-menu-list-item-horizontal-padding","--slot-menu-list-item-horizontal-padding"],["verticalPadding","--luzmo-slot-menu-list-item-vertical-padding","--slot-menu-list-item-vertical-padding"],["borderRadius","--luzmo-slot-menu-list-border-radius","--luzmo-border-radius"],["fontFamily","--luzmo-slot-menu-list-font-family","--luzmo-font-family"]].forEach(([c,b,y])=>{const m=v.getCssVariableValue(t,b)||v.getCssVariableValue(t,y);a[c]=m}),r.textContent=((d=t.querySelector("[data-task-content]"))==null?void 0:d.textContent)??t.textContent,Object.assign(r.style,{border:`1px solid ${a.borderColor}`,backgroundColor:a.backgroundColor,borderRadius:a.borderRadius,fontFamily:a.fontFamily,fontSize:a.fontSize,color:a.color,paddingInline:`${a.horizontalPadding}`,paddingBlock:`${a.verticalPadding}`}),l.append(r)}})},getInitialData(){var r;const n=t.parentElement;let l=0;return n&&(l=[...((r=n.parentElement)==null?void 0:r.children)??[]].indexOf(n)),{index:l}},onDragStart(){t.style.opacity="0.5"},onDrop(){t.style.opacity="1"}});this._cleanupFns.push(s);const u=v.dropTargetForElements({element:t,canDrop({source:n}){var l;return n.element===t?!1:(l=n==null?void 0:n.element)==null?void 0:l.classList.contains("draggable-slot-content")},getData(n){return $({},{element:t,input:n.input,allowedEdges:["top","bottom"]})},getIsSticky(){return!0},onDragEnter({self:n}){const l=E(n.data);if(!l)return;const r=document.createElement("div");r.classList.add("drop-indicator"),r.dataset.edge=l,t.after(r)},onDrag({self:n}){var a,d,c;const l=E(n.data);if(!l){(a=t.nextElementSibling)==null||a.remove();return}if(((d=t.nextElementSibling)==null?void 0:d.getAttribute("data-edge"))===l)return;(c=t.nextElementSibling)==null||c.remove();const r=document.createElement("div");r.classList.add("drop-indicator"),r.dataset.edge=l,t.after(r)},onDragLeave(){var n;(n=t.nextElementSibling)==null||n.remove()},onDrop({self:n,source:l}){var d,c,b,y;(d=t.nextElementSibling)==null||d.remove();const r=E(n.data),a=n.element.parentElement;if(typeof l.data.index=="number"&&a){let m=[...((c=a.parentElement)==null?void 0:c.children)??[]].indexOf(a);r==="bottom"&&l.data.index>=m&&m<(((y=(b=a==null?void 0:a.parentElement)==null?void 0:b.children)==null?void 0:y.length)??0)-1?m+=1:r==="top"&&m>l.data.index&&(m-=1);const g=o.activeIndex,z=l.data.index,x=m,O=o.slotContents[z];o.slotContents.splice(z,1),o.slotContents.splice(x,0,O),z===g?o.activeIndex=x:z<g&&x>=g?o.activeIndex=g-1:z>g&&x<=g&&(o.activeIndex=g+1)}r&&(F(l.element),o.requestUpdate(),e())}});this._cleanupFns.push(u)})},this._detachAll=()=>{this._cleanupFns.forEach(t=>t()),this._cleanupFns=[]}}static get styles(){return[p.r(M)]}willUpdate(){this._detachAll()}updated(){this._attachAll()}setActiveIndex(t){this.activeIndex=t,this._sendChangeEvent()}removeSlotContent(t){this.slotContents=this.slotContents.filter((e,o)=>o!==t),this.activeIndex===t?this.activeIndex=t:this.slotContents.length>0&&this.activeIndex>t&&this.activeIndex--,this._sendChangeEvent()}render(){const t=this.slotContents.map((e,o)=>{const s=_.localize(e.label,this.contentLanguage);return p.x`<li class=${o===this.activeIndex?"active":""}>
|
20
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("../property-Cu4Q1hS4.cjs"),v=require("../get-css-variable-DLiZYZEi.cjs"),C=require("../luzmo-icons-DonyjSXg.cjs"),_=require("../localize-r7ALOUy_.cjs"),P=require("../query-all-CR2wWKRD.cjs"),j=require("../focusable-DAGGGYyz.cjs"),k=require("../sized-mixin-j_7aJM4b.cjs");var D={large:700};function F(i){i.animate([{backgroundColor:"var(--ds-background-selected, #E9F2FF)"},{}],{duration:D.large,easing:"cubic-bezier(0.25, 0.1, 0.25, 1.0)",iterations:1})}function w(i,t){var e=Object.keys(i);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(i);t&&(o=o.filter(function(s){return Object.getOwnPropertyDescriptor(i,s).enumerable})),e.push.apply(e,o)}return e}function S(i){for(var t=1;t<arguments.length;t++){var e=arguments[t]!=null?arguments[t]:{};t%2?w(Object(e),!0).forEach(function(o){v._defineProperty(i,o,e[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(e)):w(Object(e)).forEach(function(o){Object.defineProperty(i,o,Object.getOwnPropertyDescriptor(e,o))})}return i}var L={top:function(t,e){return Math.abs(e.y-t.top)},right:function(t,e){return Math.abs(t.right-e.x)},bottom:function(t,e){return Math.abs(t.bottom-e.y)},left:function(t,e){return Math.abs(e.x-t.left)}},I=Symbol("closestEdge");function $(i,t){var e,o,s=t.element,u=t.input,n=t.allowedEdges,l={x:u.clientX,y:u.clientY},r=s.getBoundingClientRect(),a=n.map(function(c){return{edge:c,value:L[c](r,l)}}),d=(e=(o=a.sort(function(c,b){return c.value-b.value})[0])===null||o===void 0?void 0:o.edge)!==null&&e!==void 0?e:null;return S(S({},i),{},v._defineProperty({},I,d))}function E(i){var t;return(t=i[I])!==null&&t!==void 0?t:null}const M=':host{font-family:var(--luzmo-slot-menu-list-font-family, var(--luzmo-font-family));font-size:var(--luzmo-slot-menu-list-font-size, var(--slot-menu-list-font-size));color:var(--luzmo-slot-menu-listfont-color, var(--luzmo-font-color))}:host{margin:0;padding:0;list-style:none;border-right:var(--luzmo-slot-menu-list-border-right-width, var(--luzmo-border-width)) solid var(--luzmo-slot-menu-list-border-right-color, var(--luzmo-border-color))}:host li{position:relative;cursor:pointer}:host li:hover{background-color:var(--luzmo-slot-menu-list-background-color-hover, var(--slot-menu-list-background-color-hover))}:host .active{background-color:var(--luzmo-slot-menu-list-active-background-color, var(--slot-menu-list-active-background-color));color:var(--luzmo-slot-menu-list-active-color, var(--slot-menu-list-active-color))}:host .active:hover{background-color:var(--luzmo-slot-menu-list-active-background-color-hover, var(--slot-menu-list-active-background-color-hover))}.drop-indicator{position:absolute;left:0;right:0;height:var(--luzmo-slot-menu-list-drop-indicator-height, var(--slot-menu-list-drop-indicator-height));background-color:var(--luzmo-slot-menu-list-drop-indicator-color, var(--slot-menu-list-drop-indicator-color))}.drop-indicator:before{content:"";display:block;width:100%;border:var(--luzmo-slot-menu-list-drop-indicator-height, var(--slot-menu-list-drop-indicator-height)) solid var(--luzmo-slot-menu-list-drop-indicator-color, var(--slot-menu-list-drop-indicator-color));border-radius:50%;position:absolute;background:var(--luzmo-slot-menu-list-drop-indicator-background, var(--luzmo-background-color));left:calc(-.5 * (var(--luzmo-slot-menu-list-drop-indicator-circle-size, var(--slot-menu-list-drop-indicator-circle-size)) + var(--luzmo-slot-menu-list-drop-indicator-height, var(--slot-menu-list-drop-indicator-height))));top:calc(-.5 * (var(--luzmo-slot-menu-list-drop-indicator-circle-size, var(--slot-menu-list-drop-indicator-circle-size)) + var(--luzmo-slot-menu-list-drop-indicator-height, var(--slot-menu-list-drop-indicator-height))));height:var(--luzmo-slot-menu-list-drop-indicator-circle-size, var(--slot-menu-list-drop-indicator-circle-size));width:var(--luzmo-slot-menu-list-drop-indicator-circle-size, var(--slot-menu-list-drop-indicator-circle-size))}.drop-indicator[data-edge=top]{top:calc(-.5 * var(--luzmo-slot-menu-list-drop-indicator-height, var(--slot-menu-list-drop-indicator-height)))}.drop-indicator[data-edge=bottom]{bottom:calc(-.5 * var(--luzmo-slot-menu-list-drop-indicator-height, var(--slot-menu-list-drop-indicator-height)))}.draggable-slot-content{display:flex;justify-content:space-between;gap:var(--luzmo-slot-menu-label-to-icon-gap, var(--slot-menu-label-to-icon-gap));align-items:center}.draggable-slot-content .draggable-slot-content-label,.draggable-slot-content .draggable-slot-content-remove{padding-block-start:var(--luzmo-slot-menu-list-item-vertical-padding, var(--slot-menu-list-item-vertical-padding));padding-block-end:var(--luzmo-slot-menu-list-item-vertical-padding, var(--slot-menu-list-item-vertical-padding))}.draggable-slot-content .draggable-slot-content-label{padding-inline-start:var(--luzmo-slot-menu-list-item-horizontal-padding, var(--slot-menu-list-item-horizontal-padding));flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.draggable-slot-content .draggable-slot-content-remove{padding-inline-end:var(--luzmo-slot-menu-list-item-horizontal-padding, var(--slot-menu-list-item-horizontal-padding));flex:0 0 auto}:host{--slot-menu-list-active-background-color: var(--luzmo-primary);--slot-menu-list-active-background-color-hover: var(--luzmo-primary-hover);--slot-menu-list-active-color: var(--luzmo-primary-inverse-color);--slot-menu-list-background-color-hover: var(--luzmo-background-color-hover);--slot-menu-list-drop-indicator-color: var(--luzmo-font-color-down);--slot-menu-list-drop-indicator-height: 2px;--slot-menu-list-drop-indicator-circle-size: 4px}:host{--slot-menu-display-settings-min-width: 19rem;--slot-menu-min-height: calc(var(--luzmo-component-height) * 2);--slot-menu-font-size: var(--luzmo-font-size);--slot-menu-list-item-horizontal-padding: var(--luzmo-spacing-4);--slot-menu-list-item-vertical-padding: var(--luzmo-spacing-3);--slot-menu-label-to-icon-gap: var(--luzmo-spacing-3)}:host([size=s]){--slot-menu-display-settings-min-width: 16rem;--slot-menu-min-height: calc(var(--luzmo-component-height-s) * 2);--slot-menu-font-size: var(--luzmo-font-size-s);--slot-menu-list-item-horizontal-padding: var(--luzmo-spacing-3);--slot-menu-list-item-vertical-padding: var(--luzmo-spacing-3);--slot-menu-label-to-icon-gap: var(--luzmo-spacing-2)}:host([size=l]){--slot-menu-display-settings-min-width: 23rem;--slot-menu-min-height: calc(var(--luzmo-component-height-l) * 2);--slot-menu-font-size: var(--luzmo-font-size-l);--slot-menu-list-item-horizontal-padding: var(--luzmo-spacing-5);--slot-menu-list-item-vertical-padding: var(--luzmo-spacing-3);--slot-menu-label-to-icon-gap: var(--luzmo-spacing-4)}:host([size=xl]){--slot-menu-display-settings-min-width: 26rem;--slot-menu-min-height: calc(var(--luzmo-component-height-xl) * 2);--slot-menu-font-size: var(--luzmo-font-size-xl);--slot-menu-list-item-horizontal-padding: var(--luzmo-spacing-5);--slot-menu-list-item-vertical-padding: var(--luzmo-spacing-4);--slot-menu-label-to-icon-gap: var(--luzmo-spacing-5)}';var q=Object.defineProperty,f=(i,t,e,o)=>{for(var s=void 0,u=i.length-1,n;u>=0;u--)(n=i[u])&&(s=n(t,e,s)||s);return s&&q(t,e,s),s};class h extends k.SizedMixin(j.LuzmoElement,{validSizes:Object.values(k.ElementSizes)}){constructor(){super(...arguments),this.language="en",this.contentLanguage="en",this.slotContents=[],this.activeIndex=0,this._sendChangeEvent=()=>{this.dispatchEvent(new CustomEvent("slot-list-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContents:structuredClone(this.slotContents),activeIndex:this.activeIndex}}))},this._cleanupFns=[],this._attachAll=()=>{[...this._draggableSlotContentElements].forEach(t=>{const e=this._sendChangeEvent.bind(this),o=this,s=v.draggable({element:t,onGenerateDragPreview({nativeSetDragImage:n}){v.setCustomNativeDragPreview({nativeSetDragImage:n,render({container:l}){var d;const r=document.createElement("div");r.classList.add("drag-preview");const a={};[["borderColor","--luzmo-slot-menu-list-border-color","--luzmo-border-color"],["backgroundColor","--luzmo-slot-menu-list-background-color","--luzmo-background-color"],["color","--luzmo-slot-menu-list-font-color","--slot-menu-list-font-color"],["fontSize","--luzmo-slot-menu-list-font-size","--slot-menu-list-font-size"],["horizontalPadding","--luzmo-slot-menu-list-item-horizontal-padding","--slot-menu-list-item-horizontal-padding"],["verticalPadding","--luzmo-slot-menu-list-item-vertical-padding","--slot-menu-list-item-vertical-padding"],["borderRadius","--luzmo-slot-menu-list-border-radius","--luzmo-border-radius"],["fontFamily","--luzmo-slot-menu-list-font-family","--luzmo-font-family"]].forEach(([c,b,y])=>{const m=v.getCssVariableValue(t,b)||v.getCssVariableValue(t,y);a[c]=m}),r.textContent=((d=t.querySelector("[data-task-content]"))==null?void 0:d.textContent)??t.textContent,Object.assign(r.style,{border:`1px solid ${a.borderColor}`,backgroundColor:a.backgroundColor,borderRadius:a.borderRadius,fontFamily:a.fontFamily,fontSize:a.fontSize,color:a.color,paddingInline:`${a.horizontalPadding}`,paddingBlock:`${a.verticalPadding}`}),l.append(r)}})},getInitialData(){var r;const n=t.parentElement;let l=0;return n&&(l=[...((r=n.parentElement)==null?void 0:r.children)??[]].indexOf(n)),{index:l}},onDragStart(){t.style.opacity="0.5"},onDrop(){t.style.opacity="1"}});this._cleanupFns.push(s);const u=v.dropTargetForElements({element:t,canDrop({source:n}){var l;return n.element===t?!1:(l=n==null?void 0:n.element)==null?void 0:l.classList.contains("draggable-slot-content")},getData(n){return $({},{element:t,input:n.input,allowedEdges:["top","bottom"]})},getIsSticky(){return!0},onDragEnter({self:n}){const l=E(n.data);if(!l)return;const r=document.createElement("div");r.classList.add("drop-indicator"),r.dataset.edge=l,t.after(r)},onDrag({self:n}){var a,d,c;const l=E(n.data);if(!l){(a=t.nextElementSibling)==null||a.remove();return}if(((d=t.nextElementSibling)==null?void 0:d.getAttribute("data-edge"))===l)return;(c=t.nextElementSibling)==null||c.remove();const r=document.createElement("div");r.classList.add("drop-indicator"),r.dataset.edge=l,t.after(r)},onDragLeave(){var n;(n=t.nextElementSibling)==null||n.remove()},onDrop({self:n,source:l}){var d,c,b,y;(d=t.nextElementSibling)==null||d.remove();const r=E(n.data),a=n.element.parentElement;if(typeof l.data.index=="number"&&a){let m=[...((c=a.parentElement)==null?void 0:c.children)??[]].indexOf(a);r==="bottom"&&l.data.index>=m&&m<(((y=(b=a==null?void 0:a.parentElement)==null?void 0:b.children)==null?void 0:y.length)??0)-1?m+=1:r==="top"&&m>l.data.index&&(m-=1);const g=o.activeIndex,z=l.data.index,x=m,O=o.slotContents[z];o.slotContents.splice(z,1),o.slotContents.splice(x,0,O),z===g?o.activeIndex=x:z<g&&x>=g?o.activeIndex=g-1:z>g&&x<=g&&(o.activeIndex=g+1)}r&&(F(l.element),o.requestUpdate(),e())}});this._cleanupFns.push(u)})},this._detachAll=()=>{this._cleanupFns.forEach(t=>t()),this._cleanupFns=[]}}static get styles(){return[p.r(M)]}willUpdate(){this._detachAll()}updated(){this._attachAll()}setActiveIndex(t){this.activeIndex=t,this._sendChangeEvent()}removeSlotContent(t){this.slotContents=this.slotContents.filter((e,o)=>o!==t),this.activeIndex===t?this.activeIndex=t:this.slotContents.length>0&&this.activeIndex>t&&this.activeIndex--,this._sendChangeEvent()}render(){const t=this.slotContents.map((e,o)=>{const s=_.localize(e.label,this.contentLanguage);return p.x`<li class=${o===this.activeIndex?"active":""}>
|
21
21
|
<div class="draggable-slot-content">
|
22
22
|
<div
|
23
23
|
class="draggable-slot-content-label"
|
@@ -17,17 +17,17 @@
|
|
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 { r as P, x as E, n as x } from "../property-
|
20
|
+
import { r as P, x as E, n as x } from "../property-DCzt3DR1.js";
|
21
21
|
import { _ as S, d as F, a as j, s as D, g as w } from "../get-css-variable-YlLiVgo8.js";
|
22
|
-
import { a8 as $, a7 as L } from "../luzmo-icons-
|
22
|
+
import { a8 as $, a7 as L } from "../luzmo-icons-CVeTZ59u.js";
|
23
23
|
import { l as M } from "../localize-BX7q0S0M.js";
|
24
24
|
import { r as A } from "../query-all-Ddzx2fEK.js";
|
25
|
-
import { L as R } from "../focusable-
|
26
|
-
import { S as T, E as q } from "../sized-mixin-
|
25
|
+
import { L as R } from "../focusable-BbymtxWI.js";
|
26
|
+
import { S as T, E as q } from "../sized-mixin-BGzkX2g1.js";
|
27
27
|
const _ = () => {
|
28
28
|
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
29
29
|
const r = document.createElement("style");
|
30
|
-
r.setAttribute("data-luzmo-vars", ""), r.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(r);
|
30
|
+
r.setAttribute("data-luzmo-vars", ""), r.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(r);
|
31
31
|
}
|
32
32
|
};
|
33
33
|
_();
|
@@ -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 2017 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
|
-
import { n as r } from "./property-
|
20
|
+
import { n as r } from "./property-DCzt3DR1.js";
|
21
21
|
/**
|
22
22
|
* @license
|
23
23
|
* Copyright 2017 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
|
-
import { f as d } from "./property-
|
20
|
+
import { f as d } from "./property-DCzt3DR1.js";
|
21
21
|
/**
|
22
22
|
* @license
|
23
23
|
* Copyright 2017 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 d=require("./property-
|
20
|
+
"use strict";const d=require("./property-Cu4Q1hS4.cjs");/**
|
21
21
|
* @license
|
22
22
|
* Copyright 2017 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 t=require("./base-D76d76ww-tT6yr8eb.cjs"),d=require("./directive-helpers-Cm6gitnu-BeggOiwf.cjs"),a=require("./if-defined-DOaE2coe-Cvlu5s9n.cjs"),c=require("./luzmo-icons-
|
20
|
+
"use strict";const t=require("./base-D76d76ww-tT6yr8eb.cjs"),d=require("./directive-helpers-Cm6gitnu-BeggOiwf.cjs"),a=require("./if-defined-DOaE2coe-Cvlu5s9n.cjs"),c=require("./luzmo-icons-DbwDQtuO-DSQ-uVxy.cjs"),m=require("./focusable-BxtpnzWp-CkK9AeMt.cjs"),p=require("./element-resolution-FCUT-wql-DSTvdyds.cjs");/*! * Lucero - The design system for Luzmo.
|
21
21
|
*
|
22
22
|
* Copyright © 2025 Luzmo
|
23
23
|
* All rights reserved.
|
@@ -20,7 +20,7 @@
|
|
20
20
|
import { R as s, m as g, a as b, d as u, v as h, z as r } from "./base-D76d76ww-BGkuhs54.js";
|
21
21
|
import { _ as z, n as m, $ as y, s as c, B as k, x as w } from "./directive-helpers-Cm6gitnu-CeYtlPO9.js";
|
22
22
|
import { m as n, d as $ } from "./if-defined-DOaE2coe-CNT45Xcl.js";
|
23
|
-
import { D as v, u as q, Z as T } from "./luzmo-icons-
|
23
|
+
import { D as v, u as q, Z as T } from "./luzmo-icons-DbwDQtuO-QG0fLECn.js";
|
24
24
|
import { r as E } from "./focusable-BxtpnzWp-DJQkL8Zv.js";
|
25
25
|
import { n as f, u as I } from "./element-resolution-FCUT-wql--7ctE626.js";
|
26
26
|
/*! * Lucero - The design system for Luzmo.
|
package/custom-elements.json
CHANGED
@@ -216,6 +216,12 @@
|
|
216
216
|
"fieldName": "size"
|
217
217
|
}
|
218
218
|
],
|
219
|
+
"mixins": [
|
220
|
+
{
|
221
|
+
"name": "SignalWatcher",
|
222
|
+
"package": "@lit-labs/signals"
|
223
|
+
}
|
224
|
+
],
|
219
225
|
"superclass": {
|
220
226
|
"name": "LuzmoElement",
|
221
227
|
"module": "/src/utils/base"
|
@@ -565,7 +571,7 @@
|
|
565
571
|
"text": "any[]"
|
566
572
|
},
|
567
573
|
"default": "[]",
|
568
|
-
"description": "The list of columns that can be used for the rate aggregation",
|
574
|
+
"description": "The list of measure columns grouped by dataset that can be used for the rate aggregation.\nShape: [{ datasetId, datasetName, columns: Column[] }]",
|
569
575
|
"attribute": "measureColumns"
|
570
576
|
}
|
571
577
|
],
|
@@ -600,7 +606,7 @@
|
|
600
606
|
"text": "any[]"
|
601
607
|
},
|
602
608
|
"default": "[]",
|
603
|
-
"description": "The list of columns that can be used for the rate aggregation",
|
609
|
+
"description": "The list of measure columns grouped by dataset that can be used for the rate aggregation.\nShape: [{ datasetId, datasetName, columns: Column[] }]",
|
604
610
|
"fieldName": "measureColumns"
|
605
611
|
},
|
606
612
|
{
|
@@ -642,7 +648,7 @@
|
|
642
648
|
"type": {
|
643
649
|
"text": "Record<string, () => string>"
|
644
650
|
},
|
645
|
-
"default": "{ sum: () => msg('Sum', { desc: 'Numeric Aggregation option' }), cumulativesum: () => msg('Cumulative sum', { desc: 'Numeric Aggregation option' }), average: () => msg('Average', { desc: 'Numeric Aggregation option' }),
|
651
|
+
"default": "{ sum: () => msg('Sum', { desc: 'Numeric Aggregation option' }), cumulativesum: () => msg('Cumulative sum', { desc: 'Numeric Aggregation option' }), average: () => msg('Average', { desc: 'Numeric Aggregation option' }), median: () => msg('Median', { desc: 'Numeric Aggregation option' }), count: () => msg('Count', { desc: 'Numeric Aggregation option' }), distinctcount: () => msg('Distinct count', { desc: 'Numeric Aggregation option' }), min: () => msg('Minimum', { desc: 'Numeric Aggregation option' }), max: () => msg('Maximum', { desc: 'Numeric Aggregation option' }), stddev: () => msg('Standard deviation', { desc: 'Numeric Aggregation option' }), rate: () => msg('Rate', { desc: 'Numeric Aggregation option' }) }"
|
646
652
|
},
|
647
653
|
{
|
648
654
|
"kind": "variable",
|
@@ -938,6 +944,15 @@
|
|
938
944
|
},
|
939
945
|
"default": "{}",
|
940
946
|
"attribute": "data"
|
947
|
+
},
|
948
|
+
{
|
949
|
+
"kind": "field",
|
950
|
+
"name": "linkedDatasetsIds",
|
951
|
+
"type": {
|
952
|
+
"text": "string[]"
|
953
|
+
},
|
954
|
+
"default": "[]",
|
955
|
+
"attribute": "linked-datasets-ids"
|
941
956
|
}
|
942
957
|
],
|
943
958
|
"events": [
|
@@ -1016,6 +1031,14 @@
|
|
1016
1031
|
"default": "{}",
|
1017
1032
|
"fieldName": "data"
|
1018
1033
|
},
|
1034
|
+
{
|
1035
|
+
"name": "linked-datasets-ids",
|
1036
|
+
"type": {
|
1037
|
+
"text": "string[]"
|
1038
|
+
},
|
1039
|
+
"default": "[]",
|
1040
|
+
"fieldName": "linkedDatasetsIds"
|
1041
|
+
},
|
1019
1042
|
{
|
1020
1043
|
"name": "size",
|
1021
1044
|
"type": {
|
@@ -1135,6 +1158,16 @@
|
|
1135
1158
|
},
|
1136
1159
|
"default": "{}",
|
1137
1160
|
"attribute": "data"
|
1161
|
+
},
|
1162
|
+
{
|
1163
|
+
"kind": "field",
|
1164
|
+
"name": "linkedDatasetsIds",
|
1165
|
+
"type": {
|
1166
|
+
"text": "string[]"
|
1167
|
+
},
|
1168
|
+
"default": "[]",
|
1169
|
+
"attribute": "linked-datasets-ids",
|
1170
|
+
"reflects": true
|
1138
1171
|
}
|
1139
1172
|
],
|
1140
1173
|
"events": [
|
@@ -1213,6 +1246,14 @@
|
|
1213
1246
|
"default": "{}",
|
1214
1247
|
"fieldName": "data"
|
1215
1248
|
},
|
1249
|
+
{
|
1250
|
+
"name": "linked-datasets-ids",
|
1251
|
+
"type": {
|
1252
|
+
"text": "string[]"
|
1253
|
+
},
|
1254
|
+
"default": "[]",
|
1255
|
+
"fieldName": "linkedDatasetsIds"
|
1256
|
+
},
|
1216
1257
|
{
|
1217
1258
|
"name": "size",
|
1218
1259
|
"type": {
|
@@ -1283,7 +1324,7 @@
|
|
1283
1324
|
"kind": "field",
|
1284
1325
|
"name": "itemType",
|
1285
1326
|
"type": {
|
1286
|
-
"text": "
|
1327
|
+
"text": "ItemType | undefined"
|
1287
1328
|
},
|
1288
1329
|
"attribute": "item-type",
|
1289
1330
|
"reflects": true
|
@@ -1292,7 +1333,7 @@
|
|
1292
1333
|
"kind": "field",
|
1293
1334
|
"name": "slotName",
|
1294
1335
|
"type": {
|
1295
|
-
"text": "
|
1336
|
+
"text": "SlotName | undefined"
|
1296
1337
|
},
|
1297
1338
|
"attribute": "slot-name",
|
1298
1339
|
"reflects": true
|
@@ -1308,12 +1349,12 @@
|
|
1308
1349
|
},
|
1309
1350
|
{
|
1310
1351
|
"kind": "field",
|
1311
|
-
"name": "
|
1352
|
+
"name": "slotsContents",
|
1312
1353
|
"type": {
|
1313
|
-
"text": "
|
1354
|
+
"text": "VizItemSlots"
|
1314
1355
|
},
|
1315
1356
|
"default": "[]",
|
1316
|
-
"attribute": "
|
1357
|
+
"attribute": "slotsContents"
|
1317
1358
|
},
|
1318
1359
|
{
|
1319
1360
|
"kind": "field",
|
@@ -1343,6 +1384,39 @@
|
|
1343
1384
|
"attribute": "drag-boundary",
|
1344
1385
|
"reflects": true
|
1345
1386
|
},
|
1387
|
+
{
|
1388
|
+
"kind": "field",
|
1389
|
+
"name": "apiUrl",
|
1390
|
+
"type": {
|
1391
|
+
"text": "string | undefined"
|
1392
|
+
},
|
1393
|
+
"default": "'https://api.luzmo.com'",
|
1394
|
+
"description": "The API URL of the databroker",
|
1395
|
+
"attribute": "api-url",
|
1396
|
+
"reflects": true
|
1397
|
+
},
|
1398
|
+
{
|
1399
|
+
"kind": "field",
|
1400
|
+
"name": "authKey",
|
1401
|
+
"type": {
|
1402
|
+
"text": "string | undefined"
|
1403
|
+
},
|
1404
|
+
"default": "''",
|
1405
|
+
"description": "The auth key of the databroker",
|
1406
|
+
"attribute": "auth-key",
|
1407
|
+
"reflects": true
|
1408
|
+
},
|
1409
|
+
{
|
1410
|
+
"kind": "field",
|
1411
|
+
"name": "authToken",
|
1412
|
+
"type": {
|
1413
|
+
"text": "string | undefined"
|
1414
|
+
},
|
1415
|
+
"default": "''",
|
1416
|
+
"description": "The auth token of the databroker",
|
1417
|
+
"attribute": "auth-token",
|
1418
|
+
"reflects": true
|
1419
|
+
},
|
1346
1420
|
{
|
1347
1421
|
"kind": "field",
|
1348
1422
|
"name": "menu",
|
@@ -1389,6 +1463,18 @@
|
|
1389
1463
|
}
|
1390
1464
|
],
|
1391
1465
|
"events": [
|
1466
|
+
{
|
1467
|
+
"name": "slot-menu-highlight-clear",
|
1468
|
+
"type": {
|
1469
|
+
"text": "CustomEvent"
|
1470
|
+
}
|
1471
|
+
},
|
1472
|
+
{
|
1473
|
+
"name": "slot-menu-highlight",
|
1474
|
+
"type": {
|
1475
|
+
"text": "CustomEvent"
|
1476
|
+
}
|
1477
|
+
},
|
1392
1478
|
{
|
1393
1479
|
"description": "Announces that the slot contents has changed",
|
1394
1480
|
"name": "slot-contents-changed"
|
@@ -1398,14 +1484,14 @@
|
|
1398
1484
|
{
|
1399
1485
|
"name": "item-type",
|
1400
1486
|
"type": {
|
1401
|
-
"text": "
|
1487
|
+
"text": "ItemType | undefined"
|
1402
1488
|
},
|
1403
1489
|
"fieldName": "itemType"
|
1404
1490
|
},
|
1405
1491
|
{
|
1406
1492
|
"name": "slot-name",
|
1407
1493
|
"type": {
|
1408
|
-
"text": "
|
1494
|
+
"text": "SlotName | undefined"
|
1409
1495
|
},
|
1410
1496
|
"fieldName": "slotName"
|
1411
1497
|
},
|
@@ -1418,12 +1504,12 @@
|
|
1418
1504
|
"fieldName": "slotConfiguration"
|
1419
1505
|
},
|
1420
1506
|
{
|
1421
|
-
"name": "
|
1507
|
+
"name": "slotsContents",
|
1422
1508
|
"type": {
|
1423
|
-
"text": "
|
1509
|
+
"text": "VizItemSlots"
|
1424
1510
|
},
|
1425
1511
|
"default": "[]",
|
1426
|
-
"fieldName": "
|
1512
|
+
"fieldName": "slotsContents"
|
1427
1513
|
},
|
1428
1514
|
{
|
1429
1515
|
"name": "label",
|
@@ -1447,6 +1533,33 @@
|
|
1447
1533
|
},
|
1448
1534
|
"fieldName": "dragBoundary"
|
1449
1535
|
},
|
1536
|
+
{
|
1537
|
+
"name": "api-url",
|
1538
|
+
"type": {
|
1539
|
+
"text": "string | undefined"
|
1540
|
+
},
|
1541
|
+
"default": "'https://api.luzmo.com'",
|
1542
|
+
"description": "The API URL of the databroker",
|
1543
|
+
"fieldName": "apiUrl"
|
1544
|
+
},
|
1545
|
+
{
|
1546
|
+
"name": "auth-key",
|
1547
|
+
"type": {
|
1548
|
+
"text": "string | undefined"
|
1549
|
+
},
|
1550
|
+
"default": "''",
|
1551
|
+
"description": "The auth key of the databroker",
|
1552
|
+
"fieldName": "authKey"
|
1553
|
+
},
|
1554
|
+
{
|
1555
|
+
"name": "auth-token",
|
1556
|
+
"type": {
|
1557
|
+
"text": "string | undefined"
|
1558
|
+
},
|
1559
|
+
"default": "''",
|
1560
|
+
"description": "The auth token of the databroker",
|
1561
|
+
"fieldName": "authToken"
|
1562
|
+
},
|
1450
1563
|
{
|
1451
1564
|
"name": "menu",
|
1452
1565
|
"type": {
|
@@ -6745,6 +6858,24 @@
|
|
6745
6858
|
"attribute": "slot-type",
|
6746
6859
|
"reflects": true
|
6747
6860
|
},
|
6861
|
+
{
|
6862
|
+
"kind": "field",
|
6863
|
+
"name": "slotName",
|
6864
|
+
"type": {
|
6865
|
+
"text": "SlotName"
|
6866
|
+
},
|
6867
|
+
"attribute": "slot-name",
|
6868
|
+
"reflects": true
|
6869
|
+
},
|
6870
|
+
{
|
6871
|
+
"kind": "field",
|
6872
|
+
"name": "itemType",
|
6873
|
+
"type": {
|
6874
|
+
"text": "string | undefined"
|
6875
|
+
},
|
6876
|
+
"attribute": "item-type",
|
6877
|
+
"reflects": true
|
6878
|
+
},
|
6748
6879
|
{
|
6749
6880
|
"kind": "field",
|
6750
6881
|
"name": "noDrag",
|
@@ -6794,15 +6925,21 @@
|
|
6794
6925
|
},
|
6795
6926
|
"attribute": "drag-boundary"
|
6796
6927
|
},
|
6928
|
+
{
|
6929
|
+
"kind": "field",
|
6930
|
+
"name": "slotContents",
|
6931
|
+
"type": {
|
6932
|
+
"text": "GenericSlotContent[] | undefined"
|
6933
|
+
},
|
6934
|
+
"attribute": "slot-contents"
|
6935
|
+
},
|
6797
6936
|
{
|
6798
6937
|
"kind": "field",
|
6799
6938
|
"name": "measureColumns",
|
6800
6939
|
"type": {
|
6801
6940
|
"text": "any[]"
|
6802
6941
|
},
|
6803
|
-
"default": "[]"
|
6804
|
-
"description": "The list of columns that can be used for the rate aggregation",
|
6805
|
-
"attribute": "measureColumns"
|
6942
|
+
"default": "[]"
|
6806
6943
|
},
|
6807
6944
|
{
|
6808
6945
|
"kind": "field",
|
@@ -6813,13 +6950,6 @@
|
|
6813
6950
|
"description": "(Optional) If you only want to display a specific content of a slot, you can set the slotIndex to the index of the content you want to display.",
|
6814
6951
|
"attribute": "slot-index"
|
6815
6952
|
},
|
6816
|
-
{
|
6817
|
-
"kind": "field",
|
6818
|
-
"name": "slotContentLabelElement",
|
6819
|
-
"type": {
|
6820
|
-
"text": "HTMLElement"
|
6821
|
-
}
|
6822
|
-
},
|
6823
6953
|
{
|
6824
6954
|
"kind": "field",
|
6825
6955
|
"name": "displaySettingsElement",
|
@@ -6836,36 +6966,41 @@
|
|
6836
6966
|
},
|
6837
6967
|
{
|
6838
6968
|
"kind": "field",
|
6839
|
-
"name": "
|
6969
|
+
"name": "apiUrl",
|
6840
6970
|
"type": {
|
6841
|
-
"text": "
|
6971
|
+
"text": "string | undefined"
|
6842
6972
|
},
|
6843
|
-
"default": "
|
6973
|
+
"default": "'https://api.luzmo.com'",
|
6974
|
+
"description": "The API URL of the databroker",
|
6975
|
+
"attribute": "api-url",
|
6976
|
+
"reflects": true
|
6844
6977
|
},
|
6845
6978
|
{
|
6846
6979
|
"kind": "field",
|
6847
|
-
"name": "
|
6980
|
+
"name": "authKey",
|
6848
6981
|
"type": {
|
6849
|
-
"text": "
|
6982
|
+
"text": "string | undefined"
|
6850
6983
|
},
|
6851
|
-
"default": "
|
6984
|
+
"default": "'1a6069eb-9a30-424c-ad69-e0aa9e6bb8b6'",
|
6985
|
+
"description": "The auth key of the databroker",
|
6986
|
+
"attribute": "auth-key",
|
6987
|
+
"reflects": true
|
6852
6988
|
},
|
6853
6989
|
{
|
6854
6990
|
"kind": "field",
|
6855
|
-
"name": "
|
6991
|
+
"name": "authToken",
|
6856
6992
|
"type": {
|
6857
|
-
"text": "
|
6993
|
+
"text": "string | undefined"
|
6858
6994
|
},
|
6859
|
-
"default": "
|
6995
|
+
"default": "'AGAjEOVhJPyemwt5QNx1rI6nxuOH9pwdtyeg0aGSKuWenPR8GYmC3g2yKiCIjuD8POQOrEMGLYNnZdYRHZFAMi7QOfGd6gpSgZEbLXyhW9ucYG0U9Mc0uUksxIelkVH5yUESO3c6bVCV7FMVNIo7GW'",
|
6996
|
+
"description": "The auth token of the databroker",
|
6997
|
+
"attribute": "auth-token",
|
6998
|
+
"reflects": true
|
6860
6999
|
},
|
6861
7000
|
{
|
6862
7001
|
"kind": "field",
|
6863
7002
|
"name": "_activeIndex"
|
6864
7003
|
},
|
6865
|
-
{
|
6866
|
-
"kind": "method",
|
6867
|
-
"name": "updateContentLabel"
|
6868
|
-
},
|
6869
7004
|
{
|
6870
7005
|
"kind": "method",
|
6871
7006
|
"name": "removeSlotContent",
|
@@ -6885,6 +7020,11 @@
|
|
6885
7020
|
{
|
6886
7021
|
"kind": "method",
|
6887
7022
|
"name": "_removeActiveSlotContent"
|
7023
|
+
},
|
7024
|
+
{
|
7025
|
+
"kind": "method",
|
7026
|
+
"name": "resetPosition",
|
7027
|
+
"description": "Reset the menu position to its original location"
|
6888
7028
|
}
|
6889
7029
|
],
|
6890
7030
|
"events": [
|
@@ -6931,6 +7071,20 @@
|
|
6931
7071
|
"description": "The slot type",
|
6932
7072
|
"fieldName": "slotType"
|
6933
7073
|
},
|
7074
|
+
{
|
7075
|
+
"name": "slot-name",
|
7076
|
+
"type": {
|
7077
|
+
"text": "SlotName"
|
7078
|
+
},
|
7079
|
+
"fieldName": "slotName"
|
7080
|
+
},
|
7081
|
+
{
|
7082
|
+
"name": "item-type",
|
7083
|
+
"type": {
|
7084
|
+
"text": "string | undefined"
|
7085
|
+
},
|
7086
|
+
"fieldName": "itemType"
|
7087
|
+
},
|
6934
7088
|
{
|
6935
7089
|
"name": "no-drag",
|
6936
7090
|
"type": {
|
@@ -6972,13 +7126,11 @@
|
|
6972
7126
|
"fieldName": "dragBoundary"
|
6973
7127
|
},
|
6974
7128
|
{
|
6975
|
-
"name": "
|
7129
|
+
"name": "slot-contents",
|
6976
7130
|
"type": {
|
6977
|
-
"text": "
|
7131
|
+
"text": "GenericSlotContent[] | undefined"
|
6978
7132
|
},
|
6979
|
-
"
|
6980
|
-
"description": "The list of columns that can be used for the rate aggregation",
|
6981
|
-
"fieldName": "measureColumns"
|
7133
|
+
"fieldName": "slotContents"
|
6982
7134
|
},
|
6983
7135
|
{
|
6984
7136
|
"name": "slot-index",
|
@@ -6988,6 +7140,33 @@
|
|
6988
7140
|
"description": "(Optional) If you only want to display a specific content of a slot, you can set the slotIndex to the index of the content you want to display.",
|
6989
7141
|
"fieldName": "slotIndex"
|
6990
7142
|
},
|
7143
|
+
{
|
7144
|
+
"name": "api-url",
|
7145
|
+
"type": {
|
7146
|
+
"text": "string | undefined"
|
7147
|
+
},
|
7148
|
+
"default": "'https://api.luzmo.com'",
|
7149
|
+
"description": "The API URL of the databroker",
|
7150
|
+
"fieldName": "apiUrl"
|
7151
|
+
},
|
7152
|
+
{
|
7153
|
+
"name": "auth-key",
|
7154
|
+
"type": {
|
7155
|
+
"text": "string | undefined"
|
7156
|
+
},
|
7157
|
+
"default": "'1a6069eb-9a30-424c-ad69-e0aa9e6bb8b6'",
|
7158
|
+
"description": "The auth key of the databroker",
|
7159
|
+
"fieldName": "authKey"
|
7160
|
+
},
|
7161
|
+
{
|
7162
|
+
"name": "auth-token",
|
7163
|
+
"type": {
|
7164
|
+
"text": "string | undefined"
|
7165
|
+
},
|
7166
|
+
"default": "'AGAjEOVhJPyemwt5QNx1rI6nxuOH9pwdtyeg0aGSKuWenPR8GYmC3g2yKiCIjuD8POQOrEMGLYNnZdYRHZFAMi7QOfGd6gpSgZEbLXyhW9ucYG0U9Mc0uUksxIelkVH5yUESO3c6bVCV7FMVNIo7GW'",
|
7167
|
+
"description": "The auth token of the databroker",
|
7168
|
+
"fieldName": "authToken"
|
7169
|
+
},
|
6991
7170
|
{
|
6992
7171
|
"name": "size",
|
6993
7172
|
"type": {
|
@@ -6998,6 +7177,12 @@
|
|
6998
7177
|
"fieldName": "size"
|
6999
7178
|
}
|
7000
7179
|
],
|
7180
|
+
"mixins": [
|
7181
|
+
{
|
7182
|
+
"name": "SignalWatcher",
|
7183
|
+
"package": "@lit-labs/signals"
|
7184
|
+
}
|
7185
|
+
],
|
7001
7186
|
"superclass": {
|
7002
7187
|
"name": "LuzmoElement",
|
7003
7188
|
"module": "/src/utils/base"
|