@luzmo/analytics-components-kit 1.0.1-alpha.18 → 1.0.1-alpha.19
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/area-chart-options.config-A8NH6aUG.cjs +20 -0
- package/components/{area-chart-options.config-B5qtlH-_.js → area-chart-options.config-BbSP_Auh.js} +32 -31
- package/components/bar-chart-options.config-CRGDLJCK.js +161 -0
- package/components/bar-chart-options.config-Cpbrpmp1.cjs +20 -0
- package/components/{box-plot-options.config-DoZHVmpm.js → box-plot-options.config-BtonHYul.js} +65 -90
- package/components/box-plot-options.config-CGIKZNsw.cjs +20 -0
- package/components/bubble-chart-options.config-BM7njnkG.cjs +20 -0
- package/components/{bubble-chart-options.config-Cp6OQnJl.js → bubble-chart-options.config-R5R-E3dd.js} +24 -42
- package/components/{bubble-chart-options.de-L-yQc0Vj.cjs → bubble-chart-options.de-D2Z88fwi.cjs} +1 -1
- package/components/{bubble-chart-options.de-BGWrRmuN.js → bubble-chart-options.de-D8Ap7joq.js} +6 -1
- package/components/{bubble-chart-options.en-CYwRht5M.js → bubble-chart-options.en-BU3F4n13.js} +8 -3
- package/components/{bubble-chart-options.en-CCG_rkEd.cjs → bubble-chart-options.en-CP9PhuPw.cjs} +1 -1
- package/components/{bubble-chart-options.es-CihHnrZ4.cjs → bubble-chart-options.es-B6mTDtxs.cjs} +1 -1
- package/components/{bubble-chart-options.es-ZnkjzgL_.js → bubble-chart-options.es-Bh_dRgE3.js} +7 -2
- package/components/{bubble-chart-options.fr-CFULfSKT.cjs → bubble-chart-options.fr-BMPe3Z5G.cjs} +1 -1
- package/components/{bubble-chart-options.fr-Cym1h3sF.js → bubble-chart-options.fr-CNiJgmGl.js} +7 -2
- package/components/{bubble-chart-options.nl-Deep5xXO.cjs → bubble-chart-options.nl-5thQrFoi.cjs} +1 -1
- package/components/{bubble-chart-options.nl-D1TFWi5k.js → bubble-chart-options.nl-BoV3kpaZ.js} +8 -3
- package/components/{bullet-chart-options.config-D8mAooLE.js → bullet-chart-options.config-D-_esi9S.js} +7 -25
- package/components/bullet-chart-options.config-D-wrbTMO.cjs +20 -0
- package/components/{choropleth-map-options.config-4QDypbCL.cjs → choropleth-map-options.config-BOuMfF8r.cjs} +1 -1
- package/components/{choropleth-map-options.config-V8tRnQqz.js → choropleth-map-options.config-z2fY__jr.js} +4 -4
- package/components/{circular-guage-options.config-C3ExuT5F.js → circular-gauge-options.config-9tIxyJj1.js} +19 -29
- package/components/circular-gauge-options.config-h9KNl5Eq.cjs +20 -0
- package/components/column-chart-options.config-B-e2SI2W.cjs +20 -0
- package/components/{column-chart-options.config-CGw1dN1E.js → column-chart-options.config-D87ZFT76.js} +34 -52
- package/components/conditional-number-options.config-D09JeUlU.cjs +20 -0
- package/components/{conditional-number-options.config-B24MqnZj.js → conditional-number-options.config-PVvKLc1P.js} +16 -34
- package/components/{donut-chart-options.config-DuJFyp4z.js → donut-chart-options.config-NPwNtLDW.js} +23 -20
- package/components/donut-chart-options.config-bqcKuyIu.cjs +20 -0
- package/components/{dropdown-filter-options.config-BxjR1xAD.js → dropdown-filter-options.config-D9dvPypF.js} +5 -5
- package/components/{dropdown-filter-options.config-C3YEGK-5.cjs → dropdown-filter-options.config-DS-MORmq.cjs} +1 -1
- package/components/edit-item/index.cjs +14 -14
- package/components/edit-item/index.js +74 -56
- package/components/edit-option/helpers/get-default-value.d.ts +1 -0
- package/components/edit-option/index.cjs +91 -91
- package/components/edit-option/index.js +330 -330
- package/components/edit-option-position-picker/edit-option-position-picker.d.ts +1 -1
- package/components/edit-option-position-picker/index.cjs +2 -2
- package/components/edit-option-position-picker/index.js +4 -6
- package/components/funnel-chart-options.config-CrlHKd36.js +184 -0
- package/components/funnel-chart-options.config-hw_GXs4s.cjs +20 -0
- package/components/funnel-chart-options.de-CuVFMJUC.js +93 -0
- package/components/funnel-chart-options.de-DRAGes5d.cjs +20 -0
- package/components/funnel-chart-options.en-CvPbJr1r.js +93 -0
- package/components/funnel-chart-options.en-b6BBKfZh.cjs +20 -0
- package/components/funnel-chart-options.es-DfDw5S5g.cjs +20 -0
- package/components/funnel-chart-options.es-_M7sC4m6.js +93 -0
- package/components/funnel-chart-options.fr-DWkPkC47.cjs +20 -0
- package/components/funnel-chart-options.fr-DvnZ-XbE.js +93 -0
- package/components/funnel-chart-options.nl-BdAL0ZJP.cjs +20 -0
- package/components/funnel-chart-options.nl-C72_FTNm.js +93 -0
- package/components/helpers-CKo1Fkek.cjs +20 -0
- package/components/helpers-DqqxcHaY.js +51 -0
- package/components/{line-chart-options.config-CEUJYNt7.js → line-chart-options.config-BtfCTjNr.js} +32 -31
- package/components/line-chart-options.config-Cb7txmmw.cjs +20 -0
- package/components/radar-chart-options.config-Ck7skfge.cjs +20 -0
- package/components/{radar-chart-options.config-gKHFbC63.js → radar-chart-options.config-DFxna7UF.js} +25 -43
- package/components/sankey-diagram-options.config-DJqI2dMh.cjs +20 -0
- package/components/{sankey-diagram-options.config-ylhZhJ6H.js → sankey-diagram-options.config-Dj9g2BOp.js} +16 -26
- package/components/{search-filter-options.config-C9CoGS9f.cjs → search-filter-options.config-BCaDlYqZ.cjs} +1 -1
- package/components/{search-filter-options.config-baX2Vdul.js → search-filter-options.config-BE3JhR-F.js} +1 -1
- package/components/{slicer-filter-options.config-A3YK_KZn.js → slicer-filter-options.config-BArPA7Mb.js} +20 -38
- package/components/slicer-filter-options.config-BW44EPso.cjs +20 -0
- package/components/{slider-filter-options.config-C-zvfTNl.js → slider-filter-options.config-BIKIbGbN.js} +7 -25
- package/components/slider-filter-options.config-zuWa8Rtt.cjs +20 -0
- package/components/sunburst-chart-options.config-BjtKxThH.cjs +20 -0
- package/components/{sunburst-chart-options.config-VZqDthcz.js → sunburst-chart-options.config-BxkJfdrU.js} +30 -30
- package/components/{textobject-options.nl-V03mmGmH.js → text-options.nl-C8sliUgH.js} +2 -2
- package/components/{treemap-chart-options.config-f8L8KfDj.js → treemap-chart-options.config-MyCTS35Y.js} +45 -63
- package/components/treemap-chart-options.config-PwXbMhHZ.cjs +20 -0
- package/components/{video-options.config-BBDHSf6_.cjs → video-options.config-CGsDTwHc.cjs} +1 -1
- package/components/{video-options.config-CbtNZAEK.js → video-options.config-Dk36zJ1B.js} +5 -5
- package/components/wordcloud-chart-options.config-Cv9l0THs.cjs +20 -0
- package/components/{wordcloud-chart-options.config-CQs8YFfd.js → wordcloud-chart-options.config-Dq7TF0sb.js} +10 -28
- package/custom-elements.json +31 -3
- package/item-definitions/area-chart/area-chart-options.config.d.ts +27 -6
- package/item-definitions/bar-chart/bar-chart-options.config.d.ts +13 -13
- package/item-definitions/box-plot/box-plot-options.config.d.ts +16 -16
- package/item-definitions/bubble-chart/bubble-chart-options.config.d.ts +7 -7
- package/item-definitions/bubble-chart/i18n/bubble-chart-options.de.d.ts +5 -0
- package/item-definitions/bubble-chart/i18n/bubble-chart-options.en.d.ts +5 -0
- package/item-definitions/bubble-chart/i18n/bubble-chart-options.es.d.ts +5 -0
- package/item-definitions/bubble-chart/i18n/bubble-chart-options.fr.d.ts +5 -0
- package/item-definitions/bubble-chart/i18n/bubble-chart-options.nl.d.ts +5 -0
- package/item-definitions/bullet-chart/bullet-chart-options.config.d.ts +4 -4
- package/item-definitions/choropleth-map/choropleth-map-options.config.d.ts +1 -1
- package/item-definitions/circular-gauge/{circular-guage-options.config.d.ts → circular-gauge-options.config.d.ts} +4 -4
- package/item-definitions/column-chart/column-chart-options.config.d.ts +13 -13
- package/item-definitions/conditional-number/conditional-number-options.config.d.ts +7 -7
- package/item-definitions/donut-chart/donut-chart-options.config.d.ts +8 -7
- package/item-definitions/dropdown-filter/dropdown-filter-options.config.d.ts +2 -2
- package/item-definitions/funnel-chart/funnel-chart-options.config.d.ts +88 -0
- package/item-definitions/funnel-chart/i18n/funnel-chart-options.de.d.ts +72 -0
- package/item-definitions/funnel-chart/i18n/funnel-chart-options.en.d.ts +72 -0
- package/item-definitions/funnel-chart/i18n/funnel-chart-options.es.d.ts +72 -0
- package/item-definitions/funnel-chart/i18n/funnel-chart-options.fr.d.ts +72 -0
- package/item-definitions/funnel-chart/i18n/funnel-chart-options.nl.d.ts +72 -0
- package/item-definitions/helpers.d.ts +7 -0
- package/item-definitions/line-chart/line-chart-options.config.d.ts +31 -7
- package/item-definitions/radar-chart/radar-chart-options.config.d.ts +8 -8
- package/item-definitions/sankey-diagram/sankey-diagram-options.config.d.ts +5 -5
- package/item-definitions/search-filter/search-filter-options.config.d.ts +1 -1
- package/item-definitions/slicer-filter/slicer-filter-options.config.d.ts +8 -8
- package/item-definitions/slider-filter/slider-filter-options.config.d.ts +4 -4
- package/item-definitions/sunburst-chart/sunburst-chart-options.config.d.ts +4 -4
- package/item-definitions/treemap-chart/treemap-chart-options.config.d.ts +10 -10
- package/item-definitions/video/video-options.config.d.ts +3 -3
- package/item-definitions/wordcloud-chart/wordcloud-chart-options.config.d.ts +5 -5
- package/package.json +1 -1
- package/components/area-chart-options.config-DMfRioZx.cjs +0 -20
- package/components/bar-chart-options.config-C7BGg5sh.cjs +0 -20
- package/components/bar-chart-options.config-CQfpV1Rx.js +0 -181
- package/components/box-plot-options.config-BsFp2CBS.cjs +0 -20
- package/components/bubble-chart-options.config-DL5Xl6Ad.cjs +0 -20
- package/components/bullet-chart-options.config-BO22R7gx.cjs +0 -20
- package/components/circular-guage-options.config-Dvg5quJ9.cjs +0 -20
- package/components/column-chart-options.config-DomUPYPM.cjs +0 -20
- package/components/conditional-number-options.config-C1eERsoe.cjs +0 -20
- package/components/donut-chart-options.config-kUyTbAtZ.cjs +0 -20
- package/components/line-chart-options.config-DNGyRAvG.cjs +0 -20
- package/components/radar-chart-options.config-DUXOzdbl.cjs +0 -20
- package/components/sankey-diagram-options.config-CG5S1OI3.cjs +0 -20
- package/components/slicer-filter-options.config-DQunaj8q.cjs +0 -20
- package/components/slider-filter-options.config-DF_sAElS.cjs +0 -20
- package/components/sunburst-chart-options.config-CEfAd1RQ.cjs +0 -20
- package/components/treemap-chart-options.config-Dc2UNcGG.cjs +0 -20
- package/components/wordcloud-chart-options.config-BLvcDvxT.cjs +0 -20
- /package/components/{imageobject-options.de-CBkRiIbw.cjs → image-options.de-CBkRiIbw.cjs} +0 -0
- /package/components/{imageobject-options.de-CYVnqdL_.js → image-options.de-CYVnqdL_.js} +0 -0
- /package/components/{imageobject-options.en-BMmV-4O-.js → image-options.en-BMmV-4O-.js} +0 -0
- /package/components/{imageobject-options.en-DflcU_2H.cjs → image-options.en-DflcU_2H.cjs} +0 -0
- /package/components/{imageobject-options.es-CRbNv384.cjs → image-options.es-CRbNv384.cjs} +0 -0
- /package/components/{imageobject-options.es-UN5rmaEt.js → image-options.es-UN5rmaEt.js} +0 -0
- /package/components/{imageobject-options.fr-DRE3zImB.js → image-options.fr-DRE3zImB.js} +0 -0
- /package/components/{imageobject-options.fr-ycH7UoX5.cjs → image-options.fr-ycH7UoX5.cjs} +0 -0
- /package/components/{imageobject-options.nl-D20hki6i.js → image-options.nl-D20hki6i.js} +0 -0
- /package/components/{imageobject-options.nl-DQL45o0j.cjs → image-options.nl-DQL45o0j.cjs} +0 -0
- /package/components/{textobject-options.de-BjfS5RBn.js → text-options.de-BjfS5RBn.js} +0 -0
- /package/components/{textobject-options.de-DLr2-jBn.cjs → text-options.de-DLr2-jBn.cjs} +0 -0
- /package/components/{textobject-options.en-BQqHFc7M.js → text-options.en-BQqHFc7M.js} +0 -0
- /package/components/{textobject-options.en-LfsMtwo6.cjs → text-options.en-LfsMtwo6.cjs} +0 -0
- /package/components/{textobject-options.es-BLQBqlvK.cjs → text-options.es-BLQBqlvK.cjs} +0 -0
- /package/components/{textobject-options.es-CMB1DKq4.js → text-options.es-CMB1DKq4.js} +0 -0
- /package/components/{textobject-options.fr-B8x29grG.cjs → text-options.fr-B8x29grG.cjs} +0 -0
- /package/components/{textobject-options.fr-VPJ3bDOM.js → text-options.fr-VPJ3bDOM.js} +0 -0
- /package/components/{textobject-options.nl-DzglrI3i.cjs → text-options.nl-DzglrI3i.cjs} +0 -0
- /package/item-definitions/image/i18n/{imageobject-options.de.d.ts → image-options.de.d.ts} +0 -0
- /package/item-definitions/image/i18n/{imageobject-options.en.d.ts → image-options.en.d.ts} +0 -0
- /package/item-definitions/image/i18n/{imageobject-options.es.d.ts → image-options.es.d.ts} +0 -0
- /package/item-definitions/image/i18n/{imageobject-options.fr.d.ts → image-options.fr.d.ts} +0 -0
- /package/item-definitions/image/i18n/{imageobject-options.nl.d.ts → image-options.nl.d.ts} +0 -0
- /package/item-definitions/text/i18n/{textobject-options.de.d.ts → text-options.de.d.ts} +0 -0
- /package/item-definitions/text/i18n/{textobject-options.en.d.ts → text-options.en.d.ts} +0 -0
- /package/item-definitions/text/i18n/{textobject-options.es.d.ts → text-options.es.d.ts} +0 -0
- /package/item-definitions/text/i18n/{textobject-options.fr.d.ts → text-options.fr.d.ts} +0 -0
- /package/item-definitions/text/i18n/{textobject-options.nl.d.ts → text-options.nl.d.ts} +0 -0
@@ -17,41 +17,49 @@
|
|
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 { h as
|
21
|
-
import { x as
|
20
|
+
import { h as P } from "../task-Cr9aRIbV.js";
|
21
|
+
import { x as K, k as G, a as R, n as j } from "../property-B2F7x7Cz.js";
|
22
22
|
import { o as N } from "../if-defined-Bv6MRdSW.js";
|
23
|
-
const
|
23
|
+
const F = () => {
|
24
24
|
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
25
25
|
const o = document.createElement("style");
|
26
26
|
o.setAttribute("data-luzmo-vars", ""), o.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-color-negative: #ca221c;--luzmo-color-negative-hover: #b3241f;--luzmo-color-negative-down: #9f231f;--luzmo-color-negative-focus: #b3241f;--luzmo-color-negative-rgb: 202, 34, 28;--luzmo-color-positive: rgb(20, 150, 101);--luzmo-color-positive-hover: rgb(17, 128, 86);--luzmo-color-positive-down: rgb(16, 105, 71);--luzmo-color-positive-focus: rgb(17, 128, 86);--luzmo-color-positive-rgb: 20, 150, 101;--luzmo-color-selected: rgb(110, 110, 110);--luzmo-color-selected-hover: rgb(70, 70, 70);--luzmo-color-selected-down: rgb(40, 40, 40);--luzmo-color-selected-focus: rgb(70, 70, 70);--luzmo-color-selected-hard: #1e1e1e;--luzmo-color-selected-hard-hover: rgb(0, 0, 0);--luzmo-color-selected-hard-down: rgb(0, 0, 0);--luzmo-color-selected-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(o);
|
27
27
|
}
|
28
28
|
};
|
29
|
-
|
30
|
-
const
|
31
|
-
var
|
29
|
+
F();
|
30
|
+
const U = ":host{font-family:var(--luzmo-edit-option-font-family, var(--luzmo-font-family));font-size:var(--luzmo-edit-option-font-size, var(--luzmo-font-size))}:host([size=s]){font-size:var(--luzmo-edit-option-font-size-s, var(--luzmo-font-size-s))}:host([size=l]){font-size:var(--luzmo-edit-option-font-size-l, var(--luzmo-font-size-l))}:host([size=xl]){font-size:var(--luzmo-edit-option-font-size-xl, var(--luzmo-font-size-xl))}", w = (o) => {
|
31
|
+
var e, n, i;
|
32
32
|
let t;
|
33
|
-
typeof ((
|
34
|
-
o.options,
|
35
|
-
o.slots,
|
36
|
-
o.theme
|
37
|
-
) :
|
33
|
+
return typeof ((e = o == null ? void 0 : o.controlInfo) == null ? void 0 : e.default) == "function" ? t = o.controlInfo.default({
|
34
|
+
options: o.options,
|
35
|
+
slots: o.slots,
|
36
|
+
theme: o.theme
|
37
|
+
}) : ((n = o.controlInfo) == null ? void 0 : n.default) !== void 0 && ((i = o.controlInfo) == null ? void 0 : i.default) !== null && (t = o.controlInfo.default), t;
|
38
|
+
}, A = (o) => {
|
39
|
+
var l, r, f, s, y, L, k, h, u, b, c, a, p, m, d;
|
40
|
+
let t;
|
41
|
+
typeof ((l = o.controlInfo) == null ? void 0 : l.extraLabel) == "function" ? t = o.controlInfo.extraLabel({
|
42
|
+
options: o.options,
|
43
|
+
slots: o.slots,
|
44
|
+
theme: o.theme
|
45
|
+
}) : typeof ((r = o.controlInfo) == null ? void 0 : r.extraLabel) == "string" && (t = o.controlInfo.extraLabel), typeof t == "string" && (t = ((L = (y = (s = (f = o.translations) == null ? void 0 : f.options) == null ? void 0 : s[o.optionKey]) == null ? void 0 : y.extraLabel) == null ? void 0 : L[t]) ?? t);
|
38
46
|
let e;
|
39
|
-
typeof ((
|
40
|
-
o.options,
|
41
|
-
o.slots,
|
42
|
-
o.theme
|
43
|
-
) : typeof ((
|
47
|
+
typeof ((k = o.controlInfo) == null ? void 0 : k.extraLabelTooltip) == "function" ? t = o.controlInfo.extraLabelTooltip({
|
48
|
+
options: o.options,
|
49
|
+
slots: o.slots,
|
50
|
+
theme: o.theme
|
51
|
+
}) : typeof ((h = o.controlInfo) == null ? void 0 : h.extraLabelTooltip) == "string" && (e = o.controlInfo.extraLabelTooltip), typeof e == "string" && (t = ((a = (c = (b = (u = o.translations) == null ? void 0 : u.options) == null ? void 0 : b[o.optionKey]) == null ? void 0 : c.extraLabelTooltip) == null ? void 0 : a[e]) ?? e);
|
44
52
|
let n;
|
45
|
-
typeof ((
|
46
|
-
o.options,
|
47
|
-
o.slots,
|
48
|
-
o.theme
|
49
|
-
) : typeof ((m = o.controlInfo) == null ? void 0 : m.extraLabelHasClickAction) == "boolean" && (n = o.controlInfo.extraLabelHasClickAction);
|
50
|
-
const i = typeof ((d = o.controlInfo) == null ? void 0 : d.extraLabelClickAction) == "function" ? () => o.controlInfo.extraLabelClickAction(
|
51
|
-
o.options,
|
52
|
-
o.slots,
|
53
|
-
o.theme
|
54
|
-
) : () => {
|
53
|
+
typeof ((p = o.controlInfo) == null ? void 0 : p.extraLabelHasClickAction) == "function" ? n = o.controlInfo.extraLabelHasClickAction({
|
54
|
+
options: o.options,
|
55
|
+
slots: o.slots,
|
56
|
+
theme: o.theme
|
57
|
+
}) : typeof ((m = o.controlInfo) == null ? void 0 : m.extraLabelHasClickAction) == "boolean" && (n = o.controlInfo.extraLabelHasClickAction);
|
58
|
+
const i = typeof ((d = o.controlInfo) == null ? void 0 : d.extraLabelClickAction) == "function" ? () => o.controlInfo.extraLabelClickAction({
|
59
|
+
options: o.options,
|
60
|
+
slots: o.slots,
|
61
|
+
theme: o.theme
|
62
|
+
}) : () => {
|
55
63
|
};
|
56
64
|
return {
|
57
65
|
extraLabel: t,
|
@@ -81,256 +89,242 @@ const R = ":host{font-family:var(--luzmo-edit-option-font-family, var(--luzmo-fo
|
|
81
89
|
} else
|
82
90
|
e[o.optionKey] = t.detail.value;
|
83
91
|
return o.changeCallback(e);
|
84
|
-
},
|
85
|
-
var
|
86
|
-
const t = ((b = (
|
87
|
-
Object.keys((
|
88
|
-
var C, O,
|
89
|
-
n[
|
90
|
-
...(C = o.controlInfo) == null ? void 0 : C.values[
|
91
|
-
label: ((
|
92
|
+
}, q = (o) => {
|
93
|
+
var h, u, b, c, a, p, m, d, x, z, $, I;
|
94
|
+
const t = ((b = (u = (h = o.translations) == null ? void 0 : h.options) == null ? void 0 : u[o.optionKey]) == null ? void 0 : b.label) ?? ((c = o.controlInfo) == null ? void 0 : c.label) ?? o.optionKey ?? "", e = o.size, n = {};
|
95
|
+
Object.keys((a = o.controlInfo) == null ? void 0 : a.values).forEach((v) => {
|
96
|
+
var C, O, V, _, g, B;
|
97
|
+
n[v] = {
|
98
|
+
...(C = o.controlInfo) == null ? void 0 : C.values[v],
|
99
|
+
label: ((g = (_ = (V = (O = o.translations) == null ? void 0 : O.options) == null ? void 0 : V[o.optionKey]) == null ? void 0 : _.enum) == null ? void 0 : g[v]) ?? ((B = o.controlInfo) == null ? void 0 : B.values[v].label)
|
92
100
|
};
|
93
101
|
});
|
94
|
-
const i = ((
|
95
|
-
extraLabel:
|
96
|
-
extraLabelTooltip:
|
97
|
-
extraLabelHasClickAction:
|
102
|
+
const i = ((d = (m = (p = o.translations) == null ? void 0 : p.options) == null ? void 0 : m[o.optionKey]) == null ? void 0 : d.tooltip) ?? ((x = o.controlInfo) == null ? void 0 : x.tooltip), l = H(o.options, o.optionKey), r = w(o), {
|
103
|
+
extraLabel: f,
|
104
|
+
extraLabelTooltip: s,
|
105
|
+
extraLabelHasClickAction: y,
|
98
106
|
extraLabelClickAction: L
|
99
|
-
} = A(o),
|
100
|
-
return
|
107
|
+
} = A(o), k = T(o);
|
108
|
+
return K`
|
101
109
|
<luzmo-edit-option-action-button-group
|
102
110
|
.label=${t}
|
103
111
|
.value=${l}
|
104
112
|
.values=${n}
|
105
|
-
.default=${
|
113
|
+
.default=${r}
|
106
114
|
.selects=${(z = o.controlInfo) == null ? void 0 : z.selects}
|
107
115
|
.size=${e}
|
108
116
|
.tooltip=${i}
|
109
|
-
.extraLabel=${
|
110
|
-
.extraLabelTooltip=${
|
111
|
-
.extraLabelHasClickAction=${
|
117
|
+
.extraLabel=${f}
|
118
|
+
.extraLabelTooltip=${s}
|
119
|
+
.extraLabelHasClickAction=${y}
|
112
120
|
@extraLabelClick=${L}
|
113
|
-
@option-changed=${
|
114
|
-
.fromOptionValue=${(
|
115
|
-
.toOptionValue=${(
|
121
|
+
@option-changed=${k}
|
122
|
+
.fromOptionValue=${($ = o.controlInfo) == null ? void 0 : $.fromOptionValue}
|
123
|
+
.toOptionValue=${(I = o.controlInfo) == null ? void 0 : I.toOptionValue}
|
116
124
|
></luzmo-edit-option-action-button-group>
|
117
125
|
`;
|
118
|
-
},
|
119
|
-
var
|
120
|
-
const t = ((
|
121
|
-
let l;
|
122
|
-
typeof ((x = o.controlInfo) == null ? void 0 : x.default) == "function" ? l = o.controlInfo.default(
|
123
|
-
o.options,
|
124
|
-
o.slots,
|
125
|
-
o.theme
|
126
|
-
) : typeof ((z = o.controlInfo) == null ? void 0 : z.default) == "string" && (l = o.controlInfo.default);
|
127
|
-
const {
|
126
|
+
}, D = (o) => {
|
127
|
+
var h, u, b, c, a, p, m, d, x, z;
|
128
|
+
const t = ((b = (u = (h = o.translations) == null ? void 0 : h.options) == null ? void 0 : u[o.optionKey]) == null ? void 0 : b.label) ?? ((c = o.controlInfo) == null ? void 0 : c.label) ?? o.optionKey ?? "", e = H(o.options, o.optionKey), n = o.size, i = ((m = (p = (a = o.translations) == null ? void 0 : a.options) == null ? void 0 : p[o.optionKey]) == null ? void 0 : m.tooltip) ?? ((d = o.controlInfo) == null ? void 0 : d.tooltip), l = w(o), {
|
128
129
|
extraLabel: r,
|
129
|
-
extraLabelTooltip:
|
130
|
+
extraLabelTooltip: f,
|
130
131
|
extraLabelHasClickAction: s,
|
131
|
-
extraLabelClickAction:
|
132
|
-
} = A(o),
|
133
|
-
return
|
132
|
+
extraLabelClickAction: y
|
133
|
+
} = A(o), L = T(o);
|
134
|
+
return K`
|
134
135
|
<luzmo-edit-option-color-picker
|
135
136
|
.value=${e ?? l}
|
136
137
|
.label=${t}
|
137
138
|
.size=${n}
|
138
139
|
.tooltip=${i}
|
139
140
|
.extraLabel=${r}
|
140
|
-
.extraLabelTooltip=${
|
141
|
+
.extraLabelTooltip=${f}
|
141
142
|
.extraLabelHasClickAction=${s}
|
142
143
|
@extraLabelClick=${() => {
|
143
|
-
if (typeof
|
144
|
-
const { options:
|
145
|
-
return o.changeCallback(
|
144
|
+
if (typeof y == "function") {
|
145
|
+
const { options: $ } = y();
|
146
|
+
return o.changeCallback($);
|
146
147
|
}
|
147
148
|
}}
|
148
|
-
@option-changed=${
|
149
|
-
.fromOptionValue=${(
|
150
|
-
.toOptionValue=${(
|
149
|
+
@option-changed=${L}
|
150
|
+
.fromOptionValue=${(x = o.controlInfo) == null ? void 0 : x.fromOptionValue}
|
151
|
+
.toOptionValue=${(z = o.controlInfo) == null ? void 0 : z.toOptionValue}
|
151
152
|
></luzmo-edit-option-color-picker>
|
152
153
|
`;
|
153
|
-
},
|
154
|
-
var
|
155
|
-
const t = ((
|
156
|
-
l[i] = ((
|
157
|
-
const r = o.size, {
|
158
|
-
extraLabel:
|
159
|
-
extraLabelTooltip:
|
154
|
+
}, J = (o) => {
|
155
|
+
var u, b, c, a, p, m, d, x, z, $, I, v, C, O;
|
156
|
+
const t = ((c = (b = (u = o.translations) == null ? void 0 : u.options) == null ? void 0 : b[o.optionKey]) == null ? void 0 : c.label) ?? ((a = o.controlInfo) == null ? void 0 : a.label) ?? o.optionKey ?? "", e = H(o.options, o.optionKey) ?? {}, n = ((d = (m = (p = o.translations) == null ? void 0 : p.options) == null ? void 0 : m[o.optionKey]) == null ? void 0 : d.tooltip) ?? ((x = o.controlInfo) == null ? void 0 : x.tooltip), i = o.language ?? "en", l = {};
|
157
|
+
l[i] = ((I = ($ = (z = o.translations) == null ? void 0 : z.options) == null ? void 0 : $[o.optionKey]) == null ? void 0 : I.placeholder) ?? ((v = o.controlInfo) == null ? void 0 : v.placeholder) ?? "";
|
158
|
+
const r = o.size, f = w(o), {
|
159
|
+
extraLabel: s,
|
160
|
+
extraLabelTooltip: y,
|
160
161
|
extraLabelHasClickAction: L,
|
161
|
-
extraLabelClickAction:
|
162
|
-
} = A(o),
|
163
|
-
return
|
162
|
+
extraLabelClickAction: k
|
163
|
+
} = A(o), h = T(o);
|
164
|
+
return K`
|
164
165
|
<luzmo-edit-option-multi-language-field
|
165
166
|
.label=${t}
|
166
167
|
.placeholder=${l}
|
167
|
-
.value=${e}
|
168
|
+
.value=${e ?? f}
|
168
169
|
language=${N(i)}
|
169
170
|
.size=${r}
|
170
171
|
.tooltip=${n}
|
171
|
-
.extraLabel=${
|
172
|
-
.extraLabelTooltip=${
|
172
|
+
.extraLabel=${s}
|
173
|
+
.extraLabelTooltip=${y}
|
173
174
|
.extraLabelHasClickAction=${L}
|
174
|
-
@extraLabelClick=${
|
175
|
-
@option-changed=${
|
176
|
-
.fromOptionValue=${(
|
177
|
-
.toOptionValue=${(
|
175
|
+
@extraLabelClick=${k}
|
176
|
+
@option-changed=${h}
|
177
|
+
.fromOptionValue=${(C = o.controlInfo) == null ? void 0 : C.fromOptionValue}
|
178
|
+
.toOptionValue=${(O = o.controlInfo) == null ? void 0 : O.toOptionValue}
|
178
179
|
></luzmo-edit-option-multi-language-field>
|
179
180
|
`;
|
180
|
-
},
|
181
|
-
var
|
182
|
-
const t = ((
|
183
|
-
extraLabel:
|
184
|
-
extraLabelTooltip:
|
185
|
-
extraLabelHasClickAction:
|
186
|
-
extraLabelClickAction:
|
187
|
-
} = A(o),
|
188
|
-
return
|
181
|
+
}, Q = (o) => {
|
182
|
+
var b, c, a, p, m, d, x, z, $, I, v, C, O;
|
183
|
+
const t = ((a = (c = (b = o.translations) == null ? void 0 : b.options) == null ? void 0 : c[o.optionKey]) == null ? void 0 : a.label) ?? ((p = o.controlInfo) == null ? void 0 : p.label) ?? o.optionKey ?? "", e = (m = o.controlInfo) == null ? void 0 : m.min, n = (d = o.controlInfo) == null ? void 0 : d.max, i = (x = o.controlInfo) == null ? void 0 : x.step, l = H(o.options, o.optionKey), r = ((I = ($ = (z = o.translations) == null ? void 0 : z.options) == null ? void 0 : $[o.optionKey]) == null ? void 0 : I.tooltip) ?? ((v = o.controlInfo) == null ? void 0 : v.tooltip), f = w(o), s = o.size, {
|
184
|
+
extraLabel: y,
|
185
|
+
extraLabelTooltip: L,
|
186
|
+
extraLabelHasClickAction: k,
|
187
|
+
extraLabelClickAction: h
|
188
|
+
} = A(o), u = T(o);
|
189
|
+
return K`
|
189
190
|
<luzmo-edit-option-number-field
|
190
191
|
.value=${l}
|
191
|
-
.default=${
|
192
|
+
.default=${f}
|
192
193
|
.min=${e}
|
193
194
|
.max=${n}
|
194
195
|
.step=${i}
|
195
196
|
.label=${t}
|
196
197
|
.size=${s}
|
197
198
|
.tooltip=${r}
|
198
|
-
.extraLabel=${
|
199
|
-
.extraLabelTooltip=${
|
200
|
-
.extraLabelHasClickAction=${
|
201
|
-
@extraLabelClick=${
|
202
|
-
@option-changed=${
|
203
|
-
.fromOptionValue=${(
|
204
|
-
.toOptionValue=${(
|
199
|
+
.extraLabel=${y}
|
200
|
+
.extraLabelTooltip=${L}
|
201
|
+
.extraLabelHasClickAction=${k}
|
202
|
+
@extraLabelClick=${h}
|
203
|
+
@option-changed=${u}
|
204
|
+
.fromOptionValue=${(C = o.controlInfo) == null ? void 0 : C.fromOptionValue}
|
205
|
+
.toOptionValue=${(O = o.controlInfo) == null ? void 0 : O.toOptionValue}
|
205
206
|
></luzmo-edit-option-number-field>
|
206
207
|
`;
|
207
|
-
},
|
208
|
-
var
|
209
|
-
const t = ((
|
210
|
-
(I,
|
211
|
-
var O,
|
212
|
-
return I[
|
208
|
+
}, W = (o) => {
|
209
|
+
var h, u, b, c, a, p, m, d, x, z, $;
|
210
|
+
const t = ((b = (u = (h = o.translations) == null ? void 0 : h.options) == null ? void 0 : u[o.optionKey]) == null ? void 0 : b.label) ?? ((c = o.controlInfo) == null ? void 0 : c.label) ?? o.optionKey ?? "", e = H(o.options, o.optionKey), n = ((m = (p = (a = o.translations) == null ? void 0 : a.options) == null ? void 0 : p[o.optionKey]) == null ? void 0 : m.tooltip) ?? ((d = o.controlInfo) == null ? void 0 : d.tooltip), i = (x = o.controlInfo) == null ? void 0 : x.enum.reduce(
|
211
|
+
(I, v) => {
|
212
|
+
var C, O, V, _;
|
213
|
+
return I[v] = ((_ = (V = (O = (C = o.translations) == null ? void 0 : C.options) == null ? void 0 : O[o.optionKey]) == null ? void 0 : V.enum) == null ? void 0 : _[v]) ?? v, I;
|
213
214
|
},
|
214
215
|
{}
|
215
|
-
),
|
216
|
-
extraLabel:
|
216
|
+
), l = o.size, r = w(o), {
|
217
|
+
extraLabel: f,
|
217
218
|
extraLabelTooltip: s,
|
218
|
-
extraLabelHasClickAction:
|
219
|
-
extraLabelClickAction:
|
220
|
-
} = A(o),
|
221
|
-
return
|
219
|
+
extraLabelHasClickAction: y,
|
220
|
+
extraLabelClickAction: L
|
221
|
+
} = A(o), k = T(o);
|
222
|
+
return K`
|
222
223
|
<luzmo-edit-option-picker
|
223
224
|
.value=${e}
|
224
|
-
.default=${
|
225
|
-
.values=${
|
225
|
+
.default=${r}
|
226
|
+
.values=${i}
|
226
227
|
.label=${t}
|
227
|
-
.tooltip=${
|
228
|
-
.size=${
|
229
|
-
.extraLabel=${
|
228
|
+
.tooltip=${n}
|
229
|
+
.size=${l}
|
230
|
+
.extraLabel=${f}
|
230
231
|
.extraLabelTooltip=${s}
|
231
|
-
.extraLabelHasClickAction=${
|
232
|
-
@extraLabelClick=${
|
233
|
-
@option-changed=${
|
234
|
-
.fromOptionValue=${(
|
235
|
-
.toOptionValue=${(
|
232
|
+
.extraLabelHasClickAction=${y}
|
233
|
+
@extraLabelClick=${L}
|
234
|
+
@option-changed=${k}
|
235
|
+
.fromOptionValue=${(z = o.controlInfo) == null ? void 0 : z.fromOptionValue}
|
236
|
+
.toOptionValue=${($ = o.controlInfo) == null ? void 0 : $.toOptionValue}
|
236
237
|
></luzmo-edit-option-picker>
|
237
238
|
`;
|
238
|
-
},
|
239
|
-
var
|
240
|
-
const t = ((
|
241
|
-
extraLabel:
|
239
|
+
}, X = (o) => {
|
240
|
+
var h, u, b, c, a, p, m, d, x, z, $;
|
241
|
+
const t = ((b = (u = (h = o.translations) == null ? void 0 : h.options) == null ? void 0 : u[o.optionKey]) == null ? void 0 : b.label) ?? ((c = o.controlInfo) == null ? void 0 : c.label), e = (a = o.controlInfo) == null ? void 0 : a.positions, n = o.size, i = H(o.options, o.optionKey), l = ((d = (m = (p = o.translations) == null ? void 0 : p.options) == null ? void 0 : m[o.optionKey]) == null ? void 0 : d.tooltip) ?? ((x = o.controlInfo) == null ? void 0 : x.tooltip), r = w(o) ?? "topRight", {
|
242
|
+
extraLabel: f,
|
242
243
|
extraLabelTooltip: s,
|
243
|
-
extraLabelHasClickAction:
|
244
|
-
extraLabelClickAction:
|
245
|
-
} = A(o),
|
246
|
-
return
|
244
|
+
extraLabelHasClickAction: y,
|
245
|
+
extraLabelClickAction: L
|
246
|
+
} = A(o), k = T(o);
|
247
|
+
return K`
|
247
248
|
<luzmo-edit-option-position-picker
|
248
|
-
.value=${(
|
249
|
+
.value=${(z = o.controlInfo) == null ? void 0 : z.value}
|
249
250
|
.positions=${e}
|
250
|
-
.
|
251
|
+
.default=${r}
|
251
252
|
.label=${t}
|
252
|
-
.tooltip=${
|
253
|
-
.size=${
|
254
|
-
.value=${
|
255
|
-
.extraLabel=${
|
253
|
+
.tooltip=${l}
|
254
|
+
.size=${n}
|
255
|
+
.value=${i}
|
256
|
+
.extraLabel=${f}
|
256
257
|
.extraLabelTooltip=${s}
|
257
|
-
.extraLabelHasClickAction=${
|
258
|
-
@extraLabelClick=${
|
259
|
-
@option-changed=${
|
260
|
-
.readonly=${(
|
258
|
+
.extraLabelHasClickAction=${y}
|
259
|
+
@extraLabelClick=${L}
|
260
|
+
@option-changed=${k}
|
261
|
+
.readonly=${($ = o.controlInfo) == null ? void 0 : $.readonly}
|
261
262
|
></luzmo-edit-option-position-picker>
|
262
263
|
`;
|
263
|
-
},
|
264
|
-
var
|
265
|
-
const t = ((
|
266
|
-
extraLabel:
|
267
|
-
extraLabelTooltip:
|
268
|
-
extraLabelHasClickAction:
|
269
|
-
extraLabelClickAction:
|
264
|
+
}, Y = (o) => {
|
265
|
+
var k, h, u, b, c, a, p, m, d, x, z, $;
|
266
|
+
const t = ((u = (h = (k = o.translations) == null ? void 0 : k.options) == null ? void 0 : h[o.optionKey]) == null ? void 0 : u.label) ?? ((b = o.controlInfo) == null ? void 0 : b.label), e = H(o.options, o.optionKey), n = o.size, i = ((p = (a = (c = o.translations) == null ? void 0 : c.options) == null ? void 0 : a[o.optionKey]) == null ? void 0 : p.tooltip) ?? ((m = o.controlInfo) == null ? void 0 : m.tooltip), l = w(o), {
|
267
|
+
extraLabel: r,
|
268
|
+
extraLabelTooltip: f,
|
269
|
+
extraLabelHasClickAction: s,
|
270
|
+
extraLabelClickAction: y
|
270
271
|
} = A(o), L = T(o);
|
271
|
-
return
|
272
|
+
return K`
|
272
273
|
<luzmo-edit-option-positions-number-field
|
273
|
-
.values=${e}
|
274
|
-
.positions=${(
|
275
|
-
.positionConfiguration=${(
|
274
|
+
.values=${e ?? l}
|
275
|
+
.positions=${(d = o.controlInfo) == null ? void 0 : d.positions}
|
276
|
+
.positionConfiguration=${(x = o.controlInfo) == null ? void 0 : x.positionConfiguration}
|
276
277
|
.label=${t}
|
277
278
|
.size=${n}
|
278
279
|
.tooltip=${i}
|
279
|
-
.extraLabel=${
|
280
|
-
.extraLabelTooltip=${
|
281
|
-
.extraLabelHasClickAction=${
|
282
|
-
@extraLabelClick=${
|
280
|
+
.extraLabel=${r}
|
281
|
+
.extraLabelTooltip=${f}
|
282
|
+
.extraLabelHasClickAction=${s}
|
283
|
+
@extraLabelClick=${y}
|
283
284
|
@option-changed=${L}
|
284
|
-
.fromOptionValue=${(
|
285
|
-
.toOptionValue=${(
|
285
|
+
.fromOptionValue=${(z = o.controlInfo) == null ? void 0 : z.fromOptionValue}
|
286
|
+
.toOptionValue=${($ = o.controlInfo) == null ? void 0 : $.toOptionValue}
|
286
287
|
></luzmo-edit-option-positions-number-field>
|
287
288
|
`;
|
288
|
-
},
|
289
|
-
var
|
290
|
-
const t = ((
|
291
|
-
(I,
|
292
|
-
var O,
|
293
|
-
return I[
|
289
|
+
}, Z = (o) => {
|
290
|
+
var h, u, b, c, a, p, m, d, x, z, $;
|
291
|
+
const t = ((b = (u = (h = o.translations) == null ? void 0 : h.options) == null ? void 0 : u[o.optionKey]) == null ? void 0 : b.label) ?? ((c = o.controlInfo) == null ? void 0 : c.label) ?? o.optionKey ?? "", e = H(o.options, o.optionKey), n = w(o), i = (a = o.controlInfo) == null ? void 0 : a.enum.reduce(
|
292
|
+
(I, v) => {
|
293
|
+
var C, O, V, _;
|
294
|
+
return I[v] = ((_ = (V = (O = (C = o.translations) == null ? void 0 : C.options) == null ? void 0 : O[o.optionKey]) == null ? void 0 : V.enum) == null ? void 0 : _[v]) ?? v, I;
|
294
295
|
},
|
295
296
|
{}
|
296
|
-
), l = o.size, r = ((
|
297
|
-
extraLabel:
|
297
|
+
), l = o.size, r = ((d = (m = (p = o.translations) == null ? void 0 : p.options) == null ? void 0 : m[o.optionKey]) == null ? void 0 : d.tooltip) ?? ((x = o.controlInfo) == null ? void 0 : x.tooltip), {
|
298
|
+
extraLabel: f,
|
298
299
|
extraLabelTooltip: s,
|
299
|
-
extraLabelHasClickAction:
|
300
|
-
extraLabelClickAction:
|
301
|
-
} = A(o),
|
302
|
-
return
|
300
|
+
extraLabelHasClickAction: y,
|
301
|
+
extraLabelClickAction: L
|
302
|
+
} = A(o), k = T(o);
|
303
|
+
return K`
|
303
304
|
<luzmo-edit-option-radio-button-group
|
304
305
|
.value=${e ?? n}
|
305
306
|
.values=${i}
|
306
307
|
.label=${t}
|
307
308
|
.size=${l}
|
308
309
|
.tooltip=${r}
|
309
|
-
.extraLabel=${
|
310
|
+
.extraLabel=${f}
|
310
311
|
.extraLabelTooltip=${s}
|
311
|
-
.extraLabelHasClickAction=${
|
312
|
-
@extraLabelClick=${
|
313
|
-
@option-changed=${
|
314
|
-
.fromOptionValue=${(
|
315
|
-
.toOptionValue=${(
|
312
|
+
.extraLabelHasClickAction=${y}
|
313
|
+
@extraLabelClick=${L}
|
314
|
+
@option-changed=${k}
|
315
|
+
.fromOptionValue=${(z = o.controlInfo) == null ? void 0 : z.fromOptionValue}
|
316
|
+
.toOptionValue=${($ = o.controlInfo) == null ? void 0 : $.toOptionValue}
|
316
317
|
></luzmo-edit-option-radio-button-group>
|
317
318
|
`;
|
318
|
-
},
|
319
|
-
var c,
|
320
|
-
const t = ((
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
const {
|
328
|
-
extraLabel: L,
|
329
|
-
extraLabelTooltip: v,
|
330
|
-
extraLabelHasClickAction: $,
|
331
|
-
extraLabelClickAction: f
|
332
|
-
} = A(o), b = T(o);
|
333
|
-
return w`
|
319
|
+
}, oo = (o) => {
|
320
|
+
var c, a, p, m, d, x, z, $, I, v, C, O, V;
|
321
|
+
const t = ((p = (a = (c = o.translations) == null ? void 0 : c.options) == null ? void 0 : a[o.optionKey]) == null ? void 0 : p.label) ?? ((m = o.controlInfo) == null ? void 0 : m.label) ?? o.optionKey ?? "", e = ((z = (x = (d = o.translations) == null ? void 0 : d.options) == null ? void 0 : x[o.optionKey]) == null ? void 0 : z.tooltip) ?? (($ = o.controlInfo) == null ? void 0 : $.tooltip), n = (I = o.controlInfo) == null ? void 0 : I.min, i = (v = o.controlInfo) == null ? void 0 : v.max, l = (C = o.controlInfo) == null ? void 0 : C.step, r = H(o.options, o.optionKey), f = o.size, s = w(o), {
|
322
|
+
extraLabel: y,
|
323
|
+
extraLabelTooltip: L,
|
324
|
+
extraLabelHasClickAction: k,
|
325
|
+
extraLabelClickAction: h
|
326
|
+
} = A(o), u = T(o);
|
327
|
+
return K`
|
334
328
|
<luzmo-edit-option-slider
|
335
329
|
.value=${r}
|
336
330
|
.default=${s}
|
@@ -339,98 +333,98 @@ const R = ":host{font-family:var(--luzmo-edit-option-font-family, var(--luzmo-fo
|
|
339
333
|
.step=${l}
|
340
334
|
.label=${t}
|
341
335
|
.tooltip=${e}
|
342
|
-
.size=${
|
343
|
-
.extraLabel=${
|
344
|
-
.extraLabelTooltip=${
|
345
|
-
.extraLabelHasClickAction=${
|
336
|
+
.size=${f}
|
337
|
+
.extraLabel=${y}
|
338
|
+
.extraLabelTooltip=${L}
|
339
|
+
.extraLabelHasClickAction=${k}
|
346
340
|
@extraLabelClick=${() => {
|
347
|
-
if (typeof
|
348
|
-
const { options:
|
349
|
-
return o.changeCallback(
|
341
|
+
if (typeof h == "function") {
|
342
|
+
const { options: _ } = h();
|
343
|
+
return o.changeCallback(_);
|
350
344
|
}
|
351
345
|
}}
|
352
|
-
@option-changed=${
|
353
|
-
.fromOptionValue=${(
|
354
|
-
.toOptionValue=${(
|
346
|
+
@option-changed=${u}
|
347
|
+
.fromOptionValue=${(O = o.controlInfo) == null ? void 0 : O.fromOptionValue}
|
348
|
+
.toOptionValue=${(V = o.controlInfo) == null ? void 0 : V.toOptionValue}
|
355
349
|
></luzmo-edit-option-slider>
|
356
350
|
`;
|
357
|
-
},
|
358
|
-
var
|
359
|
-
const t = ((
|
351
|
+
}, to = (o) => {
|
352
|
+
var k, h, u, b, c, a, p, m, d, x;
|
353
|
+
const t = ((u = (h = (k = o.translations) == null ? void 0 : k.options) == null ? void 0 : h[o.optionKey]) == null ? void 0 : u.label) ?? ((b = o.controlInfo) == null ? void 0 : b.label) ?? o.optionKey ?? "", e = H(o.options, o.optionKey), n = o.size, i = ((p = (a = (c = o.translations) == null ? void 0 : c.options) == null ? void 0 : a[o.optionKey]) == null ? void 0 : p.tooltip) ?? ((m = o.controlInfo) == null ? void 0 : m.tooltip), l = w(o), {
|
360
354
|
extraLabel: r,
|
361
|
-
extraLabelTooltip:
|
355
|
+
extraLabelTooltip: f,
|
362
356
|
extraLabelHasClickAction: s,
|
363
|
-
extraLabelClickAction:
|
364
|
-
} = A(o),
|
365
|
-
return
|
357
|
+
extraLabelClickAction: y
|
358
|
+
} = A(o), L = T(o);
|
359
|
+
return K`
|
366
360
|
<luzmo-edit-option-switch
|
367
|
-
.value=${e ??
|
361
|
+
.value=${e ?? l ?? !1}
|
368
362
|
.label=${t}
|
369
|
-
.size=${
|
370
|
-
.tooltip=${
|
363
|
+
.size=${n}
|
364
|
+
.tooltip=${i}
|
371
365
|
.extraLabel=${r}
|
372
|
-
.extraLabelTooltip=${
|
366
|
+
.extraLabelTooltip=${f}
|
373
367
|
.extraLabelHasClickAction=${s}
|
374
|
-
@extraLabelClick=${
|
375
|
-
@option-changed=${
|
376
|
-
.fromOptionValue=${(
|
377
|
-
.toOptionValue=${(
|
368
|
+
@extraLabelClick=${y}
|
369
|
+
@option-changed=${L}
|
370
|
+
.fromOptionValue=${(d = o.controlInfo) == null ? void 0 : d.fromOptionValue}
|
371
|
+
.toOptionValue=${(x = o.controlInfo) == null ? void 0 : x.toOptionValue}
|
378
372
|
></luzmo-edit-option-switch>
|
379
373
|
`;
|
380
|
-
},
|
381
|
-
var
|
382
|
-
const t = ((
|
383
|
-
n[e] = ((
|
384
|
-
const i = H(o.options, o.optionKey) ?? "", l = o.size, r = ((
|
385
|
-
extraLabel:
|
386
|
-
extraLabelTooltip:
|
374
|
+
}, io = (o) => {
|
375
|
+
var u, b, c, a, p, m, d, x, z, $, I, v, C, O;
|
376
|
+
const t = ((c = (b = (u = o.translations) == null ? void 0 : u.options) == null ? void 0 : b[o.optionKey]) == null ? void 0 : c.label) ?? ((a = o.controlInfo) == null ? void 0 : a.label) ?? o.optionKey ?? "", e = o.language ?? "en", n = {};
|
377
|
+
n[e] = ((d = (m = (p = o.translations) == null ? void 0 : p.options) == null ? void 0 : m[o.optionKey]) == null ? void 0 : d.placeholder) ?? ((x = o.controlInfo) == null ? void 0 : x.placeholder) ?? "";
|
378
|
+
const i = H(o.options, o.optionKey) ?? "", l = o.size, r = ((I = ($ = (z = o.translations) == null ? void 0 : z.options) == null ? void 0 : $[o.optionKey]) == null ? void 0 : I.tooltip) ?? ((v = o.controlInfo) == null ? void 0 : v.tooltip), f = w(o), {
|
379
|
+
extraLabel: s,
|
380
|
+
extraLabelTooltip: y,
|
387
381
|
extraLabelHasClickAction: L,
|
388
|
-
extraLabelClickAction:
|
389
|
-
} = A(o),
|
390
|
-
return
|
382
|
+
extraLabelClickAction: k
|
383
|
+
} = A(o), h = T(o);
|
384
|
+
return K`
|
391
385
|
<luzmo-edit-option-text-field
|
392
386
|
.label=${t}
|
393
387
|
.placeholder=${n[e]}
|
394
|
-
.value=${i}
|
388
|
+
.value=${i ?? f}
|
395
389
|
.size=${l}
|
396
390
|
.tooltip=${r}
|
397
|
-
.extraLabel=${
|
398
|
-
.extraLabelTooltip=${
|
391
|
+
.extraLabel=${s}
|
392
|
+
.extraLabelTooltip=${y}
|
399
393
|
.extraLabelHasClickAction=${L}
|
400
|
-
@extraLabelClick=${
|
401
|
-
@option-changed=${
|
402
|
-
.fromOptionValue=${(
|
403
|
-
.toOptionValue=${(
|
394
|
+
@extraLabelClick=${k}
|
395
|
+
@option-changed=${h}
|
396
|
+
.fromOptionValue=${(C = o.controlInfo) == null ? void 0 : C.fromOptionValue}
|
397
|
+
.toOptionValue=${(O = o.controlInfo) == null ? void 0 : O.toOptionValue}
|
404
398
|
></luzmo-edit-option-text-field>
|
405
399
|
`;
|
406
|
-
},
|
400
|
+
}, no = (o) => {
|
407
401
|
switch (o.controlType) {
|
408
402
|
case "picker":
|
409
|
-
return
|
403
|
+
return W(o);
|
410
404
|
case "slider":
|
411
|
-
return Z(o);
|
412
|
-
case "switch":
|
413
405
|
return oo(o);
|
406
|
+
case "switch":
|
407
|
+
return to(o);
|
414
408
|
case "multi-language-field":
|
415
|
-
return
|
409
|
+
return J(o);
|
416
410
|
case "text-field":
|
417
|
-
return
|
411
|
+
return io(o);
|
418
412
|
case "number-field":
|
419
|
-
return
|
413
|
+
return Q(o);
|
420
414
|
case "position-picker":
|
421
|
-
return W(o);
|
422
|
-
case "positions-number-field":
|
423
415
|
return X(o);
|
424
|
-
case "
|
416
|
+
case "positions-number-field":
|
425
417
|
return Y(o);
|
418
|
+
case "radio-button-group":
|
419
|
+
return Z(o);
|
426
420
|
case "color-picker":
|
427
|
-
return
|
421
|
+
return D(o);
|
428
422
|
case "action-button-group":
|
429
|
-
return
|
423
|
+
return q(o);
|
430
424
|
}
|
431
|
-
},
|
425
|
+
}, eo = (o, t) => {
|
432
426
|
const e = (n) => {
|
433
|
-
for (const i of n) {
|
427
|
+
for (const i of n ?? []) {
|
434
428
|
if (i.key === o)
|
435
429
|
return i.control;
|
436
430
|
if (i.children) {
|
@@ -441,7 +435,7 @@ const R = ":host{font-family:var(--luzmo-edit-option-font-family, var(--luzmo-fo
|
|
441
435
|
}
|
442
436
|
return null;
|
443
437
|
};
|
444
|
-
if (t)
|
438
|
+
if (t && Array.isArray(t))
|
445
439
|
for (const n of t) {
|
446
440
|
const i = e(n.children);
|
447
441
|
if (i)
|
@@ -449,59 +443,60 @@ const R = ":host{font-family:var(--luzmo-edit-option-font-family, var(--luzmo-fo
|
|
449
443
|
}
|
450
444
|
return null;
|
451
445
|
};
|
452
|
-
var
|
446
|
+
var lo = Object.defineProperty, E = (o, t, e, n) => {
|
453
447
|
for (var i = void 0, l = o.length - 1, r; l >= 0; l--)
|
454
448
|
(r = o[l]) && (i = r(t, e, i) || i);
|
455
|
-
return i &&
|
449
|
+
return i && lo(t, e, i), i;
|
456
450
|
};
|
457
|
-
const
|
451
|
+
const S = class S extends G {
|
458
452
|
constructor() {
|
459
|
-
super(...arguments), this._loadItemConfig = new
|
453
|
+
super(...arguments), this._loadItemConfig = new P(this, {
|
460
454
|
task: async ([t, e, n]) => {
|
461
455
|
let i = !1;
|
462
456
|
if (t !== this._itemTypeLoaded) {
|
463
|
-
const
|
464
|
-
"../../item-definitions/area-chart/area-chart-options.config.ts": () => import("../area-chart-options.config-
|
465
|
-
"../../item-definitions/bar-chart/bar-chart-options.config.ts": () => import("../bar-chart-options.config-
|
466
|
-
"../../item-definitions/box-plot/box-plot-options.config.ts": () => import("../box-plot-options.config-
|
467
|
-
"../../item-definitions/bubble-chart/bubble-chart-options.config.ts": () => import("../bubble-chart-options.config-
|
468
|
-
"../../item-definitions/bullet-chart/bullet-chart-options.config.ts": () => import("../bullet-chart-options.config-
|
469
|
-
"../../item-definitions/choropleth-map/choropleth-map-options.config.ts": () => import("../choropleth-map-options.config-
|
457
|
+
const f = /* @__PURE__ */ Object.assign({
|
458
|
+
"../../item-definitions/area-chart/area-chart-options.config.ts": () => import("../area-chart-options.config-BbSP_Auh.js"),
|
459
|
+
"../../item-definitions/bar-chart/bar-chart-options.config.ts": () => import("../bar-chart-options.config-CRGDLJCK.js"),
|
460
|
+
"../../item-definitions/box-plot/box-plot-options.config.ts": () => import("../box-plot-options.config-BtonHYul.js"),
|
461
|
+
"../../item-definitions/bubble-chart/bubble-chart-options.config.ts": () => import("../bubble-chart-options.config-R5R-E3dd.js"),
|
462
|
+
"../../item-definitions/bullet-chart/bullet-chart-options.config.ts": () => import("../bullet-chart-options.config-D-_esi9S.js"),
|
463
|
+
"../../item-definitions/choropleth-map/choropleth-map-options.config.ts": () => import("../choropleth-map-options.config-z2fY__jr.js"),
|
470
464
|
"../../item-definitions/circle-pack-chart/circle-pack-chart-options.config.ts": () => import("../circle-pack-chart-options.config-DEYL3DMK.js"),
|
471
|
-
"../../item-definitions/circular-gauge/circular-
|
472
|
-
"../../item-definitions/column-chart/column-chart-options.config.ts": () => import("../column-chart-options.config-
|
465
|
+
"../../item-definitions/circular-gauge/circular-gauge-options.config.ts": () => import("../circular-gauge-options.config-9tIxyJj1.js"),
|
466
|
+
"../../item-definitions/column-chart/column-chart-options.config.ts": () => import("../column-chart-options.config-D87ZFT76.js"),
|
473
467
|
"../../item-definitions/combination-chart/combination-chart-options.config.ts": () => import("../combination-chart-options.config-CApdgFvv.js"),
|
474
|
-
"../../item-definitions/conditional-number/conditional-number-options.config.ts": () => import("../conditional-number-options.config-
|
475
|
-
"../../item-definitions/donut-chart/donut-chart-options.config.ts": () => import("../donut-chart-options.config-
|
476
|
-
"../../item-definitions/dropdown-filter/dropdown-filter-options.config.ts": () => import("../dropdown-filter-options.config-
|
468
|
+
"../../item-definitions/conditional-number/conditional-number-options.config.ts": () => import("../conditional-number-options.config-PVvKLc1P.js"),
|
469
|
+
"../../item-definitions/donut-chart/donut-chart-options.config.ts": () => import("../donut-chart-options.config-NPwNtLDW.js"),
|
470
|
+
"../../item-definitions/dropdown-filter/dropdown-filter-options.config.ts": () => import("../dropdown-filter-options.config-D9dvPypF.js"),
|
471
|
+
"../../item-definitions/funnel-chart/funnel-chart-options.config.ts": () => import("../funnel-chart-options.config-CrlHKd36.js"),
|
477
472
|
"../../item-definitions/image/image-options.config.ts": () => import("../image-options.config-CBfeq5Zw.js"),
|
478
|
-
"../../item-definitions/line-chart/line-chart-options.config.ts": () => import("../line-chart-options.config-
|
473
|
+
"../../item-definitions/line-chart/line-chart-options.config.ts": () => import("../line-chart-options.config-BtfCTjNr.js"),
|
479
474
|
"../../item-definitions/ohlc-chart/ohlc-chart-options.config.ts": () => import("../ohlc-chart-options.config-D9npwajt.js"),
|
480
|
-
"../../item-definitions/radar-chart/radar-chart-options.config.ts": () => import("../radar-chart-options.config-
|
481
|
-
"../../item-definitions/sankey-diagram/sankey-diagram-options.config.ts": () => import("../sankey-diagram-options.config-
|
482
|
-
"../../item-definitions/search-filter/search-filter-options.config.ts": () => import("../search-filter-options.config-
|
483
|
-
"../../item-definitions/slicer-filter/slicer-filter-options.config.ts": () => import("../slicer-filter-options.config-
|
484
|
-
"../../item-definitions/slider-filter/slider-filter-options.config.ts": () => import("../slider-filter-options.config-
|
475
|
+
"../../item-definitions/radar-chart/radar-chart-options.config.ts": () => import("../radar-chart-options.config-DFxna7UF.js"),
|
476
|
+
"../../item-definitions/sankey-diagram/sankey-diagram-options.config.ts": () => import("../sankey-diagram-options.config-Dj9g2BOp.js"),
|
477
|
+
"../../item-definitions/search-filter/search-filter-options.config.ts": () => import("../search-filter-options.config-BE3JhR-F.js"),
|
478
|
+
"../../item-definitions/slicer-filter/slicer-filter-options.config.ts": () => import("../slicer-filter-options.config-BArPA7Mb.js"),
|
479
|
+
"../../item-definitions/slider-filter/slider-filter-options.config.ts": () => import("../slider-filter-options.config-BIKIbGbN.js"),
|
485
480
|
"../../item-definitions/spacer/spacer-options.config.ts": () => import("../spacer-options.config-IpwUxDyU.js"),
|
486
|
-
"../../item-definitions/sunburst-chart/sunburst-chart-options.config.ts": () => import("../sunburst-chart-options.config-
|
481
|
+
"../../item-definitions/sunburst-chart/sunburst-chart-options.config.ts": () => import("../sunburst-chart-options.config-BxkJfdrU.js"),
|
487
482
|
"../../item-definitions/text/text-options.config.ts": () => import("../text-options.config-BWaJoeG2.js"),
|
488
|
-
"../../item-definitions/treemap-chart/treemap-chart-options.config.ts": () => import("../treemap-chart-options.config-
|
489
|
-
"../../item-definitions/video/video-options.config.ts": () => import("../video-options.config-
|
490
|
-
"../../item-definitions/wordcloud-chart/wordcloud-chart-options.config.ts": () => import("../wordcloud-chart-options.config-
|
483
|
+
"../../item-definitions/treemap-chart/treemap-chart-options.config.ts": () => import("../treemap-chart-options.config-MyCTS35Y.js"),
|
484
|
+
"../../item-definitions/video/video-options.config.ts": () => import("../video-options.config-Dk36zJ1B.js"),
|
485
|
+
"../../item-definitions/wordcloud-chart/wordcloud-chart-options.config.ts": () => import("../wordcloud-chart-options.config-Dq7TF0sb.js")
|
491
486
|
});
|
492
|
-
if (
|
487
|
+
if (f[`../../item-definitions/${t}/${t}-options.config.ts`])
|
493
488
|
try {
|
494
|
-
const s = await
|
495
|
-
this._optionsConfig = (s == null ? void 0 : s.default) ??
|
489
|
+
const s = await f[`../../item-definitions/${t}/${t}-options.config.ts`]();
|
490
|
+
this._optionsConfig = (s == null ? void 0 : s.default) ?? [];
|
496
491
|
} catch {
|
497
|
-
this._optionsConfig =
|
492
|
+
this._optionsConfig = [];
|
498
493
|
}
|
499
494
|
else
|
500
|
-
this._optionsConfig =
|
495
|
+
this._optionsConfig = [];
|
501
496
|
i = !0;
|
502
497
|
}
|
503
498
|
if (n !== this._languageLoaded || i) {
|
504
|
-
const
|
499
|
+
const f = /* @__PURE__ */ Object.assign({
|
505
500
|
"../../item-definitions/area-chart/i18n/area-chart-options.de.ts": () => import("../area-chart-options.de-FcVE2Ywe.js"),
|
506
501
|
"../../item-definitions/area-chart/i18n/area-chart-options.en.ts": () => import("../area-chart-options.en-Cz5aXeVe.js"),
|
507
502
|
"../../item-definitions/area-chart/i18n/area-chart-options.es.ts": () => import("../area-chart-options.es-o3ABpXnC.js"),
|
@@ -517,11 +512,11 @@ const P = class P extends F {
|
|
517
512
|
"../../item-definitions/box-plot/i18n/box-plot-options.es.ts": () => import("../box-plot-options.es-ePZUgamp.js"),
|
518
513
|
"../../item-definitions/box-plot/i18n/box-plot-options.fr.ts": () => import("../box-plot-options.fr-DNkSteEz.js"),
|
519
514
|
"../../item-definitions/box-plot/i18n/box-plot-options.nl.ts": () => import("../box-plot-options.nl-GBXrkaLf.js"),
|
520
|
-
"../../item-definitions/bubble-chart/i18n/bubble-chart-options.de.ts": () => import("../bubble-chart-options.de-
|
521
|
-
"../../item-definitions/bubble-chart/i18n/bubble-chart-options.en.ts": () => import("../bubble-chart-options.en-
|
522
|
-
"../../item-definitions/bubble-chart/i18n/bubble-chart-options.es.ts": () => import("../bubble-chart-options.es-
|
523
|
-
"../../item-definitions/bubble-chart/i18n/bubble-chart-options.fr.ts": () => import("../bubble-chart-options.fr-
|
524
|
-
"../../item-definitions/bubble-chart/i18n/bubble-chart-options.nl.ts": () => import("../bubble-chart-options.nl-
|
515
|
+
"../../item-definitions/bubble-chart/i18n/bubble-chart-options.de.ts": () => import("../bubble-chart-options.de-D8Ap7joq.js"),
|
516
|
+
"../../item-definitions/bubble-chart/i18n/bubble-chart-options.en.ts": () => import("../bubble-chart-options.en-BU3F4n13.js"),
|
517
|
+
"../../item-definitions/bubble-chart/i18n/bubble-chart-options.es.ts": () => import("../bubble-chart-options.es-Bh_dRgE3.js"),
|
518
|
+
"../../item-definitions/bubble-chart/i18n/bubble-chart-options.fr.ts": () => import("../bubble-chart-options.fr-CNiJgmGl.js"),
|
519
|
+
"../../item-definitions/bubble-chart/i18n/bubble-chart-options.nl.ts": () => import("../bubble-chart-options.nl-BoV3kpaZ.js"),
|
525
520
|
"../../item-definitions/bullet-chart/i18n/bullet-chart-options.de.ts": () => import("../bullet-chart-options.de-DxBk0yku.js"),
|
526
521
|
"../../item-definitions/bullet-chart/i18n/bullet-chart-options.en.ts": () => import("../bullet-chart-options.en-Cu1cnL90.js"),
|
527
522
|
"../../item-definitions/bullet-chart/i18n/bullet-chart-options.es.ts": () => import("../bullet-chart-options.es-pGm2umSR.js"),
|
@@ -567,11 +562,16 @@ const P = class P extends F {
|
|
567
562
|
"../../item-definitions/dropdown-filter/i18n/dropdown-filter-options.es.ts": () => import("../dropdown-filter-options.es-DjgZxklA.js"),
|
568
563
|
"../../item-definitions/dropdown-filter/i18n/dropdown-filter-options.fr.ts": () => import("../dropdown-filter-options.fr-n_2OjO_u.js"),
|
569
564
|
"../../item-definitions/dropdown-filter/i18n/dropdown-filter-options.nl.ts": () => import("../dropdown-filter-options.nl-CL6UEP00.js"),
|
570
|
-
"../../item-definitions/
|
571
|
-
"../../item-definitions/
|
572
|
-
"../../item-definitions/
|
573
|
-
"../../item-definitions/
|
574
|
-
"../../item-definitions/
|
565
|
+
"../../item-definitions/funnel-chart/i18n/funnel-chart-options.de.ts": () => import("../funnel-chart-options.de-CuVFMJUC.js"),
|
566
|
+
"../../item-definitions/funnel-chart/i18n/funnel-chart-options.en.ts": () => import("../funnel-chart-options.en-CvPbJr1r.js"),
|
567
|
+
"../../item-definitions/funnel-chart/i18n/funnel-chart-options.es.ts": () => import("../funnel-chart-options.es-_M7sC4m6.js"),
|
568
|
+
"../../item-definitions/funnel-chart/i18n/funnel-chart-options.fr.ts": () => import("../funnel-chart-options.fr-DvnZ-XbE.js"),
|
569
|
+
"../../item-definitions/funnel-chart/i18n/funnel-chart-options.nl.ts": () => import("../funnel-chart-options.nl-C72_FTNm.js"),
|
570
|
+
"../../item-definitions/image/i18n/image-options.de.ts": () => import("../image-options.de-CYVnqdL_.js"),
|
571
|
+
"../../item-definitions/image/i18n/image-options.en.ts": () => import("../image-options.en-BMmV-4O-.js"),
|
572
|
+
"../../item-definitions/image/i18n/image-options.es.ts": () => import("../image-options.es-UN5rmaEt.js"),
|
573
|
+
"../../item-definitions/image/i18n/image-options.fr.ts": () => import("../image-options.fr-DRE3zImB.js"),
|
574
|
+
"../../item-definitions/image/i18n/image-options.nl.ts": () => import("../image-options.nl-D20hki6i.js"),
|
575
575
|
"../../item-definitions/line-chart/i18n/line-chart-options.de.ts": () => import("../line-chart-options.de-C4c6fWBr.js"),
|
576
576
|
"../../item-definitions/line-chart/i18n/line-chart-options.en.ts": () => import("../line-chart-options.en-XEng6bZk.js"),
|
577
577
|
"../../item-definitions/line-chart/i18n/line-chart-options.es.ts": () => import("../line-chart-options.es-B6CBKzRj.js"),
|
@@ -612,11 +612,11 @@ const P = class P extends F {
|
|
612
612
|
"../../item-definitions/sunburst-chart/i18n/sunburst-chart-options.es.ts": () => import("../sunburst-chart-options.es-DGsVkhyC.js"),
|
613
613
|
"../../item-definitions/sunburst-chart/i18n/sunburst-chart-options.fr.ts": () => import("../sunburst-chart-options.fr-DIWRXmkr.js"),
|
614
614
|
"../../item-definitions/sunburst-chart/i18n/sunburst-chart-options.nl.ts": () => import("../sunburst-chart-options.nl-D0hYq2Mh.js"),
|
615
|
-
"../../item-definitions/text/i18n/
|
616
|
-
"../../item-definitions/text/i18n/
|
617
|
-
"../../item-definitions/text/i18n/
|
618
|
-
"../../item-definitions/text/i18n/
|
619
|
-
"../../item-definitions/text/i18n/
|
615
|
+
"../../item-definitions/text/i18n/text-options.de.ts": () => import("../text-options.de-BjfS5RBn.js"),
|
616
|
+
"../../item-definitions/text/i18n/text-options.en.ts": () => import("../text-options.en-BQqHFc7M.js"),
|
617
|
+
"../../item-definitions/text/i18n/text-options.es.ts": () => import("../text-options.es-CMB1DKq4.js"),
|
618
|
+
"../../item-definitions/text/i18n/text-options.fr.ts": () => import("../text-options.fr-VPJ3bDOM.js"),
|
619
|
+
"../../item-definitions/text/i18n/text-options.nl.ts": () => import("../text-options.nl-C8sliUgH.js"),
|
620
620
|
"../../item-definitions/treemap-chart/i18n/treemap-chart-options.de.ts": () => import("../treemap-chart-options.de-Bdj6O-Ju.js"),
|
621
621
|
"../../item-definitions/treemap-chart/i18n/treemap-chart-options.en.ts": () => import("../treemap-chart-options.en-D6co_QL8.js"),
|
622
622
|
"../../item-definitions/treemap-chart/i18n/treemap-chart-options.es.ts": () => import("../treemap-chart-options.es-BjbsJzCM.js"),
|
@@ -633,9 +633,9 @@ const P = class P extends F {
|
|
633
633
|
"../../item-definitions/wordcloud-chart/i18n/wordcloud-chart-options.fr.ts": () => import("../wordcloud-chart-options.fr-DNK5Ouc5.js"),
|
634
634
|
"../../item-definitions/wordcloud-chart/i18n/wordcloud-chart-options.nl.ts": () => import("../wordcloud-chart-options.nl-CcgmqL7I.js")
|
635
635
|
});
|
636
|
-
if (
|
636
|
+
if (f[`../../item-definitions/${t}/i18n/${t}-options.${n}.ts`])
|
637
637
|
try {
|
638
|
-
const s = await
|
638
|
+
const s = await f[`../../item-definitions/${t}/i18n/${t}-options.${n}.ts`]();
|
639
639
|
this._translations = (s == null ? void 0 : s.default) ?? {};
|
640
640
|
} catch (s) {
|
641
641
|
this._translations = {}, console.error(s);
|
@@ -643,11 +643,11 @@ const P = class P extends F {
|
|
643
643
|
else
|
644
644
|
this._translations = {};
|
645
645
|
}
|
646
|
-
const l =
|
646
|
+
const l = eo(e, this._optionsConfig), r = l == null ? void 0 : l.type;
|
647
647
|
if (r !== this._controlTypeLoaded) {
|
648
|
-
const
|
648
|
+
const f = /* @__PURE__ */ Object.assign({ "../edit-option-action-button-group/index.ts": () => import("../edit-option-action-button-group/index.js"), "../edit-option-color-picker/index.ts": () => import("../edit-option-color-picker/index.js"), "../edit-option-multi-language-field/index.ts": () => import("../edit-option-multi-language-field/index.js"), "../edit-option-number-field/index.ts": () => import("../edit-option-number-field/index.js"), "../edit-option-picker/index.ts": () => import("../edit-option-picker/index.js"), "../edit-option-position-picker/index.ts": () => import("../edit-option-position-picker/index.js"), "../edit-option-positions-number-field/index.ts": () => import("../edit-option-positions-number-field/index.js"), "../edit-option-radio-button-group/index.ts": () => import("../edit-option-radio-button-group/index.js"), "../edit-option-slider/index.ts": () => import("../edit-option-slider/index.js"), "../edit-option-switch/index.ts": () => import("../edit-option-switch/index.js"), "../edit-option-text-field/index.ts": () => import("../edit-option-text-field/index.js") });
|
649
649
|
try {
|
650
|
-
|
650
|
+
f[`../edit-option-${r}/index.ts`] && (await f[`../edit-option-${r}/index.ts`](), this._controlTypeLoaded = r);
|
651
651
|
} catch (s) {
|
652
652
|
console.error(s);
|
653
653
|
}
|
@@ -670,8 +670,8 @@ const P = class P extends F {
|
|
670
670
|
}
|
671
671
|
render() {
|
672
672
|
return this._loadItemConfig.render({
|
673
|
-
pending: () =>
|
674
|
-
complete: (t) =>
|
673
|
+
pending: () => K`<p>Loading...</p>`,
|
674
|
+
complete: (t) => no({
|
675
675
|
controlType: t == null ? void 0 : t.type,
|
676
676
|
optionKey: this.optionKey,
|
677
677
|
controlInfo: t,
|
@@ -683,34 +683,34 @@ const P = class P extends F {
|
|
683
683
|
size: this.size,
|
684
684
|
changeCallback: this.changedOptions
|
685
685
|
}),
|
686
|
-
error: (t) => (console.error(t),
|
686
|
+
error: (t) => (console.error(t), K``)
|
687
687
|
});
|
688
688
|
}
|
689
689
|
};
|
690
|
-
|
691
|
-
let
|
692
|
-
|
693
|
-
|
694
|
-
],
|
695
|
-
|
696
|
-
|
697
|
-
],
|
698
|
-
|
699
|
-
|
700
|
-
],
|
701
|
-
|
702
|
-
|
703
|
-
],
|
704
|
-
|
705
|
-
|
706
|
-
],
|
707
|
-
|
708
|
-
|
709
|
-
],
|
710
|
-
|
711
|
-
|
712
|
-
],
|
713
|
-
customElements.get("luzmo-edit-option") || customElements.define("luzmo-edit-option",
|
690
|
+
S.styles = R(U);
|
691
|
+
let M = S;
|
692
|
+
E([
|
693
|
+
j({ type: String, reflect: !0 })
|
694
|
+
], M.prototype, "language");
|
695
|
+
E([
|
696
|
+
j({ type: String, reflect: !0, attribute: "item-type" })
|
697
|
+
], M.prototype, "itemType");
|
698
|
+
E([
|
699
|
+
j({ type: String, reflect: !0, attribute: "option-key" })
|
700
|
+
], M.prototype, "optionKey");
|
701
|
+
E([
|
702
|
+
j({ type: Object })
|
703
|
+
], M.prototype, "options");
|
704
|
+
E([
|
705
|
+
j({ type: Object })
|
706
|
+
], M.prototype, "slots");
|
707
|
+
E([
|
708
|
+
j({ type: Object })
|
709
|
+
], M.prototype, "theme");
|
710
|
+
E([
|
711
|
+
j({ type: String, reflect: !0 })
|
712
|
+
], M.prototype, "size");
|
713
|
+
customElements.get("luzmo-edit-option") || customElements.define("luzmo-edit-option", M);
|
714
714
|
export {
|
715
|
-
|
715
|
+
M as LuzmoEditOption
|
716
716
|
};
|