@luzmo/analytics-components-kit 1.0.1-alpha.85 → 1.0.1-alpha.86
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/angular/README.md +1 -0
- package/angular/components/ai-interaction-textarea.component.ts +2 -0
- package/angular/components/dataset-icon.component.ts +21 -0
- package/angular/components/dataset-selector-row.component.ts +2 -0
- package/angular/esm/components/ai-interaction-textarea.component.d.ts +2 -1
- package/angular/esm/components/ai-interaction-textarea.component.js +7 -2
- package/angular/esm/components/dataset-icon.component.d.ts +9 -0
- package/angular/esm/components/dataset-icon.component.js +36 -0
- package/angular/esm/components/dataset-selector-row.component.d.ts +2 -1
- package/angular/esm/components/dataset-selector-row.component.js +7 -2
- package/angular/esm/index.d.ts +3 -1
- package/angular/esm/index.js +3 -0
- package/angular/esm/types.d.ts +14 -0
- package/angular/index.ts +3 -0
- package/angular/types.ts +13 -0
- package/components/ai-chat-messages-container/index.cjs +1 -1
- package/components/ai-chat-messages-container/index.js +2 -2
- package/components/ai-interaction-textarea/ai-interaction-textarea.d.ts +7 -1
- package/components/ai-interaction-textarea/index.cjs +32 -28
- package/components/ai-interaction-textarea/index.js +62 -49
- package/components/area-chart-options.config-C7sMAHco.cjs +20 -0
- package/components/{area-chart-options.config-u8itidsi.js → area-chart-options.config-_J0sG4NF.js} +26 -14
- package/components/{bar-chart-options.config-DIirbAJ0.js → bar-chart-options.config-D1mb5TDl.js} +35 -21
- package/components/bar-chart-options.config-DcxEkOT5.cjs +20 -0
- package/components/box-plot-options.config-SrrbDEYW.cjs +20 -0
- package/components/{box-plot-options.config-BWROiguA.js → box-plot-options.config-xu_i6ms7.js} +88 -52
- package/components/{bubble-chart-options.config-4QD8VPhU.js → bubble-chart-options.config-BacgXkJ_.js} +18 -9
- package/components/bubble-chart-options.config-Ihn6eVQI.cjs +20 -0
- package/components/{bullet-chart-options.config-3bH7uekx.js → bullet-chart-options.config-CDPpX1yc.js} +1 -1
- package/components/{bullet-chart-options.config-tWb6Fio-.cjs → bullet-chart-options.config-DfS4Bwds.cjs} +1 -1
- package/components/calculate-data-item-icon-DZDqb3xu.js +139 -0
- package/components/{calculate-data-item-icon-CX4VW9Km.cjs → calculate-data-item-icon-DjW1_RI1.cjs} +1 -1
- package/components/{choropleth-map-options.config-CMxx3ORp.js → choropleth-map-options.config-B_W9-rhe.js} +84 -63
- package/components/choropleth-map-options.config-ZW8yoZH2.cjs +20 -0
- package/components/{circular-gauge-options.config-DhIKn44k.js → circular-gauge-options.config-DAIjz4Rl.js} +36 -23
- package/components/circular-gauge-options.config-msZ4mfpN.cjs +20 -0
- package/components/color-B6LaL8qz.cjs +20 -0
- package/components/{color-B7m0j8lX.js → color-DuJ4-73S.js} +950 -941
- package/components/{color-range-utils-BSfqtB3A.js → color-range-utils-Bvo9sm5A.js} +32 -31
- package/components/color-range-utils-C5yXW7ZC.cjs +20 -0
- package/components/{column-chart-options.config-D5-yR7iq.js → column-chart-options.config-B5SjBVdy.js} +37 -27
- package/components/column-chart-options.config-BjDvA7i9.cjs +20 -0
- package/components/{conditional-number-options.config-DPYsdML5.js → conditional-number-options.config-BCEpSK9J.js} +40 -24
- package/components/conditional-number-options.config-DgzUo0xi.cjs +20 -0
- package/components/dataset-icon/dataset-icon.d.ts +45 -0
- package/components/dataset-icon/index.cjs +60 -0
- package/components/dataset-icon/index.d.ts +7 -0
- package/components/dataset-icon/index.js +167 -0
- package/components/dataset-selector-list/dataset-selector-list.d.ts +1 -0
- package/components/dataset-selector-list/index.cjs +10 -8
- package/components/dataset-selector-list/index.js +68 -68
- package/components/dataset-selector-row/dataset-selector-row.d.ts +7 -0
- package/components/dataset-selector-row/index.cjs +21 -18
- package/components/dataset-selector-row/index.js +63 -57
- package/components/{date-comparison-filter-options.config-QaoWaFUn.cjs → date-comparison-filter-options.config-DAVncmi0.cjs} +1 -1
- package/components/{date-comparison-filter-options.config-CSwGyuBg.js → date-comparison-filter-options.config-JA_yYpJa.js} +6 -3
- package/components/{date-filter-options.config-n-zhWaYa.cjs → date-filter-options.config-CWPMtA18.cjs} +1 -1
- package/components/{date-filter-options.config-BTVyHRkp.js → date-filter-options.config-DBRxlTWy.js} +6 -3
- package/components/display-settings/index.cjs +1 -1
- package/components/display-settings/index.js +1 -1
- package/components/display-settings-binning/index.cjs +5 -5
- package/components/display-settings-binning/index.js +30 -29
- package/components/display-settings-datetime/index.cjs +29 -29
- package/components/display-settings-datetime/index.js +120 -112
- package/components/display-settings-grand-totals/index.cjs +4 -4
- package/components/display-settings-grand-totals/index.js +24 -23
- package/components/display-settings-numeric/index.cjs +48 -48
- package/components/display-settings-numeric/index.js +211 -194
- package/components/display-settings-period-over-period/index.cjs +16 -16
- package/components/display-settings-period-over-period/index.js +97 -91
- package/components/{donut-chart-options.config-3ZqX8Cbb.js → donut-chart-options.config-BulUEiaH.js} +37 -21
- package/components/donut-chart-options.config-tNpqBZfR.cjs +20 -0
- package/components/draggable-data-item/index.cjs +8 -8
- package/components/draggable-data-item/index.js +45 -44
- package/components/draggable-data-item-level/index.cjs +11 -11
- package/components/draggable-data-item-level/index.js +92 -89
- package/components/{dropdown-filter-options.config-CGJTtgAX.js → dropdown-filter-options.config-D9dvPypF.js} +10 -7
- package/components/{dropdown-filter-options.config-DJvfCTk7.cjs → dropdown-filter-options.config-DS-MORmq.cjs} +1 -1
- package/components/droppable-slot/index.cjs +20 -20
- package/components/droppable-slot/index.js +181 -167
- package/components/edit-item/index.cjs +9 -9
- package/components/edit-item/index.js +119 -116
- package/components/edit-option/index.cjs +1 -1
- package/components/edit-option/index.js +1 -1
- package/components/edit-option-action-button-group/index.cjs +8 -8
- package/components/edit-option-action-button-group/index.js +53 -52
- package/components/{edit-option-base-Bh29-Cak.js → edit-option-base-DIc7iC-b.js} +1 -1
- package/components/{edit-option-base-tFr8Qg2B.cjs → edit-option-base-VhTih9T1.cjs} +1 -1
- package/components/edit-option-color-palette-picker/index.cjs +1 -1
- package/components/edit-option-color-palette-picker/index.js +1 -1
- package/components/edit-option-color-picker/index.cjs +1 -1
- package/components/edit-option-color-picker/index.js +1 -1
- package/components/edit-option-color-range/index.cjs +19 -19
- package/components/edit-option-color-range/index.js +117 -106
- package/components/edit-option-multi-language-field/index.cjs +3 -3
- package/components/edit-option-multi-language-field/index.js +27 -26
- package/components/edit-option-number-field/index.cjs +1 -1
- package/components/edit-option-number-field/index.js +1 -1
- package/components/edit-option-picker/index.cjs +5 -5
- package/components/edit-option-picker/index.js +7 -7
- package/components/edit-option-position-picker/index.cjs +4 -4
- package/components/edit-option-position-picker/index.js +25 -21
- package/components/edit-option-positions-number-field/index.cjs +9 -9
- package/components/edit-option-positions-number-field/index.js +81 -76
- package/components/edit-option-radio-button-group/index.cjs +6 -6
- package/components/edit-option-radio-button-group/index.js +22 -21
- package/components/edit-option-slider/index.cjs +1 -1
- package/components/edit-option-slider/index.js +1 -1
- package/components/edit-option-switch/index.cjs +1 -1
- package/components/edit-option-switch/index.js +1 -1
- package/components/edit-option-text-field/index.cjs +2 -2
- package/components/edit-option-text-field/index.js +23 -22
- package/components/en-BKBhKBXY.cjs +20 -0
- package/components/en-BOTjhwEc.js +1488 -0
- package/components/{en-GB-CbNfyZMo.js → en-GB-CEHEs8F2.js} +1 -1
- package/components/{en-GB-CXVKFWyH.cjs → en-GB-DG6uS3sM.cjs} +1 -1
- package/components/{evolution-number-options.config-Bc9eKYnn.cjs → evolution-number-options.config-BgIZY4gQ.cjs} +1 -1
- package/components/{evolution-number-options.config-BIPO_4n3.js → evolution-number-options.config-DzkfeoIN.js} +14 -11
- package/components/{extrapolate-color-C0n1UDs-.cjs → extrapolate-color-0j_AeYkz.cjs} +1 -1
- package/components/{extrapolate-color-v1PimdQr.js → extrapolate-color-CC9CURf6.js} +1 -1
- package/components/filter-data-item-picker/index.cjs +7 -7
- package/components/filter-data-item-picker/index.js +86 -85
- package/components/filter-expression-picker/index.cjs +1 -1
- package/components/filter-expression-picker/index.js +1 -1
- package/components/filter-item/index.cjs +6 -6
- package/components/filter-item/index.js +119 -109
- package/components/filter-value-picker/index.cjs +2 -2
- package/components/filter-value-picker/index.js +36 -34
- package/components/filter-value-picker-datetime/index.cjs +8 -8
- package/components/filter-value-picker-datetime/index.js +71 -56
- package/components/filter-value-picker-hierarchy/index.cjs +12 -12
- package/components/filter-value-picker-hierarchy/index.js +124 -113
- package/components/filter-value-picker-numeric/index.cjs +8 -8
- package/components/filter-value-picker-numeric/index.js +110 -101
- package/components/focusable-B3E_hQmm.cjs +20 -0
- package/components/{focusable-BS2pbY7w.js → focusable-DCIFkpiW.js} +26 -24
- package/components/{funnel-chart-options.config-CrJy2U7_.js → funnel-chart-options.config-C_VjTOvD.js} +20 -5
- package/components/funnel-chart-options.config-D7H7gFcx.cjs +20 -0
- package/components/{get-css-variable-CuDaWSjr.cjs → get-css-variable-DLiZYZEi.cjs} +2 -2
- package/components/{get-css-variable-DEf4GhTH.js → get-css-variable-YlLiVgo8.js} +4 -4
- package/components/grid/index.cjs +46 -46
- package/components/grid/index.js +1873 -2612
- package/components/{heat-map-options.config-CmL87j1j.js → heat-map-options.config-BnLWe8jS.js} +41 -35
- package/components/heat-map-options.config-DVH-Bb5-.cjs +20 -0
- package/components/heat-table-options.config-B12JEYnp.cjs +20 -0
- package/components/{heat-table-options.config-BrCYAgYD.js → heat-table-options.config-CUsDdgUr.js} +88 -60
- package/components/helpers-DXQwEH1P.cjs +20 -0
- package/components/helpers-v1bPALRP.js +91 -0
- package/components/hexbin-map-options.config-DZERRhM8.cjs +20 -0
- package/components/{hexbin-map-options.config-BguV1w8q.js → hexbin-map-options.config-F-7uCqxb.js} +38 -20
- package/components/index-BPN3bG9X.js +1733 -0
- package/components/{index-BNAmjOkm.cjs → index-BPNsFiyq.cjs} +4 -4
- package/components/index-CQ9ck-BO.cjs +249 -0
- package/components/index-CXn67vdn.cjs +121 -0
- package/components/{index-haa7WNrl.js → index-CdIUfo-L.js} +481 -453
- package/components/{index-3WsfvkZF.js → index-Do7O9azB.js} +123 -112
- package/components/{index-BDFBUGBc.js → index-PMDgRSzR.js} +104 -94
- package/components/index-cfj52IbK.cjs +20 -0
- package/components/index.cjs +1 -1
- package/components/index.js +90 -88
- package/components/item-options-configs.cjs +1 -1
- package/components/item-options-configs.js +37 -37
- package/components/{line-chart-options.config-BhirTGqD.js → line-chart-options.config-DB3IsXXr.js} +28 -13
- package/components/line-chart-options.config-DSugoe0t.cjs +20 -0
- package/components/{localize-CcDpq940.js → localize-BX7q0S0M.js} +10 -10
- package/components/{localize-C4zNlrwK.cjs → localize-r7ALOUy_.cjs} +1 -1
- package/components/{marker-map-options.config-Bx17jmiq.js → marker-map-options.config-DPJ955tt.js} +1 -1
- package/components/{marker-map-options.config-CvhCylSC.cjs → marker-map-options.config-_FYZzRwA.cjs} +1 -1
- package/components/pivot-table-options.config-BiJXKSFR.cjs +20 -0
- package/components/{pivot-table-options.config-CFc7y0IT.js → pivot-table-options.config-DNK_AIG7.js} +24 -15
- package/components/pyramid-chart-options.config-C4zbFS26.cjs +20 -0
- package/components/{pyramid-chart-options.config-2Waxb11l.js → pyramid-chart-options.config-CcVMatYx.js} +43 -29
- package/components/{radar-chart-options.config-CPN5fOl8.js → radar-chart-options.config-CUZn_3Fd.js} +23 -11
- package/components/radar-chart-options.config-EqQu6PTh.cjs +20 -0
- package/components/{regular-table-options.config-CFKCJQK1.js → regular-table-options.config-BoLZsBry.js} +23 -17
- package/components/{regular-table-options.config-YRuoijIk.cjs → regular-table-options.config-DTx3RTnS.cjs} +1 -1
- package/components/{route-map-options.config-CyolTJfK.js → route-map-options.config-CN86T7c0.js} +109 -87
- package/components/route-map-options.config-D7NJePTu.cjs +20 -0
- package/components/{sankey-diagram-options.config-D7OSvSqm.cjs → sankey-diagram-options.config-RFB83YLZ.cjs} +1 -1
- package/components/{sankey-diagram-options.config-Ldjk84ro.js → sankey-diagram-options.config-tVLKy_Zn.js} +10 -7
- package/components/scatter-plot-options.config-CFfGJXsV.cjs +20 -0
- package/components/{scatter-plot-options.config-CfxEfkQ1.js → scatter-plot-options.config-Corlzno1.js} +86 -56
- package/components/{search-filter-options.config-Oqco9BKj.cjs → search-filter-options.config-BCaDlYqZ.cjs} +1 -1
- package/components/{search-filter-options.config-C0syQmP4.js → search-filter-options.config-BE3JhR-F.js} +6 -3
- package/components/{set-locale-nv7fWEtl.js → set-locale-B-Tz2sdI.js} +8 -1
- package/components/{slicer-filter-options.config-DmOe3440.js → slicer-filter-options.config-3JZZcw5C.js} +18 -9
- package/components/slicer-filter-options.config-DNI-XevE.cjs +20 -0
- package/components/{slider-filter-options.config-B1M8RcDs.js → slider-filter-options.config-DH4SS8wH.js} +1 -1
- package/components/{slider-filter-options.config-k45I-t6G.cjs → slider-filter-options.config-_8Z2zKmU.cjs} +1 -1
- package/components/slot-contents-picker/index.cjs +33 -33
- package/components/slot-contents-picker/index.js +205 -194
- package/components/slot-menu/index.cjs +12 -12
- package/components/slot-menu/index.js +184 -171
- package/components/slot-menu-list/index.cjs +3 -3
- package/components/slot-menu-list/index.js +103 -97
- package/components/speedometer-chart-options.config-BX9LTQBH.cjs +20 -0
- package/components/{speedometer-chart-options.config-CzOmuEF8.js → speedometer-chart-options.config-SL581yOa.js} +53 -31
- package/components/{spike-map-options.config-Cbt1YUw6.js → spike-map-options.config-C5KewecZ.js} +122 -91
- package/components/spike-map-options.config-DoBFXPmN.cjs +20 -0
- package/components/{sunburst-chart-options.config-Yrxc2i57.cjs → sunburst-chart-options.config-AbNjWS6t.cjs} +1 -1
- package/components/{sunburst-chart-options.config-_dyLQxPJ.js → sunburst-chart-options.config-CNauGQJv.js} +20 -9
- package/components/{symbol-map-options.config-BORL1NSU.js → symbol-map-options.config-DdDA4aa7.js} +20 -11
- package/components/symbol-map-options.config-m-lwLTtu.cjs +20 -0
- package/components/treemap-chart-options.config-C0Q9aQ1Z.cjs +20 -0
- package/components/{treemap-chart-options.config-B9i9qIm_.js → treemap-chart-options.config-D5AJaF_u.js} +37 -20
- package/components/utils.cjs +1 -1
- package/components/utils.js +65 -64
- package/components/{video-options.config-B0asgYt8.cjs → video-options.config-CGsDTwHc.cjs} +1 -1
- package/components/{video-options.config-UX-9MDfS.js → video-options.config-Dk36zJ1B.js} +10 -7
- package/components/{wordcloud-chart-options.config-BKtJT8Va.cjs → wordcloud-chart-options.config-vGfCW8kE.cjs} +1 -1
- package/components/{wordcloud-chart-options.config-BoB_KuhA.js → wordcloud-chart-options.config-w2NUIWVA.js} +7 -4
- package/custom-elements.json +154 -20
- package/index.d.ts +1 -0
- package/package.json +6 -1
- package/types.d.ts +14 -0
- package/components/area-chart-options.config-Bl8bhhOo.cjs +0 -20
- package/components/bar-chart-options.config-CePAqM83.cjs +0 -20
- package/components/box-plot-options.config-BVNrV2eD.cjs +0 -20
- package/components/bubble-chart-options.config-BDgOe3GQ.cjs +0 -20
- package/components/calculate-data-item-icon-C8CbsMQf.js +0 -139
- package/components/choropleth-map-options.config-CWJACFd0.cjs +0 -20
- package/components/circular-gauge-options.config-BMxgq3zH.cjs +0 -20
- package/components/color-Czp4Im5q.cjs +0 -20
- package/components/color-range-utils-DYYR-iwx.cjs +0 -20
- package/components/column-chart-options.config-BV9R3ssH.cjs +0 -20
- package/components/conditional-number-options.config-Co099Qfm.cjs +0 -20
- package/components/donut-chart-options.config-BQyPgnC9.cjs +0 -20
- package/components/en--a5SfjnM.cjs +0 -20
- package/components/en-CtCctD2c.js +0 -1483
- package/components/focusable-QLh-LlNt.cjs +0 -20
- package/components/funnel-chart-options.config-DrP4AFgk.cjs +0 -20
- package/components/heat-map-options.config-CIHnPdYE.cjs +0 -20
- package/components/heat-table-options.config-DTlZRc_i.cjs +0 -20
- package/components/helpers-9I0oLoUB.cjs +0 -20
- package/components/helpers-bR8Ibjqh.js +0 -79
- package/components/hexbin-map-options.config-CKnn3VAB.cjs +0 -20
- package/components/index-BGb_wRRW.js +0 -1766
- package/components/index-BUal0r_D.cjs +0 -121
- package/components/index-D1Y5TRsH.cjs +0 -20
- package/components/index-DvkzMbLt.cjs +0 -249
- package/components/line-chart-options.config-Cqwou5u6.cjs +0 -20
- package/components/pivot-table-options.config-uZDAertf.cjs +0 -20
- package/components/pyramid-chart-options.config-DoGfEvzU.cjs +0 -20
- package/components/radar-chart-options.config-CtNUMN1l.cjs +0 -20
- package/components/route-map-options.config-CVTk5RVL.cjs +0 -20
- package/components/scatter-plot-options.config-5gN7pMTm.cjs +0 -20
- package/components/slicer-filter-options.config-CrusP6a0.cjs +0 -20
- package/components/speedometer-chart-options.config-B4ceg_qI.cjs +0 -20
- package/components/spike-map-options.config-BkkDqb4g.cjs +0 -20
- package/components/symbol-map-options.config-NpBKm64d.cjs +0 -20
- package/components/treemap-chart-options.config-x4J54WSw.cjs +0 -20
|
@@ -17,8 +17,14 @@
|
|
|
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 { g as
|
|
21
|
-
const
|
|
20
|
+
import { g as i, a as o, b as c, c as d } from "./helpers-v1bPALRP.js";
|
|
21
|
+
const n = ({ slots: e }) => {
|
|
22
|
+
var r, a;
|
|
23
|
+
return Array.isArray(e) && (e == null ? void 0 : e.length) > 0 ? ((a = (r = e == null ? void 0 : e.find((l) => (l == null ? void 0 : l.name) === "color")) == null ? void 0 : r.content) == null ? void 0 : a.length) > 0 : !1;
|
|
24
|
+
}, t = ({ slots: e }) => {
|
|
25
|
+
var r, a;
|
|
26
|
+
return Array.isArray(e) && (e == null ? void 0 : e.length) > 0 ? ((a = (r = e == null ? void 0 : e.find((l) => (l == null ? void 0 : l.name) === "color")) == null ? void 0 : r.content) == null ? void 0 : a.length) === 0 || !(e != null && e.some((l) => (l == null ? void 0 : l.name) === "color")) : !0;
|
|
27
|
+
}, f = [
|
|
22
28
|
{
|
|
23
29
|
key: "general",
|
|
24
30
|
type: "group",
|
|
@@ -39,7 +45,7 @@ const o = ({ slots: e }) => Array.isArray(e) && e?.length > 0 ? e?.find((t) => t
|
|
|
39
45
|
label: "Legend",
|
|
40
46
|
default: !0
|
|
41
47
|
},
|
|
42
|
-
visibleIf:
|
|
48
|
+
visibleIf: n
|
|
43
49
|
},
|
|
44
50
|
{
|
|
45
51
|
key: "display.modeOption",
|
|
@@ -48,7 +54,7 @@ const o = ({ slots: e }) => Array.isArray(e) && e?.length > 0 ? e?.find((t) => t
|
|
|
48
54
|
label: "Mode option",
|
|
49
55
|
default: !1
|
|
50
56
|
},
|
|
51
|
-
visibleIf:
|
|
57
|
+
visibleIf: n
|
|
52
58
|
},
|
|
53
59
|
{
|
|
54
60
|
key: "display.labels",
|
|
@@ -82,19 +88,22 @@ const o = ({ slots: e }) => Array.isArray(e) && e?.length > 0 ? e?.find((t) => t
|
|
|
82
88
|
label: "Color area by category",
|
|
83
89
|
default: !0
|
|
84
90
|
},
|
|
85
|
-
visibleIf:
|
|
91
|
+
visibleIf: t
|
|
86
92
|
},
|
|
87
93
|
{
|
|
88
94
|
key: "color",
|
|
89
95
|
control: {
|
|
90
96
|
type: "color-picker",
|
|
91
97
|
label: "Area color",
|
|
92
|
-
default: ({ theme: e }) =>
|
|
93
|
-
extraLabel: ({ options: e, theme:
|
|
94
|
-
extraLabelHasClickAction: ({ options: e, theme:
|
|
95
|
-
extraLabelClickAction: ({ options: e, theme:
|
|
98
|
+
default: ({ theme: e }) => d(e),
|
|
99
|
+
extraLabel: ({ options: e, theme: r }) => c(e, r, "color"),
|
|
100
|
+
extraLabelHasClickAction: ({ options: e, theme: r }) => o(e, r, "color"),
|
|
101
|
+
extraLabelClickAction: ({ options: e, theme: r }) => i(e, r, "color")
|
|
96
102
|
},
|
|
97
|
-
visibleIf: ({ options: e, slots:
|
|
103
|
+
visibleIf: ({ options: e, slots: r }) => {
|
|
104
|
+
var a;
|
|
105
|
+
return ((a = e == null ? void 0 : e.categories) == null ? void 0 : a.colored) === !1 && t({ slots: r });
|
|
106
|
+
}
|
|
98
107
|
},
|
|
99
108
|
{
|
|
100
109
|
key: "mode",
|
|
@@ -114,11 +123,15 @@ const o = ({ slots: e }) => Array.isArray(e) && e?.length > 0 ? e?.find((t) => t
|
|
|
114
123
|
min: 0,
|
|
115
124
|
max: 24,
|
|
116
125
|
step: 1,
|
|
117
|
-
extraLabel: ({ options: e, theme:
|
|
118
|
-
|
|
119
|
-
|
|
126
|
+
extraLabel: ({ options: e, theme: r }) => {
|
|
127
|
+
var a;
|
|
128
|
+
if (typeof ((a = r == null ? void 0 : r.itemSpecific) == null ? void 0 : a.rounding) == "number")
|
|
129
|
+
return typeof (e == null ? void 0 : e.roundedCorners) != "number" ? "auto" : "reset";
|
|
130
|
+
},
|
|
131
|
+
extraLabelHasClickAction: ({ options: e, theme: r }) => {
|
|
132
|
+
var a;
|
|
133
|
+
return !(typeof ((a = r == null ? void 0 : r.itemSpecific) == null ? void 0 : a.rounding) != "number" || typeof (e == null ? void 0 : e.roundedCorners) != "number");
|
|
120
134
|
},
|
|
121
|
-
extraLabelHasClickAction: ({ options: e, theme: t }) => !(typeof t?.itemSpecific?.rounding != "number" || typeof e?.roundedCorners != "number"),
|
|
122
135
|
extraLabelClickAction: ({ options: e }) => ({ value: void 0, options: { ...e, roundedCorners: void 0 } })
|
|
123
136
|
}
|
|
124
137
|
},
|
|
@@ -131,11 +144,15 @@ const o = ({ slots: e }) => Array.isArray(e) && e?.length > 0 ? e?.find((t) => t
|
|
|
131
144
|
min: 0,
|
|
132
145
|
max: 20,
|
|
133
146
|
step: 1,
|
|
134
|
-
extraLabel: ({ options: e, theme:
|
|
135
|
-
|
|
136
|
-
|
|
147
|
+
extraLabel: ({ options: e, theme: r }) => {
|
|
148
|
+
var a;
|
|
149
|
+
if (typeof ((a = r == null ? void 0 : r.itemSpecific) == null ? void 0 : a.padding) == "number")
|
|
150
|
+
return typeof (e == null ? void 0 : e.padding) != "number" ? "auto" : "reset";
|
|
151
|
+
},
|
|
152
|
+
extraLabelHasClickAction: ({ options: e, theme: r }) => {
|
|
153
|
+
var a;
|
|
154
|
+
return !(typeof ((a = r == null ? void 0 : r.itemSpecific) == null ? void 0 : a.padding) != "number" || typeof (e == null ? void 0 : e.padding) != "number");
|
|
137
155
|
},
|
|
138
|
-
extraLabelHasClickAction: ({ options: e, theme: t }) => !(typeof t?.itemSpecific?.padding != "number" || typeof e?.padding != "number"),
|
|
139
156
|
extraLabelClickAction: ({ options: e }) => ({ value: void 0, options: { ...e, padding: void 0 } })
|
|
140
157
|
}
|
|
141
158
|
}
|
|
@@ -165,9 +182,9 @@ const o = ({ slots: e }) => Array.isArray(e) && e?.length > 0 ? e?.find((t) => t
|
|
|
165
182
|
}
|
|
166
183
|
}
|
|
167
184
|
],
|
|
168
|
-
visibleIf:
|
|
185
|
+
visibleIf: n
|
|
169
186
|
}
|
|
170
187
|
];
|
|
171
188
|
export {
|
|
172
|
-
|
|
189
|
+
f as default
|
|
173
190
|
};
|
package/components/utils.cjs
CHANGED
|
@@ -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
|
|
20
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const A=require("./decompose-numeric-format-B3rVVHpO.cjs"),q=require("./en-BKBhKBXY.cjs"),D=require("./localize-r7ALOUy_.cjs"),C=require("./index-6PmXiNch.cjs"),x=require("./index-Vdyb9z2D.cjs");function z(o){var a,m,h,S;const c=[],f=[];Object.keys(C.slotsConfigs).forEach(e=>{e.replace("SlotsConfig","");const t=e.replace("SlotsConfig","").replaceAll(/([A-Z])/g,"-$1").toLowerCase();f.push({type:t,slotsConfig:C.slotsConfigs[e]})});const i=f.find(e=>e.type===(o==null?void 0:o.oldItemType)),n=f.find(e=>e.type===(o==null?void 0:o.newItemType)),s=structuredClone((n==null?void 0:n.slotsConfig)??[]);if(!n)return{type:(i==null?void 0:i.type)??"bar-chart",slots:o.slots??[]};const r=structuredClone(o.slots??[]);for(const e of r){const t=i==null?void 0:i.slotsConfig.find(b=>b.name===e.name);e.type=(t==null?void 0:t.type)??(e==null?void 0:e.type)}const u=r.filter(e=>e.type==="mixed").sort((e,t)=>e.order-t.order),y=s.filter(e=>e.type==="mixed").sort((e,t)=>e.order-t.order),O=r.filter(e=>e.type==="numeric").sort((e,t)=>e.order-t.order),T=s.filter(e=>e.type==="numeric").sort((e,t)=>e.order-t.order),l=[];for(const e of O)for(const t of e.content)t.key="old-measure-"+(e==null?void 0:e.name)+"-"+e.content.indexOf(t),l.push(t);for(const e of u)for(const t of e.content)t.type==="numeric"&&(t.key="old-mixed-"+(e==null?void 0:e.name)+"-"+e.content.indexOf(t),l.push(t));const k=[...T,...y].sort((e,t)=>s.indexOf(e)-s.indexOf(t));for(const e of l)for(const t of k)c.includes(e.key)||(t.content=(t==null?void 0:t.content)??[],(((a=t==null?void 0:t.content)==null?void 0:a.length)===0||((m=t==null?void 0:t.content)==null?void 0:m.length)>0&&(t==null?void 0:t.canAcceptMultipleDataItems)===!0)&&(t.content.push(e),c.push(e.key)));const g=r.filter(e=>e.type==="categorical").sort((e,t)=>e.order-t.order),w=s.filter(e=>e.type==="categorical").sort((e,t)=>e.order-t.order),d=[];for(const e of g)for(const t of e.content)t.key="old-dimension-"+(e==null?void 0:e.name)+"-"+e.content.indexOf(t),d.push(t);for(const e of u)for(const t of e.content)t.type!=="numeric"&&(t.key="old-mixed-"+(e==null?void 0:e.name)+"-"+e.content.indexOf(t),d.push(t));const M=[...w,...y].sort((e,t)=>s.indexOf(e)-s.indexOf(t));for(const e of d)if(!c.includes(e.key))for(const t of M)t&&!c.includes(e.key)&&(t.content=(t==null?void 0:t.content)??[],(((h=t==null?void 0:t.content)==null?void 0:h.length)===0||((S=t==null?void 0:t.content)==null?void 0:S.length)>0&&(t==null?void 0:t.canAcceptMultipleDataItems)===!0)&&(t.content.push(e),c.push(e.key)));let p={...o.options};return n.setInitialOptions&&(p=n==null?void 0:n.setInitialOptions({...p})),{type:n.type??"bar-chart",slots:s.map(e=>({name:e.name,content:e.content??[]}))??[],options:p??{...o.options}}}exports.decomposeNumericFormat=A.decomposeNumericFormat;exports.formatter=q.formatter;exports.localize=D.localize;exports.getTheme=x.getTheme;exports.systemThemeIds=x.systemThemeIds;exports.switchItem=z;
|
package/components/utils.js
CHANGED
|
@@ -17,78 +17,79 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
import { d as
|
|
21
|
-
import { f as
|
|
22
|
-
import { l as
|
|
23
|
-
import { s as
|
|
24
|
-
import { g as
|
|
25
|
-
function
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
20
|
+
import { d as j } from "./decompose-numeric-format-BuZcjH2k.js";
|
|
21
|
+
import { f as E } from "./en-BOTjhwEc.js";
|
|
22
|
+
import { l as N } from "./localize-BX7q0S0M.js";
|
|
23
|
+
import { s as C } from "./index-V1XCZI4y.js";
|
|
24
|
+
import { g as $, s as q } from "./index-CgnTl6Sc.js";
|
|
25
|
+
function g(o) {
|
|
26
|
+
var u, m, h, x;
|
|
27
|
+
const c = [], f = [];
|
|
28
|
+
Object.keys(C).forEach((e) => {
|
|
29
|
+
e.replace("SlotsConfig", "");
|
|
30
|
+
const t = e.replace("SlotsConfig", "").replaceAll(/([A-Z])/g, "-$1").toLowerCase();
|
|
31
|
+
f.push({
|
|
32
|
+
type: t,
|
|
33
|
+
slotsConfig: C[e]
|
|
33
34
|
});
|
|
34
35
|
});
|
|
35
|
-
const
|
|
36
|
-
(
|
|
37
|
-
),
|
|
38
|
-
(
|
|
39
|
-
),
|
|
40
|
-
if (!
|
|
36
|
+
const r = f.find(
|
|
37
|
+
(e) => e.type === (o == null ? void 0 : o.oldItemType)
|
|
38
|
+
), n = f.find(
|
|
39
|
+
(e) => e.type === (o == null ? void 0 : o.newItemType)
|
|
40
|
+
), s = structuredClone((n == null ? void 0 : n.slotsConfig) ?? []);
|
|
41
|
+
if (!n)
|
|
41
42
|
return {
|
|
42
|
-
type:
|
|
43
|
-
slots:
|
|
43
|
+
type: (r == null ? void 0 : r.type) ?? "bar-chart",
|
|
44
|
+
slots: o.slots ?? []
|
|
44
45
|
};
|
|
45
|
-
const i = structuredClone(
|
|
46
|
-
for (const
|
|
47
|
-
const
|
|
48
|
-
(
|
|
46
|
+
const i = structuredClone(o.slots ?? []);
|
|
47
|
+
for (const e of i) {
|
|
48
|
+
const t = r == null ? void 0 : r.slotsConfig.find(
|
|
49
|
+
(A) => A.name === e.name
|
|
49
50
|
);
|
|
50
|
-
|
|
51
|
+
e.type = (t == null ? void 0 : t.type) ?? (e == null ? void 0 : e.type);
|
|
51
52
|
}
|
|
52
|
-
const
|
|
53
|
-
for (const
|
|
54
|
-
for (const
|
|
55
|
-
|
|
56
|
-
for (const
|
|
57
|
-
for (const
|
|
58
|
-
|
|
59
|
-
const
|
|
60
|
-
(
|
|
53
|
+
const a = i.filter((e) => e.type === "mixed").sort((e, t) => e.order - t.order), y = s.filter((e) => e.type === "mixed").sort((e, t) => e.order - t.order), S = i.filter((e) => e.type === "numeric").sort((e, t) => e.order - t.order), O = s.filter((e) => e.type === "numeric").sort((e, t) => e.order - t.order), l = [];
|
|
54
|
+
for (const e of S)
|
|
55
|
+
for (const t of e.content)
|
|
56
|
+
t.key = "old-measure-" + (e == null ? void 0 : e.name) + "-" + e.content.indexOf(t), l.push(t);
|
|
57
|
+
for (const e of a)
|
|
58
|
+
for (const t of e.content)
|
|
59
|
+
t.type === "numeric" && (t.key = "old-mixed-" + (e == null ? void 0 : e.name) + "-" + e.content.indexOf(t), l.push(t));
|
|
60
|
+
const k = [...O, ...y].sort(
|
|
61
|
+
(e, t) => s.indexOf(e) - s.indexOf(t)
|
|
61
62
|
);
|
|
62
|
-
for (const
|
|
63
|
-
for (const
|
|
64
|
-
|
|
65
|
-
const
|
|
66
|
-
for (const
|
|
67
|
-
for (const
|
|
68
|
-
|
|
69
|
-
for (const
|
|
70
|
-
for (const
|
|
71
|
-
|
|
72
|
-
const
|
|
73
|
-
...
|
|
74
|
-
...
|
|
75
|
-
].sort((
|
|
76
|
-
for (const
|
|
77
|
-
if (!
|
|
78
|
-
for (const
|
|
79
|
-
|
|
80
|
-
let d = { ...
|
|
81
|
-
return
|
|
82
|
-
type:
|
|
83
|
-
slots:
|
|
84
|
-
options: d ?? { ...
|
|
63
|
+
for (const e of l)
|
|
64
|
+
for (const t of k)
|
|
65
|
+
c.includes(e.key) || (t.content = (t == null ? void 0 : t.content) ?? [], (((u = t == null ? void 0 : t.content) == null ? void 0 : u.length) === 0 || ((m = t == null ? void 0 : t.content) == null ? void 0 : m.length) > 0 && (t == null ? void 0 : t.canAcceptMultipleDataItems) === !0) && (t.content.push(e), c.push(e.key)));
|
|
66
|
+
const T = i.filter((e) => e.type === "categorical").sort((e, t) => e.order - t.order), w = s.filter((e) => e.type === "categorical").sort((e, t) => e.order - t.order), p = [];
|
|
67
|
+
for (const e of T)
|
|
68
|
+
for (const t of e.content)
|
|
69
|
+
t.key = "old-dimension-" + (e == null ? void 0 : e.name) + "-" + e.content.indexOf(t), p.push(t);
|
|
70
|
+
for (const e of a)
|
|
71
|
+
for (const t of e.content)
|
|
72
|
+
t.type !== "numeric" && (t.key = "old-mixed-" + (e == null ? void 0 : e.name) + "-" + e.content.indexOf(t), p.push(t));
|
|
73
|
+
const M = [
|
|
74
|
+
...w,
|
|
75
|
+
...y
|
|
76
|
+
].sort((e, t) => s.indexOf(e) - s.indexOf(t));
|
|
77
|
+
for (const e of p)
|
|
78
|
+
if (!c.includes(e.key))
|
|
79
|
+
for (const t of M)
|
|
80
|
+
t && !c.includes(e.key) && (t.content = (t == null ? void 0 : t.content) ?? [], (((h = t == null ? void 0 : t.content) == null ? void 0 : h.length) === 0 || ((x = t == null ? void 0 : t.content) == null ? void 0 : x.length) > 0 && (t == null ? void 0 : t.canAcceptMultipleDataItems) === !0) && (t.content.push(e), c.push(e.key)));
|
|
81
|
+
let d = { ...o.options };
|
|
82
|
+
return n.setInitialOptions && (d = n == null ? void 0 : n.setInitialOptions({ ...d })), {
|
|
83
|
+
type: n.type ?? "bar-chart",
|
|
84
|
+
slots: s.map((e) => ({ name: e.name, content: e.content ?? [] })) ?? [],
|
|
85
|
+
options: d ?? { ...o.options }
|
|
85
86
|
};
|
|
86
87
|
}
|
|
87
88
|
export {
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
89
|
+
j as decomposeNumericFormat,
|
|
90
|
+
E as formatter,
|
|
91
|
+
$ as getTheme,
|
|
92
|
+
N as localize,
|
|
93
|
+
g as switchItem,
|
|
94
|
+
q as systemThemeIds
|
|
94
95
|
};
|
|
@@ -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
|
|
20
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=[{key:"general",type:"group",open:!0,children:[{key:"type",control:{type:"picker",label:"Type",default:"web",enum:["web","youtube"]}},{key:"youtube",control:{type:"multi-language-field",placeholder:"Enter the youtube URL"},visibleIf:({options:e})=>(e==null?void 0:e.type)==="youtube"},{key:"ogg",control:{type:"multi-language-field",label:"ogg:",placeholder:"Enter the .ogg file URL"},visibleIf:({options:e})=>(e==null?void 0:e.type)!=="youtube"},{key:"mp4",control:{type:"multi-language-field",label:"mp4:",placeholder:"Enter the .mp4 file URL"},visibleIf:({options:e})=>(e==null?void 0:e.type)!=="youtube"},{key:"webm",control:{type:"multi-language-field",label:"webm:",placeholder:"Enter the .webm file URL"},visibleIf:({options:e})=>(e==null?void 0:e.type)!=="youtube"},{type:"divider"},{key:"showControls",control:{type:"switch",label:"Show controls",default:!0}},{key:"autoPlay",control:{type:"switch",label:"Auto play",default:!1}},{key:"loop",control:{type:"switch",label:"Loop",default:!1}},{key:"backdropColor",control:{type:"color-picker",label:"Backdrop color",default:"#000000"}}]},{key:"image",type:"group",open:!0,children:[{key:"poster.show",control:{type:"switch",label:"Show image on load",default:!1}},{key:"poster.url",control:{type:"multi-language-field",label:"Poster URL",placeholder:"Enter image URL"},visibleIf:({options:e})=>{var l;return(l=e==null?void 0:e.poster)==null?void 0:l.show}}]}];exports.default=t;
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
const
|
|
20
|
+
const t = [
|
|
21
21
|
{
|
|
22
22
|
key: "general",
|
|
23
23
|
type: "group",
|
|
@@ -38,7 +38,7 @@ const l = [
|
|
|
38
38
|
type: "multi-language-field",
|
|
39
39
|
placeholder: "Enter the youtube URL"
|
|
40
40
|
},
|
|
41
|
-
visibleIf: ({ options: e }) => e
|
|
41
|
+
visibleIf: ({ options: e }) => (e == null ? void 0 : e.type) === "youtube"
|
|
42
42
|
},
|
|
43
43
|
{
|
|
44
44
|
key: "ogg",
|
|
@@ -47,7 +47,7 @@ const l = [
|
|
|
47
47
|
label: "ogg:",
|
|
48
48
|
placeholder: "Enter the .ogg file URL"
|
|
49
49
|
},
|
|
50
|
-
visibleIf: ({ options: e }) => e
|
|
50
|
+
visibleIf: ({ options: e }) => (e == null ? void 0 : e.type) !== "youtube"
|
|
51
51
|
},
|
|
52
52
|
{
|
|
53
53
|
key: "mp4",
|
|
@@ -56,7 +56,7 @@ const l = [
|
|
|
56
56
|
label: "mp4:",
|
|
57
57
|
placeholder: "Enter the .mp4 file URL"
|
|
58
58
|
},
|
|
59
|
-
visibleIf: ({ options: e }) => e
|
|
59
|
+
visibleIf: ({ options: e }) => (e == null ? void 0 : e.type) !== "youtube"
|
|
60
60
|
},
|
|
61
61
|
{
|
|
62
62
|
key: "webm",
|
|
@@ -65,7 +65,7 @@ const l = [
|
|
|
65
65
|
label: "webm:",
|
|
66
66
|
placeholder: "Enter the .webm file URL"
|
|
67
67
|
},
|
|
68
|
-
visibleIf: ({ options: e }) => e
|
|
68
|
+
visibleIf: ({ options: e }) => (e == null ? void 0 : e.type) !== "youtube"
|
|
69
69
|
},
|
|
70
70
|
{ type: "divider" },
|
|
71
71
|
{
|
|
@@ -122,11 +122,14 @@ const l = [
|
|
|
122
122
|
label: "Poster URL",
|
|
123
123
|
placeholder: "Enter image URL"
|
|
124
124
|
},
|
|
125
|
-
visibleIf: ({ options: e }) =>
|
|
125
|
+
visibleIf: ({ options: e }) => {
|
|
126
|
+
var l;
|
|
127
|
+
return (l = e == null ? void 0 : e.poster) == null ? void 0 : l.show;
|
|
128
|
+
}
|
|
126
129
|
}
|
|
127
130
|
]
|
|
128
131
|
}
|
|
129
132
|
];
|
|
130
133
|
export {
|
|
131
|
-
|
|
134
|
+
t as default
|
|
132
135
|
};
|
|
@@ -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
|
|
20
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./helpers-DXQwEH1P.cjs"),t=[{key:"general",type:"group",open:!0,children:[{key:"display.title",control:{type:"switch",label:"Title",default:!0}},{key:"categories.colored",control:{type:"switch",label:"Word color by category",default:!0}},{key:"color",control:{type:"color-picker",default:({theme:e})=>l.getThemeMainColor(e),extraLabel:({options:e,theme:o})=>l.getThemeMainColorResetLabel(e,o,"color"),extraLabelHasClickAction:({options:e,theme:o})=>l.getThemeMainColorExtraLabelHasClickAction(e,o,"color"),extraLabelClickAction:({options:e,theme:o})=>l.getThemeMainColorExtraLabelClickAction(e,o,"color")},visibleIf:({options:e})=>{var o;return((o=e==null?void 0:e.categories)==null?void 0:o.colored)===!1}},{key:"layout",control:{type:"radio-button-group",label:"Layout",default:"horizontal",enum:["horizontal","random"]}}]}];exports.default=t;
|
|
@@ -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 { g as
|
|
20
|
+
import { g as l, a as t, b as a, c as r } from "./helpers-v1bPALRP.js";
|
|
21
21
|
const i = [
|
|
22
22
|
{
|
|
23
23
|
key: "general",
|
|
@@ -46,10 +46,13 @@ const i = [
|
|
|
46
46
|
type: "color-picker",
|
|
47
47
|
default: ({ theme: e }) => r(e),
|
|
48
48
|
extraLabel: ({ options: e, theme: o }) => a(e, o, "color"),
|
|
49
|
-
extraLabelHasClickAction: ({ options: e, theme: o }) =>
|
|
50
|
-
extraLabelClickAction: ({ options: e, theme: o }) =>
|
|
49
|
+
extraLabelHasClickAction: ({ options: e, theme: o }) => t(e, o, "color"),
|
|
50
|
+
extraLabelClickAction: ({ options: e, theme: o }) => l(e, o, "color")
|
|
51
51
|
},
|
|
52
|
-
visibleIf: ({ options: e }) =>
|
|
52
|
+
visibleIf: ({ options: e }) => {
|
|
53
|
+
var o;
|
|
54
|
+
return ((o = e == null ? void 0 : e.categories) == null ? void 0 : o.colored) === !1;
|
|
55
|
+
}
|
|
53
56
|
},
|
|
54
57
|
{
|
|
55
58
|
key: "layout",
|
package/custom-elements.json
CHANGED
|
@@ -374,6 +374,17 @@
|
|
|
374
374
|
"default": "false",
|
|
375
375
|
"description": "When true, restricts results to public datasets (opendata parity)",
|
|
376
376
|
"attribute": "flag-opendata"
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"kind": "field",
|
|
380
|
+
"name": "disabled",
|
|
381
|
+
"type": {
|
|
382
|
+
"text": "boolean"
|
|
383
|
+
},
|
|
384
|
+
"default": "false",
|
|
385
|
+
"description": "When true, disables the entire component (sets opacity to 60% and prevents all interactions)",
|
|
386
|
+
"attribute": "disabled",
|
|
387
|
+
"reflects": true
|
|
377
388
|
}
|
|
378
389
|
],
|
|
379
390
|
"events": [
|
|
@@ -386,6 +397,15 @@
|
|
|
386
397
|
}
|
|
387
398
|
],
|
|
388
399
|
"attributes": [
|
|
400
|
+
{
|
|
401
|
+
"type": {
|
|
402
|
+
"text": "boolean"
|
|
403
|
+
},
|
|
404
|
+
"description": "When true, disables the entire component (sets opacity to 60% and prevents all interactions)",
|
|
405
|
+
"name": "disabled",
|
|
406
|
+
"default": "false",
|
|
407
|
+
"fieldName": "disabled"
|
|
408
|
+
},
|
|
389
409
|
{
|
|
390
410
|
"name": "placeholder",
|
|
391
411
|
"type": {
|
|
@@ -470,6 +490,120 @@
|
|
|
470
490
|
}
|
|
471
491
|
]
|
|
472
492
|
},
|
|
493
|
+
{
|
|
494
|
+
"kind": "javascript-module",
|
|
495
|
+
"path": "src/components/dataset-icon/dataset-icon.ts",
|
|
496
|
+
"declarations": [
|
|
497
|
+
{
|
|
498
|
+
"kind": "variable",
|
|
499
|
+
"name": "publicConnectors",
|
|
500
|
+
"type": {
|
|
501
|
+
"text": "[\n 'amazonathena',\n 'asana',\n 'bigquery',\n 'citybikes',\n 'clickhouse',\n 'demodataplugin',\n 'elasticsearch',\n 'exact',\n 'exactonline',\n 'exactonlinenl',\n 'google',\n 'googleanalytics',\n 'googleanalyticsv4',\n 'googledrive',\n 'hubspot',\n 'mailchimp',\n 'mariadb',\n 'mongodb',\n 'mysql',\n 'oracle',\n 'panoply',\n 'pipedrive',\n 'pipelinedb',\n 'postgresql',\n 'presto',\n 'redshift',\n 'salesforce',\n 'saphana',\n 'snowflake',\n 'sqlserver',\n 'stardog',\n 'synapse',\n 'teamleader',\n 'trino',\n 'typeform',\n 'zendesk'\n]"
|
|
502
|
+
},
|
|
503
|
+
"default": "[ 'amazonathena', 'asana', 'bigquery', 'citybikes', 'clickhouse', 'demodataplugin', 'elasticsearch', 'exact', 'exactonline', 'exactonlinenl', 'google', 'googleanalytics', 'googleanalyticsv4', 'googledrive', 'hubspot', 'mailchimp', 'mariadb', 'mongodb', 'mysql', 'oracle', 'panoply', 'pipedrive', 'pipelinedb', 'postgresql', 'presto', 'redshift', 'salesforce', 'saphana', 'snowflake', 'sqlserver', 'stardog', 'synapse', 'teamleader', 'trino', 'typeform', 'zendesk' ]",
|
|
504
|
+
"description": "Public connectors list - these are well-known connectors that may have CSS-based icons\nThis list should match the one from"
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
"kind": "class",
|
|
508
|
+
"description": "",
|
|
509
|
+
"name": "LuzmoDatasetIcon",
|
|
510
|
+
"members": [
|
|
511
|
+
{
|
|
512
|
+
"kind": "field",
|
|
513
|
+
"name": "tagName",
|
|
514
|
+
"type": {
|
|
515
|
+
"text": "string"
|
|
516
|
+
},
|
|
517
|
+
"static": true,
|
|
518
|
+
"default": "'luzmo-dataset-icon'"
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
"kind": "field",
|
|
522
|
+
"name": "datasetInfo",
|
|
523
|
+
"type": {
|
|
524
|
+
"text": "DatasetIcon | undefined"
|
|
525
|
+
},
|
|
526
|
+
"description": "The dataset information containing subtype and thumbnail data",
|
|
527
|
+
"attribute": "dataset"
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
"kind": "field",
|
|
531
|
+
"name": "size",
|
|
532
|
+
"type": {
|
|
533
|
+
"text": "'16px' | '24px' | '32px' | '48px' | '64px'"
|
|
534
|
+
},
|
|
535
|
+
"default": "'32px'",
|
|
536
|
+
"description": "The size of the icon",
|
|
537
|
+
"attribute": "size",
|
|
538
|
+
"reflects": true
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
"kind": "field",
|
|
542
|
+
"name": "appUrl",
|
|
543
|
+
"type": {
|
|
544
|
+
"text": "string"
|
|
545
|
+
},
|
|
546
|
+
"default": "''",
|
|
547
|
+
"description": "The base URL for the application (used for thumbnail URLs)",
|
|
548
|
+
"attribute": "app-url"
|
|
549
|
+
}
|
|
550
|
+
],
|
|
551
|
+
"attributes": [
|
|
552
|
+
{
|
|
553
|
+
"name": "dataset",
|
|
554
|
+
"type": {
|
|
555
|
+
"text": "DatasetIcon | undefined"
|
|
556
|
+
},
|
|
557
|
+
"description": "The dataset information containing subtype and thumbnail data",
|
|
558
|
+
"fieldName": "datasetInfo"
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
"name": "size",
|
|
562
|
+
"type": {
|
|
563
|
+
"text": "'16px' | '24px' | '32px' | '48px' | '64px'"
|
|
564
|
+
},
|
|
565
|
+
"default": "'32px'",
|
|
566
|
+
"description": "The size of the icon",
|
|
567
|
+
"fieldName": "size"
|
|
568
|
+
},
|
|
569
|
+
{
|
|
570
|
+
"name": "app-url",
|
|
571
|
+
"type": {
|
|
572
|
+
"text": "string"
|
|
573
|
+
},
|
|
574
|
+
"default": "''",
|
|
575
|
+
"description": "The base URL for the application (used for thumbnail URLs)",
|
|
576
|
+
"fieldName": "appUrl"
|
|
577
|
+
}
|
|
578
|
+
],
|
|
579
|
+
"superclass": {
|
|
580
|
+
"name": "LitElement",
|
|
581
|
+
"package": "lit"
|
|
582
|
+
},
|
|
583
|
+
"tagName": "luzmo-dataset-icon",
|
|
584
|
+
"customElement": true,
|
|
585
|
+
"summary": "Displays an icon for a dataset based on its type, thumbnails, and connector"
|
|
586
|
+
}
|
|
587
|
+
],
|
|
588
|
+
"exports": [
|
|
589
|
+
{
|
|
590
|
+
"kind": "js",
|
|
591
|
+
"name": "publicConnectors",
|
|
592
|
+
"declaration": {
|
|
593
|
+
"name": "publicConnectors",
|
|
594
|
+
"module": "src/components/dataset-icon/dataset-icon.ts"
|
|
595
|
+
}
|
|
596
|
+
},
|
|
597
|
+
{
|
|
598
|
+
"kind": "js",
|
|
599
|
+
"name": "LuzmoDatasetIcon",
|
|
600
|
+
"declaration": {
|
|
601
|
+
"name": "LuzmoDatasetIcon",
|
|
602
|
+
"module": "src/components/dataset-icon/dataset-icon.ts"
|
|
603
|
+
}
|
|
604
|
+
}
|
|
605
|
+
]
|
|
606
|
+
},
|
|
473
607
|
{
|
|
474
608
|
"kind": "javascript-module",
|
|
475
609
|
"path": "src/components/dataset-selector-list/dataset-selector-list.ts",
|
|
@@ -886,6 +1020,17 @@
|
|
|
886
1020
|
"default": "false",
|
|
887
1021
|
"description": "When true, restricts results to public datasets (opendata parity)",
|
|
888
1022
|
"attribute": "flag-opendata"
|
|
1023
|
+
},
|
|
1024
|
+
{
|
|
1025
|
+
"kind": "field",
|
|
1026
|
+
"name": "disabled",
|
|
1027
|
+
"type": {
|
|
1028
|
+
"text": "boolean"
|
|
1029
|
+
},
|
|
1030
|
+
"default": "false",
|
|
1031
|
+
"description": "When true, disables all interactions with the component",
|
|
1032
|
+
"attribute": "disabled",
|
|
1033
|
+
"reflects": true
|
|
889
1034
|
}
|
|
890
1035
|
],
|
|
891
1036
|
"events": [
|
|
@@ -905,6 +1050,15 @@
|
|
|
905
1050
|
}
|
|
906
1051
|
],
|
|
907
1052
|
"attributes": [
|
|
1053
|
+
{
|
|
1054
|
+
"type": {
|
|
1055
|
+
"text": "boolean"
|
|
1056
|
+
},
|
|
1057
|
+
"description": "When true, disables all interactions with the component",
|
|
1058
|
+
"name": "disabled",
|
|
1059
|
+
"default": "false",
|
|
1060
|
+
"fieldName": "disabled"
|
|
1061
|
+
},
|
|
908
1062
|
{
|
|
909
1063
|
"name": "selectedDatasets",
|
|
910
1064
|
"type": {
|
|
@@ -6844,16 +6998,6 @@
|
|
|
6844
6998
|
],
|
|
6845
6999
|
"tagName": "luzmo-filter-value-picker-hierarchy",
|
|
6846
7000
|
"customElement": true
|
|
6847
|
-
},
|
|
6848
|
-
{
|
|
6849
|
-
"kind": "variable",
|
|
6850
|
-
"name": "abortController",
|
|
6851
|
-
"default": "new AbortController()"
|
|
6852
|
-
},
|
|
6853
|
-
{
|
|
6854
|
-
"kind": "variable",
|
|
6855
|
-
"name": "promise",
|
|
6856
|
-
"default": "new Promise((resolve, reject) => { const fetchDataPromise = dataBroker.fetchData(query); fetchDataPromise.then(resolve).catch(reject); abortController.signal.addEventListener('abort', () => { console.warn('Request aborted'); reject({ status: 'aborted' }); }); })"
|
|
6857
7001
|
}
|
|
6858
7002
|
],
|
|
6859
7003
|
"exports": [
|
|
@@ -7057,16 +7201,6 @@
|
|
|
7057
7201
|
],
|
|
7058
7202
|
"tagName": "luzmo-filter-value-picker-numeric",
|
|
7059
7203
|
"customElement": true
|
|
7060
|
-
},
|
|
7061
|
-
{
|
|
7062
|
-
"kind": "variable",
|
|
7063
|
-
"name": "abortController",
|
|
7064
|
-
"default": "new AbortController()"
|
|
7065
|
-
},
|
|
7066
|
-
{
|
|
7067
|
-
"kind": "variable",
|
|
7068
|
-
"name": "promise",
|
|
7069
|
-
"default": "new Promise((resolve, reject) => { const fetchDataPromise = dataBroker.fetchData(query); fetchDataPromise.then(resolve).catch(reject); abortController.signal.addEventListener('abort', () => { console.warn('Request aborted'); reject({ status: 'aborted' }); }); })"
|
|
7070
7204
|
}
|
|
7071
7205
|
],
|
|
7072
7206
|
"exports": [
|
package/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export * from './components/ai-chat-message-assistant';
|
|
|
2
2
|
export * from './components/ai-chat-message-user';
|
|
3
3
|
export * from './components/ai-chat-messages-container';
|
|
4
4
|
export * from './components/ai-interaction-textarea';
|
|
5
|
+
export * from './components/dataset-icon';
|
|
5
6
|
export * from './components/dataset-selector-list';
|
|
6
7
|
export * from './components/dataset-selector-row';
|
|
7
8
|
export * from './components/display-settings';
|