@orangelogic/design-system 4.51.0 → 4.52.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/{array-line-clamp.HGGPocNC.js → array-line-clamp.DKxxZlon.js} +2 -2
- package/library/chunks/{asset-link-format.CV-Jw-hk.js → asset-link-format.B_gS4nTL.js} +2 -2
- package/library/chunks/{bicolor-picker.BGSxhZJ-.js → bicolor-picker.YUjpxOEl.js} +1 -1
- package/library/chunks/{block-width.B8m9MQM3.js → block-width.BDpJyD-F.js} +27 -27
- package/library/chunks/{border-input-group.wXw6aSGa.js → border-input-group.D5V40_dV.js} +1 -1
- package/library/chunks/{color-picker.DlcAbY3b.js → color-picker.B6zsp9q3.js} +108 -108
- package/library/chunks/{color-swatch-group.BdYLfI59.js → color-swatch-group.C-4jpi7T.js} +109 -109
- package/library/chunks/{color-swatch.D31RnyZs.js → color-swatch.Biz89VJr.js} +1 -1
- package/library/chunks/{config-manager.OCrUXBER.js → config-manager.D4XcNU1d.js} +15 -15
- package/library/chunks/{configs-controller.Cc-Lt6BH.js → configs-controller.C8z7oMRd.js} +5 -5
- package/library/chunks/{corner-position-input-group.DmmX8lEw.js → corner-position-input-group.vhSOueRn.js} +1 -1
- package/library/chunks/{diff.DAFtnzhM.js → diff.DZjfy2VU.js} +4 -4
- package/library/chunks/{document-viewer.CpC54CmZ.js → document-viewer.DVV4HsLS.js} +3 -3
- package/library/chunks/{dynamic-select.CtdC5OzH.js → dynamic-select.DmTXLyzH.js} +5 -5
- package/library/chunks/{file-on-demand.B4KUSqtB.js → file-on-demand.CLwTe72F.js} +9 -9
- package/library/chunks/{folder-select.DEGiL0pP.js → folder-select.BF1l6Zah.js} +20 -20
- package/library/chunks/{image.B87-7U_Z.js → image.C6-Opjew.js} +10 -10
- package/library/chunks/{line-clamp.BFh7eXXl.js → line-clamp.COXyDBRB.js} +23 -18
- package/library/chunks/{masonry.H7Hpnx9d.js → masonry.4Lcy37gf.js} +1 -1
- package/library/chunks/{pagination.ca5R1wld.js → pagination.Mr-XiQBd.js} +1 -1
- package/library/chunks/{radio-card.DTRD2YQ6.js → radio-card.jROctGtI.js} +1 -1
- package/library/chunks/{range.BUjztx8Q.js → range.CQzHuhd9.js} +10 -10
- package/library/chunks/{select.NhbQgMNA.js → select.CEgt2ciT.js} +2 -2
- package/library/chunks/{shadow-input-group.Zt8zKRxQ.js → shadow-input-group.DTEIzl1s.js} +1 -1
- package/library/chunks/{share-option-list.pVQugFoP.js → share-option-list.CdQeYk-I.js} +4 -4
- package/library/chunks/{size-input-group.Cxo0uCXM.js → size-input-group.DtldCuqS.js} +1 -1
- package/library/chunks/{src.3QpUQeRm.js → src.BjEmxalH.js} +18 -18
- package/library/chunks/{step.CC1wfskA.js → step.BlnWLzqI.js} +1 -1
- package/library/chunks/{stepper-wizard.BJARESIb.js → stepper-wizard.t7enm9Uz.js} +2 -2
- package/library/chunks/{stepper.CUxBZKM6.js → stepper.DzhUPTLW.js} +1 -1
- package/library/chunks/{tab-group.lMvydOdb.js → tab-group.DIVmzKse.js} +1 -1
- package/library/chunks/{tab.BKJEGsgj.js → tab.C0oUx7MY.js} +1 -1
- package/library/chunks/{tag.Dj8VrFFk.js → tag.B2S21_nF.js} +1 -1
- package/library/chunks/{tree.BWKeg92V.js → tree.Bq4vAQ6w.js} +1 -1
- package/library/chunks/{typeface.BLblmcP7.js → typeface.Dr9m4SZE.js} +1 -1
- package/library/chunks/{video.2jpE1tqO.js → video.bGH-n4pZ.js} +12 -12
- package/library/components/array-line-clamp.js +1 -1
- package/library/components/asset-link-format.js +1 -1
- package/library/components/atoms.js +21 -21
- package/library/components/bicolor-picker.js +1 -1
- package/library/components/border-input-group.js +1 -1
- package/library/components/color-picker.js +1 -1
- package/library/components/color-swatch-group.js +1 -1
- package/library/components/color-swatch.js +1 -1
- package/library/components/corner-position-input-group.js +1 -1
- package/library/components/diff.js +1 -1
- package/library/components/document-viewer.js +1 -1
- package/library/components/dynamic-select.js +1 -1
- package/library/components/file-on-demand.js +1 -1
- package/library/components/folder-select.js +1 -1
- package/library/components/image.js +1 -1
- package/library/components/line-clamp.js +1 -1
- package/library/components/masonry.js +1 -1
- package/library/components/molecules.js +12 -12
- package/library/components/organisms.js +3 -3
- package/library/components/pagination.js +1 -1
- package/library/components/radio-card.js +1 -1
- package/library/components/range.js +1 -1
- package/library/components/select.js +1 -1
- package/library/components/shadow-input-group.js +1 -1
- package/library/components/share-option-list.js +1 -1
- package/library/components/size-input-group.js +1 -1
- package/library/components/step.js +1 -1
- package/library/components/stepper-wizard.js +1 -1
- package/library/components/stepper.js +1 -1
- package/library/components/tab-group.js +1 -1
- package/library/components/tab.js +1 -1
- package/library/components/tag.js +1 -1
- package/library/components/tree-item.js +1 -1
- package/library/components/tree.js +1 -1
- package/library/components/typeface.js +1 -1
- package/library/components/types.js +228 -228
- package/library/components/video.js +1 -1
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/alert/alert.d.ts +3 -0
- package/library/packages/atoms/src/components/badge/badge.d.ts +3 -0
- package/library/packages/atoms/src/components/button/button.d.ts +12 -0
- package/library/packages/atoms/src/components/card/card.d.ts +1 -0
- package/library/packages/atoms/src/components/checkbox/checkbox.d.ts +18 -0
- package/library/packages/atoms/src/components/color-picker/color-picker.d.ts +7 -0
- package/library/packages/atoms/src/components/copy-button/copy-button.d.ts +11 -0
- package/library/packages/atoms/src/components/dialog/dialog.d.ts +2 -0
- package/library/packages/atoms/src/components/divider/divider.d.ts +2 -0
- package/library/packages/atoms/src/components/drawer/drawer.d.ts +3 -0
- package/library/packages/atoms/src/components/dropdown/dropdown.d.ts +3 -0
- package/library/packages/atoms/src/components/icon-button/icon-button.d.ts +6 -0
- package/library/packages/atoms/src/components/image/image.d.ts +1 -0
- package/library/packages/atoms/src/components/input/input.d.ts +39 -0
- package/library/packages/atoms/src/components/line-clamp/line-clamp.d.ts +8 -0
- package/library/packages/atoms/src/components/menu/menu.d.ts +4 -0
- package/library/packages/atoms/src/components/menu-item/menu-item.d.ts +2 -0
- package/library/packages/atoms/src/components/option/option.d.ts +1 -0
- package/library/packages/atoms/src/components/pagination/pagination.d.ts +1 -0
- package/library/packages/atoms/src/components/radio/radio.d.ts +14 -0
- package/library/packages/atoms/src/components/radio-button/radio-button.d.ts +11 -0
- package/library/packages/atoms/src/components/radio-card/radio-card.d.ts +3 -0
- package/library/packages/atoms/src/components/radio-group/radio-group.d.ts +2 -0
- package/library/packages/atoms/src/components/range/range.d.ts +3 -0
- package/library/packages/atoms/src/components/rating/rating.d.ts +2 -0
- package/library/packages/atoms/src/components/select/select.d.ts +38 -0
- package/library/packages/atoms/src/components/split-panel/split-panel.d.ts +1 -0
- package/library/packages/atoms/src/components/switch/switch.d.ts +12 -0
- package/library/packages/atoms/src/components/tag/tag.d.ts +10 -0
- package/library/packages/atoms/src/components/textarea/textarea.d.ts +38 -0
- package/library/packages/atoms/src/components/tooltip/tooltip.d.ts +9 -0
- package/library/packages/atoms/src/components/tree-item/tree-item.d.ts +1 -0
- package/library/packages/hybrid/rich-text/src/components/rich-text-bubble-menu/rich-text-bubble-menu.d.ts +4 -0
- package/library/packages/hybrid/rich-text/src/components/rich-text-toolbar/rich-text-toolbar.d.ts +3 -0
- package/library/packages/hybrid/rich-text/src/rich-text.d.ts +3 -0
- package/library/packages/hybrid/table-core/src/table/components/table-toolbar/table-toolbar.d.ts +2 -0
- package/library/packages/hybrid/table-core/src/table/table.d.ts +3 -0
- package/library/packages/hybrid/video-advanced/src/video-advanced/video-advanced.d.ts +12 -0
- package/library/packages/molecules/src/3d-viewer/components/3d-viewer-config/3d-viewer-config.d.ts +3 -0
- package/library/packages/molecules/src/annotator/annotator.d.ts +2 -0
- package/library/packages/molecules/src/asset-format-picker/asset-format-picker.d.ts +3 -0
- package/library/packages/molecules/src/asset-picker/asset-picker.d.ts +3 -0
- package/library/packages/molecules/src/download-format-picker/download-format-picker.d.ts +3 -0
- package/library/packages/molecules/src/input-date-picker/input-date-picker.d.ts +3 -0
- package/library/packages/molecules/src/markdown-viewer/markdown-viewer.d.ts +3 -0
- package/library/packages/molecules/src/multi-select/components/board/board.d.ts +4 -0
- package/library/packages/molecules/src/multi-select/components/board-list-item/board-list-item.d.ts +6 -0
- package/library/packages/molecules/src/publish-page/publish-page.d.ts +2 -0
- package/library/packages/molecules/src/view-and-sort/view-and-sort.d.ts +6 -0
- package/library/packages/organisms/src/chatbot/chatbot.d.ts +4 -0
- package/library/packages/organisms/src/comment/comment.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/blocks/button/button.d.ts +3 -0
- package/library/packages/organisms/src/content-builder/blocks/search-box/search-box.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/content-builder.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-bubble-menu/rte-bubble-menu.d.ts +7 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-table-generator/rte-table-generator.d.ts +6 -0
- package/library/packages/organisms/src/downloader/downloader.d.ts +6 -0
- package/library/packages/organisms/src/file-on-demand/components/file-on-demand-asset/file-on-demand-asset.d.ts +2 -0
- package/library/packages/organisms/src/find-and-replace/find-and-replace.d.ts +1 -0
- package/library/packages/organisms/src/text-to-speech/text-to-speech.d.ts +3 -0
- package/library/react-web-component.d.ts +30 -30
- package/library/utils.js +7 -7
- package/package.json +1 -1
- package/library/chunks/{src.CFxipFzl.js → src.BJpSLSUr.js} +1 -1
|
@@ -7,8 +7,8 @@ import { t as d } from "./watch.Ub5r8btz.js";
|
|
|
7
7
|
import { t as f } from "./when.BUskJLtZ.js";
|
|
8
8
|
import { t as p } from "./style-map.DPGQIxip.js";
|
|
9
9
|
import { t as m } from "./resize-observer.D9EHlnZI.js";
|
|
10
|
-
import { t as h } from "./line-clamp.
|
|
11
|
-
import { t as g } from "./tag.
|
|
10
|
+
import { t as h } from "./line-clamp.COXyDBRB.js";
|
|
11
|
+
import { t as g } from "./tag.B2S21_nF.js";
|
|
12
12
|
//#region ../../packages/atoms/src/components/array-line-clamp/array-line-clamp.styles.ts
|
|
13
13
|
var _ = t`.array-clamp{flex-wrap:nowrap;flex-grow:1;flex-shrink:1;align-items:center;display:flex;overflow:hidden}.array-clamp__items-container{flex-wrap:nowrap;flex-grow:1;flex-shrink:1;align-items:center;width:100%;min-width:0;display:flex;overflow:hidden}.array-clamp__items-container ::slotted(.array-clamp__item){white-space:nowrap;flex-shrink:0}.array-clamp__items-container ::slotted(.array-clamp__item:not(:last-child)):after{content:var(--array-clamp-separator,", ");white-space:pre}.array-clamp__items-container ::slotted(.array-clamp__item.clamped){display:none}.array-clamp__items-container ::slotted(.array-clamp__item.array-clamp__last-visible){-webkit-line-clamp:1;text-overflow:ellipsis;white-space:normal;-webkit-box-orient:vertical;flex-shrink:1;min-width:0;display:-webkit-box;overflow:hidden}.array-clamp__indicator{flex-shrink:0}.array-clamp__indicator::part(base){overflow-wrap:break-word;min-width:2rem;max-width:4rem}`, v = "array-clamp__item", y = "array-clamp__last-visible", b = "clamped", x = class extends s {
|
|
14
14
|
constructor(...e) {
|
|
@@ -22,9 +22,9 @@ import { t as x } from "./repeat.CKv9FPlC.js";
|
|
|
22
22
|
import { t as oe } from "./input.D1UkXp3F.js";
|
|
23
23
|
import { t as S } from "./option.Da60zYvc.js";
|
|
24
24
|
import { t as C } from "./space.Dd8jezXK.js";
|
|
25
|
-
import { t as w } from "./select.
|
|
25
|
+
import { t as w } from "./select.CEgt2ciT.js";
|
|
26
26
|
import { t as se } from "./visually-hidden.Bv3SInZp.js";
|
|
27
|
-
import { E as ce, T as le, b as ue, d as de, h as fe, p as pe, w as me, y as he } from "./src.
|
|
27
|
+
import { E as ce, T as le, b as ue, d as de, h as fe, p as pe, w as me, y as he } from "./src.BJpSLSUr.js";
|
|
28
28
|
import { t as T } from "./details.BGlfx87d.js";
|
|
29
29
|
import { t as ge } from "./divider.CqSNZCU8.js";
|
|
30
30
|
import { a as E, c as D, l as O, n as _e, o as k, r as A, s as j, t as M } from "./asset-link-format.COPyGdND.js";
|
|
@@ -4,7 +4,7 @@ import { t as o } from "./component.styles.0xM1ZmBs.js";
|
|
|
4
4
|
import { t as s } from "./custom-element.BEMYNDK1.js";
|
|
5
5
|
import { t as c } from "./style-map.DPGQIxip.js";
|
|
6
6
|
import { t as l } from "./space.Dd8jezXK.js";
|
|
7
|
-
import { t as u } from "./color-picker.
|
|
7
|
+
import { t as u } from "./color-picker.B6zsp9q3.js";
|
|
8
8
|
//#region ../../packages/molecules/src/bicolor-picker/bicolor-picker.styles.ts
|
|
9
9
|
var d = t``, f = class extends a {
|
|
10
10
|
constructor(...e) {
|
|
@@ -15,14 +15,14 @@ import { t as y } from "./when.BUskJLtZ.js";
|
|
|
15
15
|
import { t as ie } from "./icon.CeQpEaQz.js";
|
|
16
16
|
import { t as ae } from "./spinner.DsWszid8.js";
|
|
17
17
|
import { n as oe } from "./tslib.es6.DJNsMHqv.js";
|
|
18
|
-
import { t as se } from "./src.
|
|
18
|
+
import { t as se } from "./src.BjEmxalH.js";
|
|
19
19
|
import { t as ce } from "./style-map.DPGQIxip.js";
|
|
20
|
+
import { t as le } from "./debounce.Ci-xdsHE.js";
|
|
20
21
|
import { t as b } from "./button.DnOMjl_G.js";
|
|
21
|
-
import { E as x, S as
|
|
22
|
-
import { t as
|
|
23
|
-
import { t as fe } from "./debounce.Ci-xdsHE.js";
|
|
22
|
+
import { E as x, S as ue, r as de } from "./string.DAuTpyw8.js";
|
|
23
|
+
import { t as fe } from "./form.JYXtmwQ2.js";
|
|
24
24
|
import { t as pe } from "./tooltip.DJl5qcTx.js";
|
|
25
|
-
import { t as me } from "./line-clamp.
|
|
25
|
+
import { t as me } from "./line-clamp.COXyDBRB.js";
|
|
26
26
|
import { n as he } from "./position-picker.dY_vgF_H.js";
|
|
27
27
|
import { a as ge } from "./src.BJhIYoMP.js";
|
|
28
28
|
import { i as _e } from "./number.CNp5LKkv.js";
|
|
@@ -42,46 +42,46 @@ import { n as De, r as Oe, t as ke } from "./ref.CU1NC5AM.js";
|
|
|
42
42
|
import { t as Ae } from "./textarea.BgWdR_7D.js";
|
|
43
43
|
import { n as je, t as T } from "./option.Da60zYvc.js";
|
|
44
44
|
import { t as E } from "./space.Dd8jezXK.js";
|
|
45
|
-
import { t as D } from "./select.
|
|
46
|
-
import { t as Me } from "./tab.
|
|
47
|
-
import { t as Ne } from "./tab-group.
|
|
45
|
+
import { t as D } from "./select.CEgt2ciT.js";
|
|
46
|
+
import { t as Me } from "./tab.C0oUx7MY.js";
|
|
47
|
+
import { t as Ne } from "./tab-group.DIVmzKse.js";
|
|
48
48
|
import { t as Pe } from "./map.ByDuLduF.js";
|
|
49
49
|
import { t as Fe } from "./tab-panel.BxeoKuSv.js";
|
|
50
50
|
import { t as Ie } from "./visually-hidden.Bv3SInZp.js";
|
|
51
|
-
import { t as Le } from "./color-picker.
|
|
52
|
-
import { E as Re, G as ze, O as Be, R as Ve, S as He, T as Ue, U as We, V as Ge, w as Ke, x as qe, y as Je } from "./src.
|
|
51
|
+
import { t as Le } from "./color-picker.B6zsp9q3.js";
|
|
52
|
+
import { E as Re, G as ze, O as Be, R as Ve, S as He, T as Ue, U as We, V as Ge, w as Ke, x as qe, y as Je } from "./src.BJpSLSUr.js";
|
|
53
53
|
import { a as Ye, i as Xe, n as Ze, o as Qe, r as $e, s as et, t as O } from "./dialog.BKSCSk0r.js";
|
|
54
54
|
import { t as tt } from "./divider.CqSNZCU8.js";
|
|
55
55
|
import { p as nt } from "./url.BCc06dE7.js";
|
|
56
56
|
import { d as rt, h as it, m as at, n as ot, o as st, p as ct } from "./color.CIOzHtLK.js";
|
|
57
57
|
import { a as k, h as lt, p as A } from "./responsive.L9Csz2w2.js";
|
|
58
58
|
import { r as j, s as ut } from "./asset-link-format.COPyGdND.js";
|
|
59
|
-
import { t as dt } from "./image.
|
|
59
|
+
import { t as dt } from "./image.C6-Opjew.js";
|
|
60
60
|
import { t as ft } from "./grid.CK4PRwur.js";
|
|
61
61
|
import { t as pt } from "./grid-item.CSieaU5T.js";
|
|
62
62
|
import { t as mt } from "./menu-label.B-FOyfAX.js";
|
|
63
63
|
import { t as ht } from "./radio.DhPbmKbQ.js";
|
|
64
|
-
import { t as gt } from "./radio-card.
|
|
64
|
+
import { t as gt } from "./radio-card.jROctGtI.js";
|
|
65
65
|
import { t as _t } from "./radio-group.DSnDDjKe.js";
|
|
66
66
|
import { t as vt } from "./switch.CBho2RVW.js";
|
|
67
67
|
import { t as yt } from "./v4.JyXW8GUB.js";
|
|
68
|
-
import { t as bt } from "./bicolor-picker.
|
|
69
|
-
import { t as xt } from "./border-input-group.
|
|
68
|
+
import { t as bt } from "./bicolor-picker.YUjpxOEl.js";
|
|
69
|
+
import { t as xt } from "./border-input-group.D5V40_dV.js";
|
|
70
70
|
import { n as St, t as Ct } from "./confirm-popover.UUhlXSDu.js";
|
|
71
|
-
import { t as wt } from "./corner-position-input-group.
|
|
71
|
+
import { t as wt } from "./corner-position-input-group.vhSOueRn.js";
|
|
72
72
|
import { t as Tt } from "./cropper.BRsN8h2t.js";
|
|
73
|
-
import { t as Et } from "./dynamic-select.
|
|
73
|
+
import { t as Et } from "./dynamic-select.DmTXLyzH.js";
|
|
74
74
|
import { t as Dt } from "./string-array.Dstcqyjm.js";
|
|
75
|
-
import { n as M, r as Ot, t as N } from "./folder-select.
|
|
75
|
+
import { n as M, r as Ot, t as N } from "./folder-select.BF1l6Zah.js";
|
|
76
76
|
import { t as kt } from "./choose.C2vpqhLc.js";
|
|
77
|
-
import { t as At } from "./masonry.
|
|
77
|
+
import { t as At } from "./masonry.4Lcy37gf.js";
|
|
78
78
|
import { t as jt } from "./padding-input-group.CGDq3Cct.js";
|
|
79
79
|
import { t as Mt } from "./position-picker.DzRyAx7a.js";
|
|
80
|
-
import { t as Nt } from "./shadow-input-group.
|
|
81
|
-
import { t as Pt } from "./size-input-group.
|
|
82
|
-
import { C as Ft, S as It, T as Lt, _ as Rt, b as zt, c as Bt, f as Vt, g as Ht, h as Ut, i as Wt, l as Gt, n as Kt, o as qt, p as Jt, r as Yt, s as P, t as Xt, u as Zt, v as Qt, w as $t, x as en, y as tn } from "./asset-link-format.
|
|
83
|
-
import { c as nn, d as rn, f as an, n as on, u as sn } from "./color-swatch-group.
|
|
84
|
-
import { $ as cn, B as F, G as ln, O as un, P as dn, Q as fn, T as pn, X as mn, Y as hn, Z as gn, _ as _n, at as vn, ct as I, et as yn, lt as bn, ot as L, st as xn, v as Sn, w as Cn, x as wn } from "./configs-controller.
|
|
80
|
+
import { t as Nt } from "./shadow-input-group.DTEIzl1s.js";
|
|
81
|
+
import { t as Pt } from "./size-input-group.DtldCuqS.js";
|
|
82
|
+
import { C as Ft, S as It, T as Lt, _ as Rt, b as zt, c as Bt, f as Vt, g as Ht, h as Ut, i as Wt, l as Gt, n as Kt, o as qt, p as Jt, r as Yt, s as P, t as Xt, u as Zt, v as Qt, w as $t, x as en, y as tn } from "./asset-link-format.B_gS4nTL.js";
|
|
83
|
+
import { c as nn, d as rn, f as an, n as on, u as sn } from "./color-swatch-group.C-4jpi7T.js";
|
|
84
|
+
import { $ as cn, B as F, G as ln, O as un, P as dn, Q as fn, T as pn, X as mn, Y as hn, Z as gn, _ as _n, at as vn, ct as I, et as yn, lt as bn, ot as L, st as xn, v as Sn, w as Cn, x as wn } from "./configs-controller.C8z7oMRd.js";
|
|
85
85
|
import { a as Tn } from "./cloneDeep.C6x5LNv3.js";
|
|
86
86
|
//#region ../../packages/types/src/icon-picker.ts
|
|
87
87
|
var En = /* @__PURE__ */ function(e) {
|
|
@@ -169,7 +169,7 @@ var En = /* @__PURE__ */ function(e) {
|
|
|
169
169
|
if (this.onRequestAsset) try {
|
|
170
170
|
this.emit("cx-asset-request-status", { detail: { busy: !0 } });
|
|
171
171
|
let e = await this.onRequestAsset(this.type.join(" "), this.multiple, this.accepts, this.restrict ? this.type.join(" ") : void 0);
|
|
172
|
-
if (this.accepts.length > 0 && Object.values(e).some((e) => !this.accepts.includes(
|
|
172
|
+
if (this.accepts.length > 0 && Object.values(e).some((e) => !this.accepts.includes(de(e.src) ?? ""))) Be(this.localize.term("nonAcceptedExtension", this.accepts), { notificationType: "warning" });
|
|
173
173
|
else if (this.multiple) {
|
|
174
174
|
let t = Object.values(e);
|
|
175
175
|
this.emit("cx-content-builder-asset-select", { detail: t });
|
|
@@ -239,7 +239,7 @@ var En = /* @__PURE__ */ function(e) {
|
|
|
239
239
|
return n`<cx-image part="image" class="asset-picker__image" src=${this.previewSrc || this.value} alt=${e || ""} width="200px" object-fit=${ge.Cover} no-crossorigin retry-on-error></cx-image>`;
|
|
240
240
|
}
|
|
241
241
|
renderTitleLabel() {
|
|
242
|
-
let e = this.assetTitles.length > 0, t = this.multiple ? this.name.split(Mn) : [this.name], [r] = e ? this.assetTitles : t, i = e ? this.assetTitles.length : this.value.split(" ").filter((e) => e !== "").length, a =
|
|
242
|
+
let e = this.assetTitles.length > 0, t = this.multiple ? this.name.split(Mn) : [this.name], [r] = e ? this.assetTitles : t, i = e ? this.assetTitles.length : this.value.split(" ").filter((e) => e !== "").length, a = ue(r, kn, An, jn), o = i - 1, s = o > 0 ? `${a} ${this.localize.term("andOthers", o)}` : a;
|
|
243
243
|
return n`<cx-typography variant="body-2">${s}</cx-typography>`;
|
|
244
244
|
}
|
|
245
245
|
renderAssetPreview(e) {
|
|
@@ -41118,7 +41118,7 @@ Xe.plugin({
|
|
|
41118
41118
|
var X = class extends d {
|
|
41119
41119
|
static #e = Rr = this;
|
|
41120
41120
|
constructor(...e) {
|
|
41121
|
-
super(...e), this.formControlController = new
|
|
41121
|
+
super(...e), this.formControlController = new fe(this, { assumeInteractionOn: ["cx-gallery-picker-action"] }), this.localize = new h(this), this.variant = x.Asset, this.sourceVariant = F.Manual, this.dialogVariant = A.Gallery, this.name = "", this.value = void 0, this.defaultValue = void 0, this.src = "", this.format = "TR1", this.manualFormat = !1, this.boundary = document.body, this.form = void 0, this.onRequestAsset = void 0, this.loading = !1, this.masonryData = [], this.dataCount = 0, this.currentPage = 0, this.selectedPosition = -1, this.hasFinishedFetchingData = !1, this.errorDataMap = /* @__PURE__ */ new Map(), this.osInstance = null, this.itemsPerPage = 9, this.maxRows = 3, this.maxColumns = 3, this.rowHeight = "150px", this.spacing = "medium", this.autofetchController = new Kt(this, {
|
|
41122
41122
|
isSiteBuilder: !0,
|
|
41123
41123
|
maxEnd: 100
|
|
41124
41124
|
});
|
|
@@ -42797,7 +42797,7 @@ l([f("cx-dialog"), u("design:type", O === void 0 ? Object : O)], Q.prototype, "d
|
|
|
42797
42797
|
], Q.prototype, "handleEditedItemChange", null), l([
|
|
42798
42798
|
g("loadingEvent", { waitUntilFirstUpdate: !0 }),
|
|
42799
42799
|
g("loadingItemIndex", { waitUntilFirstUpdate: !0 }),
|
|
42800
|
-
|
|
42800
|
+
le(10),
|
|
42801
42801
|
u("design:type", Function),
|
|
42802
42802
|
u("design:paramtypes", []),
|
|
42803
42803
|
u("design:returntype", Promise)
|
|
@@ -5,7 +5,7 @@ import { t as s } from "./custom-element.BEMYNDK1.js";
|
|
|
5
5
|
import { t as c } from "./i18n.CQPiI18Q.js";
|
|
6
6
|
import { t as l } from "./input.D1UkXp3F.js";
|
|
7
7
|
import { t as u } from "./space.Dd8jezXK.js";
|
|
8
|
-
import { t as d } from "./bicolor-picker.
|
|
8
|
+
import { t as d } from "./bicolor-picker.YUjpxOEl.js";
|
|
9
9
|
//#region ../../packages/molecules/src/border-input-group/border-input-group.styles.ts
|
|
10
10
|
var f = t`.border-width{width:72px}`, p = class extends a {
|
|
11
11
|
constructor(...e) {
|