@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"});require("../index-
|
20
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../index-1oIrlkAr.cjs");require("../index-cHKqEi5-.cjs");const u=require("../property-Cu4Q1hS4.cjs"),_=require("../set-locale-DCPlazsZ.cjs"),$=require("../localized-decorator-DIXYZ3RL.cjs"),L=require("../base-D76d76ww-tT6yr8eb.cjs");require("../focusable-BxtpnzWp-CkK9AeMt.cjs");const z=require("../index-eBsINoH9.cjs"),k=require("../localize-r7ALOUy_.cjs"),y=require("../state-fyl3IYMu.cjs"),T=".missing-value{opacity:.4}:host{--var: blue}";var x=Object.defineProperty,F=Object.getOwnPropertyDescriptor,h=(b,e,r,t)=>{for(var i=t>1?void 0:t?F(e,r):e,l=b.length-1,n;l>=0;l--)(n=b[l])&&(i=(t?n(e,r,i):n(i))||i);return t&&i&&x(e,r,i),i};const H=5e3;exports.LuzmoFilterValuePickerHierarchy=class extends L.m(L.It,{validSizes:Object.values(L.d$1)}){constructor(){super(...arguments),this.language="en",this.contentLanguage="en",this._hierarchyValues=[],this._retrieving=!0,this._search="",this._error=null,this._allValuesRetrieved=!1,this._runningQueries=[]}static get styles(){return[u.r(T)]}connectedCallback(){super.connectedCallback();const e={};this.apiUrl&&(e.apiUrl=this.apiUrl),this.cacheTime&&(e.staleTime=this.cacheTime,e.gcTime=this.cacheTime*2),this.authKey&&this.authToken&&(e.authKey=this.authKey,e.authToken=this.authToken),z.dataBroker.configure(e)}willUpdate(e){var t,i,l,n,m,d,o,f,g,p,s,a,c,V;if(e.has("language")&&this.language!==_.getLocale()&&([..._.targetLocales].includes(this.language??"en")||this.language==="en")&&_.setLocale(this.language),e.has("filter")&&this.filter){const v=(t=e.get("filter"))==null?void 0:t.expression,P=((n=(l=(i=e.get("filter"))==null?void 0:i.parameters)==null?void 0:l[0])==null?void 0:n.columnId)||((o=(d=(m=e.get("filter"))==null?void 0:m.parameters)==null?void 0:d[0])==null?void 0:o.formulaId),S=((p=(g=(f=this.filter)==null?void 0:f.parameters)==null?void 0:g[0])==null?void 0:p.columnId)||((c=(a=(s=this.filter)==null?void 0:s.parameters)==null?void 0:a[0])==null?void 0:c.formulaId);P!==S&&(["? in ?","? not in ?","? = ?","? != ?"].includes((V=this.filter)==null?void 0:V.expression)||!["? in ?","? not in ?","? = ?","? != ?"].includes(v))&&(this._hierarchyValues=[],this._allValuesRetrieved=!1,this._retrieving=!0)}}async _fetchHierarchyValues(e=0){var g,p;if(this._allValuesRetrieved){this._retrieving=!1;return}if(!((p=(g=this.filter)==null?void 0:g.parameters)!=null&&p[0])){this._retrieving=!1,this._error="Missing column parameters";return}const r=this.filter.parameters[0],t=r.columnId,i=r.formulaId,l=r.datasetId;if(!t&&!i){this._retrieving=!1,this._error="Missing column id or formula id";return}else if(!l){this._retrieving=!1,this._error="Missing dataset id";return}this._retrieving=!0,this._error=null;const n={expression:"? like ?",parameters:[{column_id:t,formula_id:i,dataset_id:l},this._search]},m={dimensions:[{column_id:t,formula_id:i,dataset_id:l}],where:[],order:[{column_id:t,formula_id:i,dataset_id:l,order:"asc"}],limit:{by:H,offset:e}};this._search&&this._allValuesRetrieved&&m.where.push(n);const d=new AbortController,o=new Promise((s,a)=>{z.dataBroker.fetchData(m).then(s).catch(a),d.signal.addEventListener("abort",()=>{console.warn("Request aborted"),a({status:"aborted"})})}),f={promise:o,abortController:d};this._runningQueries.push(f);try{const s=await o,a=s&&Array.isArray(s.data)?s.data.map(c=>c[0]):[];this._search||(this._allValuesRetrieved=a.length<H),this._hierarchyValues=e>0?[...this._hierarchyValues,...a]:a}catch(s){if((s==null?void 0:s.status)==="aborted")return;this._error=s instanceof Error?s.message:"Unknown error",this._hierarchyValues=[]}finally{this._runningQueries=this._runningQueries.filter(s=>s.promise!==o),this._retrieving=!1}}_sendChangeEvent(){this.dispatchEvent(new CustomEvent("filter-value-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{value:this._value}}))}setHierarchy(e){var t,i,l,n,m,d,o,f;let r;["? in ?","? not in ?"].includes((t=this.filter)==null?void 0:t.expression)?r=(i=e==null?void 0:e.detail)==null?void 0:i.value:["? = ?","? != ?"].includes((l=this.filter)==null?void 0:l.expression)?r=(m=(n=e==null?void 0:e.detail)==null?void 0:n.value)==null?void 0:m[0]:r=(d=e==null?void 0:e.target)==null?void 0:d.value,this._value!==r&&(this._value=r,this.filter={...this.filter,parameters:[{...(f=(o=this.filter)==null?void 0:o.parameters)==null?void 0:f[0]},this._value]},this._sendChangeEvent())}onScrolled(e){var r;!this._retrieving&&!this._allValuesRetrieved&&((r=e==null?void 0:e.detail)==null?void 0:r.last)===this._hierarchyValues.length-1&&this._fetchHierarchyValues(this._hierarchyValues.length)}renderTextField(){var e,r;return u.x`<luzmo-text-field
|
21
21
|
.size=${this.size}
|
22
22
|
@change=${this.setHierarchy}
|
23
23
|
@input=${this.setHierarchy}
|
@@ -17,20 +17,20 @@
|
|
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 "../index-
|
21
|
-
import "../index-
|
22
|
-
import { r as T, x as y, n as z } from "../property-
|
23
|
-
import { g as C, t as I, s as E, m as b } from "../set-locale-
|
24
|
-
import { l as H } from "../localized-decorator-
|
20
|
+
import "../index-BEtf1WaQ.js";
|
21
|
+
import "../index-DE3d0E0P.js";
|
22
|
+
import { r as T, x as y, n as z } from "../property-DCzt3DR1.js";
|
23
|
+
import { g as C, t as I, s as E, m as b } from "../set-locale-GI34z_M7.js";
|
24
|
+
import { l as H } from "../localized-decorator-Bl5gcI6n.js";
|
25
25
|
import { m as R, b as O, I as D } from "../base-D76d76ww-BGkuhs54.js";
|
26
26
|
import "../focusable-BxtpnzWp-DJQkL8Zv.js";
|
27
|
-
import { d as v } from "../index-
|
27
|
+
import { d as v } from "../index-Delpl7qa.js";
|
28
28
|
import { l as w } from "../localize-BX7q0S0M.js";
|
29
|
-
import { r as _ } from "../state-
|
29
|
+
import { r as _ } from "../state-nDsQPund.js";
|
30
30
|
const $ = () => {
|
31
31
|
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
32
32
|
const e = document.createElement("style");
|
33
|
-
e.setAttribute("data-luzmo-vars", ""), e.textContent = 'html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-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(e);
|
33
|
+
e.setAttribute("data-luzmo-vars", ""), e.textContent = 'html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-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(e);
|
34
34
|
}
|
35
35
|
};
|
36
36
|
$();
|
@@ -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"});require("../index-
|
20
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../index-MPM_B4re.cjs");require("../index-1oIrlkAr.cjs");const c=require("../property-Cu4Q1hS4.cjs"),d=require("../set-locale-DCPlazsZ.cjs"),F=require("../localized-decorator-DIXYZ3RL.cjs"),v=require("../base-D76d76ww-tT6yr8eb.cjs");require("../focusable-BxtpnzWp-CkK9AeMt.cjs");const z=require("../index-eBsINoH9.cjs"),b=require("../state-fyl3IYMu.cjs"),T=".missing-value{opacity:.4}:host{--var: blue}";var I=Object.defineProperty,w=Object.getOwnPropertyDescriptor,n=(V,e,t,r)=>{for(var i=r>1?void 0:r?w(e,t):e,s=V.length-1,a;s>=0;s--)(a=V[s])&&(i=(r?a(e,t,i):a(i))||i);return r&&i&&I(e,t,i),i};const k=5e3;exports.LuzmoFilterValuePickerNumeric=class extends v.m(v.It,{validSizes:Object.values(v.d$1)}){constructor(){super(...arguments),this.language="en",this.contentLanguage="en",this._numericValues=[],this._retrieving=!0,this._search="",this._error=null,this._allValuesRetrieved=!1,this._runningQueries=[]}static get styles(){return[c.r(T)]}connectedCallback(){super.connectedCallback();const e={};this.apiUrl&&(e.apiUrl=this.apiUrl),this.cacheTime&&(e.staleTime=this.cacheTime,e.gcTime=this.cacheTime*2),this.authKey&&this.authToken&&(e.authKey=this.authKey,e.authToken=this.authToken),z.dataBroker.configure(e)}willUpdate(e){var i,s,a,u,m,o,_,p,f,l,h,g,L,y;const t=e.has("filter");if(e.has("language")&&this.language!==d.getLocale()&&([...d.targetLocales].includes(this.language??"en")||this.language==="en")&&d.setLocale(this.language),t&&this.filter){const N=(i=e.get("filter"))==null?void 0:i.expression,S=(s=this.filter)==null?void 0:s.expression,P=((m=(u=(a=e.get("filter"))==null?void 0:a.parameters)==null?void 0:u[0])==null?void 0:m.columnId)||((p=(_=(o=e.get("filter"))==null?void 0:o.parameters)==null?void 0:_[0])==null?void 0:p.formulaId),$=((h=(l=(f=this.filter)==null?void 0:f.parameters)==null?void 0:l[0])==null?void 0:h.columnId)||((y=(L=(g=this.filter)==null?void 0:g.parameters)==null?void 0:L[0])==null?void 0:y.formulaId);(P!==$||!["? in ?","? not in ?"].includes(N))&&["? in ?","? not in ?"].includes(S)&&(this._numericValues=[],this._allValuesRetrieved=!1,this._retrieving=!0)}}async _fetchNumericValues(e=0){var p,f;if(this._allValuesRetrieved){this._retrieving=!1;return}if(!((f=(p=this.filter)==null?void 0:p.parameters)!=null&&f[0])){this._retrieving=!1,this._error="Missing column parameters";return}const t=this.filter.parameters[0],r=t.columnId,i=t.formulaId,s=t.datasetId;if(!r&&!i){this._retrieving=!1,this._error="Missing column id or formula id";return}else if(!s){this._retrieving=!1,this._error="Missing dataset id";return}this._retrieving=!0,this._error=null;const a={expression:"? like ?",parameters:[{dataset_id:s,expression:`CAST({${s}:${r??i}},hierarchy)`},this._search]},u={dimensions:[{column_id:r,formula_id:i,dataset_id:s}],where:[],order:[{column_id:r,formula_id:i,dataset_id:s,order:"asc"}],limit:{by:k,offset:e}};this._search&&!this._allValuesRetrieved&&u.where.push(a);const m=new AbortController,o=new Promise((l,h)=>{z.dataBroker.fetchData(u).then(l).catch(h),m.signal.addEventListener("abort",()=>{console.warn("Request aborted"),h({status:"aborted"})})}),_={promise:o,abortController:m};this._runningQueries.push(_);try{const l=await o,h=l&&Array.isArray(l.data)?l.data.map(g=>g[0]):[];this._search||(this._allValuesRetrieved=h.length<k),this._numericValues=e>0?[...this._numericValues,...h]:h}catch(l){if((l==null?void 0:l.status)==="aborted")return;this._error=l instanceof Error?l.message:"Unknown error",this._numericValues=[]}finally{this._runningQueries=this._runningQueries.filter(l=>l.promise!==o),this._retrieving=!1}}_sendChangeEvent(){this.dispatchEvent(new CustomEvent("filter-value-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{value:this._value}}))}setValue(e){var r,i,s,a,u;const t=["? in ?","? not in ?"].includes((r=this.filter)==null?void 0:r.expression)?(i=e==null?void 0:e.detail)==null?void 0:i.value:(s=e==null?void 0:e.target)==null?void 0:s.value;this._value!==t&&(this._value=t,this.filter={...this.filter,parameters:[{...(u=(a=this.filter)==null?void 0:a.parameters)==null?void 0:u[0]},t]},this._sendChangeEvent())}selectValue(e){var i,s,a;const r=(((i=e.detail)==null?void 0:i.value)??"").map(u=>Number.parseFloat(u));this.filter={...this.filter,parameters:[{...(a=(s=this.filter)==null?void 0:s.parameters)==null?void 0:a[0]},r]},this._value=r,this._sendChangeEvent()}onScrolled(e){var t;!this._retrieving&&!this._allValuesRetrieved&&((t=e==null?void 0:e.detail)==null?void 0:t.last)===this._numericValues.length-1&&this._fetchNumericValues(this._numericValues.length)}renderNumberField(){var e,t;return c.x`<luzmo-number-field
|
21
21
|
.size=${this.size}
|
22
22
|
@change=${this.setValue}
|
23
23
|
@input=${this.setValue}
|
@@ -17,19 +17,19 @@
|
|
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 "../index-
|
21
|
-
import "../index-
|
22
|
-
import { r as I, x as y, n as d } from "../property-
|
23
|
-
import { g as T, t as E, s as N, m as z } from "../set-locale-
|
24
|
-
import { l as R } from "../localized-decorator-
|
20
|
+
import "../index-DsP81c4M.js";
|
21
|
+
import "../index-BEtf1WaQ.js";
|
22
|
+
import { r as I, x as y, n as d } from "../property-DCzt3DR1.js";
|
23
|
+
import { g as T, t as E, s as N, m as z } from "../set-locale-GI34z_M7.js";
|
24
|
+
import { l as R } from "../localized-decorator-Bl5gcI6n.js";
|
25
25
|
import { m as O, b as D, I as Q } from "../base-D76d76ww-BGkuhs54.js";
|
26
26
|
import "../focusable-BxtpnzWp-DJQkL8Zv.js";
|
27
|
-
import { d as V } from "../index-
|
28
|
-
import { r as _ } from "../state-
|
27
|
+
import { d as V } from "../index-Delpl7qa.js";
|
28
|
+
import { r as _ } from "../state-nDsQPund.js";
|
29
29
|
const C = () => {
|
30
30
|
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
31
31
|
const e = document.createElement("style");
|
32
|
-
e.setAttribute("data-luzmo-vars", ""), e.textContent = 'html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-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(e);
|
32
|
+
e.setAttribute("data-luzmo-vars", ""), e.textContent = 'html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-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(e);
|
33
33
|
}
|
34
34
|
};
|
35
35
|
C();
|
@@ -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 { a as E, n as c } from "./property-
|
20
|
+
import { a as E, n as c } from "./property-DCzt3DR1.js";
|
21
21
|
const u = /* @__PURE__ */ new Set(), g = () => {
|
22
22
|
const n = document.documentElement.dir === "rtl" ? document.documentElement.dir : "ltr";
|
23
23
|
u.forEach((e) => {
|
@@ -17,4 +17,4 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
"use strict";const r=require("./property-
|
20
|
+
"use strict";const r=require("./property-Cu4Q1hS4.cjs"),d=new Set,g=()=>{const n=document.documentElement.dir==="rtl"?document.documentElement.dir:"ltr";d.forEach(e=>{e.setAttribute("dir",n)})},x=new MutationObserver(g);x.observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]});const y=n=>n.startManagingContentDirection!==void 0||n.tagName==="LUZMO-THEME";function v(n){class e extends n{get isLTR(){return this.dir==="ltr"}hasVisibleFocusInTree(){const s=((a=document)=>{var f;let t=a.activeElement;for(;t!=null&&t.shadowRoot&&t.shadowRoot.activeElement;)t=t.shadowRoot.activeElement;const l=t?[t]:[];for(;t;){const u=t.assignedSlot||t.parentElement||((f=t.getRootNode())==null?void 0:f.host);u&&l.push(u),t=u}return l})(this.getRootNode())[0];if(!s)return!1;try{return s.matches(":focus-visible")||s.matches(".focus-visible")}catch{return s.matches(".focus-visible")}}connectedCallback(){if(!this.hasAttribute("dir")){let i=this.assignedSlot||this.parentNode;for(;i!==document.documentElement&&!y(i);)i=i.assignedSlot||i.parentNode||i.host;if(this.dir=i.dir==="rtl"?i.dir:this.dir||"ltr",i===document.documentElement)d.add(this);else{const{localName:s}=i;s.search("-")>-1&&!customElements.get(s)?customElements.whenDefined(s).then(()=>{i.startManagingContentDirection(this)}):i.startManagingContentDirection(this)}this._dirParent=i}super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback(),this._dirParent&&(this._dirParent===document.documentElement?d.delete(this):this._dirParent.stopManagingContentDirection(this),this.removeAttribute("dir"))}}return e}class p extends v(r.r$1){}let c=!0;try{document.body.querySelector(":focus-visible")}catch{c=!1,Promise.resolve().then(()=>A)}const E=n=>{var e,o;const i=t=>{if(t.shadowRoot==null||Object.hasOwn(t.dataset,"jsFocusVisible"))return()=>{};if(self.applyFocusVisiblePolyfill)self.applyFocusVisiblePolyfill(t.shadowRoot),t.manageAutoFocus&&t.manageAutoFocus();else{const l=()=>{self.applyFocusVisiblePolyfill&&t.shadowRoot&&self.applyFocusVisiblePolyfill(t.shadowRoot),t.manageAutoFocus&&t.manageAutoFocus()};return self.addEventListener("focus-visible-polyfill-ready",l,{once:!0}),()=>{self.removeEventListener("focus-visible-polyfill-ready",l)}}return()=>{}},s=Symbol("endPolyfillCoordination");class a extends(o=n,e=s,o){constructor(){super(...arguments),this[e]=null}connectedCallback(){super.connectedCallback&&super.connectedCallback(),c||requestAnimationFrame(()=>{this[s]==null&&(this[s]=i(this))})}disconnectedCallback(){super.disconnectedCallback&&super.disconnectedCallback(),c||requestAnimationFrame(()=>{this[s]!=null&&(this[s](),this[s]=null)})}}return a},A=Object.freeze(Object.defineProperty({__proto__:null,FocusVisiblePolyfillMixin:E},Symbol.toStringTag,{value:"Module"}));var w=Object.defineProperty,C=Object.getOwnPropertyDescriptor,h=(n,e,o,i)=>{for(var s=i>1?void 0:i?C(e,o):e,a=n.length-1,t;a>=0;a--)(t=n[a])&&(s=(i?t(e,o,s):t(s))||s);return i&&s&&w(e,o,s),s};function m(){return new Promise(n=>requestAnimationFrame(()=>n()))}class b extends E(p){constructor(){super(...arguments),this.disabled=!1,this.autofocus=!1,this._tabIndex=0,this.manipulatingTabindex=!1,this.autofocusReady=Promise.resolve()}get tabIndex(){if(this.focusElement===this){const o=this.hasAttribute("tabindex")?Number(this.getAttribute("tabindex")):Number.NaN;return Number.isNaN(o)?-1:o}const e=Number.parseFloat(this.hasAttribute("tabindex")&&this.getAttribute("tabindex")||"0");return this.disabled||e<0?-1:this.focusElement?this._tabIndex:e}set tabIndex(e){var o;if(this.manipulatingTabindex){this.manipulatingTabindex=!1;return}if(this.focusElement===this){if(this.disabled)this._tabIndex=e;else if(e!==this._tabIndex){this._tabIndex=e;const i=""+e;this.manipulatingTabindex=!0,this.setAttribute("tabindex",i)}return}if(e===-1?this.addEventListener("pointerdown",this.onPointerdownManagementOfTabIndex):(this.manipulatingTabindex=!0,this.removeEventListener("pointerdown",this.onPointerdownManagementOfTabIndex)),e===-1||this.disabled){if(this.manipulatingTabindex=!0,this.setAttribute("tabindex","-1"),this.removeAttribute("focusable"),this.selfManageFocusElement)return;e===-1?(o=this.focusElement)==null||o.removeAttribute("tabindex"):(this._tabIndex=e,this.manageFocusElementTabindex(e));return}this.setAttribute("focusable",""),this.hasAttribute("tabindex")?this.removeAttribute("tabindex"):this.manipulatingTabindex=!1,this._tabIndex=e,this.manageFocusElementTabindex(e)}onPointerdownManagementOfTabIndex(){this.tabIndex===-1&&setTimeout(()=>{this.tabIndex=0,this.focus({preventScroll:!0}),this.tabIndex=-1})}async manageFocusElementTabindex(e){this.focusElement||await this.updateComplete,e===null?this.focusElement.removeAttribute("tabindex"):this.focusElement!==this&&(this.focusElement.tabIndex=e)}get focusElement(){throw new Error("Must implement focusElement getter!")}get selfManageFocusElement(){return!1}focus(e){this.disabled||!this.focusElement||(this.focusElement===this?Reflect.apply(HTMLElement.prototype.focus,this,[e]):this.focusElement.focus(e))}blur(){const e=this.focusElement||this;e===this?HTMLElement.prototype.blur.apply(this):e.blur()}click(){if(this.disabled)return;const e=this.focusElement||this;e===this?HTMLElement.prototype.click.apply(this):e.click()}manageAutoFocus(){this.autofocus&&(this.dispatchEvent(new KeyboardEvent("keydown",{code:"Tab"})),this.focusElement.focus())}firstUpdated(e){super.firstUpdated(e),(!this.hasAttribute("tabindex")||this.getAttribute("tabindex")!=="-1")&&this.setAttribute("focusable","")}update(e){e.has("disabled")&&this.handleDisabledChanged(this.disabled,e.get("disabled")),super.update(e)}updated(e){super.updated(e),e.has("disabled")&&this.disabled&&this.blur()}async handleDisabledChanged(e,o){const i=()=>this.focusElement!==this&&this.focusElement.disabled!==void 0;e?(this.manipulatingTabindex=!0,this.setAttribute("tabindex","-1"),await this.updateComplete,i()?this.focusElement.disabled=!0:this.setAttribute("aria-disabled","true")):o&&(this.manipulatingTabindex=!0,this.focusElement===this?this.setAttribute("tabindex",""+this._tabIndex):this.removeAttribute("tabindex"),await this.updateComplete,i()?this.focusElement.disabled=!1:this.removeAttribute("aria-disabled"))}async getUpdateComplete(){const e=await super.getUpdateComplete();return await this.autofocusReady,e}connectedCallback(){super.connectedCallback(),this.autofocus&&(this.autofocusReady=new Promise(async e=>{await m(),await m(),e()}),this.updateComplete.then(()=>{this.manageAutoFocus()}))}}h([r.n({type:Boolean,reflect:!0})],b.prototype,"disabled",2);h([r.n({type:Boolean})],b.prototype,"autofocus",2);h([r.n({type:Number})],b.prototype,"tabIndex",1);exports.LuzmoElement=p;
|
@@ -17,4 +17,4 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={s00decbd8fed4f501:"Maximum",s0456d2ad905847d9:"dernier",s079a052719914d71:"Catégorie",s08098b07b4c86ff2:"<=",s08108707b4ce87d4:">=",s088e3b07b5394bc3:"ég",s099b18e1bd8a1154:"Heures",s09c2b609dff29061:"Somme cumulative",s0acece4c687177a9:"Numéros de trimestre",s0bb151c9319a6813:"Axe X",s0bca0c91195d8d6d:"cont",s1125d159f7e64df5:"Affichage",s11326fd2590f4e5e:"Par défaut",s122f7f3f1a22ea50:"non ég",s13f5793e33ebda4f:"entre",s146475c4daa430ed:"Décimales",s178b06f4d02cfd40:"n'est pas manquant",s184501a399a815dc:"Trimestres",s18498398aeb37b07:"La semaine commence le",s187528426100c44e:"Aucune donnée",s1cdb6b07fe827486:"Numéro de la semaine",s1e593719b55d60c0:"MTD",s1f0916624a87d415:"Jour de l'année",s2454d1f117573457:"Précision",s247d110f13a3a288:"Jour de la semaine",s26273c258ddde0e1:"Sélectionner...",s2695506122ffd614:"Seconde dans la minute",s2718cebf7de190e1:"est entre",s2798d16f4e04857e:"Minute dans l'heure",s281f1d977ddc0ebe:"Numéro du mois",s2ea38ce3da088075:"Périodes",s2fb2a49481123d6a:"Semaines",s2fedf26ef08343d4:"est égal à",s3924c3d773a80312:"dernier dispo",s3c6455b19fb1c3e4:"Changement absolu",s3dcf7b255596a2c3:"Écart type",s441accd1cd3484c9:"Minute",s463b8c4e92751ba5:"Options",s467b030b9a34b3c8:"Moyenne",s48e186fb300e5464:"Temps",s496c60f73bdf5725:"Agrégation",s4b30fad1c34464e1:"supérieur ou égal à",s4b58c01e2578f5e4:"Légende",s4e585eeea351a038:"contient",s4efbcab48a433013:"Long",s4f27f6b48a68b5c2:"Verrouiller",s519d0aa80bbafd42:"semaine en cours",s57ace73e7c6e719f:"n'est pas dans",s58ec693e33483873:"inférieur à",s5d929ff1619ac0c9:"Rechercher",s5e2654fb8587f442:"Dupliquer",s602805b1eb3106c6:"Axe Y",s6031881827829901:"24h",s60b34c3c17dc35bd:"Années",s64ef2a6c2dd1d3d1:"Modifier",s66722bc2ea775e05:"Désactivé",s669b18c6d2d9c95b:"Aucun",s66dcbbc0355c2759:"Dimanche",s680f01021b5e339d:"Semaine",s6b0bffd88024372f:"Heure",s708bbac083d05109:"ne commence pas par",s70a773eb3133e5fa:"mois en cours",s716a6024e3fe999c:"Afficher",s71a5c9f4b68ef4d4:"Compte",
|
20
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={s00decbd8fed4f501:"Maximum",s0456d2ad905847d9:"dernier",s079a052719914d71:"Catégorie",s08098b07b4c86ff2:"<=",s08108707b4ce87d4:">=",s088e3b07b5394bc3:"ég",s099b18e1bd8a1154:"Heures",s09c2b609dff29061:"Somme cumulative",s0acece4c687177a9:"Numéros de trimestre",s0bb151c9319a6813:"Axe X",s0bca0c91195d8d6d:"cont",s1125d159f7e64df5:"Affichage",s11326fd2590f4e5e:"Par défaut",s122f7f3f1a22ea50:"non ég",s13f5793e33ebda4f:"entre",s146475c4daa430ed:"Décimales",s178b06f4d02cfd40:"n'est pas manquant",s184501a399a815dc:"Trimestres",s18498398aeb37b07:"La semaine commence le",s187528426100c44e:"Aucune donnée",s1cdb6b07fe827486:"Numéro de la semaine",s1e593719b55d60c0:"MTD",s1f0916624a87d415:"Jour de l'année",s2454d1f117573457:"Précision",s247d110f13a3a288:"Jour de la semaine",s26273c258ddde0e1:"Sélectionner...",s2695506122ffd614:"Seconde dans la minute",s2718cebf7de190e1:"est entre",s2798d16f4e04857e:"Minute dans l'heure",s281f1d977ddc0ebe:"Numéro du mois",s2ea38ce3da088075:"Périodes",s2fb2a49481123d6a:"Semaines",s2fedf26ef08343d4:"est égal à",s3924c3d773a80312:"dernier dispo",s3c6455b19fb1c3e4:"Changement absolu",s3dcf7b255596a2c3:"Écart type",s441accd1cd3484c9:"Minute",s463b8c4e92751ba5:"Options",s467b030b9a34b3c8:"Moyenne",s48e186fb300e5464:"Temps",s496c60f73bdf5725:"Agrégation",s4b30fad1c34464e1:"supérieur ou égal à",s4b58c01e2578f5e4:"Légende",s4e585eeea351a038:"contient",s4efbcab48a433013:"Long",s4f27f6b48a68b5c2:"Verrouiller",s519d0aa80bbafd42:"semaine en cours",s57ace73e7c6e719f:"n'est pas dans",s58ec693e33483873:"inférieur à",s5d929ff1619ac0c9:"Rechercher",s5e2654fb8587f442:"Dupliquer",s602805b1eb3106c6:"Axe Y",s6031881827829901:"24h",s60b34c3c17dc35bd:"Années",s64ef2a6c2dd1d3d1:"Modifier",s66722bc2ea775e05:"Désactivé",s669b18c6d2d9c95b:"Aucun",s66dcbbc0355c2759:"Dimanche",s680f01021b5e339d:"Semaine",s6b0bffd88024372f:"Heure",s708bbac083d05109:"ne commence pas par",s70a773eb3133e5fa:"mois en cours",s716a6024e3fe999c:"Afficher",s71a5c9f4b68ef4d4:"Compte",s74dcd519e6563a26:"WTD",s7632fc9aa12bf382:"Mois",s7a6878d41ffac284:"dernier complet",s846876f9b712e843:"n'est pas égal à",s862f5319f0256b94:"QTD",s8665d029b5cb8b24:"Totaux généraux",s8a56a8c8bd19c9c7:"manquant",s8d0259032729869d:"Seconde",s965c503c3e42fdfe:"Activé",s9689e928323dc124:"dernière (période) complète",s981f232bd33ec927:"Taux",s9854300ef4a37d18:"ne se termine pas par",s987abe19fac8d108:"Somme",s98c337186f2d57c6:"Largeur de la bin",s98db41a3eb532203:"année en cours",s991d216e6efc157c:"Aucun résultat",s996319f23f6cf0b5:"se termine par",s9b9009d4a5004fb8:"Regroupement",s9b9d6ce29d05a298:"inférieur ou égal à",sa3c9339de23c1752:"Format",sa6ab5184d6315895:"De",sa6f2645578b2d2bc:"Année",sa7effa06c0f6784c:"supérieur à",sa8beb6b1182241ac:"Filtres",sac8256732f2ee1e5:"Données",sac8b59943205b14f:"prochaine (période) complète",sac94bb71f7737997:"Médiane",sacae74732f544fca:"Jours",saf63b34c8601a6e1:">",sb1f654608a3eea75:"Jour de la semaine",sb3b793ff5cc1bc39:"prochaines (x) périodes",sb47daaf9e1c4a905:"Mois",sb5b295e3a7500b9c:"Niveaux de durée",sb6513caf69971fb5:"Court",sb70671db5700ff60:"ne finit pas par",sb93e5af29aca2e3d:"est manquant",sbbb97b1c63507dc0:"Nombre",sbeebe911264bed23:"dernières (x) périodes disponibles",sc1bf67624fa6d498:"% de changement",sc27dc998602cdc61:"Exemple :",sc4842e5b8b90466a:"Secondes",sc6e49f3d37e54030:"Heure dans la journée",sc6f5a4fc0583d734:"est dans",scb7bab1a17663a6c:"YTD",scf2bb2b0de9cdb8a:"Milliseconde",sd237be440de38cc7:"Trimestre",sd28141a332dc31fa:"Jour du mois",sd5b1040899eb149d:"suivant complet",sd66a74fff07a11fb:"{count} éléments sélectionnés",sd7ebafacf602c9bd:"Lettre",sdb73788b3c975f16:"Automatique",sdc673e73b5c13aea:"Supprimer",sdfeb2151b9e78d4d:"ne contient pas",se0955919920ee87d:"Jour",se211e3d21bbf3bff:"Mesure",se2b7530e30fa607d:"Comparaison de période",se415bbea6c976fb1:"Grouper par",se5316cbaa025f028:"suivant",se715be190539325a:"il y a",se8e9d799a9e267ce:"Compte distinct",se9e535bb9591039e:"Sélectionner une expression",se9ff6e9a514d8cf9:"Lundi",seb4eae68d45315b7:"Minimum",seb9c440de1ce6044:"commence par",sec2f608650e36ac5:"dernière période complète",secf42ec1c7c47be2:"non manquant",see0ec27fb03d880e:"Minutes",sef49aec68fd1dc66:"Nom",sf518b78d9734f57b:"ne commence pas par",sf6cda8263b3170af:"Utiliser la période à ce jour pour les périodes incomplètes",sf70eaf9ab4c93082:"non cont",sf9c10516a62a23db:"Afficher comme",sfa2d0aa30ee5aa58:"dernières (x) périodes",sfad9ed343e97551c:"Valeur passée",sfbac36245480ddbc:"Séparateur",sfda1c9d0be35cec8:"trimestre en cours"};exports.templates=e;
|