@orangelogic/design-system 2.69.0 → 2.70.0
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/library/chunks/AxisLabelRadial.BTpA5dYy.js +11 -0
- package/library/chunks/BaseColumnSeries.hIO71GLG.js +304 -0
- package/library/chunks/CandlestickSeries.w9C0GR9v.js +362 -0
- package/library/chunks/Circle.tOnnO-F-.js +17 -0
- package/library/chunks/ColumnSeries.Ckz75x1M.js +54 -0
- package/library/chunks/EditableAxisLabel.CCMTJT7K.js +445 -0
- package/library/chunks/EditableLabel.DPmicdjK.js +119 -0
- package/library/chunks/Gradient.BrDBLm8v.js +40 -0
- package/library/chunks/LinearGradient.CxfXxvMw.js +37 -0
- package/library/chunks/MonotoneXTension.CJMEHHj3.js +139 -0
- package/library/chunks/Picture.BNASYM-P.js +49 -0
- package/library/chunks/Polygon.Dr-GV2hn.js +70 -0
- package/library/chunks/ProgressPie.4mPA6xqm.js +234 -0
- package/library/chunks/RadialLabel.HfsGiN4x.js +88 -0
- package/library/chunks/Scrollbar.Bgg-RhjP.js +118 -0
- package/library/chunks/Slice.Dm56LTKj.js +120 -0
- package/library/chunks/Slider.FKJwoPq2.js +19 -0
- package/library/chunks/SpriteResizer.-qJDgug8.js +446 -0
- package/library/chunks/Triangle.BECgi7mc.js +21 -0
- package/library/chunks/ZoomTools.cgwuIB0e.js +199 -0
- package/library/chunks/___vite-browser-external_commonjs-proxy.C2tf3HsQ.js +8 -0
- package/library/chunks/{_baseUniq.Df-fLIBx.js → _baseUniq.BUihBa8c.js} +56 -53
- package/library/chunks/{_commonjsHelpers.ByX85dGu.js → _commonjsHelpers.DQNKXVTB.js} +2 -2
- package/library/chunks/accessors.BHk36ecy.js +11 -0
- package/library/chunks/am-chart.oZVBmpnn.js +18435 -0
- package/library/chunks/{animation.DfUHRQry.js → animation.DU8t6mrk.js} +1 -1
- package/library/chunks/{button.SoX-7UYy.js → button.CAAJPQFu.js} +3 -3
- package/library/chunks/{capitalize.WSkCXkNE.js → capitalize.CNStXZBq.js} +1 -1
- package/library/chunks/cardinal.BCA_LB0u.js +64 -0
- package/library/chunks/{color-swatch-group.Dx1fbSJx.js → color-swatch-group.CKHyWM8K.js} +6 -6
- package/library/chunks/{color-swatch.B7XXHxx1.js → color-swatch.BkpPCXd6.js} +2 -2
- package/library/chunks/colorPicker.C4w_vDjh.js +527 -0
- package/library/chunks/{confirm-popover.327ATuQH.js → confirm-popover.ZD74yDWw.js} +3 -3
- package/library/chunks/{content-builder.Bxi6k2LA.js → content-builder.B4Tqoc6M.js} +40 -34
- package/library/chunks/{cropper.BraEEykE.js → cropper.CQB3_qqG.js} +6937 -6935
- package/library/chunks/{dialog.eN3RUbwx.js → dialog.qSV5AjOE.js} +2 -2
- package/library/chunks/{dom.CZrJ64Dm.js → dom.BQVKDNd8.js} +1 -1
- package/library/chunks/{dot-pagination.Bek4w4zz.js → dot-pagination.BN_0ljfc.js} +2 -2
- package/library/chunks/exporting.BdjsEGF8.js +1407 -0
- package/library/chunks/{file-on-demand.BiC4cymk.js → file-on-demand.CXE4zf0J.js} +448 -386
- package/library/chunks/flow.D0FqdfOy.js +1594 -0
- package/library/chunks/{folder-select.DVEFgexx.js → folder-select.CPALQK22.js} +4 -4
- package/library/chunks/{form.CO12-VK0.js → form.DgwYWi0O.js} +1 -1
- package/library/chunks/gantt.DfUM7Gvb.js +2459 -0
- package/library/chunks/{header.Da5yvwdy.js → header.DXZ_5gLY.js} +2 -2
- package/library/chunks/hierarchy.5kfBCoGt.js +3561 -0
- package/library/chunks/{hub-connection.CfARlehM.js → hub-connection.Ot2odiCz.js} +1 -1
- package/library/chunks/{i18n.BMRLOAZR.js → i18n.C0iakJkV.js} +19 -11
- package/library/chunks/{iframe.BJizUE1A.js → iframe.BlzVfeBc.js} +2 -2
- package/library/chunks/{image.bndP5q2c.js → image.B3WjaCXP.js} +2 -2
- package/library/chunks/index.BkoLctE9.js +533 -0
- package/library/chunks/index.CZJTjkLp.js +142 -0
- package/library/chunks/{index.Bhnf0N8Q.js → index.CmVKj_wl.js} +7 -7
- package/library/chunks/index.DU0XUO4k.js +176 -0
- package/library/chunks/index.DcjJFMlq.js +1520 -0
- package/library/chunks/isObjectLike.z36Fu426.js +34 -0
- package/library/chunks/{isSymbol.huJ_Cvxt.js → isSymbol.L0C2ND_U.js} +1 -1
- package/library/chunks/json.BjaT7cyo.js +119 -0
- package/library/chunks/{list-editor.Du1h2Ms0.js → list-editor.CIAAFPco.js} +251 -222
- package/library/chunks/map.DbgNAGxD.js +3037 -0
- package/library/chunks/markerjs2.esm.B_9kjmye.js +1912 -0
- package/library/chunks/{option.Ce_wlnZj.js → option.ByVbmxUQ.js} +2 -2
- package/library/chunks/{pagination.DXu-mFAk.js → pagination.DPQn2fKX.js} +4 -4
- package/library/chunks/pdfmake.Bs7cMDH0.js +41224 -0
- package/library/chunks/percent.DO4FjAdu.js +902 -0
- package/library/chunks/{purify.es.BGaRrCfO.js → purify.es.BIuh5IAZ.js} +115 -115
- package/library/chunks/radar.Dd5fJVMg.js +789 -0
- package/library/chunks/{responsive.DgQTIrna.js → responsive.DL-wBD4P.js} +1 -1
- package/library/chunks/sliceGrouper.DA3aeuJ-.js +93 -0
- package/library/chunks/stock.BfI5MUyK.js +12684 -0
- package/library/chunks/{string.Cp_XNbnV.js → string.B_rEG27K.js} +1 -1
- package/library/chunks/{tab-group.B2pW__9H.js → tab-group.1h51o_Ly.js} +4 -4
- package/library/chunks/{table.5eWm9FfN.js → table.wVHv1Xze.js} +348 -327
- package/library/chunks/timeline.BxMLjB5J.js +837 -0
- package/library/chunks/timer.B39XOBYL.js +123 -0
- package/library/chunks/{toString.CRT5zqEU.js → toString.CL_lYXbK.js} +3 -3
- package/library/chunks/transform.BuqENXeT.js +50 -0
- package/library/chunks/{tree.Zls5YZ8z.js → tree.Bx0IGsWm.js} +2 -2
- package/library/chunks/venn.CxFupTb9.js +966 -0
- package/library/chunks/vfs_fonts.VJpdcrR6.js +9 -0
- package/library/chunks/watch.BCJD77bD.js +547 -0
- package/library/chunks/wc.ThQubbN2.js +255 -0
- package/library/chunks/xlsx.v-qkA-dg.js +25118 -0
- package/library/chunks/xy.q6e68du3.js +333 -0
- package/library/components/alert.js +2 -2
- package/library/components/am-chart.d.ts +3 -0
- package/library/components/am-chart.js +11 -0
- package/library/components/animated-image.js +1 -1
- package/library/components/animation.js +2 -2
- package/library/components/array-line-clamp.js +1 -1
- package/library/components/asset-link-format.js +7 -7
- package/library/components/atoms.js +166 -162
- package/library/components/avatar.js +1 -1
- package/library/components/border-input-group.js +1 -1
- package/library/components/breadcrumb-item.js +1 -1
- package/library/components/breadcrumb.js +1 -1
- package/library/components/button.js +4 -4
- package/library/components/checkbox.js +2 -2
- package/library/components/color-picker.js +4 -4
- package/library/components/color-swatch-group.js +7 -7
- package/library/components/color-swatch.js +3 -3
- package/library/components/confirm-popover.js +4 -4
- package/library/components/copy-button.js +2 -2
- package/library/components/corner-position-input-group.js +2 -2
- package/library/components/cropper.js +1 -1
- package/library/components/details.js +3 -2
- package/library/components/dialog.js +3 -3
- package/library/components/divider.js +1 -1
- package/library/components/dot-pagination.js +3 -3
- package/library/components/drawer.js +3 -3
- package/library/components/dropdown.js +2 -2
- package/library/components/dynamic-select.js +32 -30
- package/library/components/e-chart.d.ts +3 -0
- package/library/components/e-chart.js +47908 -0
- package/library/components/element-clamp.js +3 -3
- package/library/components/file-on-demand.js +10 -10
- package/library/components/folder-select.js +4 -4
- package/library/components/format-bytes.js +1 -1
- package/library/components/format-date.js +1 -1
- package/library/components/format-number.js +1 -1
- package/library/components/format-time.js +2 -2
- package/library/components/grid-item.js +1 -1
- package/library/components/header.js +3 -3
- package/library/components/hub-connection.js +2 -2
- package/library/components/icon-button.js +1 -1
- package/library/components/icon.js +1 -1
- package/library/components/iframe.js +3 -3
- package/library/components/image-comparer.js +2 -2
- package/library/components/image.js +3 -3
- package/library/components/include.js +1 -1
- package/library/components/input.js +3 -3
- package/library/components/line-clamp.js +1 -1
- package/library/components/list-editor.js +11 -8
- package/library/components/markdown.js +2 -2
- package/library/components/masonry.js +2 -2
- package/library/components/menu-item.js +2 -2
- package/library/components/menu.js +1 -1
- package/library/components/molecules.js +5 -5
- package/library/components/mutation-observer.js +1 -1
- package/library/components/option.js +3 -3
- package/library/components/organisms.js +2 -2
- package/library/components/pagination.js +5 -5
- package/library/components/popup.js +1 -1
- package/library/components/position-picker.js +1 -1
- package/library/components/progress-bar.js +1 -1
- package/library/components/progress-ring.js +1 -1
- package/library/components/qr-code.js +1 -1
- package/library/components/radio-button.js +1 -1
- package/library/components/radio-card.js +1 -1
- package/library/components/radio-group.js +2 -2
- package/library/components/radio.js +1 -1
- package/library/components/range.js +3 -3
- package/library/components/rating.js +2 -2
- package/library/components/relative-time.js +1 -1
- package/library/components/resize-observer.js +1 -1
- package/library/components/select.js +4 -4
- package/library/components/share-option-list.js +3 -3
- package/library/components/sidebar.js +1 -1
- package/library/components/size-input-group.js +2 -2
- package/library/components/spinner.js +1 -1
- package/library/components/split-panel.js +2 -2
- package/library/components/stepper.js +1 -1
- package/library/components/switch.js +2 -2
- package/library/components/tab-group.js +5 -5
- package/library/components/tab-panel.js +1 -1
- package/library/components/tab.js +2 -2
- package/library/components/table.js +5 -5
- package/library/components/tag.js +1 -1
- package/library/components/textarea.js +2 -2
- package/library/components/timecode.js +2 -2
- package/library/components/tooltip.js +2 -2
- package/library/components/tree-item.js +3 -3
- package/library/components/tree.js +3 -3
- package/library/components/typeface.js +2 -2
- package/library/components/types.js +27684 -27970
- package/library/components/video.js +1107 -1110
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/am-chart/am-chart.d.ts +45 -0
- package/library/packages/atoms/src/components/am-chart/am-chart.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/am-chart/am-chart.utils.d.ts +23 -0
- package/library/packages/atoms/src/components/e-chart/e-chart-controller.d.ts +30 -0
- package/library/packages/atoms/src/components/e-chart/e-chart.d.ts +38 -0
- package/library/packages/atoms/src/components/e-chart/e-chart.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/table/table.d.ts +21 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/Tabulator.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/tools/DataLoader.d.ts +3 -1
- package/library/packages/atoms/src/index.d.ts +2 -0
- package/library/packages/events/src/cx-chart-plan-change.d.ts +10 -0
- package/library/packages/events/src/cx-dashboard-filter-change.d.ts +6 -0
- package/library/packages/events/src/cx-dashboard-table-load-more.d.ts +9 -0
- package/library/packages/events/src/cx-e-chart-drill-down.d.ts +16 -0
- package/library/packages/events/src/events.d.ts +4 -0
- package/library/packages/molecules/src/index.d.ts +1 -0
- package/library/packages/molecules/src/list-editor/list-editor.d.ts +7 -0
- package/library/packages/molecules/src/stat-card/stat-card.d.ts +81 -0
- package/library/packages/molecules/src/stat-card/stat-card.styles.d.ts +2 -0
- package/library/packages/molecules/src/storybook/storybook.d.ts +1 -0
- package/library/packages/organisms/src/asset-link-format/asset-link-format.d.ts +1 -1
- package/library/packages/organisms/src/content-builder/components/chart-plan-builder/chart-plan-builder.d.ts +88 -0
- package/library/packages/organisms/src/content-builder/components/chart-plan-builder/chart-plan-builder.styles.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/components/chart-plan-builder/chart-plan-schema.d.ts +100 -0
- package/library/packages/organisms/src/content-builder/styleController.d.ts +2 -2
- package/library/packages/organisms/src/dashboard-filter/dashboard-filter.d.ts +83 -0
- package/library/packages/organisms/src/dashboard-filter/dashboard-filter.styles.d.ts +2 -0
- package/library/packages/organisms/src/dashboard-table/dashboard-table.d.ts +45 -0
- package/library/packages/organisms/src/dashboard-table/dashboard-table.styles.d.ts +2 -0
- package/library/packages/organisms/src/index.d.ts +3 -0
- package/library/packages/services/src/api/endpoints.d.ts +3 -0
- package/library/packages/types/src/am-chart.d.ts +22 -0
- package/library/packages/types/src/content-builder.d.ts +1 -0
- package/library/packages/types/src/stat-card.d.ts +19 -0
- package/library/packages/types/src/table.d.ts +4 -0
- package/library/packages/utils/src/custom-element/i18n.d.ts +8 -0
- package/library/react-web-component.d.ts +280 -4
- package/library/utils.js +8 -8
- package/package.json +1 -1
- package/library/chunks/_baseRest.ClTMQtN1.js +0 -67
- package/library/chunks/identity.ByMq8VxU.js +0 -6
- package/library/chunks/isObjectLike.D3cpZO39.js +0 -81
- package/library/chunks/watch.q1sEjPWL.js +0 -501
|
@@ -1,40 +1,43 @@
|
|
|
1
|
-
import { C as _ } from "./button.
|
|
2
|
-
import { C as q, D as G } from "./dialog.
|
|
1
|
+
import { C as _ } from "./button.CAAJPQFu.js";
|
|
2
|
+
import { C as q, D as G } from "./dialog.qSV5AjOE.js";
|
|
3
3
|
import j from "../components/grid.js";
|
|
4
|
-
import
|
|
4
|
+
import P from "../components/grid-item.js";
|
|
5
5
|
import S from "../components/input.js";
|
|
6
|
-
import
|
|
7
|
-
import F from "
|
|
8
|
-
import B from "../components/radio
|
|
6
|
+
import R from "../components/line-clamp.js";
|
|
7
|
+
import { C as F } from "./option.ByVbmxUQ.js";
|
|
8
|
+
import B from "../components/radio.js";
|
|
9
|
+
import K from "../components/radio-group.js";
|
|
10
|
+
import U from "../components/select.js";
|
|
9
11
|
import E from "../components/space.js";
|
|
10
|
-
import { C as
|
|
12
|
+
import { C as H, H as V } from "./table.wVHv1Xze.js";
|
|
11
13
|
import { C as L } from "./typography.oDzoLbZS.js";
|
|
12
14
|
import { n as o, C as T } from "./lib-cortex-element.CVMmyPMC.js";
|
|
15
|
+
import W from "../components/dynamic-select.js";
|
|
13
16
|
import { c as D } from "./component.styles.DMSLciL5.js";
|
|
14
|
-
import { c as
|
|
15
|
-
import { d as
|
|
16
|
-
import { L as
|
|
17
|
-
import { w as g } from "./watch.
|
|
18
|
-
import {
|
|
17
|
+
import { c as M } from "./custom-element.L4WJXn1j.js";
|
|
18
|
+
import { d as J } from "./debounce.DaHuiSGU.js";
|
|
19
|
+
import { L as z } from "./i18n.C0iakJkV.js";
|
|
20
|
+
import { w as g } from "./watch.BCJD77bD.js";
|
|
21
|
+
import { a as X } from "./_commonjsHelpers.DQNKXVTB.js";
|
|
19
22
|
import { i as O, x as l } from "./lit-element.jLBm65_O.js";
|
|
20
|
-
import { r as
|
|
23
|
+
import { r as x } from "./state.CSDxrqLd.js";
|
|
21
24
|
import { e as y } from "./query.BBf1UFkC.js";
|
|
22
|
-
import { r as
|
|
23
|
-
import { e as
|
|
24
|
-
import { o as
|
|
25
|
-
import { c as
|
|
25
|
+
import { r as Y } from "./choose.BTbF6BAn.js";
|
|
26
|
+
import { e as Z } from "./class-map.BiVq-cVR.js";
|
|
27
|
+
import { o as Q } from "./map.D8heArFD.js";
|
|
28
|
+
import { c as b } from "./repeat.DbF2p5ae.js";
|
|
26
29
|
import { n as N } from "./when.Dr1es41R.js";
|
|
27
|
-
import { t as
|
|
28
|
-
import
|
|
29
|
-
import { C as
|
|
30
|
-
import { a as
|
|
31
|
-
import { a as
|
|
32
|
-
import { A as v } from "./content-builder.
|
|
33
|
-
import { e as
|
|
34
|
-
import { t as
|
|
35
|
-
var A,
|
|
36
|
-
function
|
|
37
|
-
return
|
|
30
|
+
import { t as ee } from "./toString.CL_lYXbK.js";
|
|
31
|
+
import ae from "../components/icon-button.js";
|
|
32
|
+
import { C as te } from "./image.B3WjaCXP.js";
|
|
33
|
+
import { a as ie, D as $ } from "./asset.CG_yXtWK.js";
|
|
34
|
+
import { a as ne } from "./index.Cpamj0jB.js";
|
|
35
|
+
import { A as v } from "./content-builder.B4Tqoc6M.js";
|
|
36
|
+
import { e as se, t as w } from "./string.B_rEG27K.js";
|
|
37
|
+
import { t as re } from "./toast.BXNbwZV8.js";
|
|
38
|
+
var A, I;
|
|
39
|
+
function oe() {
|
|
40
|
+
return I || (I = 1, A = {
|
|
38
41
|
aa: {
|
|
39
42
|
name: "Afar",
|
|
40
43
|
nativeName: "Afaraf"
|
|
@@ -769,52 +772,52 @@ function ne() {
|
|
|
769
772
|
}
|
|
770
773
|
}), A;
|
|
771
774
|
}
|
|
772
|
-
var C,
|
|
773
|
-
function
|
|
774
|
-
if (
|
|
775
|
-
|
|
776
|
-
const e =
|
|
777
|
-
for (const
|
|
778
|
-
const { name:
|
|
779
|
-
a[
|
|
775
|
+
var C, k;
|
|
776
|
+
function le() {
|
|
777
|
+
if (k) return C;
|
|
778
|
+
k = 1;
|
|
779
|
+
const e = oe(), a = {}, t = {}, i = [], s = [], d = [];
|
|
780
|
+
for (const c in e) {
|
|
781
|
+
const { name: m, nativeName: h } = e[c];
|
|
782
|
+
a[c] = t[m.toLowerCase()] = t[h.toLowerCase()] = { code: c, name: m, nativeName: h }, i.push(c), s.push(m), d.push(h);
|
|
780
783
|
}
|
|
781
784
|
return C = class f {
|
|
782
|
-
static getLanguages(
|
|
783
|
-
return
|
|
785
|
+
static getLanguages(m = []) {
|
|
786
|
+
return m.map(
|
|
784
787
|
(h) => f.validate(h) ? Object.assign({}, a[h]) : { code: h, name: "", nativeName: "" }
|
|
785
788
|
);
|
|
786
789
|
}
|
|
787
|
-
static getName(
|
|
788
|
-
return f.validate(
|
|
790
|
+
static getName(m) {
|
|
791
|
+
return f.validate(m) ? e[m].name : "";
|
|
789
792
|
}
|
|
790
793
|
static getAllNames() {
|
|
791
|
-
return
|
|
794
|
+
return s.slice();
|
|
792
795
|
}
|
|
793
|
-
static getNativeName(
|
|
794
|
-
return f.validate(
|
|
796
|
+
static getNativeName(m) {
|
|
797
|
+
return f.validate(m) ? e[m].nativeName : "";
|
|
795
798
|
}
|
|
796
799
|
static getAllNativeNames() {
|
|
797
|
-
return
|
|
800
|
+
return d.slice();
|
|
798
801
|
}
|
|
799
|
-
static getCode(
|
|
800
|
-
return
|
|
802
|
+
static getCode(m) {
|
|
803
|
+
return m = m.toLowerCase(), t.hasOwnProperty(m) ? t[m].code : "";
|
|
801
804
|
}
|
|
802
805
|
static getAllCodes() {
|
|
803
|
-
return
|
|
806
|
+
return i.slice();
|
|
804
807
|
}
|
|
805
|
-
static validate(
|
|
806
|
-
return e.hasOwnProperty(
|
|
808
|
+
static validate(m) {
|
|
809
|
+
return e.hasOwnProperty(m);
|
|
807
810
|
}
|
|
808
811
|
}, C;
|
|
809
812
|
}
|
|
810
|
-
var
|
|
811
|
-
const
|
|
812
|
-
var
|
|
813
|
-
function
|
|
814
|
-
var a = ++
|
|
815
|
-
return
|
|
813
|
+
var me = le();
|
|
814
|
+
const ce = /* @__PURE__ */ X(me);
|
|
815
|
+
var de = 0;
|
|
816
|
+
function pe(e) {
|
|
817
|
+
var a = ++de;
|
|
818
|
+
return ee(e) + a;
|
|
816
819
|
}
|
|
817
|
-
const
|
|
820
|
+
const ue = O`
|
|
818
821
|
:host {
|
|
819
822
|
isolation: isolate;
|
|
820
823
|
}
|
|
@@ -853,14 +856,14 @@ const ce = O`
|
|
|
853
856
|
opacity: 0;
|
|
854
857
|
}
|
|
855
858
|
`;
|
|
856
|
-
var
|
|
857
|
-
for (var
|
|
858
|
-
(
|
|
859
|
-
return
|
|
859
|
+
var he = Object.defineProperty, ve = Object.getOwnPropertyDescriptor, u = (e, a, t, i) => {
|
|
860
|
+
for (var s = i > 1 ? void 0 : i ? ve(a, t) : a, d = e.length - 1, c; d >= 0; d--)
|
|
861
|
+
(c = e[d]) && (s = (i ? c(a, t, s) : c(s)) || s);
|
|
862
|
+
return i && s && he(a, t, s), s;
|
|
860
863
|
};
|
|
861
|
-
let
|
|
864
|
+
let p = class extends T {
|
|
862
865
|
constructor() {
|
|
863
|
-
super(...arguments), this.localize = new
|
|
866
|
+
super(...arguments), this.localize = new z(this), this.value = "", this.name = "", this.type = [v.Image], this.multiple = !1, this.accepts = [], this.required = !1, this.disabled = !1, this.onRequestAsset = void 0, this.apiGetAssets = ie;
|
|
864
867
|
}
|
|
865
868
|
async handleRequestAssetClick() {
|
|
866
869
|
if (this.onRequestAsset)
|
|
@@ -876,9 +879,9 @@ let u = class extends T {
|
|
|
876
879
|
this.accepts
|
|
877
880
|
);
|
|
878
881
|
if (this.accepts.length > 0 && Object.values(e).some(
|
|
879
|
-
(t) => !this.accepts.includes(
|
|
882
|
+
(t) => !this.accepts.includes(se(t.src) ?? "")
|
|
880
883
|
))
|
|
881
|
-
|
|
884
|
+
re(this.localize.term("nonAcceptedExtension", this.accepts), {
|
|
882
885
|
notificationType: "warning"
|
|
883
886
|
});
|
|
884
887
|
else if (this.multiple) {
|
|
@@ -887,17 +890,17 @@ let u = class extends T {
|
|
|
887
890
|
detail: t
|
|
888
891
|
});
|
|
889
892
|
} else {
|
|
890
|
-
const { id: t, name:
|
|
891
|
-
let
|
|
892
|
-
|
|
893
|
-
extraFields: [
|
|
893
|
+
const { id: t, name: i, src: s, type: d } = e;
|
|
894
|
+
let c = s;
|
|
895
|
+
d === v.Audio && (c = (await this.apiGetAssets({
|
|
896
|
+
extraFields: [$],
|
|
894
897
|
recordIds: [t]
|
|
895
|
-
})).items[0]?.[
|
|
898
|
+
})).items[0]?.[$]), c && this.emit("cx-content-builder-asset-select", {
|
|
896
899
|
detail: {
|
|
897
900
|
id: t,
|
|
898
|
-
name:
|
|
899
|
-
src:
|
|
900
|
-
type:
|
|
901
|
+
name: i,
|
|
902
|
+
src: c,
|
|
903
|
+
type: d
|
|
901
904
|
}
|
|
902
905
|
});
|
|
903
906
|
}
|
|
@@ -930,18 +933,18 @@ let u = class extends T {
|
|
|
930
933
|
src=${this.value}
|
|
931
934
|
alt=${this.name}
|
|
932
935
|
width="200px"
|
|
933
|
-
object-fit=${
|
|
936
|
+
object-fit=${ne.Cover}
|
|
934
937
|
></cx-image>`;
|
|
935
938
|
if (this.name && this.acceptsType(v.Video))
|
|
936
939
|
return l`
|
|
937
940
|
<cx-typography variant="body-2">
|
|
938
|
-
${
|
|
941
|
+
${w(this.name, 30, 11, 11)}
|
|
939
942
|
</cx-typography>
|
|
940
943
|
`;
|
|
941
944
|
if (this.name && (this.acceptsType(v.Other) || this.acceptsType(v.All))) {
|
|
942
945
|
const e = this.name.split(",");
|
|
943
946
|
return l`<cx-typography variant="body-2">
|
|
944
|
-
${
|
|
947
|
+
${w(e[0], 30, 11, 11)}
|
|
945
948
|
${N(
|
|
946
949
|
e.length > 1,
|
|
947
950
|
() => l` ${this.localize.term("andOthers", e.length - 1)}`
|
|
@@ -995,28 +998,28 @@ let u = class extends T {
|
|
|
995
998
|
`;
|
|
996
999
|
}
|
|
997
1000
|
};
|
|
998
|
-
|
|
999
|
-
|
|
1001
|
+
p.styles = [D, ue];
|
|
1002
|
+
p.dependencies = {
|
|
1000
1003
|
"cx-button": _,
|
|
1001
|
-
"cx-icon-button":
|
|
1002
|
-
"cx-image":
|
|
1004
|
+
"cx-icon-button": ae,
|
|
1005
|
+
"cx-image": te,
|
|
1003
1006
|
"cx-input": S,
|
|
1004
1007
|
"cx-space": E,
|
|
1005
1008
|
"cx-typography": L
|
|
1006
1009
|
};
|
|
1007
|
-
|
|
1010
|
+
u([
|
|
1008
1011
|
y(".asset-picker__button")
|
|
1009
|
-
],
|
|
1010
|
-
|
|
1012
|
+
], p.prototype, "buttonEl", 2);
|
|
1013
|
+
u([
|
|
1011
1014
|
y(".asset-picker__input")
|
|
1012
|
-
],
|
|
1013
|
-
|
|
1015
|
+
], p.prototype, "inputEl", 2);
|
|
1016
|
+
u([
|
|
1014
1017
|
o({ reflect: !0, type: String })
|
|
1015
|
-
],
|
|
1016
|
-
|
|
1018
|
+
], p.prototype, "value", 2);
|
|
1019
|
+
u([
|
|
1017
1020
|
o({ reflect: !0, type: String })
|
|
1018
|
-
],
|
|
1019
|
-
|
|
1021
|
+
], p.prototype, "name", 2);
|
|
1022
|
+
u([
|
|
1020
1023
|
o({
|
|
1021
1024
|
converter: {
|
|
1022
1025
|
fromAttribute: (e) => (e ?? "").split(" ").filter((a) => a !== ""),
|
|
@@ -1024,11 +1027,11 @@ p([
|
|
|
1024
1027
|
},
|
|
1025
1028
|
reflect: !0
|
|
1026
1029
|
})
|
|
1027
|
-
],
|
|
1028
|
-
|
|
1030
|
+
], p.prototype, "type", 2);
|
|
1031
|
+
u([
|
|
1029
1032
|
o({ reflect: !0, type: Boolean })
|
|
1030
|
-
],
|
|
1031
|
-
|
|
1033
|
+
], p.prototype, "multiple", 2);
|
|
1034
|
+
u([
|
|
1032
1035
|
o({
|
|
1033
1036
|
converter: {
|
|
1034
1037
|
fromAttribute: (e) => (e ?? "").split(" ").filter((a) => a !== ""),
|
|
@@ -1036,23 +1039,23 @@ p([
|
|
|
1036
1039
|
},
|
|
1037
1040
|
reflect: !0
|
|
1038
1041
|
})
|
|
1039
|
-
],
|
|
1040
|
-
|
|
1042
|
+
], p.prototype, "accepts", 2);
|
|
1043
|
+
u([
|
|
1041
1044
|
o({ reflect: !0, type: Boolean })
|
|
1042
|
-
],
|
|
1043
|
-
|
|
1045
|
+
], p.prototype, "required", 2);
|
|
1046
|
+
u([
|
|
1044
1047
|
o({ attribute: "disabled", reflect: !0, type: Boolean })
|
|
1045
|
-
],
|
|
1046
|
-
|
|
1048
|
+
], p.prototype, "disabled", 2);
|
|
1049
|
+
u([
|
|
1047
1050
|
o({ attribute: "on-request-asset", type: Function })
|
|
1048
|
-
],
|
|
1049
|
-
|
|
1051
|
+
], p.prototype, "onRequestAsset", 2);
|
|
1052
|
+
u([
|
|
1050
1053
|
g("value")
|
|
1051
|
-
],
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
],
|
|
1055
|
-
const
|
|
1054
|
+
], p.prototype, "handleValueChange", 1);
|
|
1055
|
+
p = u([
|
|
1056
|
+
M("cx-asset-picker")
|
|
1057
|
+
], p);
|
|
1058
|
+
const ge = O`
|
|
1056
1059
|
:host {
|
|
1057
1060
|
--overridden-min-height: var(--min-height, 160px);
|
|
1058
1061
|
--overridden-max-height: var(--max-height, 260px);
|
|
@@ -1101,17 +1104,17 @@ const pe = O`
|
|
|
1101
1104
|
--tab-group-nav-padding: 0 var(--cx-spacing-large);
|
|
1102
1105
|
}
|
|
1103
1106
|
`;
|
|
1104
|
-
var
|
|
1105
|
-
for (var
|
|
1106
|
-
(
|
|
1107
|
-
return
|
|
1107
|
+
var Ne = Object.defineProperty, be = Object.getOwnPropertyDescriptor, r = (e, a, t, i) => {
|
|
1108
|
+
for (var s = i > 1 ? void 0 : i ? be(a, t) : a, d = e.length - 1, c; d >= 0; d--)
|
|
1109
|
+
(c = e[d]) && (s = (i ? c(a, t, s) : c(s)) || s);
|
|
1110
|
+
return i && s && Ne(a, t, s), s;
|
|
1108
1111
|
};
|
|
1109
|
-
const
|
|
1112
|
+
const xe = {
|
|
1110
1113
|
resizable: !1
|
|
1111
1114
|
};
|
|
1112
|
-
let
|
|
1115
|
+
let n = class extends T {
|
|
1113
1116
|
constructor() {
|
|
1114
|
-
super(...arguments), this.localize = new
|
|
1117
|
+
super(...arguments), this.localize = new z(this), this.data = [], this.canAdd = !1, this.addDialogLabel = "", this.editDialogLabel = "", this.displayField = "", this.descriptionField = "", this.addItemText = "", this.sampleItem = {}, this.useEvents = !1, this.sortable = !1, this.loadingEvent = "", this.loadingItemIndex = void 0, this.columns = [], this.noHeader = !1, this.rowHeight = 40, this.defaultLanguage = "", this.supportedLanguages = ["en"], this.boundary = document.body, this.onRequestAsset = void 0, this.editedItem = null, this.isAdding = !1, this.columnsMap = {}, this.sortedEntries = [], this.translatableControls = [], this.disableCloseConfigDialog = !1, this.hoverMenu = {
|
|
1115
1118
|
data: [
|
|
1116
1119
|
{
|
|
1117
1120
|
icon: "create",
|
|
@@ -1138,7 +1141,7 @@ let s = class extends T {
|
|
|
1138
1141
|
}
|
|
1139
1142
|
],
|
|
1140
1143
|
options: {
|
|
1141
|
-
placement:
|
|
1144
|
+
placement: V.Right
|
|
1142
1145
|
}
|
|
1143
1146
|
}, this.OMITTED_FIELDS = ["id"];
|
|
1144
1147
|
}
|
|
@@ -1164,20 +1167,20 @@ let s = class extends T {
|
|
|
1164
1167
|
this.sortedEntries = Object.entries(this.editedItem || {}).filter(([a]) => this.OMITTED_FIELDS.indexOf(a) === -1 && this.columnsMap[a]).sort(([a], [t]) => (e[a] ?? Number.MAX_SAFE_INTEGER) - (e[t] ?? Number.MAX_SAFE_INTEGER));
|
|
1165
1168
|
}
|
|
1166
1169
|
handleTableActions(e) {
|
|
1167
|
-
const { name: a, row: t } = e.detail,
|
|
1168
|
-
if (
|
|
1170
|
+
const { name: a, row: t } = e.detail, i = "component" in t ? t.component : t;
|
|
1171
|
+
if (i) {
|
|
1169
1172
|
if (this.useEvents) {
|
|
1170
1173
|
this.emit(`cx-list-editor-${a}`, {
|
|
1171
1174
|
detail: {
|
|
1172
|
-
index:
|
|
1173
|
-
item:
|
|
1175
|
+
index: i.getIndex(),
|
|
1176
|
+
item: i.getData()
|
|
1174
1177
|
}
|
|
1175
1178
|
});
|
|
1176
1179
|
return;
|
|
1177
1180
|
}
|
|
1178
|
-
a === "edit" ? this.editedItem =
|
|
1181
|
+
a === "edit" ? this.editedItem = i.getData() : a === "delete" && this.emit("cx-list-editor-change", {
|
|
1179
1182
|
detail: {
|
|
1180
|
-
data: this.data.filter((
|
|
1183
|
+
data: this.data.filter((s) => s.id !== i.getData().id)
|
|
1181
1184
|
}
|
|
1182
1185
|
});
|
|
1183
1186
|
}
|
|
@@ -1195,7 +1198,7 @@ let s = class extends T {
|
|
|
1195
1198
|
handleAddClick() {
|
|
1196
1199
|
this.isAdding = !0, this.editedItem = {
|
|
1197
1200
|
...this.sampleItem,
|
|
1198
|
-
id:
|
|
1201
|
+
id: pe(`${Date.now()}-`)
|
|
1199
1202
|
};
|
|
1200
1203
|
}
|
|
1201
1204
|
handleSaveClick() {
|
|
@@ -1230,8 +1233,8 @@ let s = class extends T {
|
|
|
1230
1233
|
return;
|
|
1231
1234
|
if (!this.loadingItemIndex) {
|
|
1232
1235
|
this.table.tabulatorInstance?.getRows().forEach((t) => {
|
|
1233
|
-
const
|
|
1234
|
-
t._row.hoverMenuElement.actions =
|
|
1236
|
+
const i = t._row.hoverMenuElement;
|
|
1237
|
+
t._row.hoverMenuElement.actions = i.actions.map((s) => (s.options?.buttonProps && (s.options.buttonProps.loading = !1), s));
|
|
1235
1238
|
});
|
|
1236
1239
|
return;
|
|
1237
1240
|
}
|
|
@@ -1241,10 +1244,22 @@ let s = class extends T {
|
|
|
1241
1244
|
const a = e._row.hoverMenuElement;
|
|
1242
1245
|
a.actions = a.actions.map((t) => (t.options?.buttonProps && (t.options.buttonProps.loading = t.name === this.loadingEvent && this.loadingItemIndex === e.getIndex()), t));
|
|
1243
1246
|
}
|
|
1247
|
+
handleChange(e) {
|
|
1248
|
+
if (!e.target)
|
|
1249
|
+
return;
|
|
1250
|
+
const a = e.target, t = a.dataset.id;
|
|
1251
|
+
if (!t)
|
|
1252
|
+
return;
|
|
1253
|
+
let i = a.value;
|
|
1254
|
+
Array.isArray(i) ? i = i.join(" ") : i = String(i), this.editedItem = {
|
|
1255
|
+
...this.editedItem,
|
|
1256
|
+
[t]: i
|
|
1257
|
+
};
|
|
1258
|
+
}
|
|
1244
1259
|
renderControls(e) {
|
|
1245
1260
|
if (e === "translation") {
|
|
1246
1261
|
const a = l`
|
|
1247
|
-
${
|
|
1262
|
+
${b(
|
|
1248
1263
|
this.translatableControls,
|
|
1249
1264
|
(t) => t.field,
|
|
1250
1265
|
(t) => l`
|
|
@@ -1261,20 +1276,20 @@ let s = class extends T {
|
|
|
1261
1276
|
</cx-grid-item>
|
|
1262
1277
|
<cx-grid-item xs="4" sm="3">
|
|
1263
1278
|
<cx-space direction="vertical" spacing="x-small" wrap="nowrap">
|
|
1264
|
-
${
|
|
1265
|
-
const
|
|
1266
|
-
const
|
|
1279
|
+
${Q(this.supportedLanguages, (i) => {
|
|
1280
|
+
const s = this.localize.languageName(i) || ce.getName(i) || i, d = (c) => {
|
|
1281
|
+
const m = c.target.value;
|
|
1267
1282
|
this.editedItem = {
|
|
1268
1283
|
...this.editedItem,
|
|
1269
|
-
[`${t.field}-${
|
|
1284
|
+
[`${t.field}-${i}`]: m
|
|
1270
1285
|
};
|
|
1271
1286
|
};
|
|
1272
1287
|
return l`
|
|
1273
1288
|
<cx-input
|
|
1274
|
-
?disabled=${
|
|
1275
|
-
label=${
|
|
1276
|
-
value=${this.editedItem?.[`${t.field}-${
|
|
1277
|
-
@cx-change=${
|
|
1289
|
+
?disabled=${i.toLowerCase() === this.defaultLanguage?.toLowerCase()}
|
|
1290
|
+
label=${s}
|
|
1291
|
+
value=${this.editedItem?.[`${t.field}-${i}`] ?? this.editedItem?.[`${t.field}`] ?? ""}
|
|
1292
|
+
@cx-change=${d}
|
|
1278
1293
|
></cx-input>
|
|
1279
1294
|
`;
|
|
1280
1295
|
})}
|
|
@@ -1287,7 +1302,7 @@ let s = class extends T {
|
|
|
1287
1302
|
}
|
|
1288
1303
|
return l`
|
|
1289
1304
|
<cx-grid columns="3" spacing="var(--cx-spacing-small)" wrap="wrap">
|
|
1290
|
-
${
|
|
1305
|
+
${b(
|
|
1291
1306
|
this.sortedEntries,
|
|
1292
1307
|
([a]) => a,
|
|
1293
1308
|
([a, t]) => l`<cx-grid-item xs="3" sm="1">
|
|
@@ -1296,7 +1311,7 @@ let s = class extends T {
|
|
|
1296
1311
|
</cx-typography>
|
|
1297
1312
|
</cx-grid-item>
|
|
1298
1313
|
<cx-grid-item xs="3" sm="2">
|
|
1299
|
-
${
|
|
1314
|
+
${Y(
|
|
1300
1315
|
this.columnsMap[a].controlType,
|
|
1301
1316
|
[
|
|
1302
1317
|
[
|
|
@@ -1305,13 +1320,13 @@ let s = class extends T {
|
|
|
1305
1320
|
value=${t}
|
|
1306
1321
|
type="image"
|
|
1307
1322
|
id=${a}
|
|
1308
|
-
@cx-content-builder-asset-select=${async (
|
|
1309
|
-
if (Array.isArray(
|
|
1323
|
+
@cx-content-builder-asset-select=${async (d) => {
|
|
1324
|
+
if (Array.isArray(d.detail))
|
|
1310
1325
|
return;
|
|
1311
|
-
const { src:
|
|
1326
|
+
const { src: c } = d.detail;
|
|
1312
1327
|
this.editedItem = {
|
|
1313
1328
|
...this.editedItem,
|
|
1314
|
-
[a]:
|
|
1329
|
+
[a]: c
|
|
1315
1330
|
};
|
|
1316
1331
|
}}
|
|
1317
1332
|
@cx-content-builder-asset-delete=${async () => {
|
|
@@ -1327,43 +1342,54 @@ let s = class extends T {
|
|
|
1327
1342
|
],
|
|
1328
1343
|
[
|
|
1329
1344
|
"radio-group",
|
|
1330
|
-
() =>
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1345
|
+
() => l`
|
|
1346
|
+
<cx-radio-group
|
|
1347
|
+
data-id=${a}
|
|
1348
|
+
data-testid="radio-group-control"
|
|
1349
|
+
horizontal
|
|
1350
|
+
value=${(t || this.columnsMap[a].defaultValue) ?? ""}
|
|
1351
|
+
size="medium"
|
|
1352
|
+
@cx-change=${this.handleChange}
|
|
1353
|
+
>
|
|
1354
|
+
${b(
|
|
1355
|
+
this.columnsMap[a].options ?? [],
|
|
1356
|
+
(i) => i.value,
|
|
1357
|
+
(i) => l`<cx-radio value=${i.value}>
|
|
1358
|
+
${i.name}
|
|
1359
|
+
</cx-radio>`
|
|
1360
|
+
)}
|
|
1361
|
+
</cx-radio-group>
|
|
1362
|
+
`
|
|
1363
|
+
],
|
|
1364
|
+
[
|
|
1365
|
+
"select",
|
|
1366
|
+
() => this.columnsMap[a].api ? l`<cx-dynamic-select
|
|
1367
|
+
data-id=${a}
|
|
1368
|
+
hoist
|
|
1369
|
+
value=${t}
|
|
1370
|
+
@cx-change=${this.handleChange}
|
|
1371
|
+
.api=${this.columnsMap[a].api}
|
|
1372
|
+
></cx-dynamic-select>` : l`<cx-select
|
|
1373
|
+
data-id=${a}
|
|
1374
|
+
hoist
|
|
1375
|
+
value=${t}
|
|
1376
|
+
@cx-change=${this.handleChange}
|
|
1344
1377
|
>
|
|
1345
|
-
${
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
)}
|
|
1352
|
-
</cx-radio-group>`;
|
|
1353
|
-
}
|
|
1378
|
+
${b(
|
|
1379
|
+
this.columnsMap[a].options ?? [],
|
|
1380
|
+
(i) => i.value,
|
|
1381
|
+
(i) => l`<cx-option value=${i.value}>${i.name}</cx-option>`
|
|
1382
|
+
)}
|
|
1383
|
+
</cx-select>`
|
|
1354
1384
|
]
|
|
1355
1385
|
],
|
|
1356
1386
|
() => l`
|
|
1357
1387
|
<cx-input
|
|
1388
|
+
data-id=${a}
|
|
1358
1389
|
value=${t}
|
|
1359
|
-
@cx-change=${
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
...this.editedItem,
|
|
1363
|
-
[a]: m
|
|
1364
|
-
};
|
|
1365
|
-
}}
|
|
1366
|
-
></cx-input>`
|
|
1390
|
+
@cx-change=${this.handleChange}
|
|
1391
|
+
></cx-input>
|
|
1392
|
+
`
|
|
1367
1393
|
)}
|
|
1368
1394
|
</cx-grid-item>`
|
|
1369
1395
|
)}
|
|
@@ -1376,7 +1402,7 @@ let s = class extends T {
|
|
|
1376
1402
|
<div class="list-editor">
|
|
1377
1403
|
<cx-table
|
|
1378
1404
|
part="table"
|
|
1379
|
-
class=${
|
|
1405
|
+
class=${Z({
|
|
1380
1406
|
"list-editor__table": !0,
|
|
1381
1407
|
"list-editor__table--no-header": this.noHeader
|
|
1382
1408
|
})}
|
|
@@ -1385,7 +1411,7 @@ let s = class extends T {
|
|
|
1385
1411
|
layout="fitColumns"
|
|
1386
1412
|
row-height=${this.rowHeight}
|
|
1387
1413
|
.columns=${this.columns}
|
|
1388
|
-
.columnDefaults=${
|
|
1414
|
+
.columnDefaults=${xe}
|
|
1389
1415
|
.hoverMenu=${this.hoverMenu}
|
|
1390
1416
|
.data=${this.data ?? []}
|
|
1391
1417
|
no-selectable
|
|
@@ -1422,7 +1448,7 @@ let s = class extends T {
|
|
|
1422
1448
|
class="list-editor__tab-group"
|
|
1423
1449
|
placement="top"
|
|
1424
1450
|
>
|
|
1425
|
-
${
|
|
1451
|
+
${b(
|
|
1426
1452
|
this.tabs,
|
|
1427
1453
|
(e) => e,
|
|
1428
1454
|
(e) => l`
|
|
@@ -1498,27 +1524,30 @@ let s = class extends T {
|
|
|
1498
1524
|
`;
|
|
1499
1525
|
}
|
|
1500
1526
|
};
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
"cx-asset-picker":
|
|
1527
|
+
n.styles = [D, ge];
|
|
1528
|
+
n.dependencies = {
|
|
1529
|
+
"cx-asset-picker": p,
|
|
1504
1530
|
"cx-button": _,
|
|
1505
1531
|
"cx-dialog": q,
|
|
1532
|
+
"cx-dynamic-select": W,
|
|
1506
1533
|
"cx-grid": j,
|
|
1507
|
-
"cx-grid-item":
|
|
1534
|
+
"cx-grid-item": P,
|
|
1508
1535
|
"cx-input": S,
|
|
1509
|
-
"cx-line-clamp":
|
|
1510
|
-
"cx-
|
|
1511
|
-
"cx-radio
|
|
1536
|
+
"cx-line-clamp": R,
|
|
1537
|
+
"cx-option": F,
|
|
1538
|
+
"cx-radio": B,
|
|
1539
|
+
"cx-radio-group": K,
|
|
1540
|
+
"cx-select": U,
|
|
1512
1541
|
"cx-space": E,
|
|
1513
|
-
"cx-table":
|
|
1542
|
+
"cx-table": H,
|
|
1514
1543
|
"cx-typography": L
|
|
1515
1544
|
};
|
|
1516
1545
|
r([
|
|
1517
1546
|
y("cx-dialog")
|
|
1518
|
-
],
|
|
1547
|
+
], n.prototype, "dialog", 2);
|
|
1519
1548
|
r([
|
|
1520
1549
|
y("cx-table")
|
|
1521
|
-
],
|
|
1550
|
+
], n.prototype, "table", 2);
|
|
1522
1551
|
r([
|
|
1523
1552
|
o({
|
|
1524
1553
|
converter: {
|
|
@@ -1535,52 +1564,52 @@ r([
|
|
|
1535
1564
|
reflect: !1,
|
|
1536
1565
|
type: String
|
|
1537
1566
|
})
|
|
1538
|
-
],
|
|
1567
|
+
], n.prototype, "data", 2);
|
|
1539
1568
|
r([
|
|
1540
1569
|
o({ attribute: "can-add", reflect: !0, type: Boolean })
|
|
1541
|
-
],
|
|
1570
|
+
], n.prototype, "canAdd", 2);
|
|
1542
1571
|
r([
|
|
1543
1572
|
o({ attribute: "add-dialog-label", reflect: !0, type: String })
|
|
1544
|
-
],
|
|
1573
|
+
], n.prototype, "addDialogLabel", 2);
|
|
1545
1574
|
r([
|
|
1546
1575
|
o({ attribute: "edit-dialog-label", reflect: !0, type: String })
|
|
1547
|
-
],
|
|
1576
|
+
], n.prototype, "editDialogLabel", 2);
|
|
1548
1577
|
r([
|
|
1549
1578
|
o({ attribute: "display-field", reflect: !0, type: String })
|
|
1550
|
-
],
|
|
1579
|
+
], n.prototype, "displayField", 2);
|
|
1551
1580
|
r([
|
|
1552
1581
|
o({ attribute: "description-field", reflect: !0, type: String })
|
|
1553
|
-
],
|
|
1582
|
+
], n.prototype, "descriptionField", 2);
|
|
1554
1583
|
r([
|
|
1555
1584
|
o({ attribute: "add-item-text", reflect: !0, type: String })
|
|
1556
|
-
],
|
|
1585
|
+
], n.prototype, "addItemText", 2);
|
|
1557
1586
|
r([
|
|
1558
1587
|
o({ attribute: "sample-item", type: Object })
|
|
1559
|
-
],
|
|
1588
|
+
], n.prototype, "sampleItem", 2);
|
|
1560
1589
|
r([
|
|
1561
1590
|
o({ attribute: "use-events", reflect: !0, type: Boolean })
|
|
1562
|
-
],
|
|
1591
|
+
], n.prototype, "useEvents", 2);
|
|
1563
1592
|
r([
|
|
1564
1593
|
o({ reflect: !0, type: Boolean })
|
|
1565
|
-
],
|
|
1594
|
+
], n.prototype, "sortable", 2);
|
|
1566
1595
|
r([
|
|
1567
1596
|
o({ attribute: "loading-event", reflect: !0, type: String })
|
|
1568
|
-
],
|
|
1597
|
+
], n.prototype, "loadingEvent", 2);
|
|
1569
1598
|
r([
|
|
1570
1599
|
o({ attribute: "loading-item-index", reflect: !0, type: String })
|
|
1571
|
-
],
|
|
1600
|
+
], n.prototype, "loadingItemIndex", 2);
|
|
1572
1601
|
r([
|
|
1573
1602
|
o({ attribute: "columns", reflect: !1, type: Array })
|
|
1574
|
-
],
|
|
1603
|
+
], n.prototype, "columns", 2);
|
|
1575
1604
|
r([
|
|
1576
1605
|
o({ attribute: "no-header", reflect: !0, type: Boolean })
|
|
1577
|
-
],
|
|
1606
|
+
], n.prototype, "noHeader", 2);
|
|
1578
1607
|
r([
|
|
1579
1608
|
o({ attribute: "row-height", reflect: !0, type: Number })
|
|
1580
|
-
],
|
|
1609
|
+
], n.prototype, "rowHeight", 2);
|
|
1581
1610
|
r([
|
|
1582
1611
|
o({ attribute: "default-language", reflect: !0, type: String })
|
|
1583
|
-
],
|
|
1612
|
+
], n.prototype, "defaultLanguage", 2);
|
|
1584
1613
|
r([
|
|
1585
1614
|
o({
|
|
1586
1615
|
attribute: "supported-languages",
|
|
@@ -1591,48 +1620,48 @@ r([
|
|
|
1591
1620
|
reflect: !0,
|
|
1592
1621
|
type: Array
|
|
1593
1622
|
})
|
|
1594
|
-
],
|
|
1623
|
+
], n.prototype, "supportedLanguages", 2);
|
|
1595
1624
|
r([
|
|
1596
1625
|
o({ type: Object })
|
|
1597
|
-
],
|
|
1626
|
+
], n.prototype, "boundary", 2);
|
|
1598
1627
|
r([
|
|
1599
1628
|
o({ attribute: "on-request-asset", type: Function })
|
|
1600
|
-
],
|
|
1629
|
+
], n.prototype, "onRequestAsset", 2);
|
|
1601
1630
|
r([
|
|
1602
|
-
|
|
1603
|
-
],
|
|
1631
|
+
x()
|
|
1632
|
+
], n.prototype, "editedItem", 2);
|
|
1604
1633
|
r([
|
|
1605
|
-
|
|
1606
|
-
],
|
|
1634
|
+
x()
|
|
1635
|
+
], n.prototype, "isAdding", 2);
|
|
1607
1636
|
r([
|
|
1608
|
-
|
|
1609
|
-
],
|
|
1637
|
+
x()
|
|
1638
|
+
], n.prototype, "columnsMap", 2);
|
|
1610
1639
|
r([
|
|
1611
|
-
|
|
1612
|
-
],
|
|
1640
|
+
x()
|
|
1641
|
+
], n.prototype, "sortedEntries", 2);
|
|
1613
1642
|
r([
|
|
1614
|
-
|
|
1615
|
-
],
|
|
1643
|
+
x()
|
|
1644
|
+
], n.prototype, "translatableControls", 2);
|
|
1616
1645
|
r([
|
|
1617
1646
|
g("columns"),
|
|
1618
1647
|
g("supportedLanguages", { waitUntilFirstUpdate: !0 })
|
|
1619
|
-
],
|
|
1648
|
+
], n.prototype, "handleColumnsChange", 1);
|
|
1620
1649
|
r([
|
|
1621
1650
|
g("editedItem"),
|
|
1622
1651
|
g("columns", { waitUntilFirstUpdate: !0 })
|
|
1623
|
-
],
|
|
1652
|
+
], n.prototype, "handleEditedItemChange", 1);
|
|
1624
1653
|
r([
|
|
1625
1654
|
g("loadingEvent", { waitUntilFirstUpdate: !0 }),
|
|
1626
1655
|
g("loadingItemIndex", { waitUntilFirstUpdate: !0 }),
|
|
1627
|
-
|
|
1628
|
-
],
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
],
|
|
1656
|
+
J(10)
|
|
1657
|
+
], n.prototype, "handleLoadingEventChange", 1);
|
|
1658
|
+
n = r([
|
|
1659
|
+
M("cx-list-editor")
|
|
1660
|
+
], n);
|
|
1632
1661
|
export {
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1662
|
+
n as C,
|
|
1663
|
+
ce as I,
|
|
1664
|
+
p as a,
|
|
1665
|
+
xe as c,
|
|
1666
|
+
pe as u
|
|
1638
1667
|
};
|