@orangelogic/design-system 4.49.0 → 4.51.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/{asset-link-format.CZBeBJej.js → asset-link-format.CV-Jw-hk.js} +557 -522
- package/library/chunks/{bicolor-picker.CIQZ9X5x.js → bicolor-picker.BGSxhZJ-.js} +1 -1
- package/library/chunks/{block-width.DTvz7xM0.js → block-width.B8m9MQM3.js} +15 -15
- package/library/chunks/{border-input-group.zWvxXDrV.js → border-input-group.wXw6aSGa.js} +1 -1
- package/library/chunks/{color-picker.DlpYhvA1.js → color-picker.DlcAbY3b.js} +2 -2
- package/library/chunks/{color-swatch-group.CatSe9IU.js → color-swatch-group.BdYLfI59.js} +3 -3
- package/library/chunks/{config-manager.BBN9hptw.js → config-manager.OCrUXBER.js} +13 -13
- package/library/chunks/{configs-controller.wtRhwfJ1.js → configs-controller.Cc-Lt6BH.js} +4 -4
- package/library/chunks/{corner-position-input-group.BMDQlHSS.js → corner-position-input-group.DmmX8lEw.js} +2 -2
- package/library/chunks/{document-viewer.D8UPa4kM.js → document-viewer.CpC54CmZ.js} +1 -1
- package/library/chunks/{dynamic-select.D49cHmhm.js → dynamic-select.CtdC5OzH.js} +2 -2
- package/library/chunks/{file-on-demand.4Zi0mu_q.js → file-on-demand.B4KUSqtB.js} +2 -2
- package/library/chunks/{folder-select.DsF8LODE.js → folder-select.DEGiL0pP.js} +1 -1
- package/library/chunks/{option.C97GEvQ6.js → option.Da60zYvc.js} +1 -1
- package/library/chunks/{pagination.c9x67wQ0.js → pagination.ca5R1wld.js} +2 -2
- package/library/chunks/{select.B154rVXD.js → select.NhbQgMNA.js} +21 -27
- package/library/chunks/{shadow-input-group.rms5mviC.js → shadow-input-group.Zt8zKRxQ.js} +1 -1
- package/library/chunks/{size-input-group.DiTi9CgW.js → size-input-group.Cxo0uCXM.js} +1 -1
- package/library/chunks/{src.trg9VhQU.js → src.3QpUQeRm.js} +5 -5
- package/library/chunks/{src.QIRlv8bQ.js → src.CFxipFzl.js} +1 -1
- package/library/components/asset-link-format.js +1 -1
- package/library/components/atoms.js +6 -6
- 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/corner-position-input-group.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/molecules.js +7 -7
- package/library/components/option.js +1 -1
- package/library/components/organisms.js +3 -3
- package/library/components/pagination.js +1 -1
- package/library/components/select.js +1 -1
- package/library/components/shadow-input-group.js +1 -1
- package/library/components/size-input-group.js +1 -1
- package/library/components/types.js +21 -21
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/option/option.d.ts +0 -1
- package/library/packages/atoms/src/components/select/select.d.ts +3 -1
- package/library/packages/organisms/src/asset-link-format/asset-link-format.d.ts +8 -2
- package/library/packages/organisms/src/asset-link-format/components/asset-link-format-crop/asset-link-format-crop.d.ts +11 -3
- package/library/packages/organisms/src/carousel/carousel.d.ts +3 -0
- package/library/utils.js +1 -1
- package/package.json +1 -1
|
@@ -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.DlcAbY3b.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,7 +15,7 @@ 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.3QpUQeRm.js";
|
|
19
19
|
import { t as ce } from "./style-map.DPGQIxip.js";
|
|
20
20
|
import { t as b } from "./button.DnOMjl_G.js";
|
|
21
21
|
import { E as x, S as le, r as ue } from "./string.DAuTpyw8.js";
|
|
@@ -40,16 +40,16 @@ import { t as Te } from "./menu.DNeN3pz0.js";
|
|
|
40
40
|
import { t as Ee } from "./menu-item.CCbtHE5R.js";
|
|
41
41
|
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
|
-
import { n as je, t as T } from "./option.
|
|
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.
|
|
45
|
+
import { t as D } from "./select.NhbQgMNA.js";
|
|
46
46
|
import { t as Me } from "./tab.BKJEGsgj.js";
|
|
47
47
|
import { t as Ne } from "./tab-group.lMvydOdb.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.DlcAbY3b.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.CFxipFzl.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";
|
|
@@ -65,23 +65,23 @@ import { t as gt } from "./radio-card.DTRD2YQ6.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.BGSxhZJ-.js";
|
|
69
|
+
import { t as xt } from "./border-input-group.wXw6aSGa.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.DmmX8lEw.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.CtdC5OzH.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.DEGiL0pP.js";
|
|
76
76
|
import { t as kt } from "./choose.C2vpqhLc.js";
|
|
77
77
|
import { t as At } from "./masonry.H7Hpnx9d.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.Zt8zKRxQ.js";
|
|
81
|
+
import { t as Pt } from "./size-input-group.Cxo0uCXM.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.CV-Jw-hk.js";
|
|
83
|
+
import { c as nn, d as rn, f as an, n as on, u as sn } from "./color-swatch-group.BdYLfI59.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.Cc-Lt6BH.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) {
|
|
@@ -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.BGSxhZJ-.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) {
|
|
@@ -25,8 +25,8 @@ import { t as M } from "./math.od1DVmRk.js";
|
|
|
25
25
|
import { t as N } from "./repeat.CKv9FPlC.js";
|
|
26
26
|
import { t as P } from "./dropdown.CcjP36wF.js";
|
|
27
27
|
import { t as F } from "./input.D1UkXp3F.js";
|
|
28
|
-
import { t as I } from "./option.
|
|
29
|
-
import { t as L } from "./select.
|
|
28
|
+
import { t as I } from "./option.Da60zYvc.js";
|
|
29
|
+
import { t as L } from "./select.NhbQgMNA.js";
|
|
30
30
|
import { t as R } from "./tab.BKJEGsgj.js";
|
|
31
31
|
import { t as z } from "./tab-group.lMvydOdb.js";
|
|
32
32
|
import { t as B } from "./tab-panel.BxeoKuSv.js";
|
|
@@ -33,10 +33,10 @@ import { t as ge } from "./menu.DNeN3pz0.js";
|
|
|
33
33
|
import { t as _e } from "./menu-item.CCbtHE5R.js";
|
|
34
34
|
import { t as ve } from "./space.Dd8jezXK.js";
|
|
35
35
|
import { t as ye } from "./unsafe-html.Cb838aX7.js";
|
|
36
|
-
import { t as be } from "./select.
|
|
36
|
+
import { t as be } from "./select.NhbQgMNA.js";
|
|
37
37
|
import { t as xe } from "./guard.Cf17k6Vx.js";
|
|
38
38
|
import { a as Se, f as Ce, l as we, r as Te } from "./date.BL4L64Hx.js";
|
|
39
|
-
import { O as Ee, ct as De, et as Oe, it as ke, ot as Ae, rt as je, tt as Me } from "./src.
|
|
39
|
+
import { O as Ee, ct as De, et as Oe, it as ke, ot as Ae, rt as je, tt as Me } from "./src.CFxipFzl.js";
|
|
40
40
|
import { t as Ne } from "./details.BGlfx87d.js";
|
|
41
41
|
import { i as Pe, s as Fe, t as Ie } from "./dialog.BKSCSk0r.js";
|
|
42
42
|
import { t as Le } from "./divider.CqSNZCU8.js";
|
|
@@ -46,7 +46,7 @@ import { _ as Be, c as Ve, g as He, l as Ue, v as We, y as Ge } from "./color.CI
|
|
|
46
46
|
import { f as Ke, n as qe, r as Je, t as Ye } from "./responsive.L9Csz2w2.js";
|
|
47
47
|
import Xe from "../components/format-number.js";
|
|
48
48
|
import { t as Ze } from "./menu-section.BzzA6L5E.js";
|
|
49
|
-
import { n as Qe, t as $e } from "./pagination.
|
|
49
|
+
import { n as Qe, t as $e } from "./pagination.ca5R1wld.js";
|
|
50
50
|
import { t as et } from "./sortable.esm.BVU0_hc5.js";
|
|
51
51
|
import { t as tt } from "./color-swatch.D31RnyZs.js";
|
|
52
52
|
import { t as nt } from "./debounce.DrhImrNP.js";
|
|
@@ -14,7 +14,7 @@ import { t as b } from "./style-map.DPGQIxip.js";
|
|
|
14
14
|
import { t as x } from "./button.DnOMjl_G.js";
|
|
15
15
|
import { t as ee } from "./tooltip.DJl5qcTx.js";
|
|
16
16
|
import { t as te } from "./line-clamp.BFh7eXXl.js";
|
|
17
|
-
import { S as ne, _ as re, a as ie, b as ae, c as oe, d as se, f as ce, g as le, h as ue, i as de, l as fe, m as pe, n as me, o as he, p as ge, s as S, t as C, u as w, v as T, x as E, y as D } from "./block-width.
|
|
17
|
+
import { S as ne, _ as re, a as ie, b as ae, c as oe, d as se, f as ce, g as le, h as ue, i as de, l as fe, m as pe, n as me, o as he, p as ge, s as S, t as C, u as w, v as T, x as E, y as D } from "./block-width.B8m9MQM3.js";
|
|
18
18
|
import { t as O } from "./typography.B0mkhqTB.js";
|
|
19
19
|
import { t as k } from "./button-group.CPfXrqyq.js";
|
|
20
20
|
import { t as A } from "./card.3c-X4hqR.js";
|
|
@@ -27,15 +27,15 @@ import { t as ye } from "./menu.DNeN3pz0.js";
|
|
|
27
27
|
import { t as be } from "./menu-item.CCbtHE5R.js";
|
|
28
28
|
import { n as xe, t as Se } from "./ref.CU1NC5AM.js";
|
|
29
29
|
import { t as Ce } from "./textarea.BgWdR_7D.js";
|
|
30
|
-
import { t as we } from "./option.
|
|
30
|
+
import { t as we } from "./option.Da60zYvc.js";
|
|
31
31
|
import { t as Te } from "./space.Dd8jezXK.js";
|
|
32
|
-
import { t as Ee } from "./select.
|
|
32
|
+
import { t as Ee } from "./select.NhbQgMNA.js";
|
|
33
33
|
import { t as De } from "./tab.BKJEGsgj.js";
|
|
34
34
|
import { t as z } from "./tab-group.lMvydOdb.js";
|
|
35
35
|
import { t as Oe } from "./map.ByDuLduF.js";
|
|
36
36
|
import { t as ke } from "./tab-panel.BxeoKuSv.js";
|
|
37
37
|
import { t as Ae } from "./visually-hidden.Bv3SInZp.js";
|
|
38
|
-
import { R as je } from "./src.
|
|
38
|
+
import { R as je } from "./src.CFxipFzl.js";
|
|
39
39
|
import { o as B, t as V } from "./dialog.BKSCSk0r.js";
|
|
40
40
|
import { t as Me } from "./divider.CqSNZCU8.js";
|
|
41
41
|
import { n as Ne } from "./toString.r2ImdBrm.js";
|
|
@@ -47,23 +47,23 @@ import { t as Re } from "./radio.DhPbmKbQ.js";
|
|
|
47
47
|
import { t as ze } from "./radio-card.DTRD2YQ6.js";
|
|
48
48
|
import { t as Be } from "./radio-group.DSnDDjKe.js";
|
|
49
49
|
import { t as Ve } from "./switch.CBho2RVW.js";
|
|
50
|
-
import { t as He } from "./bicolor-picker.
|
|
51
|
-
import { t as Ue } from "./border-input-group.
|
|
50
|
+
import { t as He } from "./bicolor-picker.BGSxhZJ-.js";
|
|
51
|
+
import { t as Ue } from "./border-input-group.wXw6aSGa.js";
|
|
52
52
|
import { n as We, t as U } from "./confirm-popover.UUhlXSDu.js";
|
|
53
|
-
import { t as Ge } from "./corner-position-input-group.
|
|
53
|
+
import { t as Ge } from "./corner-position-input-group.DmmX8lEw.js";
|
|
54
54
|
import { t as W } from "./_baseIteratee.DWc2-Bvm.js";
|
|
55
|
-
import { t as Ke } from "./dynamic-select.
|
|
55
|
+
import { t as Ke } from "./dynamic-select.CtdC5OzH.js";
|
|
56
56
|
import { t as G } from "./string-array.Dstcqyjm.js";
|
|
57
57
|
import { t as qe } from "./choose.C2vpqhLc.js";
|
|
58
58
|
import { t as Je } from "./padding-input-group.CGDq3Cct.js";
|
|
59
59
|
import { t as Ye } from "./position-picker.DzRyAx7a.js";
|
|
60
|
-
import { t as Xe } from "./shadow-input-group.
|
|
61
|
-
import { t as Ze } from "./size-input-group.
|
|
62
|
-
import { T as K } from "./asset-link-format.
|
|
60
|
+
import { t as Xe } from "./shadow-input-group.Zt8zKRxQ.js";
|
|
61
|
+
import { t as Ze } from "./size-input-group.Cxo0uCXM.js";
|
|
62
|
+
import { T as K } from "./asset-link-format.CV-Jw-hk.js";
|
|
63
63
|
import { n as Qe } from "./_baseXor.Ca5K0ORC.js";
|
|
64
64
|
import { n as $e, s as et, t as q } from "./isArrayLikeObject.Da3IzQeH.js";
|
|
65
65
|
import { i as tt } from "./_baseClone.CnI5Vpqn.js";
|
|
66
|
-
import { P as nt, l as J, s as rt, t as it } from "./configs-controller.
|
|
66
|
+
import { P as nt, l as J, s as rt, t as it } from "./configs-controller.Cc-Lt6BH.js";
|
|
67
67
|
import { t as at } from "./isEmpty.D3QQduJ5.js";
|
|
68
68
|
import { i as ot } from "./cloneDeep.C6x5LNv3.js";
|
|
69
69
|
//#region ../../node_modules/lodash-es/difference.js
|
|
@@ -575,7 +575,7 @@ var Y = (e) => M(e) ? e._$litType$.h : e.strings, X = g(class extends h {
|
|
|
575
575
|
return t`<cx-space direction="vertical" spacing="medium" wrap="nowrap"><cx-typography variant="body2">${this.localize.term("contentBuilderBlockSettingsHelpText")}</cx-typography><cx-grid columns="3" use-flex-gap spacing="var(--cx-spacing-small)" column-spacing="0" wrap="nowrap"><cx-grid-item xs="3" sm="1"><cx-typography variant="body2">${this.localize.term("templateName")}</cx-typography></cx-grid-item><cx-grid-item xs="3" sm="2"><cx-input name="name" value=${this.name ?? ""} can-show-length maxlength="200" required @cx-change=${this.handleNameInputChange} type="text"></cx-input></cx-grid-item></cx-grid><cx-grid columns="3" use-flex-gap spacing="var(--cx-spacing-small)" column-spacing="0" wrap="nowrap"><cx-grid-item xs="3" sm="1"><cx-typography variant="body2">${this.localize.term("description")}</cx-typography></cx-grid-item><cx-grid-item xs="3" sm="2"><cx-textarea name="description" value=${this.description ?? ""} can-show-length maxlength="200" resize="none" @cx-change=${this.handleDescriptionInputChange} type="text"></cx-textarea></cx-grid-item></cx-grid></cx-space>`;
|
|
576
576
|
}
|
|
577
577
|
render() {
|
|
578
|
-
return t`<cx-dialog class="config-form" use-overlay-scrollbar divider-position=${B.Footer} .boundary=${this.boundary} @cx-after-show=${this.handleAfterShow} @cx-after-hide=${this.handleAfterHide} @cx-request-close=${this.handleRequestClose} @cx-asset-request-status=${this.handleAssetRequestStatus}><cx-space slot="label" direction="vertical" spacing="2x-small"><cx-typography variant="h4">${v(this.dialogTitle, () => t`<cx-line-clamp lines="1">${this.dialogTitle}</cx-line-clamp>`, () => t`${this.localize.term("settingsTitle", this.blockName)}`)}</cx-typography>${v(this.templateName, () => t`<cx-typography variant="body3"><cx-line-clamp lines="1">${this.templateName}</cx-line-clamp></cx-typography>`)}</cx-space>${Fe(this.formKey, t`<form id="config-form" @submit=${this.handleFormSubmit}>${X(v(this.isEditingTemplateSettings, () => v(this.isTemplateEditable, () => t`<cx-tab-group class="config-form__tab-group" placement="top"><cx-tab slot="nav" panel="template" active>${this.localize.term("template")}</cx-tab><cx-tab-panel name="template" active><cx-space direction="vertical" spacing="x-small" wrap="nowrap">${this.renderTemplateForm()}</cx-space></cx-tab-panel></cx-tab-group>`), () => v(!at(this.traits) && this.tabs.length >= 1, () => t`<cx-tab-group class="config-form__tab-group" placement="top">${v(this.showTemplateTab, () => t`<cx-tab slot="nav" panel="template" active>${this.localize.term("template")}</cx-tab><cx-tab-panel name="template" active><cx-space direction="vertical" spacing="x-small" wrap="nowrap">${this.renderTemplateForm()}</cx-space></cx-tab-panel>`)}
|
|
578
|
+
return t`<cx-dialog class="config-form" use-overlay-scrollbar divider-position=${B.Footer} .boundary=${this.boundary} @cx-after-show=${this.handleAfterShow} @cx-after-hide=${this.handleAfterHide} @cx-request-close=${this.handleRequestClose} @cx-asset-request-status=${this.handleAssetRequestStatus}><cx-space slot="label" direction="vertical" spacing="2x-small"><cx-typography variant="h4">${v(this.dialogTitle, () => t`<cx-line-clamp lines="1">${this.dialogTitle}</cx-line-clamp>`, () => t`${this.localize.term("settingsTitle", this.blockName)}`)}</cx-typography>${v(this.templateName, () => t`<cx-typography variant="body3"><cx-line-clamp lines="1">${`${this.localize.term("template")}: ${this.templateName}`}</cx-line-clamp></cx-typography>`)}</cx-space>${Fe(this.formKey, t`<form id="config-form" @submit=${this.handleFormSubmit}>${X(v(this.isEditingTemplateSettings, () => v(this.isTemplateEditable, () => t`<cx-tab-group class="config-form__tab-group" placement="top"><cx-tab slot="nav" panel="template" active>${this.localize.term("template")}</cx-tab><cx-tab-panel name="template" active><cx-space direction="vertical" spacing="x-small" wrap="nowrap">${this.renderTemplateForm()}</cx-space></cx-tab-panel></cx-tab-group>`), () => v(!at(this.traits) && this.tabs.length >= 1, () => t`<cx-tab-group class="config-form__tab-group" placement="top">${v(this.showTemplateTab, () => t`<cx-tab slot="nav" panel="template" active>${this.localize.term("template")}</cx-tab><cx-tab-panel name="template" active><cx-space direction="vertical" spacing="x-small" wrap="nowrap">${this.renderTemplateForm()}</cx-space></cx-tab-panel>`)}
|
|
579
579
|
${R(this.tabs.filter((e) => !this.showTemplateTab || e === "appearance" || e === "effects" || e === "sidePanels" || e === "styling"), (e) => e, (e, n) => t`<cx-tab slot="nav" panel=${e} ?active=${!this.showTemplateTab && n === 0}>${this.localize.term(e)}</cx-tab><cx-tab-panel name=${e} ?active=${!this.showTemplateTab && n === 0}><cx-space direction="vertical" spacing="x-small" wrap="nowrap">${this.configFormController.renderBasicControls(this.traits, void 0, e)}</cx-space></cx-tab-panel>`)}
|
|
580
580
|
${v(this.translatableControls.length > 0, () => t`<cx-tab slot="nav" panel="Translation">${this.localize.term("translation")}</cx-tab><cx-tab-panel name="Translation"><cx-space direction="vertical" spacing="x-small" wrap="nowrap">${this.configFormController.renderTranslationControls()}</cx-space></cx-tab-panel>`)}</cx-tab-group>`, () => t`<cx-space direction="vertical" spacing="x-small" wrap="nowrap">${this.configFormController.renderBasicControls(this.traits, void 0, this.tabs[0])}</cx-space>`)))}</form>`)}<cx-space slot="footer" spacing="x-small" wrap="nowrap" justify-content="end"><cx-button variant="default" size="medium" @click=${this.handleCancelClick}>${this.localize.term("cancel")}</cx-button><cx-button-group><cx-button type="submit" variant="primary" size="medium" ?loading=${this.loading} @click=${this.handleSaveClick}>${this.localize.term("save")}</cx-button>${v(this.isTemplateEditable && !this.isEditingTemplateSettings && !this.showTemplateTab, () => t`<cx-dropdown class="config-form__dropdown" placement="bottom-end" hoist @cx-select=${this.handleDropdownSelect}><cx-button slot="trigger" type="submit" variant="primary" caret><cx-visually-hidden>${this.localize.term("moreOptions")}</cx-visually-hidden></cx-button><cx-menu class="config-form__dropdown-menu"><cx-menu-item value="save-as-new-template"><cx-button type="submit" variant="text">${this.localize.term("saveAsNewTemplate")}</cx-button></cx-menu-item>${v(this.templateId, () => t`<cx-menu-item value="detach-template"><cx-button type="submit" variant="text">${this.localize.term("detachTemplate")}</cx-button></cx-menu-item>`)}</cx-menu></cx-dropdown>`)}</cx-button-group></cx-space></cx-dialog><cx-confirm-popover class="config-form__confirm-popover" divider-position=${B.Both} buttons-direction=${We.HorizontalReverse} dialog-label=${this.localize.term("dismissChanges")} confirm-text=${this.localize.term("dismissChanges")} .boundary=${this.boundary} variant="dialog" @cx-confirm=${this.hide}><cx-typography variant="body2" slot="footer" class="confirm-popover__footer">${this.localize.term("doYouWantToCloseThisDialogChangesWillBeDismissed")}</cx-typography></cx-confirm-popover>`;
|
|
581
581
|
}
|
|
@@ -7,18 +7,18 @@ import { n as g } from "./position-picker.dY_vgF_H.js";
|
|
|
7
7
|
import { a as _, n as v, o as ee, s as y } from "./src.BJhIYoMP.js";
|
|
8
8
|
import { a as te, i as ne, r as re } from "./tab-group.lMvydOdb.js";
|
|
9
9
|
import { t as ie } from "./parse.CDrJ-NY7.js";
|
|
10
|
-
import { G as ae, J as oe, U as se, V as ce } from "./src.
|
|
10
|
+
import { G as ae, J as oe, U as se, V as ce } from "./src.CFxipFzl.js";
|
|
11
11
|
import { t as le } from "./toString.r2ImdBrm.js";
|
|
12
12
|
import { t as ue } from "./capitalize.BT_EavGy.js";
|
|
13
|
-
import { a as de, i as fe, n as pe, r as me } from "./document-viewer.
|
|
13
|
+
import { a as de, i as fe, n as pe, r as me } from "./document-viewer.CpC54CmZ.js";
|
|
14
14
|
import { l as he, p as ge } from "./url.BCc06dE7.js";
|
|
15
15
|
import { _ as _e, g as ve, p as ye, v as be } from "./color.CIOzHtLK.js";
|
|
16
16
|
import { _ as xe, g as Se, h as Ce, m as we, p as Te, s as b } from "./responsive.L9Csz2w2.js";
|
|
17
17
|
import { r as x } from "./asset-link-format.COPyGdND.js";
|
|
18
18
|
import { n as Ee, r as De } from "./header.CD4B3ylz.js";
|
|
19
19
|
import { c as Oe, f as ke, p as S, s as C, u as w } from "./string-array.Dstcqyjm.js";
|
|
20
|
-
import { n as Ae } from "./folder-select.
|
|
21
|
-
import { a as T, i as E, o as D, r as O, s as je } from "./color-swatch-group.
|
|
20
|
+
import { n as Ae } from "./folder-select.DEGiL0pP.js";
|
|
21
|
+
import { a as T, i as E, o as D, r as O, s as je } from "./color-swatch-group.BdYLfI59.js";
|
|
22
22
|
import { n as Me } from "./isEmpty.D3QQduJ5.js";
|
|
23
23
|
import { a as k } from "./cloneDeep.C6x5LNv3.js";
|
|
24
24
|
//#region ../../packages/services/src/api/dashboard/dashboard.ts
|
|
@@ -5,9 +5,9 @@ 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 "./src.BJhIYoMP.js";
|
|
7
7
|
import { t as u } from "./input.D1UkXp3F.js";
|
|
8
|
-
import { t as d } from "./option.
|
|
8
|
+
import { t as d } from "./option.Da60zYvc.js";
|
|
9
9
|
import { t as f } from "./space.Dd8jezXK.js";
|
|
10
|
-
import { t as p } from "./select.
|
|
10
|
+
import { t as p } from "./select.NhbQgMNA.js";
|
|
11
11
|
//#region ../../packages/molecules/src/corner-position-input-group/corner-position-input-group.styles.ts
|
|
12
12
|
var m = t`:host{width:100%;display:block}.corner-position-input-group__inputs{width:100%}.corner-position-input-group__input{flex:1}`, h = {
|
|
13
13
|
mask: "numpx",
|
|
@@ -22,7 +22,7 @@ import { t as focusWhenVisible } from "./focus-when-visible.DKscgyKo.js";
|
|
|
22
22
|
import { t as input_default } from "./input.D1UkXp3F.js";
|
|
23
23
|
import { t as menu_default } from "./menu.DNeN3pz0.js";
|
|
24
24
|
import { t as menu_item_default } from "./menu-item.CCbtHE5R.js";
|
|
25
|
-
import { Y as fetchCortexApi } from "./src.
|
|
25
|
+
import { Y as fetchCortexApi } from "./src.CFxipFzl.js";
|
|
26
26
|
import { t as drawer_default } from "./drawer.BEXLFfil.js";
|
|
27
27
|
import { t as progress_bar_default } from "./progress-bar.BfHPsueW.js";
|
|
28
28
|
import { a as require_react, n as w, r as require_client, t as require_jsx_runtime } from "./jsx-runtime.BqxT1jD6.js";
|
|
@@ -12,8 +12,8 @@ import { t as m } from "./style-map.DPGQIxip.js";
|
|
|
12
12
|
import { t as h } from "./button.DnOMjl_G.js";
|
|
13
13
|
import { t as g } from "./debounce.Ci-xdsHE.js";
|
|
14
14
|
import { t as _ } from "./repeat.CKv9FPlC.js";
|
|
15
|
-
import { n as v, t as y } from "./option.
|
|
16
|
-
import { t as b } from "./select.
|
|
15
|
+
import { n as v, t as y } from "./option.Da60zYvc.js";
|
|
16
|
+
import { t as b } from "./select.NhbQgMNA.js";
|
|
17
17
|
import { t as x } from "./map.ByDuLduF.js";
|
|
18
18
|
import { t as S } from "./keyed.zYwdaCfO.js";
|
|
19
19
|
import { t as C } from "./_baseIteratee.DWc2-Bvm.js";
|
|
@@ -21,9 +21,9 @@ import { t as C } from "./typography.B0mkhqTB.js";
|
|
|
21
21
|
import { t as ie } from "./avatar.Ce0OZHBT.js";
|
|
22
22
|
import { t as w } from "./repeat.CKv9FPlC.js";
|
|
23
23
|
import { t as ae } from "./input.D1UkXp3F.js";
|
|
24
|
-
import { t as oe } from "./option.
|
|
24
|
+
import { t as oe } from "./option.Da60zYvc.js";
|
|
25
25
|
import { t as se } from "./space.Dd8jezXK.js";
|
|
26
|
-
import { t as ce } from "./select.
|
|
26
|
+
import { t as ce } from "./select.NhbQgMNA.js";
|
|
27
27
|
import { t as le } from "./tab.BKJEGsgj.js";
|
|
28
28
|
import { t as T } from "./tab-group.lMvydOdb.js";
|
|
29
29
|
import { t as ue } from "./tab-panel.BxeoKuSv.js";
|
|
@@ -18,7 +18,7 @@ import { t as C } from "./tag.Dj8VrFFk.js";
|
|
|
18
18
|
import { t as w } from "./repeat.CKv9FPlC.js";
|
|
19
19
|
import { t as T } from "./input.D1UkXp3F.js";
|
|
20
20
|
import { t as E } from "./space.Dd8jezXK.js";
|
|
21
|
-
import { t as D } from "./select.
|
|
21
|
+
import { t as D } from "./select.NhbQgMNA.js";
|
|
22
22
|
import { t as O } from "./template.Cyvih0XQ.js";
|
|
23
23
|
import { s as k } from "./asset-link-format.COPyGdND.js";
|
|
24
24
|
import { a as A, i as j } from "./tree.BWKeg92V.js";
|
|
@@ -12,7 +12,7 @@ import { t as h } from "./space.Dd8jezXK.js";
|
|
|
12
12
|
//#region ../../packages/types/src/option.ts
|
|
13
13
|
var g = /* @__PURE__ */ function(e) {
|
|
14
14
|
return e.Left = "left", e.Right = "right", e;
|
|
15
|
-
}({}), _ = t`:host{-webkit-user-select:none;user-select:none;display:block}:host(:focus){outline:none}.option{font:var(--cx-font-label-small);font-family:var(--option-font-family), var(--cx-font-sans);font-weight:var(--option-font-weight,var(--cx-font-weight-medium));letter-spacing:var(--cx-letter-spacing-normal);color:var(--option-color,var(--cx-color-neutral-700));padding:var(--cx-spacing-x-small) var(--cx-spacing-medium) var(--cx-spacing-x-small) var(--cx-spacing-x-small);transition:var(--cx-transition-fast) fill;cursor:pointer;align-items:center;display:flex;position:relative}.option:not(.option--show-check){padding-inline:var(--cx-spacing-small)}.option--hover:not(.option--disabled){background-color:var(--cx-menu-item-background-color-hover)}.option--current,.option--current.option--disabled{background-color:var(--
|
|
15
|
+
}({}), _ = t`:host{-webkit-user-select:none;user-select:none;display:block}:host(:focus){outline:none}.option{font:var(--cx-font-label-small);font-family:var(--option-font-family), var(--cx-font-sans);font-weight:var(--option-font-weight,var(--cx-font-weight-medium));letter-spacing:var(--cx-letter-spacing-normal);color:var(--option-color,var(--cx-color-neutral-700));padding:var(--cx-spacing-x-small) var(--cx-spacing-medium) var(--cx-spacing-x-small) var(--cx-spacing-x-small);transition:var(--cx-transition-fast) fill;cursor:pointer;align-items:center;display:flex;position:relative}.option:not(.option--show-check){padding-inline:var(--cx-spacing-small)}.option--hover:not(.option--current):not(.option--disabled){background-color:var(--cx-menu-item-background-color-hover)}.option--current,.option--current.option--disabled{background-color:var(--cx-menu-item-background-color-hover);opacity:1}.option--selected{color:var(--option-selected-color,var(--cx-color-primary));font-weight:var(--option-selected-font-weight,var(--cx-font-weight-regular))}.option--disabled{opacity:.5;cursor:default;outline:none}.option__content{flex:1}.option__label{line-height:var(--cx-line-height-medium);flex:auto;display:inline-block}.option .option__check{visibility:hidden;flex:none;justify-content:center;align-items:center;padding-inline-end:var(--cx-spacing-2x-small);display:none}.option--show-check .option__check{display:block}.option--show-check.option--selected .option__check{visibility:visible}.option__help-text{color:var(--option-help-text-color,var(--cx-color-neutral-600));font-weight:var(--option-help-text-font-weight,var(--cx-font-weight-regular))}.option--selected .option__content .option__help-text{color:var(--option-selected-help-text-color,var(--cx-color-primary));font-weight:var(--option-selected-help-text-font-weight,var(--cx-font-weight-regular))}.option__prefix,.option__suffix{flex:none;align-items:center;display:flex}.option__prefix::slotted(*){margin-inline-end:var(--cx-spacing-x-small)}.option__suffix::slotted(*){margin-inline-start:var(--cx-spacing-x-small)}.option__prefix{align-self:var(--prefix-alignment,center)}.option__suffix{align-self:var(--suffix-alignment,center)}.option__check{align-self:var(--check-alignment,center)}@media (forced-colors:active){:host(:hover:not([aria-disabled=true])) .option{outline-offset:-1px;outline:1px dashed selecteditem}}`, v = class extends o {
|
|
16
16
|
constructor(...e) {
|
|
17
17
|
super(...e), this.localize = new u(this), this.current = !1, this.selected = !1, this.hasHover = !1, this.value = "", this.disabled = !1, this.showCheck = !1, this.checkPlacement = g.Left;
|
|
18
18
|
}
|
|
@@ -13,9 +13,9 @@ import { t as _ } from "./typography.B0mkhqTB.js";
|
|
|
13
13
|
import { t as v } from "./math.od1DVmRk.js";
|
|
14
14
|
import { t as y } from "./repeat.CKv9FPlC.js";
|
|
15
15
|
import { t as b } from "./input.D1UkXp3F.js";
|
|
16
|
-
import { t as x } from "./option.
|
|
16
|
+
import { t as x } from "./option.Da60zYvc.js";
|
|
17
17
|
import { t as S } from "./space.Dd8jezXK.js";
|
|
18
|
-
import { t as C } from "./select.
|
|
18
|
+
import { t as C } from "./select.NhbQgMNA.js";
|
|
19
19
|
//#region ../../packages/types/src/pagination.ts
|
|
20
20
|
var w = /* @__PURE__ */ function(e) {
|
|
21
21
|
return e.Both = "both", e.Pages = "pages", e.Rows = "rows", e;
|
|
@@ -20,7 +20,7 @@ import { t as D } from "./typography.B0mkhqTB.js";
|
|
|
20
20
|
import { t as O } from "./form-control.styles.Cec6lJbi.js";
|
|
21
21
|
import { t as k } from "./default-value.opqQgoRT.js";
|
|
22
22
|
import { n as A } from "./active-elements.Tk45XSNQ.js";
|
|
23
|
-
import { t as j } from "./option.
|
|
23
|
+
import { t as j } from "./option.Da60zYvc.js";
|
|
24
24
|
import { n as M } from "./scroll.CEH_a4pm.js";
|
|
25
25
|
import { t as N } from "./user-agent.D2bRhUeS.js";
|
|
26
26
|
import { t as P } from "./unsafe-html.Cb838aX7.js";
|
|
@@ -58,21 +58,9 @@ var F = (e) => !(document.createElement(e.tagName).constructor === HTMLElement |
|
|
|
58
58
|
this.show();
|
|
59
59
|
return;
|
|
60
60
|
}
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
case "filter":
|
|
65
|
-
this.filterOptionsByInput();
|
|
66
|
-
break;
|
|
67
|
-
case "select": this.selectOptionByInput();
|
|
68
|
-
}
|
|
69
|
-
else this.setSelectedOptions(this.currentOption);
|
|
70
|
-
this.updateComplete.then(() => {
|
|
71
|
-
this.emit("cx-input"), this.emit("cx-change");
|
|
72
|
-
});
|
|
73
|
-
}
|
|
74
|
-
(!this.multiple || this.closeOnSelect) && !this.stayOpenOnSelect && (this.hide(), this.displayInput.focus({ preventScroll: !0 }));
|
|
75
|
-
}
|
|
61
|
+
this.currentOption && !this.currentOption.hidden && !this.getOptionDisabled(this.currentOption) && (this.noSelectOnEnter || (this.multiple ? (this.toggleOptionSelection(this.currentOption), this.#n(), this.inputBehavior === "select" && this.selectOptionByInput()) : this.setSelectedOptions(this.currentOption), this.updateComplete.then(() => {
|
|
62
|
+
this.emit("cx-input"), this.emit("cx-change");
|
|
63
|
+
})), (!this.multiple || this.closeOnSelect) && !this.stayOpenOnSelect && (this.hide(), this.displayInput.focus({ preventScroll: !0 })));
|
|
76
64
|
return;
|
|
77
65
|
}
|
|
78
66
|
if ([
|
|
@@ -155,6 +143,9 @@ var F = (e) => !(document.createElement(e.tagName).constructor === HTMLElement |
|
|
|
155
143
|
runFirstUpdated() {
|
|
156
144
|
N() && (this.contentEditable = "true");
|
|
157
145
|
}
|
|
146
|
+
willUpdate(e) {
|
|
147
|
+
super.willUpdate(e), this.hasUpdated && e.has("open") && e.get("open") !== this.open && this.handleOpenChange();
|
|
148
|
+
}
|
|
158
149
|
addOpenListeners() {
|
|
159
150
|
document.addEventListener("focusin", this.handleDocumentFocusIn), document.addEventListener("keydown", this.handleDocumentKeyDown), document.addEventListener("mousedown", this.handleDocumentMouseDown);
|
|
160
151
|
let e = this.getRootNode();
|
|
@@ -185,7 +176,7 @@ var F = (e) => !(document.createElement(e.tagName).constructor === HTMLElement |
|
|
|
185
176
|
"End"
|
|
186
177
|
].includes(e.data))) switch (this.typeToSelectString = t.value.toLowerCase(), this.displayLabel = t.value, this.emit("cx-input"), this.inputBehavior) {
|
|
187
178
|
case "filter":
|
|
188
|
-
this.filterOptionsByInput();
|
|
179
|
+
this.filterOptionsByInput(), this.#r();
|
|
189
180
|
break;
|
|
190
181
|
case "select": this.selectOptionByInput();
|
|
191
182
|
}
|
|
@@ -206,7 +197,7 @@ var F = (e) => !(document.createElement(e.tagName).constructor === HTMLElement |
|
|
|
206
197
|
e.key !== "Tab" && ((e.key !== "Escape" || this.open && (this.shouldShowNoOptionsMessage || this.getVisibleOptions().length > 0)) && e.stopPropagation(), this.handleDocumentKeyDown(e));
|
|
207
198
|
}
|
|
208
199
|
handleClearClick(e) {
|
|
209
|
-
e.stopPropagation(), (this.value !== "" || this.displayLabel !== "") && (this.setSelectedOptions([]), this.displayInput.focus({ preventScroll: !0 }), this
|
|
200
|
+
e.stopPropagation(), (this.value !== "" || this.displayLabel !== "") && (this.setSelectedOptions([]), this.displayInput.focus({ preventScroll: !0 }), this.#n(), this.updateComplete.then(() => {
|
|
210
201
|
this.emit("cx-clear"), this.emit("cx-input"), this.emit("cx-change");
|
|
211
202
|
}));
|
|
212
203
|
}
|
|
@@ -215,7 +206,7 @@ var F = (e) => !(document.createElement(e.tagName).constructor === HTMLElement |
|
|
|
215
206
|
}
|
|
216
207
|
handleOptionClick(e) {
|
|
217
208
|
let t = e.target.closest("[role=\"option\"], cx-option"), n = this.value, r = e.composedPath().some((e) => e?.classList?.contains("tree-item__expand-button")), i = e.composedPath().some((e) => e?.classList?.contains("tree-item__actions"));
|
|
218
|
-
t && !this.getOptionDisabled(t) && !r && !i && (this.multiple ? this.toggleOptionSelection(t) : this.setSelectedOptions(t), this.updateComplete.then(() => this.displayInput.focus({ preventScroll: !0 })), (this.value !== n || this.forceOnChange) && this.updateComplete.then(() => {
|
|
209
|
+
t && !this.getOptionDisabled(t) && !r && !i && (this.multiple ? (this.toggleOptionSelection(t), this.#n()) : this.setSelectedOptions(t), this.updateComplete.then(() => this.displayInput.focus({ preventScroll: !0 })), (this.value !== n || this.forceOnChange) && this.updateComplete.then(() => {
|
|
219
210
|
this.emit("cx-input"), this.emit("cx-change");
|
|
220
211
|
}), (!this.multiple || this.closeOnSelect) && !this.stayOpenOnSelect && (this.hide(), this.displayInput.focus({ preventScroll: !0 })));
|
|
221
212
|
}
|
|
@@ -236,7 +227,7 @@ var F = (e) => !(document.createElement(e.tagName).constructor === HTMLElement |
|
|
|
236
227
|
this.setSelectedOptions(r, i ? this.value : void 0), this.hasFocus && !this.open && !this.disabled && e.length > 0 && this.show();
|
|
237
228
|
}
|
|
238
229
|
handleTagRemove(e, t) {
|
|
239
|
-
e.stopPropagation(), this.disabled || (this.toggleOptionSelection(t, !1), this.updateComplete.then(() => {
|
|
230
|
+
e.stopPropagation(), this.disabled || (this.toggleOptionSelection(t, !1), this.#n(), this.updateComplete.then(() => {
|
|
240
231
|
this.emit("cx-input"), this.emit("cx-change");
|
|
241
232
|
}));
|
|
242
233
|
}
|
|
@@ -306,7 +297,7 @@ var F = (e) => !(document.createElement(e.tagName).constructor === HTMLElement |
|
|
|
306
297
|
async handleOpenChange() {
|
|
307
298
|
if (this.open && !this.disabled) {
|
|
308
299
|
if (this.noDropdown) return;
|
|
309
|
-
this.inputBehavior === "filter" && this.filterOptionsByInput(), this.noResetCurrent || this.setCurrentOption(this.selectedOptions[0] || this.getFirstOption()), this.emit("cx-show"), this.addOpenListeners(), await f(this), this.listbox.hidden = !1, this.popup.active = !0, requestAnimationFrame(() => {
|
|
300
|
+
this.inputBehavior === "filter" && this.filterOptionsByInput(), this.noResetCurrent || this.setCurrentOption(this.selectedOptions[0] || this.getFirstOption()), this.#r(), this.emit("cx-show"), this.addOpenListeners(), await f(this), this.listbox.hidden = !1, this.popup.active = !0, requestAnimationFrame(() => {
|
|
310
301
|
this.currentOption && this.setCurrentOption(this.currentOption);
|
|
311
302
|
});
|
|
312
303
|
let { keyframes: e, options: t } = b(this, "select.show", { dir: this.localize.dir() });
|
|
@@ -329,6 +320,14 @@ var F = (e) => !(document.createElement(e.tagName).constructor === HTMLElement |
|
|
|
329
320
|
for (let t of e) this.filterCallback(t, this.typeToSelectString) ? (t.hidden = !1, t.style.removeProperty("display")) : (t.hidden = !0, t.style.setProperty("display", "none"));
|
|
330
321
|
this.popup.style.removeProperty("--auto-size-available-width"), this.popup.style.removeProperty("--auto-size-available-height");
|
|
331
322
|
}
|
|
323
|
+
#n() {
|
|
324
|
+
this.typeToSelectString = "", this.displayLabel = "", this.displayInput.value = "", this.inputBehavior === "filter" && this.filterOptionsByInput();
|
|
325
|
+
}
|
|
326
|
+
#r() {
|
|
327
|
+
if (!this.currentOption?.hidden) return;
|
|
328
|
+
let e = this.getVisibleOptions()[0];
|
|
329
|
+
e && this.setCurrentOption(e);
|
|
330
|
+
}
|
|
332
331
|
async show() {
|
|
333
332
|
if (this.open || this.disabled) {
|
|
334
333
|
this.open = !1;
|
|
@@ -504,12 +503,7 @@ a([c(".select"), o("design:type", l === void 0 ? Object : l)], L.prototype, "pop
|
|
|
504
503
|
o("design:type", Function),
|
|
505
504
|
o("design:paramtypes", []),
|
|
506
505
|
o("design:returntype", Promise)
|
|
507
|
-
], L.prototype, "handleNoDropdownChange", null), a([
|
|
508
|
-
_("open", { waitUntilFirstUpdate: !0 }),
|
|
509
|
-
o("design:type", Function),
|
|
510
|
-
o("design:paramtypes", []),
|
|
511
|
-
o("design:returntype", Promise)
|
|
512
|
-
], L.prototype, "handleOpenChange", null), L = a([m("cx-select")], L);
|
|
506
|
+
], L.prototype, "handleNoDropdownChange", null), L = a([m("cx-select")], L);
|
|
513
507
|
var R = L;
|
|
514
508
|
y("select.show", {
|
|
515
509
|
keyframes: [{
|
|
@@ -6,7 +6,7 @@ import { t as c } from "./repeat.CKv9FPlC.js";
|
|
|
6
6
|
import { t as l } from "./input.D1UkXp3F.js";
|
|
7
7
|
import { t as u } from "./space.Dd8jezXK.js";
|
|
8
8
|
import { t as d } from "./input-group.Dmd8XcxL.js";
|
|
9
|
-
import { t as f } from "./bicolor-picker.
|
|
9
|
+
import { t as f } from "./bicolor-picker.BGSxhZJ-.js";
|
|
10
10
|
//#region ../../packages/molecules/src/shadow-input-group/shadow-input-group.styles.ts
|
|
11
11
|
var p = t``, m = class extends a {
|
|
12
12
|
constructor(...e) {
|
|
@@ -11,7 +11,7 @@ import { t as m } from "./tooltip.DJl5qcTx.js";
|
|
|
11
11
|
import { t as h } from "./default-value.opqQgoRT.js";
|
|
12
12
|
import { t as g } from "./input.D1UkXp3F.js";
|
|
13
13
|
import { t as _ } from "./space.Dd8jezXK.js";
|
|
14
|
-
import { t as v } from "./select.
|
|
14
|
+
import { t as v } from "./select.NhbQgMNA.js";
|
|
15
15
|
//#region ../../packages/types/src/size-input-group.ts
|
|
16
16
|
var y = /* @__PURE__ */ function(e) {
|
|
17
17
|
return e.Percentage = "percentage", e.Pixel = "pixel", e;
|
|
@@ -28,14 +28,14 @@ import "./input.D1UkXp3F.js";
|
|
|
28
28
|
import "./menu.DNeN3pz0.js";
|
|
29
29
|
import "./menu-item.CCbtHE5R.js";
|
|
30
30
|
import "./textarea.BgWdR_7D.js";
|
|
31
|
-
import "./option.
|
|
31
|
+
import "./option.Da60zYvc.js";
|
|
32
32
|
import "./space.Dd8jezXK.js";
|
|
33
|
-
import "./select.
|
|
33
|
+
import "./select.NhbQgMNA.js";
|
|
34
34
|
import "./tab.BKJEGsgj.js";
|
|
35
35
|
import "./tab-group.lMvydOdb.js";
|
|
36
36
|
import "./tab-panel.BxeoKuSv.js";
|
|
37
37
|
import "./visually-hidden.Bv3SInZp.js";
|
|
38
|
-
import "./color-picker.
|
|
38
|
+
import "./color-picker.DlcAbY3b.js";
|
|
39
39
|
import "./copy-button.CSUoVbip.js";
|
|
40
40
|
import "./date-calendar.BpfgvrtE.js";
|
|
41
41
|
import "./details.BGlfx87d.js";
|
|
@@ -44,7 +44,7 @@ import "./divider.CqSNZCU8.js";
|
|
|
44
44
|
import "./diff.DAFtnzhM.js";
|
|
45
45
|
import "./drawer.BEXLFfil.js";
|
|
46
46
|
import "./progress-bar.BfHPsueW.js";
|
|
47
|
-
import "./document-viewer.
|
|
47
|
+
import "./document-viewer.CpC54CmZ.js";
|
|
48
48
|
import "./image.B87-7U_Z.js";
|
|
49
49
|
import "./skeleton.BtwugOTG.js";
|
|
50
50
|
import "./dot-pagination.CfK67Z-x.js";
|
|
@@ -67,7 +67,7 @@ import "./markdown.Evcme-Lw.js";
|
|
|
67
67
|
import "./menu-label.B-FOyfAX.js";
|
|
68
68
|
import "./menu-section.BzzA6L5E.js";
|
|
69
69
|
import "./mutation-observer.CD5prBIP.js";
|
|
70
|
-
import "./pagination.
|
|
70
|
+
import "./pagination.ca5R1wld.js";
|
|
71
71
|
import "./progress-ring.Cn08Dbar.js";
|
|
72
72
|
import "./qr-code.SwjFPrvB.js";
|
|
73
73
|
import "./radio.DhPbmKbQ.js";
|
|
@@ -469,7 +469,7 @@ function K({ asset: e, baseUrl: t, extension: n, options: r, parameters: i, tran
|
|
|
469
469
|
}
|
|
470
470
|
] : [],
|
|
471
471
|
...!i && t.focusMode && t.focusMode !== "manual" ? [{
|
|
472
|
-
key: t.isFocusModeAuto ? "
|
|
472
|
+
key: t.isFocusModeAuto ? "c_acm_" : "c_g_",
|
|
473
473
|
value: t.focusMode
|
|
474
474
|
}] : [],
|
|
475
475
|
...!i && t.focusMode === "manual" && t.position ? [{
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/asset-link-format.
|
|
1
|
+
import { t as e } from "../chunks/asset-link-format.CV-Jw-hk.js";
|
|
2
2
|
export { e as default };
|
|
@@ -8,7 +8,7 @@ import { t as c } from "../chunks/alert.C7jo45Pq.js";
|
|
|
8
8
|
import { t as l } from "../chunks/am-chart.COOKOvT1.js";
|
|
9
9
|
import { t as u } from "../chunks/animated-image.w6VdagCh.js";
|
|
10
10
|
import { t as d } from "../chunks/animation.CRLxJUWm.js";
|
|
11
|
-
import { n as f, r as p, t as m } from "../chunks/src.
|
|
11
|
+
import { n as f, r as p, t as m } from "../chunks/src.3QpUQeRm.js";
|
|
12
12
|
import { t as h } from "../chunks/button.DnOMjl_G.js";
|
|
13
13
|
import { t as g } from "../chunks/tooltip.DJl5qcTx.js";
|
|
14
14
|
import { t as _ } from "../chunks/resize-observer.D9EHlnZI.js";
|
|
@@ -30,14 +30,14 @@ import { t as M } from "../chunks/input.D1UkXp3F.js";
|
|
|
30
30
|
import { t as N } from "../chunks/menu.DNeN3pz0.js";
|
|
31
31
|
import { t as P } from "../chunks/menu-item.CCbtHE5R.js";
|
|
32
32
|
import { t as F } from "../chunks/textarea.BgWdR_7D.js";
|
|
33
|
-
import { t as I } from "../chunks/option.
|
|
33
|
+
import { t as I } from "../chunks/option.Da60zYvc.js";
|
|
34
34
|
import { t as L } from "../chunks/space.Dd8jezXK.js";
|
|
35
|
-
import { t as R } from "../chunks/select.
|
|
35
|
+
import { t as R } from "../chunks/select.NhbQgMNA.js";
|
|
36
36
|
import { t as z } from "../chunks/tab.BKJEGsgj.js";
|
|
37
37
|
import { t as B } from "../chunks/tab-group.lMvydOdb.js";
|
|
38
38
|
import { t as V } from "../chunks/tab-panel.BxeoKuSv.js";
|
|
39
39
|
import { t as H } from "../chunks/visually-hidden.Bv3SInZp.js";
|
|
40
|
-
import { t as U } from "../chunks/color-picker.
|
|
40
|
+
import { t as U } from "../chunks/color-picker.DlcAbY3b.js";
|
|
41
41
|
import { t as W } from "../chunks/copy-button.CSUoVbip.js";
|
|
42
42
|
import { t as G } from "../chunks/date-calendar.BpfgvrtE.js";
|
|
43
43
|
import { t as K } from "../chunks/details.BGlfx87d.js";
|
|
@@ -46,7 +46,7 @@ import { t as J } from "../chunks/divider.CqSNZCU8.js";
|
|
|
46
46
|
import { t as Y } from "../chunks/diff.DAFtnzhM.js";
|
|
47
47
|
import { t as X } from "../chunks/drawer.BEXLFfil.js";
|
|
48
48
|
import { t as Z } from "../chunks/progress-bar.BfHPsueW.js";
|
|
49
|
-
import { t as Q } from "../chunks/document-viewer.
|
|
49
|
+
import { t as Q } from "../chunks/document-viewer.CpC54CmZ.js";
|
|
50
50
|
import { t as $ } from "../chunks/image.B87-7U_Z.js";
|
|
51
51
|
import { t as ee } from "../chunks/skeleton.BtwugOTG.js";
|
|
52
52
|
import { t as te } from "../chunks/dot-pagination.CfK67Z-x.js";
|
|
@@ -69,7 +69,7 @@ import { t as _e } from "../chunks/markdown.Evcme-Lw.js";
|
|
|
69
69
|
import { t as ve } from "../chunks/menu-label.B-FOyfAX.js";
|
|
70
70
|
import { t as ye } from "../chunks/menu-section.BzzA6L5E.js";
|
|
71
71
|
import { t as be } from "../chunks/mutation-observer.CD5prBIP.js";
|
|
72
|
-
import { t as xe } from "../chunks/pagination.
|
|
72
|
+
import { t as xe } from "../chunks/pagination.ca5R1wld.js";
|
|
73
73
|
import { t as Se } from "../chunks/progress-ring.Cn08Dbar.js";
|
|
74
74
|
import { t as Ce } from "../chunks/qr-code.SwjFPrvB.js";
|
|
75
75
|
import { t as we } from "../chunks/radio.DhPbmKbQ.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/bicolor-picker.
|
|
1
|
+
import { t as e } from "../chunks/bicolor-picker.BGSxhZJ-.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/border-input-group.
|
|
1
|
+
import { t as e } from "../chunks/border-input-group.wXw6aSGa.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/color-picker.
|
|
1
|
+
import { t as e } from "../chunks/color-picker.DlcAbY3b.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/color-swatch-group.
|
|
1
|
+
import { t as e } from "../chunks/color-swatch-group.BdYLfI59.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/corner-position-input-group.
|
|
1
|
+
import { t as e } from "../chunks/corner-position-input-group.DmmX8lEw.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/document-viewer.
|
|
1
|
+
import { t as e } from "../chunks/document-viewer.CpC54CmZ.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/dynamic-select.
|
|
1
|
+
import { t as e } from "../chunks/dynamic-select.CtdC5OzH.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/file-on-demand.
|
|
1
|
+
import { t as e } from "../chunks/file-on-demand.B4KUSqtB.js";
|
|
2
2
|
export { e as default };
|