@orangelogic/design-system 4.71.0 → 4.72.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.C0Bz-mEZ.js → asset-link-format.BmITtYaD.js} +1 -1
- package/library/chunks/{bicolor-picker.BPzbYxLV.js → bicolor-picker.skJkmoUd.js} +1 -1
- package/library/chunks/{block-width.DjdPu6UK.js → block-width.DKfE_VQE.js} +13 -13
- package/library/chunks/{border-input-group.BAQeCwt1.js → border-input-group.Ba-GRAjx.js} +1 -1
- package/library/chunks/{color-picker.DbKVaaKI.js → color-picker.VzqG5t7K.js} +1 -1
- package/library/chunks/{color-swatch-group.Cm0A4rYA.js → color-swatch-group.kMkHmhiw.js} +2 -2
- package/library/chunks/{config-manager.DB7-b-EK.js → config-manager.C7trh0mp.js} +10 -10
- package/library/chunks/{configs-controller.DFWOYKsW.js → configs-controller.AIDqz286.js} +2 -2
- package/library/chunks/{corner-position-input-group.DDWSDorz.js → corner-position-input-group.C7mPoW0O.js} +1 -1
- package/library/chunks/{dynamic-select.CkyOkzsa.js → dynamic-select.CMKK0x3-.js} +1 -1
- package/library/chunks/{file-on-demand.CqlWEx1w.js → file-on-demand.Vuq_z55i.js} +1 -1
- package/library/chunks/{folder-select.Df1upp0M.js → folder-select.DzBr3XOi.js} +1 -1
- package/library/chunks/{pagination.B2hheBNY.js → pagination.CfcHNNGZ.js} +1 -1
- package/library/chunks/{select.D6nU_tMZ.js → select.BU4_Zp_n.js} +53 -46
- package/library/chunks/{shadow-input-group.DQDXISvK.js → shadow-input-group.gRlvsMVd.js} +1 -1
- package/library/chunks/{sidebar.7phLIXE9.js → sidebar.BXNfenxV.js} +2 -2
- package/library/chunks/{size-input-group._YdmvlAr.js → size-input-group.P_kaEj4l.js} +1 -1
- package/library/chunks/{src.tHpCbOII.js → src.BlG-Kifa.js} +4 -4
- package/library/components/asset-link-format.js +1 -1
- package/library/components/atoms.js +7 -7
- 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/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 +8 -8
- 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/sidebar.js +1 -1
- package/library/components/size-input-group.js +1 -1
- package/library/components/types.js +24 -24
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/select/select.d.ts +7 -5
- package/library/packages/hybrid/rich-text/src/rich-text.d.ts +8 -1
- package/package.json +1 -1
|
@@ -24,7 +24,7 @@ import { t as x } from "./repeat.CKv9FPlC.js";
|
|
|
24
24
|
import { t as le } from "./input.C6fbxRuC.js";
|
|
25
25
|
import { t as S } from "./option.DXF1O3-h.js";
|
|
26
26
|
import { t as C } from "./space.Dd8jezXK.js";
|
|
27
|
-
import { t as w } from "./select.
|
|
27
|
+
import { t as w } from "./select.BU4_Zp_n.js";
|
|
28
28
|
import { t as ue } from "./visually-hidden.Bv3SInZp.js";
|
|
29
29
|
import { D as de, E as fe, T as pe, b as me, f as he, g as ge, m as _e, x as ve } from "./src.Bs5rZ16K.js";
|
|
30
30
|
import { t as T } from "./details.tNVJTWTC.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.VzqG5t7K.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.BfyplUu3.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.BlG-Kifa.js";
|
|
19
19
|
import { t as ce } from "./style-map.DPGQIxip.js";
|
|
20
20
|
import { t as le } from "./debounce.Ci-xdsHE.js";
|
|
21
21
|
import { t as b } from "./button.cbOwOkfp.js";
|
|
@@ -42,13 +42,13 @@ import { n as De, r as Oe, t as ke } from "./ref.CU1NC5AM.js";
|
|
|
42
42
|
import { t as Ae } from "./textarea.BQV58bk8.js";
|
|
43
43
|
import { n as je, t as T } from "./option.DXF1O3-h.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.BU4_Zp_n.js";
|
|
46
46
|
import { t as Me } from "./tab.BbIB084o.js";
|
|
47
47
|
import { t as Ne } from "./tab-group.Bj4mUm_k.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.
|
|
51
|
+
import { t as Le } from "./color-picker.VzqG5t7K.js";
|
|
52
52
|
import { C as Re, D as ze, E as Be, H as Ve, K as He, S as Ue, T as We, W as Ge, b as Ke, k as qe, z as Je } from "./src.Bs5rZ16K.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.Cda1uhdF.js";
|
|
54
54
|
import { t as tt } from "./divider.CqSNZCU8.js";
|
|
@@ -65,23 +65,23 @@ import { t as gt } from "./radio-card.Bmd-28FP.js";
|
|
|
65
65
|
import { t as _t } from "./radio-group.DfR13lVB.js";
|
|
66
66
|
import { t as vt } from "./switch.BuleQplE.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.skJkmoUd.js";
|
|
69
|
+
import { t as xt } from "./border-input-group.Ba-GRAjx.js";
|
|
70
70
|
import { n as St, t as Ct } from "./confirm-popover.CWujDeV1.js";
|
|
71
|
-
import { t as wt } from "./corner-position-input-group.
|
|
71
|
+
import { t as wt } from "./corner-position-input-group.C7mPoW0O.js";
|
|
72
72
|
import { t as Tt } from "./cropper.D8Uu43xy.js";
|
|
73
|
-
import { t as Et } from "./dynamic-select.
|
|
73
|
+
import { t as Et } from "./dynamic-select.CMKK0x3-.js";
|
|
74
74
|
import { t as Dt } from "./string-array.F2GuxHp0.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.DzBr3XOi.js";
|
|
76
76
|
import { t as kt } from "./choose.C2vpqhLc.js";
|
|
77
77
|
import { t as At } from "./masonry.Bd2v23iE.js";
|
|
78
78
|
import { t as jt } from "./padding-input-group.B8ph-5ls.js";
|
|
79
79
|
import { t as Mt } from "./position-picker.BSOusbGw.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.gRlvsMVd.js";
|
|
81
|
+
import { t as Pt } from "./size-input-group.P_kaEj4l.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.BmITtYaD.js";
|
|
83
|
+
import { c as nn, d as rn, f as an, n as on, u as sn } from "./color-swatch-group.kMkHmhiw.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.AIDqz286.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.X_3rP_Iz.js";
|
|
6
6
|
import { t as l } from "./input.C6fbxRuC.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.skJkmoUd.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) {
|
|
@@ -26,7 +26,7 @@ import { t as P } from "./repeat.CKv9FPlC.js";
|
|
|
26
26
|
import { t as F } from "./dropdown.POAxHVKf.js";
|
|
27
27
|
import { t as I } from "./input.C6fbxRuC.js";
|
|
28
28
|
import { t as L } from "./option.DXF1O3-h.js";
|
|
29
|
-
import { t as R } from "./select.
|
|
29
|
+
import { t as R } from "./select.BU4_Zp_n.js";
|
|
30
30
|
import { t as z } from "./tab.BbIB084o.js";
|
|
31
31
|
import { t as B } from "./tab-group.Bj4mUm_k.js";
|
|
32
32
|
import { t as V } from "./tab-panel.BxeoKuSv.js";
|
|
@@ -34,7 +34,7 @@ import { t as _e } from "./menu.YdOirIbC.js";
|
|
|
34
34
|
import { t as ve } from "./menu-item.BotPBD7O.js";
|
|
35
35
|
import { t as ye } from "./space.Dd8jezXK.js";
|
|
36
36
|
import { t as be } from "./unsafe-html.Cb838aX7.js";
|
|
37
|
-
import { t as xe } from "./select.
|
|
37
|
+
import { t as xe } from "./select.BU4_Zp_n.js";
|
|
38
38
|
import { t as Se } from "./guard.Cf17k6Vx.js";
|
|
39
39
|
import { a as Ce, l as we, p as Te, r as Ee } from "./date.kywrEgxd.js";
|
|
40
40
|
import { at as De, it as Oe, k as ke, lt as Ae, nt as je, st as Me, tt as Ne } from "./src.Bs5rZ16K.js";
|
|
@@ -47,7 +47,7 @@ import { _ as Ve, c as He, g as Ue, l as We, v as Ge, y as Ke } from "./color.CI
|
|
|
47
47
|
import { f as qe, n as Je, r as Ye, t as Xe } from "./responsive.L9Csz2w2.js";
|
|
48
48
|
import Ze from "../components/format-number.js";
|
|
49
49
|
import { t as Qe } from "./menu-section.BzzA6L5E.js";
|
|
50
|
-
import { n as $e, t as et } from "./pagination.
|
|
50
|
+
import { n as $e, t as et } from "./pagination.CfcHNNGZ.js";
|
|
51
51
|
import { t as tt } from "./sortable.esm.BVU0_hc5.js";
|
|
52
52
|
import { t as nt } from "./color-swatch.Bf8fvLkg.js";
|
|
53
53
|
import { t as rt } 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.cbOwOkfp.js";
|
|
15
15
|
import { t as ee } from "./tooltip.CaAdk5m9.js";
|
|
16
16
|
import { t as te } from "./line-clamp.C8G30nOV.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.DKfE_VQE.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";
|
|
@@ -29,7 +29,7 @@ import { n as xe, t as Se } from "./ref.CU1NC5AM.js";
|
|
|
29
29
|
import { t as Ce } from "./textarea.BQV58bk8.js";
|
|
30
30
|
import { t as we } from "./option.DXF1O3-h.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.BU4_Zp_n.js";
|
|
33
33
|
import { t as De } from "./tab.BbIB084o.js";
|
|
34
34
|
import { t as z } from "./tab-group.Bj4mUm_k.js";
|
|
35
35
|
import { t as Oe } from "./map.ByDuLduF.js";
|
|
@@ -47,23 +47,23 @@ import { t as Re } from "./radio.BmN7pFIX.js";
|
|
|
47
47
|
import { t as ze } from "./radio-card.Bmd-28FP.js";
|
|
48
48
|
import { t as Be } from "./radio-group.DfR13lVB.js";
|
|
49
49
|
import { t as Ve } from "./switch.BuleQplE.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.skJkmoUd.js";
|
|
51
|
+
import { t as Ue } from "./border-input-group.Ba-GRAjx.js";
|
|
52
52
|
import { n as We, t as U } from "./confirm-popover.CWujDeV1.js";
|
|
53
|
-
import { t as Ge } from "./corner-position-input-group.
|
|
53
|
+
import { t as Ge } from "./corner-position-input-group.C7mPoW0O.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.CMKK0x3-.js";
|
|
56
56
|
import { t as G } from "./string-array.F2GuxHp0.js";
|
|
57
57
|
import { t as qe } from "./choose.C2vpqhLc.js";
|
|
58
58
|
import { t as Je } from "./padding-input-group.B8ph-5ls.js";
|
|
59
59
|
import { t as Ye } from "./position-picker.BSOusbGw.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.gRlvsMVd.js";
|
|
61
|
+
import { t as Ze } from "./size-input-group.P_kaEj4l.js";
|
|
62
|
+
import { T as K } from "./asset-link-format.BmITtYaD.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.AIDqz286.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
|
|
@@ -17,8 +17,8 @@ import { _ as xe, g as Se, h as Ce, m as we, p as Te, s as b } from "./responsiv
|
|
|
17
17
|
import { r as x } from "./asset-link-format.D6L-qc3X.js";
|
|
18
18
|
import { n as Ee, r as De } from "./header.ClRvFgwz.js";
|
|
19
19
|
import { c as Oe, f as ke, p as S, s as C, u as w } from "./string-array.F2GuxHp0.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.DzBr3XOi.js";
|
|
21
|
+
import { a as T, i as E, o as D, r as O, s as je } from "./color-swatch-group.kMkHmhiw.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
|
|
@@ -7,7 +7,7 @@ import { t as l } from "./src.BJhIYoMP.js";
|
|
|
7
7
|
import { t as u } from "./input.C6fbxRuC.js";
|
|
8
8
|
import { t as d } from "./option.DXF1O3-h.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.BU4_Zp_n.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",
|
|
@@ -13,7 +13,7 @@ import { t as h } from "./debounce.Ci-xdsHE.js";
|
|
|
13
13
|
import { t as g } from "./button.cbOwOkfp.js";
|
|
14
14
|
import { t as _ } from "./repeat.CKv9FPlC.js";
|
|
15
15
|
import { n as v, t as y } from "./option.DXF1O3-h.js";
|
|
16
|
-
import { t as b } from "./select.
|
|
16
|
+
import { t as b } from "./select.BU4_Zp_n.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";
|
|
@@ -23,7 +23,7 @@ import { t as w } from "./repeat.CKv9FPlC.js";
|
|
|
23
23
|
import { t as ae } from "./input.C6fbxRuC.js";
|
|
24
24
|
import { t as oe } from "./option.DXF1O3-h.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.BU4_Zp_n.js";
|
|
27
27
|
import { t as le } from "./tab.BbIB084o.js";
|
|
28
28
|
import { t as T } from "./tab-group.Bj4mUm_k.js";
|
|
29
29
|
import { t as ue } from "./tab-panel.BxeoKuSv.js";
|
|
@@ -18,7 +18,7 @@ import { t as C } from "./tag.3vLG7AWG.js";
|
|
|
18
18
|
import { t as w } from "./repeat.CKv9FPlC.js";
|
|
19
19
|
import { t as T } from "./input.C6fbxRuC.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.BU4_Zp_n.js";
|
|
22
22
|
import { t as O } from "./template.Cyvih0XQ.js";
|
|
23
23
|
import { c as k } from "./asset-link-format.D6L-qc3X.js";
|
|
24
24
|
import { a as A, i as j } from "./tree.D_yv5J9e.js";
|
|
@@ -15,7 +15,7 @@ import { t as y } from "./repeat.CKv9FPlC.js";
|
|
|
15
15
|
import { t as b } from "./input.C6fbxRuC.js";
|
|
16
16
|
import { t as x } from "./option.DXF1O3-h.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.BU4_Zp_n.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;
|
|
@@ -27,7 +27,7 @@ import { n as F } from "./scroll.CEH_a4pm.js";
|
|
|
27
27
|
import { t as I } from "./user-agent.D2bRhUeS.js";
|
|
28
28
|
import { t as L } from "./unsafe-html.Cb838aX7.js";
|
|
29
29
|
//#region ../../packages/atoms/src/utilities/type-check.ts
|
|
30
|
-
var R = (e) => !(document.createElement(e.tagName).constructor === HTMLElement || customElements.get(e.tagName.toLowerCase())), z = t`:host{display:block}:host([data-user-invalid])::part(combobox){border-color:var(--cx-input-invalid-border-color)}:host([data-user-invalid]:focus-within)::part(combobox){border-color:var(--cx-input-invalid-border-color);box-shadow:var(--cx-input-invalid-shadow)}.select{vertical-align:middle;flex:auto;width:100%;display:inline-flex;position:relative}.select::part(popup){z-index:var(--cx-z-index-dropdown)}.select[data-current-placement^=top]::part(popup){transform-origin:bottom}.select[data-current-placement^=bottom]::part(popup){transform-origin:top}.select__combobox{font-family:var(--cx-input-font-family);font-weight:var(--cx-input-font-weight);letter-spacing:var(--cx-input-letter-spacing);vertical-align:middle;cursor:pointer;transition:var(--cx-transition-fast) color, var(--cx-transition-fast) border, var(--cx-transition-fast) box-shadow, var(--cx-transition-fast) background-color;flex:1;justify-content:start;align-items:center;width:20ch;min-width:0;display:flex;position:relative;overflow:hidden}.select__display-input{width:100%;font:inherit;color:var(--cx-input-color);cursor:inherit;-webkit-appearance:none;text-overflow:ellipsis;background:0 0;border:none;margin:0;padding:0;transition:padding-top .2s ease-in-out;position:relative;overflow:hidden}:host([allow-freetext]) .input-container,:host([allow-freetext]) .select__display-input{cursor:text}:host([allow-freetext]) .select--disabled .input-container,:host([allow-freetext]) .select--disabled .select__display-input{cursor:default}.select__tags+.select__display-input{padding-top:var(--cx-spacing-2x-small)}.select__display-input--small{line-height:var(--cx-line-height-small)}.select__display-input--medium{line-height:var(--cx-line-height-medium)}.select__display-input--large{line-height:var(--cx-line-height-large)}.select__display-input--hidden{visibility:hidden;height:0;padding-top:0!important}.form-control--has-label .select__display-input{padding-top:var(--cx-spacing-x-small);padding-bottom:var(--cx-spacing-2x-small)}.select__display-input::placeholder{color:var(--cx-input-placeholder-color)}.select:not(.select--disabled):hover .select__display-input{color:var(--cx-input-color-hover)}.select:not(.select--disabled):hover .select__combobox{border-color:var(--cx-input-border-color-hover)}.select__display-input:focus{outline:none}.select__value-input{opacity:0;z-index:-1;width:100%;height:100%;margin:0;padding:0;position:absolute;top:0;left:0}.select__tags{flex-wrap:wrap;align-items:center;max-width:100%;display:flex}.form-control--has-label .select__tags{margin-top:var(--cx-spacing-x-small)}.select--small:not(.select--placeholder-visible) .select__tags,.select--medium:not(.select--placeholder-visible) .select__tags,.select--large:not(.select--placeholder-visible) .select__tags{min-height:var(--cx-line-height-medium)}.select__tags::slotted(cx-tag){cursor:pointer!important}.select--disabled .select__tags,.select--disabled .select__tags::slotted(cx-tag){cursor:default!important}.select__tag-wrapper{line-height:1}.select--standard .select__combobox{background-color:var(--cx-input-background-color);border:solid var(--cx-input-border-width) var(--cx-input-border-color)}.select--standard.select--disabled .select__combobox{background-color:var(--cx-input-background-color-disabled);border-color:var(--cx-input-border-color-disabled);color:var(--cx-input-color-disabled);opacity:.5;cursor:default;outline:none}.select--standard:not(.select--disabled).select--open .select__combobox,.select--standard:not(.select--disabled).select--focused .select__combobox{background-color:var(--cx-input-background-color-focus);border-color:var(--cx-input-border-color-focus)}.select--filled .select__combobox{background-color:var(--cx-input-filled-background-color);color:var(--cx-input-color);border:none}.select--filled:hover:not(.select--disabled) .select__combobox{background-color:var(--cx-input-filled-background-color-hover)}.select--filled.select--disabled .select__combobox{background-color:var(--cx-input-filled-background-color-disabled);opacity:.5;cursor:default}.select--filled:not(.select--disabled).select--open .select__combobox,.select--filled:not(.select--disabled).select--focused .select__combobox{background-color:var(--cx-input-filled-background-color-focus);outline:var(--cx-focus-ring)}.select--small .select__combobox{border-radius:var(--cx-input-border-radius-small);font-size:var(--cx-input-font-size-small);min-height:var(--cx-input-height-small);padding-block:0;padding-inline:var(--cx-input-spacing-small)}.form-control:not(.form-control--has-label) .select--small.select--multiple .select__combobox{padding-block:2px}.form-control:not(.form-control--has-label) .select--multiple .select__display-input{margin-top:0}.form-control:not(.form-control--has-label) .input-container{justify-content:center}.form-control:not(.form-control--has-label) .input-container .select__display-input{margin-top:0}.select--small .select__clear{margin-inline-start:var(--cx-input-spacing-small)}.select--small .select__prefix::slotted(*){margin-inline-end:var(--cx-input-spacing-small)}.select--small .select__tags{gap:2px}.select--medium .select__combobox{border-radius:var(--cx-input-border-radius-medium);font-size:var(--cx-input-font-size-small);min-height:var(--cx-input-height-medium);padding-block:0;padding-inline:var(--cx-input-spacing-medium)}.form-control:not(.form-control--has-label) .select--medium.select--multiple .select__combobox{padding-block:3px}.select--medium .select__clear{margin-inline-start:var(--cx-input-spacing-medium)}.select--medium .select__prefix::slotted(*){margin-inline-end:var(--cx-input-spacing-medium)}.select--medium .select__tags{gap:3px}.select--large .select__combobox{border-radius:var(--cx-input-border-radius-large);font-size:var(--cx-input-font-size-small);min-height:var(--cx-input-height-large);padding-block:0;padding-inline:var(--cx-input-spacing-large)}.form-control:not(.form-control--has-label) .select--large.select--multiple .select__combobox{padding-block:4px}.select--large .select__clear{margin-inline-start:var(--cx-input-spacing-large)}.select--large .select__prefix::slotted(*){margin-inline-end:var(--cx-input-spacing-large)}.select--large .select__tags{gap:4px}.select--pill.select--small .select__combobox{border-radius:var(--cx-input-height-small)}.select--pill.select--medium .select__combobox{border-radius:var(--cx-input-height-medium)}.select--pill.select--large .select__combobox{border-radius:var(--cx-input-height-large)}.select__prefix,.select__suffix{color:var(--cx-input-placeholder-color);flex:0;align-items:center;display:inline-flex}.select__clear{font-size:inherit;color:var(--cx-input-icon-color);transition:var(--cx-transition-fast) color;cursor:pointer;z-index:1;background:0 0;border:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.select__clear:hover{color:var(--cx-input-icon-color-hover)}.select__clear:focus{outline:none}.select__expand-icon{transition:var(--cx-transition-medium) rotate ease;rotate:0;font-size:var(--cx-font-size-large);flex:none;align-items:center;margin-inline-start:var(--cx-spacing-small);display:flex}.select--open .select__expand-icon{rotate:var(--cx-select-expand-icon-rotate-open,-180deg)}.select__listbox{font-family:var(--cx-font-sans);font-size:var(--cx-font-size-medium);font-weight:var(--cx-font-weight-regular);box-shadow:var(--cx-shadow-large);background:var(--cx-panel-background-color);border:solid var(--cx-panel-border-width) var(--cx-panel-border-color);border-radius:var(--cx-border-radius-large);padding-block:var(--cx-spacing-x-small);overscroll-behavior:none;max-width:var(--auto-size-available-width);max-height:var(--select-max-height,var(--auto-size-available-height));padding-inline:0;display:block;position:relative;overflow:auto}.select__listbox ::slotted(cx-divider){--spacing:var(--cx-spacing-x-small);width:calc(100% - (var(--cx-spacing-x-small) * 2));margin-inline:auto}.select__listbox ::slotted(small){font-size:var(--cx-font-size-x-small);font-weight:var(--cx-font-weight-medium);line-height:var(--cx-line-height-x-small);color:var(--cx-color-neutral-600);padding-block:var(--cx-spacing-2x-small);padding-inline:var(--cx-spacing-small);display:block}.select__no-options{font-size:var(--cx-font-size-small);color:var(--cx-color-neutral-500);padding-block:var(--cx-spacing-2x-small);padding-inline:var(--cx-spacing-small);text-align:left;cursor:default;user-select:none;display:block}.select__options{display:contents}.select__footer{display:none}.select__listbox--has-footer{flex-direction:column;display:flex}.select__listbox--has-footer .select__options{overscroll-behavior:none;flex:0 auto;min-height:0;display:block;overflow:auto}.select__listbox--has-footer .select__footer{flex:none;display:block}.select__listbox--has-footer .select__footer:before{content:"";margin:0 var(--cx-spacing-x-small);border-top:solid var(--cx-panel-border-width) var(--cx-panel-border-color);display:block}.input-container{flex-direction:column;flex:1;align-self:stretch;width:0;display:inline-flex;position:relative}.input-container__display-value{column-gap:var(--cx-spacing-small);row-gap:var(--cx-spacing-3x-small);flex-flow:wrap;width:100%;height:100%;display:flex}.form-control__label{pointer-events:none;width:fit-content;line-height:1;-webkit-transition:transform .2s ease-in-out;-moz-transition:transform .2s ease-in-out;transition:transform .2s ease-in-out;position:relative}.select--small .form-control__label{transform:translateY(calc(( var(--cx-input-height-small) + 1.25rem - var(--cx-input-font-size-small) ) / 2));margin:0}.select--medium .form-control__label{transform:translateY(calc(( var(--cx-input-height-medium) / 2 + 1rem - var(--cx-input-font-size-medium) )));margin:0}.select--large .form-control__label{transform:translateY(calc(( var(--cx-input-height-large) + 1rem - var(--cx-input-font-size-large) ) / 2));margin:0}.form-control--has-label .select--small{min-height:calc(var(--cx-input-height-small) + 1rem)}.form-control--has-label .select--medium{min-height:calc(var(--cx-input-height-medium) + 1rem)}.form-control--has-label .select--large{min-height:calc(var(--cx-input-height-large) + 1rem)}.form-control--has-label .select--focused .form-control__label,.form-control--has-label .select--placeholder-visible .form-control__label,.form-control--has-label .select:not(.select--empty) .form-control__label{transform:translateY(calc(var(--cx-spacing-2x-small) + var(--cx-spacing-3x-small)))}.select__listbox slot{flex-direction:column;display:flex}:host([data-cx-input-group__input--first]:not([data-cx-input-group__input--last])) .select__combobox{border-start-end-radius:0;border-end-end-radius:0}:host([data-cx-input-group__input--inner]) .select__combobox{border-radius:0}:host([data-cx-input-group__input--last]:not([data-cx-input-group__input--first])) .select__combobox{border-start-start-radius:0;border-end-start-radius:0}:host([data-cx-input-group__input]:not([data-cx-input-group__input--first])){margin-inline-start:calc(-1 * var(--cx-input-border-width))}:host([data-cx-input-group__input--hover]){z-index:1}:host([data-cx-input-group__input--focus]),:host([data-cx-input-group__input][checked]){z-index:2}`, B = class extends s {
|
|
30
|
+
var R = (e) => !(document.createElement(e.tagName).constructor === HTMLElement || customElements.get(e.tagName.toLowerCase())), z = t`:host{display:block}:host([data-user-invalid])::part(combobox){border-color:var(--cx-input-invalid-border-color)}:host([data-user-invalid]:focus-within)::part(combobox){border-color:var(--cx-input-invalid-border-color);box-shadow:var(--cx-input-invalid-shadow)}.select{vertical-align:middle;flex:auto;width:100%;display:inline-flex;position:relative}.select::part(popup){z-index:var(--cx-z-index-dropdown)}.select[data-current-placement^=top]::part(popup){transform-origin:bottom}.select[data-current-placement^=bottom]::part(popup){transform-origin:top}.select__combobox{font-family:var(--cx-input-font-family);font-weight:var(--cx-input-font-weight);letter-spacing:var(--cx-input-letter-spacing);vertical-align:middle;cursor:pointer;transition:var(--cx-transition-fast) color, var(--cx-transition-fast) border, var(--cx-transition-fast) box-shadow, var(--cx-transition-fast) background-color;flex:1;justify-content:start;align-items:center;width:20ch;min-width:0;display:flex;position:relative;overflow:hidden}.select__display-input{width:100%;font:inherit;color:var(--cx-input-color);cursor:inherit;-webkit-appearance:none;text-overflow:ellipsis;background:0 0;border:none;margin:0;padding:0;transition:padding-top .2s ease-in-out;position:relative;overflow:hidden}:host([allow-freetext]) .input-container,:host([allow-freetext]) .select__display-input{cursor:text}:host([allow-freetext]) .select--disabled .input-container,:host([allow-freetext]) .select--disabled .select__display-input{cursor:default}.select__tags+.select__display-input{padding-top:var(--cx-spacing-2x-small)}.select__display-input--small{line-height:var(--cx-line-height-small)}.select__display-input--medium{line-height:var(--cx-line-height-medium)}.select__display-input--large{line-height:var(--cx-line-height-large)}.select__display-input--hidden{visibility:hidden;height:0;padding-top:0!important}.form-control--has-label .select__display-input{padding-top:var(--cx-spacing-x-small);padding-bottom:var(--cx-spacing-2x-small)}.select__display-input::placeholder{color:var(--cx-input-placeholder-color)}.select:not(.select--disabled):hover .select__display-input{color:var(--cx-input-color-hover)}.select:not(.select--disabled):hover .select__combobox{border-color:var(--cx-input-border-color-hover)}.select__display-input:focus{outline:none}.select__value-input{opacity:0;z-index:-1;width:100%;height:100%;margin:0;padding:0;position:absolute;top:0;left:0}.select__tags{flex-wrap:wrap;align-items:center;max-width:100%;display:flex}.form-control--has-label .select__tags{margin-top:var(--cx-spacing-x-small)}.select--small:not(.select--placeholder-visible) .select__tags,.select--medium:not(.select--placeholder-visible) .select__tags,.select--large:not(.select--placeholder-visible) .select__tags{min-height:var(--cx-line-height-medium)}.select__tags::slotted(cx-tag){cursor:pointer!important}.select--disabled .select__tags,.select--disabled .select__tags::slotted(cx-tag){cursor:default!important}.select__tag-wrapper{line-height:1}.select--standard .select__combobox{background-color:var(--cx-input-background-color);border:solid var(--cx-input-border-width) var(--cx-input-border-color)}.select--standard.select--disabled .select__combobox{background-color:var(--cx-input-background-color-disabled);border-color:var(--cx-input-border-color-disabled);color:var(--cx-input-color-disabled);opacity:.5;cursor:default;outline:none}.select--standard:not(.select--disabled).select--open .select__combobox,.select--standard:not(.select--disabled).select--focused .select__combobox{background-color:var(--cx-input-background-color-focus);border-color:var(--cx-input-border-color-focus)}.select--filled .select__combobox{background-color:var(--cx-input-filled-background-color);color:var(--cx-input-color);border:none}.select--filled:hover:not(.select--disabled) .select__combobox{background-color:var(--cx-input-filled-background-color-hover)}.select--filled.select--disabled .select__combobox{background-color:var(--cx-input-filled-background-color-disabled);opacity:.5;cursor:default}.select--filled:not(.select--disabled).select--open .select__combobox,.select--filled:not(.select--disabled).select--focused .select__combobox{background-color:var(--cx-input-filled-background-color-focus);outline:var(--cx-focus-ring)}.select--small .select__combobox{border-radius:var(--cx-input-border-radius-small);font-size:var(--cx-input-font-size-small);min-height:var(--cx-input-height-small);padding-block:0;padding-inline:var(--cx-input-spacing-small)}.form-control:not(.form-control--has-label) .select--small.select--multiple .select__combobox{padding-block:2px}.form-control:not(.form-control--has-label) .select--multiple .select__display-input{margin-top:0}.form-control:not(.form-control--has-label) .input-container{justify-content:center}.form-control:not(.form-control--has-label) .input-container .select__display-input{margin-top:0}.select--small .select__clear{margin-inline-start:var(--cx-input-spacing-small)}.select--small .select__prefix::slotted(*){margin-inline-end:var(--cx-input-spacing-small)}.select--small .select__tags{gap:2px}.select--medium .select__combobox{border-radius:var(--cx-input-border-radius-medium);font-size:var(--cx-input-font-size-small);min-height:var(--cx-input-height-medium);padding-block:0;padding-inline:var(--cx-input-spacing-medium)}.form-control:not(.form-control--has-label) .select--medium.select--multiple .select__combobox{padding-block:3px}.select--medium .select__clear{margin-inline-start:var(--cx-input-spacing-medium)}.select--medium .select__prefix::slotted(*){margin-inline-end:var(--cx-input-spacing-medium)}.select--medium .select__tags{gap:3px}.select--large .select__combobox{border-radius:var(--cx-input-border-radius-large);font-size:var(--cx-input-font-size-small);min-height:var(--cx-input-height-large);padding-block:0;padding-inline:var(--cx-input-spacing-large)}.form-control:not(.form-control--has-label) .select--large.select--multiple .select__combobox{padding-block:4px}.select--large .select__clear{margin-inline-start:var(--cx-input-spacing-large)}.select--large .select__prefix::slotted(*){margin-inline-end:var(--cx-input-spacing-large)}.select--large .select__tags{gap:4px}.select--pill.select--small .select__combobox{border-radius:var(--cx-input-height-small)}.select--pill.select--medium .select__combobox{border-radius:var(--cx-input-height-medium)}.select--pill.select--large .select__combobox{border-radius:var(--cx-input-height-large)}.select__prefix,.select__suffix{color:var(--cx-input-placeholder-color);flex:0;align-items:center;display:inline-flex}.select__clear{font-size:inherit;color:var(--cx-input-icon-color);transition:var(--cx-transition-fast) color;cursor:pointer;z-index:1;background:0 0;border:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.select__clear:hover{color:var(--cx-input-icon-color-hover)}.select__clear:focus{outline:none}.select__expand-icon{transition:var(--cx-transition-medium) rotate ease;rotate:0;font-size:var(--cx-font-size-large);flex:none;align-items:center;margin-inline-start:var(--cx-spacing-small);display:flex}.select--open .select__expand-icon{rotate:var(--cx-select-expand-icon-rotate-open,-180deg)}.select__listbox{font-family:var(--cx-font-sans);font-size:var(--cx-font-size-medium);font-weight:var(--cx-font-weight-regular);box-shadow:var(--cx-shadow-large);background:var(--cx-panel-background-color);border:solid var(--cx-panel-border-width) var(--cx-panel-border-color);border-radius:var(--cx-border-radius-large);padding-block:var(--cx-spacing-x-small);overscroll-behavior:none;max-width:var(--auto-size-available-width);max-height:var(--select-max-height,var(--auto-size-available-height));padding-inline:0;display:block;position:relative;overflow:auto}.select__listbox ::slotted(cx-divider){--spacing:var(--cx-spacing-x-small);width:calc(100% - (var(--cx-spacing-x-small) * 2));margin-inline:auto}.select__listbox ::slotted(small){font-size:var(--cx-font-size-x-small);font-weight:var(--cx-font-weight-medium);line-height:var(--cx-line-height-x-small);color:var(--cx-color-neutral-600);padding-block:var(--cx-spacing-2x-small);padding-inline:var(--cx-spacing-small);display:block}.select__no-options{font-size:var(--cx-font-size-small);color:var(--cx-color-neutral-500);padding-block:var(--cx-spacing-2x-small);padding-inline:var(--cx-spacing-small);text-align:left;cursor:default;user-select:none;display:block}.select__options{display:contents}.select__footer{display:none}.select__listbox--has-footer{flex-direction:column;display:flex}.select__listbox--has-footer .select__options{overscroll-behavior:none;flex:0 auto;min-height:0;display:block;overflow:auto}.select__listbox--has-footer .select__footer{flex:none;display:block}.select__listbox--has-footer .select__footer--separated:before{content:"";margin:0 var(--cx-spacing-x-small);border-top:solid var(--cx-panel-border-width) var(--cx-panel-border-color);display:block}.input-container{flex-direction:column;flex:1;align-self:stretch;width:0;display:inline-flex;position:relative}.input-container__display-value{column-gap:var(--cx-spacing-small);row-gap:var(--cx-spacing-3x-small);flex-flow:wrap;width:100%;height:100%;display:flex}.form-control__label{pointer-events:none;width:fit-content;line-height:1;-webkit-transition:transform .2s ease-in-out;-moz-transition:transform .2s ease-in-out;transition:transform .2s ease-in-out;position:relative}.select--small .form-control__label{transform:translateY(calc(( var(--cx-input-height-small) + 1.25rem - var(--cx-input-font-size-small) ) / 2));margin:0}.select--medium .form-control__label{transform:translateY(calc(( var(--cx-input-height-medium) / 2 + 1rem - var(--cx-input-font-size-medium) )));margin:0}.select--large .form-control__label{transform:translateY(calc(( var(--cx-input-height-large) + 1rem - var(--cx-input-font-size-large) ) / 2));margin:0}.form-control--has-label .select--small{min-height:calc(var(--cx-input-height-small) + 1rem)}.form-control--has-label .select--medium{min-height:calc(var(--cx-input-height-medium) + 1rem)}.form-control--has-label .select--large{min-height:calc(var(--cx-input-height-large) + 1rem)}.form-control--has-label .select--focused .form-control__label,.form-control--has-label .select--placeholder-visible .form-control__label,.form-control--has-label .select:not(.select--empty) .form-control__label{transform:translateY(calc(var(--cx-spacing-2x-small) + var(--cx-spacing-3x-small)))}.select__listbox slot{flex-direction:column;display:flex}:host([data-cx-input-group__input--first]:not([data-cx-input-group__input--last])) .select__combobox{border-start-end-radius:0;border-end-end-radius:0}:host([data-cx-input-group__input--inner]) .select__combobox{border-radius:0}:host([data-cx-input-group__input--last]:not([data-cx-input-group__input--first])) .select__combobox{border-start-start-radius:0;border-end-start-radius:0}:host([data-cx-input-group__input]:not([data-cx-input-group__input--first])){margin-inline-start:calc(-1 * var(--cx-input-border-width))}:host([data-cx-input-group__input--hover]){z-index:1}:host([data-cx-input-group__input--focus]),:host([data-cx-input-group__input][checked]){z-index:2}`, B = class extends s {
|
|
31
31
|
constructor(...t) {
|
|
32
32
|
super(...t), this.formControlController = new D(this, { assumeInteractionOn: ["cx-input"] }), this.hasSlotController = new g(this, "footer", "help-text", "label"), this.localize = new h(this), this.typeToSelectString = "", this.openListenersRoot = null, this.hasFocus = !1, this.displayLabel = "", this.selectedOptions = [], this.name = "", this.value = "", this.fallbackOptionValue = "", this.matchEmptyValue = !1, this.defaultValue = "", this.size = "medium", this.placeholder = "", this.allowFreetext = !1, this.multiple = !1, this.maxOptionsVisible = 3, this.disabled = !1, this.clearable = !1, this.open = !1, this.hoist = !1, this.noFlip = !1, this.freeWidth = !1, this.autosizePadding = 10, this.filled = !1, this.pill = !1, this.label = "", this.placement = "bottom", this.helpText = "", this.form = void 0, this.required = !1, this.useTag = !1, this.noSelectOnEnter = !1, this.noResetCurrent = !1, this.noDropdown = !1, this.noExpandIcon = !1, this.loading = !1, this.getTag = (t) => {
|
|
33
33
|
let n = this.hasSlotController.test("label"), r = this.label || n ? this.size === "large" ? "medium" : "small" : this.size;
|
|
@@ -60,7 +60,7 @@ var R = (e) => !(document.createElement(e.tagName).constructor === HTMLElement |
|
|
|
60
60
|
this.show();
|
|
61
61
|
return;
|
|
62
62
|
}
|
|
63
|
-
this.currentOption && !this.currentOption.hidden && this.currentOption.isConnected && !this.getOptionDisabled(this.currentOption) && (this.noSelectOnEnter || (this.multiple ? (this.toggleOptionSelection(this.currentOption), this.#
|
|
63
|
+
this.currentOption && !this.currentOption.hidden && this.currentOption.isConnected && !this.getOptionDisabled(this.currentOption) && (this.noSelectOnEnter || (this.multiple ? (this.toggleOptionSelection(this.currentOption), this.#p(), this.inputBehavior === "select" && this.selectOptionByInput()) : this.setSelectedOptions(this.currentOption), this.updateComplete.then(() => {
|
|
64
64
|
this.emit("cx-input"), this.emit("cx-change");
|
|
65
65
|
})), (!this.multiple || this.closeOnSelect) && !this.stayOpenOnSelect && (this.hide(), this.displayInput.focus({ preventScroll: !0 })));
|
|
66
66
|
return;
|
|
@@ -72,14 +72,14 @@ var R = (e) => !(document.createElement(e.tagName).constructor === HTMLElement |
|
|
|
72
72
|
"End"
|
|
73
73
|
].includes(e.key)) {
|
|
74
74
|
let t = this.getAllOptions().filter((e) => this.inputBehavior !== "filter" || !e.hidden), n = this.currentOption ? t.indexOf(this.currentOption) : -1, r = Math.max(0, n);
|
|
75
|
-
if (e.preventDefault(), !this.open && (!this.#
|
|
75
|
+
if (e.preventDefault(), !this.open && (!this.#c() || (this.show(), this.currentOption))) return;
|
|
76
76
|
e.key === "ArrowDown" ? (r = n + 1, r > t.length - 1 && (r = 0)) : e.key === "ArrowUp" ? (r = n - 1, r < 0 && (r = t.length - 1)) : e.key === "Home" ? r = 0 : e.key === "End" && (r = t.length - 1), this.setCurrentOption(t[r]);
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
}, this.handleDocumentMouseDown = (e) => {
|
|
80
80
|
let t = e.composedPath();
|
|
81
81
|
this && !t.includes(this) && !this.stayOpenOnSelect && this.hide();
|
|
82
|
-
}, this.#
|
|
82
|
+
}, this.#l = {
|
|
83
83
|
folded: "",
|
|
84
84
|
raw: ""
|
|
85
85
|
};
|
|
@@ -100,6 +100,10 @@ var R = (e) => !(document.createElement(e.tagName).constructor === HTMLElement |
|
|
|
100
100
|
get shouldShowNoOptionsMessage() {
|
|
101
101
|
return !!this.noOptionText && this.getVisibleOptions().length === 0;
|
|
102
102
|
}
|
|
103
|
+
get #n() {
|
|
104
|
+
let e = this.getVisibleOptions();
|
|
105
|
+
return e.length > 0 && !this.#i(e[0]) && this.#i(e[e.length - 1]);
|
|
106
|
+
}
|
|
103
107
|
get validity() {
|
|
104
108
|
return this.valueInput ? this.valueInput.validity : { valid: !0 };
|
|
105
109
|
}
|
|
@@ -137,7 +141,7 @@ var R = (e) => !(document.createElement(e.tagName).constructor === HTMLElement |
|
|
|
137
141
|
}
|
|
138
142
|
}
|
|
139
143
|
filterCallback(e, t) {
|
|
140
|
-
return this.filterIgnoreAccents ? E(this.getOptionLabel(e), { ignoreAccents: !0 }).includes(this.#
|
|
144
|
+
return this.filterIgnoreAccents ? E(this.getOptionLabel(e), { ignoreAccents: !0 }).includes(this.#u(t)) : this.getOptionLabel(e).toLowerCase().includes(t);
|
|
141
145
|
}
|
|
142
146
|
connectedCallback() {
|
|
143
147
|
super.connectedCallback(), this.stayOpenOnSelect || (this.open = !1);
|
|
@@ -166,7 +170,7 @@ var R = (e) => !(document.createElement(e.tagName).constructor === HTMLElement |
|
|
|
166
170
|
}
|
|
167
171
|
handleBlur(e) {
|
|
168
172
|
let t = e.relatedTarget;
|
|
169
|
-
t && this.contains(t) || (this.hasFocus = !1, this.allowFreetext || (this.displayLabel = this.#
|
|
173
|
+
t && this.contains(t) || (this.hasFocus = !1, this.allowFreetext || (this.displayLabel = this.#s(), this.displayInput.value = this.displayLabel, this.typeToSelectString = ""), this.emit("cx-blur"));
|
|
170
174
|
}
|
|
171
175
|
handleInput(e) {
|
|
172
176
|
let t = e.target, n = [
|
|
@@ -192,7 +196,7 @@ var R = (e) => !(document.createElement(e.tagName).constructor === HTMLElement |
|
|
|
192
196
|
break;
|
|
193
197
|
case "select": this.selectOptionByInput();
|
|
194
198
|
}
|
|
195
|
-
this.#
|
|
199
|
+
this.#d();
|
|
196
200
|
}
|
|
197
201
|
handleComboboxMouseDown(e) {
|
|
198
202
|
let t = e.composedPath(), n = !1, r = !1;
|
|
@@ -204,13 +208,13 @@ var R = (e) => !(document.createElement(e.tagName).constructor === HTMLElement |
|
|
|
204
208
|
e instanceof HTMLElement && e.tagName.toLowerCase() === "cx-icon-button" && (n = !0);
|
|
205
209
|
}), !(this.disabled || n) && (r || this.inputBehavior !== "filter" || !this.open || !this.multiple && !this.useTag ? (this.allowDefaultMouseDown || this.allowFreetext ? requestAnimationFrame(() => {
|
|
206
210
|
this.displayInput.focus({ preventScroll: !0 });
|
|
207
|
-
}) : (e.preventDefault(), this.displayInput.focus({ preventScroll: !0 })), this.open = !this.open && (this.getAllOptions().length > 0 || !!this.noOptionText) && this.#
|
|
211
|
+
}) : (e.preventDefault(), this.displayInput.focus({ preventScroll: !0 })), this.open = !this.open && (this.getAllOptions().length > 0 || !!this.noOptionText) && this.#c()) : (this.allowFreetext || e.preventDefault(), this.displayInput.focus({ preventScroll: !0 })));
|
|
208
212
|
}
|
|
209
213
|
handleComboboxKeyDown(e) {
|
|
210
214
|
e.key !== "Tab" && ((e.key !== "Escape" || this.open && (this.shouldShowNoOptionsMessage || this.getVisibleOptions().length > 0)) && e.stopPropagation(), this.handleDocumentKeyDown(e));
|
|
211
215
|
}
|
|
212
216
|
handleClearClick(e) {
|
|
213
|
-
e.stopPropagation(), (this.value !== "" || this.displayLabel !== "") && (this.setSelectedOptions([]), this.displayInput.focus({ preventScroll: !0 }), this.#
|
|
217
|
+
e.stopPropagation(), (this.value !== "" || this.displayLabel !== "") && (this.setSelectedOptions([]), this.displayInput.focus({ preventScroll: !0 }), this.#p(), this.updateComplete.then(() => {
|
|
214
218
|
this.emit("cx-clear"), this.emit("cx-input"), this.emit("cx-change");
|
|
215
219
|
}));
|
|
216
220
|
}
|
|
@@ -219,7 +223,7 @@ var R = (e) => !(document.createElement(e.tagName).constructor === HTMLElement |
|
|
|
219
223
|
}
|
|
220
224
|
handleOptionClick(e) {
|
|
221
225
|
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"));
|
|
222
|
-
t && !this.getOptionDisabled(t) && !r && !i && (this.multiple ? (this.toggleOptionSelection(t), this.#
|
|
226
|
+
t && !this.getOptionDisabled(t) && !r && !i && (this.multiple ? (this.toggleOptionSelection(t), this.#p()) : this.setSelectedOptions(t), this.updateComplete.then(() => this.displayInput.focus({ preventScroll: !0 })), (this.value !== n || this.forceOnChange) && this.updateComplete.then(() => {
|
|
223
227
|
this.emit("cx-input"), this.emit("cx-change");
|
|
224
228
|
}), (!this.multiple || this.closeOnSelect) && !this.stayOpenOnSelect && (this.hide(), this.displayInput.focus({ preventScroll: !0 })));
|
|
225
229
|
}
|
|
@@ -240,26 +244,26 @@ var R = (e) => !(document.createElement(e.tagName).constructor === HTMLElement |
|
|
|
240
244
|
this.setSelectedOptions(r, i ? this.value : void 0), this.hasFocus && !this.open && !this.disabled && e.length > 0 && this.show();
|
|
241
245
|
}
|
|
242
246
|
handleTagRemove(e, t) {
|
|
243
|
-
e.stopPropagation(), this.disabled || (this.toggleOptionSelection(t, !1), this.#
|
|
247
|
+
e.stopPropagation(), this.disabled || (this.toggleOptionSelection(t, !1), this.#p(), this.updateComplete.then(() => {
|
|
244
248
|
this.emit("cx-input"), this.emit("cx-change");
|
|
245
249
|
}));
|
|
246
250
|
}
|
|
247
251
|
getAllOptions() {
|
|
248
|
-
return this.#
|
|
252
|
+
return this.#a([...this.querySelectorAll("[role=\"option\"], cx-option")]);
|
|
249
253
|
}
|
|
250
254
|
getFirstOption() {
|
|
251
255
|
return this.querySelector("cx-option");
|
|
252
256
|
}
|
|
253
|
-
#
|
|
254
|
-
return this.#
|
|
257
|
+
#r() {
|
|
258
|
+
return this.#a([...this.querySelectorAll("cx-option")]).find((e) => !e.hidden) ?? null;
|
|
255
259
|
}
|
|
256
|
-
#
|
|
260
|
+
#i(e) {
|
|
257
261
|
return e.slot === "footer" && e.parentElement === this;
|
|
258
262
|
}
|
|
259
|
-
#
|
|
260
|
-
return e.some((e) => this.#
|
|
263
|
+
#a(e) {
|
|
264
|
+
return e.some((e) => this.#i(e)) ? [...e.filter((e) => !this.#i(e)), ...e.filter((e) => this.#i(e))] : e;
|
|
261
265
|
}
|
|
262
|
-
#
|
|
266
|
+
#o() {
|
|
263
267
|
return this.hasSlotController.test("footer") ? this.optionsContainer : this.listbox;
|
|
264
268
|
}
|
|
265
269
|
getVisibleOptions() {
|
|
@@ -290,11 +294,11 @@ var R = (e) => !(document.createElement(e.tagName).constructor === HTMLElement |
|
|
|
290
294
|
let n = this.getOptionSelected(e), r = new Set(this.selectedOptions);
|
|
291
295
|
n ? r.add(e) : r.delete(e), this.selectionChanged(void 0, [...r]);
|
|
292
296
|
}
|
|
293
|
-
#
|
|
297
|
+
#s() {
|
|
294
298
|
return this.multiple ? "" : this.getOptionLabel(this.selectedOptions[0]) ?? "";
|
|
295
299
|
}
|
|
296
300
|
selectionChanged(e, t) {
|
|
297
|
-
this.selectedOptions = t ?? this.getAllOptions().filter((e) => this.getOptionSelected(e)), this.value = this.multiple ? e ?? this.selectedOptions.map((e) => this.getOptionValue(e)) : e ?? this.getOptionValue(this.selectedOptions[0]) ?? "", this.displayLabel = this.#
|
|
301
|
+
this.selectedOptions = t ?? this.getAllOptions().filter((e) => this.getOptionSelected(e)), this.value = this.multiple ? e ?? this.selectedOptions.map((e) => this.getOptionValue(e)) : e ?? this.getOptionValue(this.selectedOptions[0]) ?? "", this.displayLabel = this.#s(), this.updateComplete.then(() => {
|
|
298
302
|
this.formControlController.updateValidity();
|
|
299
303
|
});
|
|
300
304
|
}
|
|
@@ -327,13 +331,13 @@ var R = (e) => !(document.createElement(e.tagName).constructor === HTMLElement |
|
|
|
327
331
|
if (this.noDropdown) return;
|
|
328
332
|
if (this.inputBehavior === "filter" && this.filterOptionsByInput(), !this.noResetCurrent) {
|
|
329
333
|
let [e] = this.selectedOptions;
|
|
330
|
-
this.setCurrentOption(e && !e.hidden ? e : this.#
|
|
334
|
+
this.setCurrentOption(e && !e.hidden ? e : this.#r() ?? this.getFirstOption());
|
|
331
335
|
}
|
|
332
336
|
this.emit("cx-show"), this.addOpenListeners(), await f(this), this.listbox.hidden = !1, this.popup.active = !0, requestAnimationFrame(() => {
|
|
333
337
|
this.currentOption && this.setCurrentOption(this.currentOption);
|
|
334
338
|
});
|
|
335
339
|
let { keyframes: e, options: t } = b(this, "select.show", { dir: this.localize.dir() });
|
|
336
|
-
await d(this.popup.popup, e, t), this.currentOption && !this.#
|
|
340
|
+
await d(this.popup.popup, e, t), this.currentOption && !this.#i(this.currentOption) && F(this.currentOption, this.#o(), "vertical", "auto"), this.emit("cx-after-show");
|
|
337
341
|
} else {
|
|
338
342
|
this.emit("cx-hide"), this.removeOpenListeners(), await f(this);
|
|
339
343
|
let { keyframes: e, options: t } = b(this, "select.hide", { dir: this.localize.dir() });
|
|
@@ -347,31 +351,31 @@ var R = (e) => !(document.createElement(e.tagName).constructor === HTMLElement |
|
|
|
347
351
|
break;
|
|
348
352
|
}
|
|
349
353
|
}
|
|
350
|
-
#
|
|
354
|
+
#c() {
|
|
351
355
|
return this.typeToSelectString.length >= Math.max(0, this.minQueryLength || 0);
|
|
352
356
|
}
|
|
353
|
-
#
|
|
354
|
-
#
|
|
355
|
-
return this.#
|
|
357
|
+
#l;
|
|
358
|
+
#u(e) {
|
|
359
|
+
return this.#l.raw !== e && (this.#l = {
|
|
356
360
|
folded: E(e, { ignoreAccents: !0 }),
|
|
357
361
|
raw: e
|
|
358
|
-
}), this.#
|
|
362
|
+
}), this.#l.folded;
|
|
359
363
|
}
|
|
360
|
-
#
|
|
361
|
-
this.open && !this.#
|
|
364
|
+
#d() {
|
|
365
|
+
this.open && !this.#c() && this.hide();
|
|
362
366
|
}
|
|
363
|
-
#
|
|
367
|
+
#f(e) {
|
|
364
368
|
return !this.highlightMatches || e.hidden ? [] : T(e.getTextLabel(), this.typeToSelectString, { ignoreAccents: this.filterIgnoreAccents });
|
|
365
369
|
}
|
|
366
370
|
filterOptionsByInput() {
|
|
367
371
|
let e = this.getAllOptions();
|
|
368
|
-
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")), t instanceof P && (t.matchRanges = this.#
|
|
369
|
-
this.#
|
|
370
|
-
}
|
|
371
|
-
#f() {
|
|
372
|
-
this.typeToSelectString = "", this.displayLabel = "", this.displayInput.value = "", this.inputBehavior === "filter" && this.filterOptionsByInput(), this.#u();
|
|
372
|
+
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")), t instanceof P && (t.matchRanges = this.#f(t));
|
|
373
|
+
this.#m(), this.popup.style.removeProperty("--auto-size-available-width"), this.popup.style.removeProperty("--auto-size-available-height");
|
|
373
374
|
}
|
|
374
375
|
#p() {
|
|
376
|
+
this.typeToSelectString = "", this.displayLabel = "", this.displayInput.value = "", this.inputBehavior === "filter" && this.filterOptionsByInput(), this.#d();
|
|
377
|
+
}
|
|
378
|
+
#m() {
|
|
375
379
|
let { currentOption: e } = this;
|
|
376
380
|
if (!e || !e.hidden && e.isConnected) return;
|
|
377
381
|
let t = this.getVisibleOptions()[0];
|
|
@@ -382,7 +386,7 @@ var R = (e) => !(document.createElement(e.tagName).constructor === HTMLElement |
|
|
|
382
386
|
this.open = !1;
|
|
383
387
|
return;
|
|
384
388
|
}
|
|
385
|
-
if ((this.getAllOptions().length !== 0 || this.noOptionText) && this.#
|
|
389
|
+
if ((this.getAllOptions().length !== 0 || this.noOptionText) && this.#c()) return this.open = !0, p(this, "cx-after-show");
|
|
386
390
|
}
|
|
387
391
|
async hide() {
|
|
388
392
|
if (!this.open || this.disabled) {
|
|
@@ -398,11 +402,11 @@ var R = (e) => !(document.createElement(e.tagName).constructor === HTMLElement |
|
|
|
398
402
|
this.displayInput.blur();
|
|
399
403
|
}
|
|
400
404
|
render() {
|
|
401
|
-
let t = this.hasSlotController.test("label"), r = this.hasSlotController.test("help-text"), i = this.hasSlotController.test("footer"), a = this.label ? !0 : !!t,
|
|
405
|
+
let t = this.hasSlotController.test("label"), r = this.hasSlotController.test("help-text"), i = this.hasSlotController.test("footer"), a = i && this.#n, o = this.label ? !0 : !!t, s = this.helpText ? !0 : !!r, c = this.clearable && !this.disabled && (this.displayLabel.length > 0 || this.selectedOptions.length > 0), l = this.placeholder && this.value.length === 0 && this.displayLabel.length === 0, u = this.value.length === 0 && this.displayLabel.length === 0 || (this.multiple || this.useTag) && this.tags.length === 0, d = (this.multiple || this.useTag) && this.selectedOptions.length > 0;
|
|
402
406
|
return e`<div part="form-control" class=${v({
|
|
403
407
|
"form-control": !0,
|
|
404
|
-
"form-control--has-help-text":
|
|
405
|
-
"form-control--has-label":
|
|
408
|
+
"form-control--has-help-text": s,
|
|
409
|
+
"form-control--has-label": o,
|
|
406
410
|
"form-control--large": this.size === "large",
|
|
407
411
|
"form-control--medium": this.size === "medium",
|
|
408
412
|
"form-control--small": this.size === "small"
|
|
@@ -410,7 +414,7 @@ var R = (e) => !(document.createElement(e.tagName).constructor === HTMLElement |
|
|
|
410
414
|
select: !0,
|
|
411
415
|
"select--bottom": this.placement.startsWith("bottom"),
|
|
412
416
|
"select--disabled": this.disabled,
|
|
413
|
-
"select--empty":
|
|
417
|
+
"select--empty": u,
|
|
414
418
|
"select--filled": this.filled,
|
|
415
419
|
"select--focused": this.hasFocus || this.open,
|
|
416
420
|
"select--large": this.size === "large",
|
|
@@ -418,21 +422,24 @@ var R = (e) => !(document.createElement(e.tagName).constructor === HTMLElement |
|
|
|
418
422
|
"select--multiple": this.multiple || this.useTag,
|
|
419
423
|
"select--open": this.open,
|
|
420
424
|
"select--pill": this.pill,
|
|
421
|
-
"select--placeholder-visible":
|
|
425
|
+
"select--placeholder-visible": l,
|
|
422
426
|
"select--small": this.size === "small",
|
|
423
427
|
"select--standard": !0,
|
|
424
428
|
"select--top": this.placement.startsWith("top")
|
|
425
|
-
})} placement=${this.placement} strategy=${this.hoist ? "overlay" : "absolute"} ?flip=${!this.noFlip} shift sync=${this.freeWidth ? void 0 : "width"} auto-size="both" auto-size-padding=${this.autosizePadding} flip-padding="10"><div part="combobox" class="select__combobox" slot="anchor" @keydown=${this.handleComboboxKeyDown} @mousedown=${this.handleComboboxMouseDown}><slot part="prefix" name="prefix" class="select__prefix"></slot><span class="input-container" @click=${this.handleFocus}><label id="label" part="form-control-label" class="form-control__label" aria-hidden=${
|
|
429
|
+
})} placement=${this.placement} strategy=${this.hoist ? "overlay" : "absolute"} ?flip=${!this.noFlip} shift sync=${this.freeWidth ? void 0 : "width"} auto-size="both" auto-size-padding=${this.autosizePadding} flip-padding="10"><div part="combobox" class="select__combobox" slot="anchor" @keydown=${this.handleComboboxKeyDown} @mousedown=${this.handleComboboxMouseDown}><slot part="prefix" name="prefix" class="select__prefix"></slot><span class="input-container" @click=${this.handleFocus}><label id="label" part="form-control-label" class="form-control__label" aria-hidden=${o ? "false" : "true"}><slot name="label">${this.label}</slot></label>${S(d, () => e`<div part="tags" class="select__tags" @cx-remove=${this.handleTagRemove}>${this.tags}</div>`)}<input part="display-input" class=${v({
|
|
426
430
|
"select__display-input": !0,
|
|
427
|
-
"select__display-input--hidden": (this.multiple || this.useTag) && !this.hasFocus && !
|
|
431
|
+
"select__display-input--hidden": (this.multiple || this.useTag) && !this.hasFocus && !u && !(this.open && this.inputBehavior === "filter"),
|
|
428
432
|
"select__display-input--large": this.size === "large",
|
|
429
433
|
"select__display-input--medium": this.size === "medium",
|
|
430
434
|
"select__display-input--small": this.size === "small"
|
|
431
|
-
})} type="text" placeholder=${
|
|
432
|
-
${S(
|
|
435
|
+
})} type="text" placeholder=${d ? "" : this.placeholder} .disabled=${this.disabled} ?readonly=${this.inputBehavior === "none" && !this.allowFreetext} .value=${this.displayLabel} autocomplete="off" spellcheck="false" autocapitalize="off" aria-controls="listbox" aria-expanded=${this.open ? "true" : "false"} aria-haspopup="listbox" aria-label=${x(o ? void 0 : this.dataset.label)} aria-labelledby=${x(o ? "label" : void 0)} aria-disabled=${this.disabled ? "true" : "false"} aria-describedby="help-text" role="combobox" tabindex="0" @focus=${this.handleFocus} @input=${this.handleInput} @blur=${this.handleBlur}></span><input class="select__value-input" type="text" ?disabled=${this.disabled} ?required=${this.required} .value=${Array.isArray(this.value) ? this.value.join(", ") : this.value} tabindex="-1" aria-hidden="true" @focus=${this.focus} @invalid=${this.handleInvalid}>${S(this.loading, () => e`<cx-spinner part="spinner" role="status" aria-live="polite"></cx-spinner>`)}
|
|
436
|
+
${S(c, () => e`<button part="clear-button" class="select__clear" type="button" aria-label=${this.localize.term("clearEntry")} @mousedown=${this.handleClearMouseDown} @click=${this.handleClearClick} tabindex="-1"><slot name="clear-icon"><cx-icon name="cancel"></cx-icon></slot></button>`)}<slot name="suffix" part="suffix" class="select__suffix"></slot>${this.noExpandIcon ? n : e`<slot name="expand-icon" part="expand-icon" class="select__expand-icon"><cx-icon name="arrow_drop_down"></cx-icon></slot>`}</div><div id="listbox" role="listbox" aria-expanded=${this.open ? "true" : "false"} ?hidden=${!this.open || this.disabled} aria-multiselectable=${this.multiple ? "true" : "false"} aria-label=${x(o ? void 0 : this.dataset.label)} aria-labelledby=${x(o ? "label" : void 0)} part="listbox" class=${v({
|
|
433
437
|
select__listbox: !0,
|
|
434
438
|
"select__listbox--has-footer": i
|
|
435
|
-
})} tabindex="-1" @mouseup=${this.handleOptionClick} @slotchange=${this.handleDefaultSlotChange}><div class="select__options"><slot></slot>${S(this.shouldShowNoOptionsMessage, () => e`<cx-typography variant="body3" class="select__no-options" role="option">${this.noOptionText}</cx-typography>`)}</div><div part="listbox-footer" class
|
|
439
|
+
})} tabindex="-1" @mouseup=${this.handleOptionClick} @slotchange=${this.handleDefaultSlotChange}><div class="select__options"><slot></slot>${S(this.shouldShowNoOptionsMessage, () => e`<cx-typography variant="body3" class="select__no-options" role="option">${this.noOptionText}</cx-typography>`)}</div><div part="listbox-footer" class=${v({
|
|
440
|
+
select__footer: !0,
|
|
441
|
+
"select__footer--separated": a
|
|
442
|
+
})}><slot name="footer"></slot></div></div></cx-popup></div><div part="form-control-help-text" id="help-text" class="form-control__help-text" aria-hidden=${s ? "false" : "true"}><slot name="help-text">${this.helpText}</slot></div></div>`;
|
|
436
443
|
}
|
|
437
444
|
};
|
|
438
445
|
a([c(".select"), o("design:type", l === void 0 ? Object : l)], B.prototype, "popup", void 0), a([c(".select__combobox"), o("design:type", typeof HTMLSlotElement > "u" ? Object : HTMLSlotElement)], B.prototype, "combobox", void 0), a([c(".select__display-input"), o("design:type", typeof HTMLInputElement > "u" ? Object : HTMLInputElement)], B.prototype, "displayInput", void 0), a([c(".select__value-input"), o("design:type", Object)], B.prototype, "valueInput", void 0), a([c(".select__listbox"), o("design:type", typeof HTMLSlotElement > "u" ? Object : HTMLSlotElement)], B.prototype, "listbox", void 0), a([c(".select__options"), o("design:type", typeof HTMLElement > "u" ? Object : HTMLElement)], B.prototype, "optionsContainer", void 0), a([i(), o("design:type", Object)], B.prototype, "hasFocus", void 0), a([i(), o("design:type", Object)], B.prototype, "displayLabel", void 0), a([i(), o("design:type", Object)], B.prototype, "currentOption", void 0), a([i(), o("design:type", Array)], B.prototype, "selectedOptions", void 0), a([r(), o("design:type", Object)], B.prototype, "name", void 0), a([r({ converter: {
|
|
@@ -6,7 +6,7 @@ import { t as c } from "./repeat.CKv9FPlC.js";
|
|
|
6
6
|
import { t as l } from "./input.C6fbxRuC.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.skJkmoUd.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) {
|
|
@@ -44,7 +44,7 @@ var b = t`:host{--_background-color:var(--background-color,var(--cx-color-neutra
|
|
|
44
44
|
t !== void 0 && t !== this.open && this.emit(this.open ? "cx-show" : "cx-hide");
|
|
45
45
|
}
|
|
46
46
|
handleDrag(e) {
|
|
47
|
-
this.resizable && (e.cancelable && e.preventDefault(), this.state = "dragging", v(this, {
|
|
47
|
+
this.resizable && this.open && (e.cancelable && e.preventDefault(), this.state = "dragging", v(this, {
|
|
48
48
|
initialEvent: e,
|
|
49
49
|
onMove: (e) => {
|
|
50
50
|
let t = e;
|
|
@@ -82,7 +82,7 @@ var b = t`:host{--_background-color:var(--background-color,var(--cx-color-neutra
|
|
|
82
82
|
"sidebar--close-trigger-end": this.closeTriggerPlacement === "end",
|
|
83
83
|
"sidebar--left": this.side === "left",
|
|
84
84
|
"sidebar--no-header": !t,
|
|
85
|
-
"sidebar--not-resizable": !this.resizable,
|
|
85
|
+
"sidebar--not-resizable": !this.resizable || !this.open,
|
|
86
86
|
"sidebar--opened": this.open,
|
|
87
87
|
"sidebar--right": this.side === "right"
|
|
88
88
|
})}><div class=${m({
|
|
@@ -11,7 +11,7 @@ import { t as m } from "./tooltip.CaAdk5m9.js";
|
|
|
11
11
|
import { t as h } from "./default-value.opqQgoRT.js";
|
|
12
12
|
import { t as g } from "./input.C6fbxRuC.js";
|
|
13
13
|
import { t as _ } from "./space.Dd8jezXK.js";
|
|
14
|
-
import { t as v } from "./select.
|
|
14
|
+
import { t as v } from "./select.BU4_Zp_n.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;
|
|
@@ -30,12 +30,12 @@ import "./menu-item.BotPBD7O.js";
|
|
|
30
30
|
import "./textarea.BQV58bk8.js";
|
|
31
31
|
import "./option.DXF1O3-h.js";
|
|
32
32
|
import "./space.Dd8jezXK.js";
|
|
33
|
-
import "./select.
|
|
33
|
+
import "./select.BU4_Zp_n.js";
|
|
34
34
|
import "./tab.BbIB084o.js";
|
|
35
35
|
import "./tab-group.Bj4mUm_k.js";
|
|
36
36
|
import "./tab-panel.BxeoKuSv.js";
|
|
37
37
|
import "./visually-hidden.Bv3SInZp.js";
|
|
38
|
-
import "./color-picker.
|
|
38
|
+
import "./color-picker.VzqG5t7K.js";
|
|
39
39
|
import "./copy-button.D4K7M_oK.js";
|
|
40
40
|
import "./date-calendar.QUer9O4E.js";
|
|
41
41
|
import "./details.tNVJTWTC.js";
|
|
@@ -52,8 +52,8 @@ import "./dot-status.BATg_Fn-.js";
|
|
|
52
52
|
import "./e-chart.CYtsjq1T.js";
|
|
53
53
|
import "./element-clamp.n_Lrq1kt.js";
|
|
54
54
|
import "../components/format-bytes.js";
|
|
55
|
-
import "../components/format-date.js";
|
|
56
55
|
import "../components/format-number.js";
|
|
56
|
+
import "../components/format-date.js";
|
|
57
57
|
import "./format-time.JhYL2G9j.js";
|
|
58
58
|
import "./grid.CK4PRwur.js";
|
|
59
59
|
import "./grid-item.CSieaU5T.js";
|
|
@@ -67,7 +67,7 @@ import "./markdown.C6AfbcBc.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.CfcHNNGZ.js";
|
|
71
71
|
import "./progress-ring.DAcWv9zS.js";
|
|
72
72
|
import "./qr-code.SwjFPrvB.js";
|
|
73
73
|
import "./radio.BmN7pFIX.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/asset-link-format.
|
|
1
|
+
import { t as e } from "../chunks/asset-link-format.BmITtYaD.js";
|
|
2
2
|
export { e as default };
|
|
@@ -8,7 +8,7 @@ import { t as c } from "../chunks/alert.BMbwDsmP.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.BlG-Kifa.js";
|
|
12
12
|
import { t as h } from "../chunks/button.cbOwOkfp.js";
|
|
13
13
|
import { t as g } from "../chunks/resize-observer.D9EHlnZI.js";
|
|
14
14
|
import { t as _ } from "../chunks/tooltip.CaAdk5m9.js";
|
|
@@ -32,12 +32,12 @@ import { t as P } from "../chunks/menu-item.BotPBD7O.js";
|
|
|
32
32
|
import { t as F } from "../chunks/textarea.BQV58bk8.js";
|
|
33
33
|
import { t as I } from "../chunks/option.DXF1O3-h.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.BU4_Zp_n.js";
|
|
36
36
|
import { t as z } from "../chunks/tab.BbIB084o.js";
|
|
37
37
|
import { t as B } from "../chunks/tab-group.Bj4mUm_k.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.VzqG5t7K.js";
|
|
41
41
|
import { t as W } from "../chunks/copy-button.D4K7M_oK.js";
|
|
42
42
|
import { t as G } from "../chunks/date-calendar.QUer9O4E.js";
|
|
43
43
|
import { t as K } from "../chunks/details.tNVJTWTC.js";
|
|
@@ -54,8 +54,8 @@ import { t as ne } from "../chunks/dot-status.BATg_Fn-.js";
|
|
|
54
54
|
import { t as re } from "../chunks/e-chart.CYtsjq1T.js";
|
|
55
55
|
import { t as ie } from "../chunks/element-clamp.n_Lrq1kt.js";
|
|
56
56
|
import ae from "./format-bytes.js";
|
|
57
|
-
import oe from "./format-
|
|
58
|
-
import se from "./format-
|
|
57
|
+
import oe from "./format-number.js";
|
|
58
|
+
import se from "./format-date.js";
|
|
59
59
|
import { t as ce } from "../chunks/format-time.JhYL2G9j.js";
|
|
60
60
|
import { t as le } from "../chunks/grid.CK4PRwur.js";
|
|
61
61
|
import { t as ue } from "../chunks/grid-item.CSieaU5T.js";
|
|
@@ -69,7 +69,7 @@ import { t as _e } from "../chunks/markdown.C6AfbcBc.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.CfcHNNGZ.js";
|
|
73
73
|
import { t as Se } from "../chunks/progress-ring.DAcWv9zS.js";
|
|
74
74
|
import { t as Ce } from "../chunks/qr-code.SwjFPrvB.js";
|
|
75
75
|
import { t as we } from "../chunks/radio.BmN7pFIX.js";
|
|
@@ -86,4 +86,4 @@ import { t as Pe } from "../chunks/switch.BuleQplE.js";
|
|
|
86
86
|
import { t as Fe } from "../chunks/timecode.B6JsxLxl.js";
|
|
87
87
|
import { a as Ie, i as Le } from "../chunks/tree.D_yv5J9e.js";
|
|
88
88
|
import { n as Re } from "../chunks/video.D07SfJEm.js";
|
|
89
|
-
export { c as CxAlert, l as CxAmChart, u as CxAnimatedImage, d as CxAnimation, b as CxArrayLineClamp, S as CxAudio, C as CxAvatar, w as CxBadge, T as CxBox, E as CxBreadcrumb, D as CxBreadcrumbItem, h as CxButton, O as CxButtonGroup, k as CxCard, A as CxCheckbox, U as CxColorPicker, W as CxCopyButton, G as CxDateCalendar, K as CxDetails, q as CxDialog, Y as CxDiff, J as CxDivider, Q as CxDocumentViewer, te as CxDotPagination, ne as CxDotStatus, X as CxDrawer, j as CxDropdown, re as CxEChart, ie as CxElementClamp, ae as CxFormatBytes,
|
|
89
|
+
export { c as CxAlert, l as CxAmChart, u as CxAnimatedImage, d as CxAnimation, b as CxArrayLineClamp, S as CxAudio, C as CxAvatar, w as CxBadge, T as CxBox, E as CxBreadcrumb, D as CxBreadcrumbItem, h as CxButton, O as CxButtonGroup, k as CxCard, A as CxCheckbox, U as CxColorPicker, W as CxCopyButton, G as CxDateCalendar, K as CxDetails, q as CxDialog, Y as CxDiff, J as CxDivider, Q as CxDocumentViewer, te as CxDotPagination, ne as CxDotStatus, X as CxDrawer, j as CxDropdown, re as CxEChart, ie as CxElementClamp, ae as CxFormatBytes, se as CxFormatDate, oe as CxFormatNumber, ce as CxFormatTime, le as CxGrid, ue as CxGridItem, de as CxHeader, fe as CxHubConnection, o as CxIcon, a as CxIconButton, pe as CxIframe, $ as CxImage, me as CxImageComparer, he as CxInclude, M as CxInput, ge as CxInputGroup, v as CxLineClamp, _e as CxMarkdown, N as CxMenu, P as CxMenuItem, ve as CxMenuLabel, ye as CxMenuSection, be as CxMutationObserver, I as CxOption, xe as CxPagination, e as CxPopup, Z as CxProgressBar, Se as CxProgressRing, Ce as CxQrCode, we as CxRadio, Te as CxRadioButton, Ee as CxRadioCard, De as CxRadioGroup, Oe as CxRange, ke as CxRating, Ae as CxRelativeTime, g as CxResizeObserver, R as CxSelect, ee as CxSkeleton, L as CxSpace, s as CxSpinner, je as CxSplitPanel, Me as CxStep, Ne as CxStepper, Pe as CxSwitch, z as CxTab, B as CxTabGroup, V as CxTabPanel, y as CxTag, F as CxTextarea, Fe as CxTimecode, _ as CxTooltip, Le as CxTree, Ie as CxTreeItem, x as CxTypography, Re as CxVideo, H as CxVisuallyHidden, t as componentStyles, m as fontAwesomeIconNames, i as getAnimation, f as getAnimationNames, p as getEasingNames, n as setAnimation, r as setDefaultAnimation };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/bicolor-picker.
|
|
1
|
+
import { t as e } from "../chunks/bicolor-picker.skJkmoUd.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.Ba-GRAjx.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.VzqG5t7K.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.kMkHmhiw.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.C7mPoW0O.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.CMKK0x3-.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.Vuq_z55i.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/folder-select.
|
|
1
|
+
import { t as e } from "../chunks/folder-select.DzBr3XOi.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { t as e } from "../chunks/bicolor-picker.
|
|
2
|
-
import { t } from "../chunks/border-input-group.
|
|
1
|
+
import { t as e } from "../chunks/bicolor-picker.skJkmoUd.js";
|
|
2
|
+
import { t } from "../chunks/border-input-group.Ba-GRAjx.js";
|
|
3
3
|
import { t as n } from "../chunks/color-swatch.Bf8fvLkg.js";
|
|
4
4
|
import { t as r } from "../chunks/confirm-popover.CWujDeV1.js";
|
|
5
|
-
import { t as i } from "../chunks/corner-position-input-group.
|
|
5
|
+
import { t as i } from "../chunks/corner-position-input-group.C7mPoW0O.js";
|
|
6
6
|
import { t as a } from "../chunks/cropper.D8Uu43xy.js";
|
|
7
|
-
import { t as o } from "../chunks/dynamic-select.
|
|
8
|
-
import { t as s } from "../chunks/folder-select.
|
|
7
|
+
import { t as o } from "../chunks/dynamic-select.CMKK0x3-.js";
|
|
8
|
+
import { t as s } from "../chunks/folder-select.DzBr3XOi.js";
|
|
9
9
|
import { t as c } from "../chunks/masonry.Bd2v23iE.js";
|
|
10
10
|
import { t as l } from "../chunks/padding-input-group.B8ph-5ls.js";
|
|
11
11
|
import { t as u } from "../chunks/position-picker.BSOusbGw.js";
|
|
12
|
-
import { t as d } from "../chunks/shadow-input-group.
|
|
12
|
+
import { t as d } from "../chunks/shadow-input-group.gRlvsMVd.js";
|
|
13
13
|
import { t as f } from "../chunks/share-option-list.B9Raz9GO.js";
|
|
14
|
-
import { t as p } from "../chunks/sidebar.
|
|
15
|
-
import { t as m } from "../chunks/size-input-group.
|
|
14
|
+
import { t as p } from "../chunks/sidebar.BXNfenxV.js";
|
|
15
|
+
import { t as m } from "../chunks/size-input-group.P_kaEj4l.js";
|
|
16
16
|
import { t as h } from "../chunks/stepper-wizard.CAzhXeYZ.js";
|
|
17
17
|
import { t as g } from "../chunks/typeface.J4nY7adt.js";
|
|
18
18
|
export { e as CxBicolorPicker, t as CxBorderInputGroup, n as CxColorSwatch, r as CxConfirmPopover, i as CxCornerPositionInputGroup, a as CxCropper, o as CxDynamicSelect, s as CxFolderSelect, c as CxMasonry, l as CxPaddingInputGroup, u as CxPositionPicker, d as CxShadowInputGroup, f as CxShareOptionList, p as CxSidebar, m as CxSizeInputGroup, h as CxStepperWizard, g as CxTypeface };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../chunks/asset-link-format.
|
|
2
|
-
import { t } from "../chunks/color-swatch-group.
|
|
3
|
-
import { t as n } from "../chunks/file-on-demand.
|
|
1
|
+
import { t as e } from "../chunks/asset-link-format.BmITtYaD.js";
|
|
2
|
+
import { t } from "../chunks/color-swatch-group.kMkHmhiw.js";
|
|
3
|
+
import { t as n } from "../chunks/file-on-demand.Vuq_z55i.js";
|
|
4
4
|
export { e as CxAssetLinkFormat, t as CxColorSwatchGroup, n as CxFileOnDemand };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/pagination.
|
|
1
|
+
import { t as e } from "../chunks/pagination.CfcHNNGZ.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/select.
|
|
1
|
+
import { t as e } from "../chunks/select.BU4_Zp_n.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/shadow-input-group.
|
|
1
|
+
import { t as e } from "../chunks/shadow-input-group.gRlvsMVd.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/sidebar.
|
|
1
|
+
import { t as e } from "../chunks/sidebar.BXNfenxV.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/size-input-group.
|
|
1
|
+
import { t as e } from "../chunks/size-input-group.P_kaEj4l.js";
|
|
2
2
|
export { e as default };
|
|
@@ -24,7 +24,7 @@ import { t as de } from "../chunks/alert.BMbwDsmP.js";
|
|
|
24
24
|
import { t as fe } from "../chunks/am-chart.COOKOvT1.js";
|
|
25
25
|
import { t as I } from "../chunks/animated-image.w6VdagCh.js";
|
|
26
26
|
import { t as pe } from "../chunks/animation.CRLxJUWm.js";
|
|
27
|
-
import { n as me, r as he, t as ge } from "../chunks/src.
|
|
27
|
+
import { n as me, r as he, t as ge } from "../chunks/src.BlG-Kifa.js";
|
|
28
28
|
import { t as _e } from "../chunks/style-map.DPGQIxip.js";
|
|
29
29
|
import { a as ve, c as ye, d as be, i as xe, l as Se, n as Ce, o as we, r as Te, s as Ee, t as De, u as Oe } from "../chunks/browser.gIznFIix.js";
|
|
30
30
|
import { t as ke } from "../chunks/debounce.Ci-xdsHE.js";
|
|
@@ -38,7 +38,7 @@ import { t as Nt } from "../chunks/tooltip.CaAdk5m9.js";
|
|
|
38
38
|
import { t as Pt } from "../chunks/line-clamp.C8G30nOV.js";
|
|
39
39
|
import { t as Ft } from "../chunks/tag.3vLG7AWG.js";
|
|
40
40
|
import { t as It } from "../chunks/array-line-clamp.Bl0fIoAD.js";
|
|
41
|
-
import { C as Lt, S as Rt, _ as zt, b as Bt, g as Vt, h as Ht, o as Ut, r as Wt, s as Gt, t as Kt, v as qt, w as Jt, x as Yt, y as Xt } from "../chunks/block-width.
|
|
41
|
+
import { C as Lt, S as Rt, _ as zt, b as Bt, g as Vt, h as Ht, o as Ut, r as Wt, s as Gt, t as Kt, v as qt, w as Jt, x as Yt, y as Xt } from "../chunks/block-width.DKfE_VQE.js";
|
|
42
42
|
import { n as Zt, t as Qt } from "../chunks/position-picker.dY_vgF_H.js";
|
|
43
43
|
import { a as $t, i as en, n as tn, o as nn, r as rn, s as an, t as on } from "../chunks/src.BJhIYoMP.js";
|
|
44
44
|
import { a as sn, c as cn, i as ln, n as un, o as dn, r as fn, t as pn, u as mn } from "../chunks/time.p1t0NCwj.js";
|
|
@@ -75,7 +75,7 @@ import { t as Cr } from "../chunks/space.Dd8jezXK.js";
|
|
|
75
75
|
import { i as wr, n as Tr, r as Er, t as Dr } from "../chunks/scroll.CEH_a4pm.js";
|
|
76
76
|
import { t as Or } from "../chunks/user-agent.D2bRhUeS.js";
|
|
77
77
|
import { t as kr } from "../chunks/unsafe-html.Cb838aX7.js";
|
|
78
|
-
import { t as Ar } from "../chunks/select.
|
|
78
|
+
import { t as Ar } from "../chunks/select.BU4_Zp_n.js";
|
|
79
79
|
import { t as jr } from "../chunks/tab.BbIB084o.js";
|
|
80
80
|
import { a as Mr, i as Nr, n as Pr, r as Fr, t as Ir } from "../chunks/tab-group.Bj4mUm_k.js";
|
|
81
81
|
import { t as Lr } from "../chunks/parse.CDrJ-NY7.js";
|
|
@@ -83,7 +83,7 @@ import { t as Rr } from "../chunks/guard.Cf17k6Vx.js";
|
|
|
83
83
|
import { t as zr } from "../chunks/map.ByDuLduF.js";
|
|
84
84
|
import { t as Br } from "../chunks/tab-panel.BxeoKuSv.js";
|
|
85
85
|
import { t as Vr } from "../chunks/visually-hidden.Bv3SInZp.js";
|
|
86
|
-
import { t as Hr } from "../chunks/color-picker.
|
|
86
|
+
import { t as Hr } from "../chunks/color-picker.VzqG5t7K.js";
|
|
87
87
|
import { t as Ur } from "../chunks/copy-button.D4K7M_oK.js";
|
|
88
88
|
import { C as Wr, S as Gr, _ as Kr, a as qr, b as Jr, c as Yr, d as Xr, f as Zr, g as Qr, h as $r, i as ei, l as ti, m as ni, n as ri, o as ii, p as ai, r as oi, s as si, t as ci, u as li, v as ui, x as di, y as fi } from "../chunks/date.kywrEgxd.js";
|
|
89
89
|
import { $ as pi, A as mi, B as hi, C as gi, D as _i, E as vi, F as yi, G as bi, H as xi, I as Si, J as Ci, K as wi, L as Ti, M as Ei, N as Di, O as Oi, P as ki, Q as Ai, R as ji, S as Mi, T as Ni, U as Pi, V as Fi, W as Ii, X as Li, Y as Ri, Z as zi, _ as Bi, a as Vi, at as Hi, b as Ui, c as Wi, ct as Gi, d as Ki, dt as qi, et as Ji, f as Yi, ft as Xi, g as Zi, h as Qi, ht as $i, i as ea, it as ta, j as na, k as ra, l as ia, lt as aa, m as oa, mt as sa, n as ca, nt as la, o as ua, ot as da, p as fa, pt as pa, q as ma, r as ha, rt as ga, s as _a, st as va, t as ya, tt as ba, u as xa, ut as Sa, v as Ca, w as wa, x as Ta, y as Ea, z as Da } from "../chunks/src.Bs5rZ16K.js";
|
|
@@ -112,8 +112,8 @@ import { t as Uo } from "../chunks/dot-status.BATg_Fn-.js";
|
|
|
112
112
|
import { t as Wo } from "../chunks/e-chart.CYtsjq1T.js";
|
|
113
113
|
import { t as Go } from "../chunks/element-clamp.n_Lrq1kt.js";
|
|
114
114
|
import Ko from "./format-bytes.js";
|
|
115
|
-
import qo from "./format-
|
|
116
|
-
import Jo from "./format-
|
|
115
|
+
import qo from "./format-number.js";
|
|
116
|
+
import Jo from "./format-date.js";
|
|
117
117
|
import { t as Yo } from "../chunks/format-time.JhYL2G9j.js";
|
|
118
118
|
import { t as Xo } from "../chunks/grid.CK4PRwur.js";
|
|
119
119
|
import { t as Zo } from "../chunks/grid-item.CSieaU5T.js";
|
|
@@ -127,7 +127,7 @@ import { a as cs, i as ls, n as us, o as ds, r as fs, t as ps } from "../chunks/
|
|
|
127
127
|
import { t as ms } from "../chunks/menu-label.B-FOyfAX.js";
|
|
128
128
|
import { t as hs } from "../chunks/menu-section.BzzA6L5E.js";
|
|
129
129
|
import { t as gs } from "../chunks/mutation-observer.CD5prBIP.js";
|
|
130
|
-
import { t as _s } from "../chunks/pagination.
|
|
130
|
+
import { t as _s } from "../chunks/pagination.CfcHNNGZ.js";
|
|
131
131
|
import { t as vs } from "../chunks/progress-ring.DAcWv9zS.js";
|
|
132
132
|
import { t as ys } from "../chunks/qr-code.SwjFPrvB.js";
|
|
133
133
|
import { t as bs } from "../chunks/radio.BmN7pFIX.js";
|
|
@@ -145,33 +145,33 @@ import { t as js } from "../chunks/timecode.B6JsxLxl.js";
|
|
|
145
145
|
import { a as Ms, i as Ns, o as Ps } from "../chunks/tree.D_yv5J9e.js";
|
|
146
146
|
import { t as Fs } from "../chunks/v4.JyXW8GUB.js";
|
|
147
147
|
import { n as Is, t as Ls } from "../chunks/video.D07SfJEm.js";
|
|
148
|
-
import { t as Rs } from "../chunks/bicolor-picker.
|
|
149
|
-
import { t as zs } from "../chunks/border-input-group.
|
|
148
|
+
import { t as Rs } from "../chunks/bicolor-picker.skJkmoUd.js";
|
|
149
|
+
import { t as zs } from "../chunks/border-input-group.Ba-GRAjx.js";
|
|
150
150
|
import { t as Bs } from "../chunks/color-swatch.Bf8fvLkg.js";
|
|
151
151
|
import { t as Vs } from "../chunks/confirm-popover.CWujDeV1.js";
|
|
152
|
-
import { t as Hs } from "../chunks/corner-position-input-group.
|
|
152
|
+
import { t as Hs } from "../chunks/corner-position-input-group.C7mPoW0O.js";
|
|
153
153
|
import { t as Us } from "../chunks/cropper.D8Uu43xy.js";
|
|
154
154
|
import { t as Ws } from "../chunks/toNumber.BBjIwSoo.js";
|
|
155
155
|
import { t as Gs } from "../chunks/debounce.DrhImrNP.js";
|
|
156
|
-
import { t as Ks } from "../chunks/dynamic-select.
|
|
156
|
+
import { t as Ks } from "../chunks/dynamic-select.CMKK0x3-.js";
|
|
157
157
|
import { a as qs, p as Js, t as Ys } from "../chunks/string-array.F2GuxHp0.js";
|
|
158
|
-
import { t as Xs } from "../chunks/folder-select.
|
|
158
|
+
import { t as Xs } from "../chunks/folder-select.DzBr3XOi.js";
|
|
159
159
|
import { t as Zs } from "../chunks/choose.C2vpqhLc.js";
|
|
160
160
|
import { t as Qs } from "../chunks/masonry.Bd2v23iE.js";
|
|
161
161
|
import { t as $s } from "../chunks/padding-input-group.B8ph-5ls.js";
|
|
162
162
|
import { t as ec } from "../chunks/position-picker.BSOusbGw.js";
|
|
163
|
-
import { t as tc } from "../chunks/shadow-input-group.
|
|
163
|
+
import { t as tc } from "../chunks/shadow-input-group.gRlvsMVd.js";
|
|
164
164
|
import { t as nc } from "../chunks/share-option-list.B9Raz9GO.js";
|
|
165
|
-
import { t as rc } from "../chunks/sidebar.
|
|
166
|
-
import { t as ic } from "../chunks/size-input-group.
|
|
165
|
+
import { t as rc } from "../chunks/sidebar.BXNfenxV.js";
|
|
166
|
+
import { t as ic } from "../chunks/size-input-group.P_kaEj4l.js";
|
|
167
167
|
import { t as ac } from "../chunks/stepper-wizard.CAzhXeYZ.js";
|
|
168
168
|
import { t as oc } from "../chunks/typeface.J4nY7adt.js";
|
|
169
|
-
import { T as sc, _ as cc, a as lc, b as uc, c as dc, d as fc, l as pc, m as mc, n as hc, o as gc, r as _c, s as vc, t as yc, v as bc } from "../chunks/asset-link-format.
|
|
170
|
-
import { c as xc, h as Sc, l as Cc, m as wc, p as Tc, t as eee, u as Ec } from "../chunks/color-swatch-group.
|
|
169
|
+
import { T as sc, _ as cc, a as lc, b as uc, c as dc, d as fc, l as pc, m as mc, n as hc, o as gc, r as _c, s as vc, t as yc, v as bc } from "../chunks/asset-link-format.BmITtYaD.js";
|
|
170
|
+
import { c as xc, h as Sc, l as Cc, m as wc, p as Tc, t as eee, u as Ec } from "../chunks/color-swatch-group.kMkHmhiw.js";
|
|
171
171
|
import { n as tee } from "../chunks/isArrayLikeObject.Da3IzQeH.js";
|
|
172
|
-
import { t as nee } from "../chunks/file-on-demand.
|
|
172
|
+
import { t as nee } from "../chunks/file-on-demand.Vuq_z55i.js";
|
|
173
173
|
import "../events.js";
|
|
174
|
-
import { A as Dc, B as Oc, C as kc, D as Ac, E as jc, F as ree, G as iee, H as aee, I as Mc, J as oee, K as see, L as cee, M as lee, N as Nc, R as Pc, S as Fc, U as Ic, V as Lc, W as Rc, a as zc, b as Bc, c as Vc, d as Hc, dt as Uc, f as Wc, ft as Gc, g as Kc, h as qc, i as Jc, it as uee, j as dee, k as fee, lt as Yc, m as pee, mt as mee, nt as Xc, o as Zc, p as Qc, pt as $c, q as hee, r as gee, rt as _ee, s as el, t as tl, tt as vee, u as nl, ut as rl, y as il, z as al } from "../chunks/configs-controller.
|
|
174
|
+
import { A as Dc, B as Oc, C as kc, D as Ac, E as jc, F as ree, G as iee, H as aee, I as Mc, J as oee, K as see, L as cee, M as lee, N as Nc, R as Pc, S as Fc, U as Ic, V as Lc, W as Rc, a as zc, b as Bc, c as Vc, d as Hc, dt as Uc, f as Wc, ft as Gc, g as Kc, h as qc, i as Jc, it as uee, j as dee, k as fee, lt as Yc, m as pee, mt as mee, nt as Xc, o as Zc, p as Qc, pt as $c, q as hee, r as gee, rt as _ee, s as el, t as tl, tt as vee, u as nl, ut as rl, y as il, z as al } from "../chunks/configs-controller.AIDqz286.js";
|
|
175
175
|
import { i as ol } from "../chunks/timer.M6Aa3L_j.js";
|
|
176
176
|
import { a as sl, c as cl, d as ll, f as ul, i as dl, l as fl, n as pl, o as ml, r as hl, s as gl, t as _l, u as vl } from "../chunks/src.CLGAM3OO.js";
|
|
177
177
|
import { t as yl } from "../chunks/value.C4_tUrAq.js";
|
|
@@ -28229,7 +28229,7 @@ var jO = AO, MO = /* @__PURE__ */ function(e) {
|
|
|
28229
28229
|
static #t = this.dependencies = {
|
|
28230
28230
|
"cx-card": Wn,
|
|
28231
28231
|
"cx-format-bytes": Ko,
|
|
28232
|
-
"cx-format-number":
|
|
28232
|
+
"cx-format-number": qo,
|
|
28233
28233
|
"cx-format-time": Yo,
|
|
28234
28234
|
"cx-icon": le,
|
|
28235
28235
|
"cx-space": Cr,
|
|
@@ -40759,7 +40759,7 @@ var Wme = tR, nR = class extends d {
|
|
|
40759
40759
|
"cx-button": je,
|
|
40760
40760
|
"cx-cluster-management-service": Wme,
|
|
40761
40761
|
"cx-dialog": Aa,
|
|
40762
|
-
"cx-format-date":
|
|
40762
|
+
"cx-format-date": Jo,
|
|
40763
40763
|
"cx-icon": le,
|
|
40764
40764
|
"cx-icon-button": N,
|
|
40765
40765
|
"cx-spinner": ue
|
|
@@ -40832,7 +40832,7 @@ var Wme = tR, nR = class extends d {
|
|
|
40832
40832
|
<cx-format-date class="status__date" year="numeric" month="numeric" day="numeric" hour="numeric" minute="numeric" second="numeric"></cx-format-date><cx-icon-button label=${this.localize.term("refresh")} part="status__refresh-button" class="status__refresh-button" name="refresh" @click=${this.refreshStatus}></cx-icon-button><cx-spinner part="status__refresh-spinner" class="status__refresh-spinner"></cx-spinner></div></div>`;
|
|
40833
40833
|
}
|
|
40834
40834
|
};
|
|
40835
|
-
l([p(".dialog"), u("design:type", Aa === void 0 ? Object : Aa)], nR.prototype, "dialog", void 0), l([p(".status__date"), u("design:type",
|
|
40835
|
+
l([p(".dialog"), u("design:type", Aa === void 0 ? Object : Aa)], nR.prototype, "dialog", void 0), l([p(".status__date"), u("design:type", Jo === void 0 ? Object : Jo)], nR.prototype, "refreshDate", void 0), l([c(), u("design:type", String)], nR.prototype, "_status", void 0), l([c(), u("design:type", Object)], nR.prototype, "_isRefreshing", void 0), l([c(), u("design:type", Object)], nR.prototype, "errorObject", void 0), l([c(), u("design:type", Object)], nR.prototype, "clusterData", void 0), l([c(), u("design:type", typeof Record > "u" ? Object : Record)], nR.prototype, "sliderDesiredCount", void 0), l([c(), u("design:type", Object)], nR.prototype, "confirmCount", void 0), l([s({
|
|
40836
40836
|
attribute: "refresh-interval",
|
|
40837
40837
|
type: Number
|
|
40838
40838
|
}), u("design:type", Object)], nR.prototype, "refreshInterval", void 0), l([s({ attribute: "get-cluster-data" }), u("design:type", Object)], nR.prototype, "getClusterData", void 0), l([s({ attribute: "update-service" }), u("design:type", Object)], nR.prototype, "updateService", void 0), l([s({ attribute: "clean-up" }), u("design:type", Function)], nR.prototype, "cleanUp", void 0), l([s({
|
|
@@ -95366,7 +95366,7 @@ var z6 = class extends d {
|
|
|
95366
95366
|
return this.mappedSupportedLanguages.length > 1;
|
|
95367
95367
|
}
|
|
95368
95368
|
ensureConfigUi() {
|
|
95369
|
-
return this.configUiPromise ??= Promise.all([import("../chunks/config-manager.
|
|
95369
|
+
return this.configUiPromise ??= Promise.all([import("../chunks/config-manager.C7trh0mp.js"), import("../chunks/configs-controller.AIDqz286.js").then((e) => e.n)]).then(async ([, e]) => {
|
|
95370
95370
|
this.configsController ??= new e.default(this.localize), await customElements.whenDefined("cx-config-manager"), await this.configManager?.updateComplete;
|
|
95371
95371
|
});
|
|
95372
95372
|
}
|
|
@@ -114675,4 +114675,4 @@ l([s({ type: String }), u("design:type", Object)], $9.prototype, "value", void 0
|
|
|
114675
114675
|
], $9.prototype, "handleValueChange", null), $9 = Q9 = l([w("cx-xml-editor")], $9);
|
|
114676
114676
|
var RNe = $9;
|
|
114677
114677
|
//#endregion
|
|
114678
|
-
export { _a as AUTO_FALLBACK_FORMAT, Wi as AUTO_FORMAT_EXTENSION, ia as AUTO_ORIGINAL_FORMAT_MAX_BYTES, fo as CMYK_VALIDATION_REGEX, li as CalendarGrid, oo as ColorType, on as CornerPosition, d as CortexElement, pi as CortexPopupController, Mee as Cx3dViewer, de as CxAlert, fe as CxAmChart, I as CxAnimatedImage, pe as CxAnimation, Gu as CxAnnotator, Nue as CxAnnotatorComment, It as CxArrayLineClamp, Ju as CxAssetDataDisplay, zt as CxAssetFormatPicker, yc as CxAssetLinkFormat, Rt as CxAssetPicker, Vt as CxAssetTransformationDialog, Ln as CxAudio, Rn as CxAvatar, zn as CxBadge, Zue as CxBentoGrid, Rs as CxBicolorPicker, zs as CxBorderInputGroup, Bn as CxBox, Vn as CxBreadcrumb, Hn as CxBreadcrumbItem, je as CxButton, Un as CxButtonGroup, fde as CxCapacityPlanner, Wn as CxCard, uP as CxCarousel, Vme as CxChartPlanBuilder, Mme as CxChatbot, Gn as CxCheckbox, Gme as CxClusterManagement, Hr as CxColorPicker, Bs as CxColorSwatch, eee as CxColorSwatchGroup, mN as CxComment, aR as CxCommentV1, Vs as CxConfirmPopover, FOe as CxContentBuilder, GOe as CxContentBuilderViewer, Ur as CxCopyButton, Hs as CxCornerPositionInputGroup, Us as CxCropper, Ut as CxDamCustomToolbarButtonsEditor, Fue as CxDashboardFilter, Jee as CxDashboardIframe, Bue as CxDashboardTable, Xee as CxDataTabGroup, Oa as CxDateCalendar, ka as CxDetails, Qee as CxDetailsGroup, Aa as CxDialog, Na as CxDiff, Ma as CxDivider, tte as CxDocsExample, La as CxDocumentViewer, Ho as CxDotPagination, Uo as CxDotStatus, Yt as CxDownloadFormatPicker, wAe as CxDownloader, Fa as CxDrawer, lr as CxDropdown, Ks as CxDynamicSelect, Wo as CxEChart, Go as CxElementClamp, ate as CxEstimatedReadingTime, ud as CxFacetDatePicker, gd as CxFacetDateRange, Tc as CxFacetedFilter, xd as CxFacetedFilterFacet, nee as CxFileOnDemand, EAe as CxFindAndReplace, Xs as CxFolderSelect, Bt as CxFontPicker, Ko as CxFormatBytes,
|
|
114678
|
+
export { _a as AUTO_FALLBACK_FORMAT, Wi as AUTO_FORMAT_EXTENSION, ia as AUTO_ORIGINAL_FORMAT_MAX_BYTES, fo as CMYK_VALIDATION_REGEX, li as CalendarGrid, oo as ColorType, on as CornerPosition, d as CortexElement, pi as CortexPopupController, Mee as Cx3dViewer, de as CxAlert, fe as CxAmChart, I as CxAnimatedImage, pe as CxAnimation, Gu as CxAnnotator, Nue as CxAnnotatorComment, It as CxArrayLineClamp, Ju as CxAssetDataDisplay, zt as CxAssetFormatPicker, yc as CxAssetLinkFormat, Rt as CxAssetPicker, Vt as CxAssetTransformationDialog, Ln as CxAudio, Rn as CxAvatar, zn as CxBadge, Zue as CxBentoGrid, Rs as CxBicolorPicker, zs as CxBorderInputGroup, Bn as CxBox, Vn as CxBreadcrumb, Hn as CxBreadcrumbItem, je as CxButton, Un as CxButtonGroup, fde as CxCapacityPlanner, Wn as CxCard, uP as CxCarousel, Vme as CxChartPlanBuilder, Mme as CxChatbot, Gn as CxCheckbox, Gme as CxClusterManagement, Hr as CxColorPicker, Bs as CxColorSwatch, eee as CxColorSwatchGroup, mN as CxComment, aR as CxCommentV1, Vs as CxConfirmPopover, FOe as CxContentBuilder, GOe as CxContentBuilderViewer, Ur as CxCopyButton, Hs as CxCornerPositionInputGroup, Us as CxCropper, Ut as CxDamCustomToolbarButtonsEditor, Fue as CxDashboardFilter, Jee as CxDashboardIframe, Bue as CxDashboardTable, Xee as CxDataTabGroup, Oa as CxDateCalendar, ka as CxDetails, Qee as CxDetailsGroup, Aa as CxDialog, Na as CxDiff, Ma as CxDivider, tte as CxDocsExample, La as CxDocumentViewer, Ho as CxDotPagination, Uo as CxDotStatus, Yt as CxDownloadFormatPicker, wAe as CxDownloader, Fa as CxDrawer, lr as CxDropdown, Ks as CxDynamicSelect, Wo as CxEChart, Go as CxElementClamp, ate as CxEstimatedReadingTime, ud as CxFacetDatePicker, gd as CxFacetDateRange, Tc as CxFacetedFilter, xd as CxFacetedFilterFacet, nee as CxFileOnDemand, EAe as CxFindAndReplace, Xs as CxFolderSelect, Bt as CxFontPicker, Ko as CxFormatBytes, Jo as CxFormatDate, qo as CxFormatNumber, Yo as CxFormatTime, Td as CxGalleryItem, Xg as CxGraphView, Xo as CxGrid, Zo as CxGridItem, Qo as CxHeader, ts as CxHubConnection, le as CxIcon, N as CxIconButton, Xt as CxIconPicker, rs as CxIframe, Ro as CxImage, is as CxImageComparer, as as CxInclude, mr as CxInput, sd as CxInputDatePicker, pd as CxInputDateRangePicker, ss as CxInputGroup, OAe as CxLightbox, Pt as CxLineClamp, Gt as CxListEditor, ps as CxMarkdown, rO as CxMarkdownViewer, Qs as CxMasonry, sO as CxMentions, hr as CxMenu, vr as CxMenuItem, ms as CxMenuLabel, hs as CxMenuSection, Cc as CxMultiSelect, gs as CxMutationObserver, Sr as CxOption, $s as CxPaddingInputGroup, dO as CxPageOutline, _s as CxPagination, DO as CxPdfViewerToolbar, g as CxPopup, ec as CxPositionPicker, Ia as CxProgressBar, vs as CxProgressRing, jO as CxPublishPage, ys as CxQrCode, bs as CxRadio, xs as CxRadioButton, Ss as CxRadioCard, Cs as CxRadioGroup, ws as CxRange, Ts as CxRating, Es as CxRelativeTime, Mt as CxResizeObserver, uMe as CxSearchBox, aMe as CxSearchFacets, Ar as CxSelect, tc as CxShadowInputGroup, nc as CxShareOptionList, rc as CxSidebar, ic as CxSizeInputGroup, Bo as CxSkeleton, Cr as CxSpace, fMe as CxSpaceSelector, W2 as CxSpecialCharactersDialog, ue as CxSpinner, Ds as CxSplitPanel, LO as CxStatCard, Os as CxStep, ks as CxStepper, ac as CxStepperWizard, KO as CxStorybook, As as CxSwitch, jr as CxTab, Ir as CxTabGroup, Br as CxTabPanel, Ft as CxTag, yMe as CxTemplateSwitcher, TNe as CxTextToSpeech, xr as CxTextarea, js as CxTimecode, Nt as CxTooltip, Ns as CxTree, Ms as CxTreeItem, qt as CxTypeSubtypeSelect, oc as CxTypeface, In as CxTypography, Is as CxVideo, XO as CxViewAndSort, Vr as CxVisuallyHidden, RNe as CxXmlEditor, Eo as DEFAULT_BREAKPOINTS, ci as DateRangePresets, Ai as DragScroll, tn as Easing, rn as EasingFunction, jt as FormControlController, en as GsapEasing, lo as HEX_ALPHA_VALIDATION_REGEX, ro as HEX_VALIDATION_REGEX, A as HasSlotController, Ti as HistoryManager, Jt as IconPickerVariant, Si as KeyboardKey, E as LocalizeController, nr as MIN_GRADIENT_STOPS, Qt as OBJECT_POSITION_BY_CROP_FOCUS, xa as ORIGINAL_FORMAT, $t as ObjectFit, nn as Orientation, ya as PRECISION, Zt as PositionPickerValue, Xa as RELATIVE_URL_REGEX, Qa as RGB_VALIDATION_REGEX, Ki as SRCSET_WIDTH_LADDER, an as TransitionType, Ga as URL_DOMAIN_VALIDATION_REGEX, Ja as URL_INTRANET_DOMAIN_VALIDATION_REGEX, Ha as URL_PROTOCOL_VALIDATION_REGEX, Ra as URL_VALIDATION_REGEX, cr as activeElements, Xr as addMonths, Ji as adjustRelativeValues, b as animateTo, Ka as appendProtocol, Ya as appendQueryParam, Yi as applyTransformationsToUrl, fa as applyWidthToAssetUrl, oa as buildAssetSrcset, Zr as buildLocalDate, Qi as buildSizesFromDisplayWidth, Zi as buildTransformationString, Pn as buildWaveformPath, Mn as calculateAspectRatioFit, ar as clamp, On as cleanImageFileName, pn as clearZeroDurationParts, _ as componentStyles, so as convertColor, Cn as convertDataUnits, yn as convertDurationToMilliseconds, xn as convertPixelsToAspectRatio, An as convertSrcToBlob, Qn as createStopId, En as cropImage, wt as cssValueToPx, w as customElement, Ot as customErrorValidityState, ke as debounce, Kn as defaultValue, Sa as downloadAsset, rr as drag, ot as emptyToSpace, tt as escapeXML, uo as extractColor, it as extractExtension, ca as extractFrames, Ze as extractRootData, _n as extractValueAndUnit, Nn as extractWaveformPeaks, Li as fetchCortexApi, De as findAncestorWithBuggyStyle, Ce as findContainingBlock, Te as findCuttingAncestor, ha as findFrameByColAndRow, ba as findIndexByProp, We as findSearchMatches, ur as focusWhenVisible, nt as foldSearchText, ge as fontAwesomeIconNames, At as formCollections, hn as formatAspectRatioString, $a as formatColorCodeSeparator, un as formatDurationPartsManually, io as formatHexCode, ai as formatIsoToDisplay, ni as formatMonthYearLabel, bn as formatNumberWithGrouping, at as formatSecondsToTime, Ke as formatTimeToSeconds, fn as formatWithIntlDurationFormat, Sn as gcd, yt as getActiveElement, ja as getActiveModals, ae as getAnimation, me as getAnimationNames, Dt as getAssociatedForm, St as getAttributes, $e as getAttributesString, So as getBreakpointsFromCSS, Fi as getBrowserFontVariants, po as getColorType, wn as getContainedImageSize, _t as getCortexPopupLayer, ft as getCurrentZIndex, $r as getDateMask, sr as getDeepestActiveElement, wo as getDeviceType, ln as getDurationPartsByUnitsFormat, he as getEasingNames, bt as getElementFromHTMLString, Ct as getElementFromTemplate, Qr as getFirstDayOfWeek, xi as getFontFamilyOptionValue, Pi as getFontFamilyVariants, ji as getFormControls, Ao as getHighlightedTitle, ko as getHighlightedTitleHtml, O as getInnerHTML, ea as getInterval, eo as getLightDarkCssString, kn as getNaturalWidthHeight, pt as getNeededPaddingForBoxShadow, xe as getNextAncestor, wr as getOffset, vt as getRelativeClickPercentage, st as getRootIDString, fr as getTabbableBoundary, dr as getTabbableElements, k as getTextContent, Kr as getTodayIsoDate, Ii as getTypefaceOptionValue, la as groupBy, Bi as hasTransformSegment, qe as htmlToPlainText, ga as insertAtIndex, Vi as insertFrameToCache, ta as insertMultipleAtIndex, er as interpolateStopColor, ve as isChrome, Or as isCortexAdobePlugin, Tt as isDomElement, mt as isElementInHorizontalView, za as isExpiredAssetUrl, we as isFirefox, bi as isFontFamilyAvailable, Da as isFormInteracted, Je as isGalleryItemCardType, Xn as isGradientString, Ee as isIOS, ht as isInElement, ye as isMacOs, zi as isModKey, Se as isSafari, jn as isSaveSrcValid, Ua as isValidDomainOrIntranetUrl, ui as isValidIsoDate, Za as isValidUrl, fi as isoToDate, $i as isoWeekNumber, xt as loadScript, Dr as lockBodyScrolling, to as luminanceTextColor, Hi as moveMultipleToIndex, da as moveToIndex, va as multiSelectTo, Jn as normalizeAngle, Jr as normalizeToIsoDate, Ei as omit, qi as openAssetOverview, Xi as openFolderOverview, pa as openLink, rt as padPath, et as parseBooleanString, co as parseBorder, di as parseDisplayToIso, S as parseDuration, Ca as parseFileSizeToBytes, $n as parseGradient, Gr as parseIsoDate, Di as parseJsonString, ao as parseLightDark, ki as parseListString, no as parseShadow, Ea as parseTransformations, yi as pick, Oe as popoverSupported, y as prefersReducedMotion, ir as quantizeLargestRemainder, wi as quoteFontFamily, Ba as readAssetTokenExpiry, mi as readLocalStorageValue, z as readSearchConsistency, Xe as reducePathToDirectChild, T as registerTranslation, Gi as removeAtIndex, aa as removeMultipleAtIndex, Tn as resizeImage, Ui as resolveAutoFormat, Ta as resolveAutoMaxWidth, Va as resolveSpaceUrl, gn as rotateBox, Dn as rotateImage, Ye as safeExtension, Ue as safeString, ct as sanitizeHTML, vn as sanitizeRotation, Tr as scrollIntoView, ua as seek, hi as serialize, tr as serializeGradient, re as setAnimation, ie as setDefaultAnimation, sa as shareAsset, v as shimKeyframesHeightAuto, gt as sortByTopPosition, Yn as sortStops, ma as sortTypefaceVariants, Lr as splitBoxValues, dt as splitCamelCaseFormatted, Zn as splitTopLevel, x as stopAnimations, be as supportHLS, Ci as testFontAvailability, mo as timecodeConverter, Ge as toCamelCase, Wr as toIsoDate, ut as toKebabCase, Ve as toPascalCase, qa as toRelativeUrl, Le as toTitleCase, Wa as toUrlPathKey, ra as toast, lt as truncateTextMiddle, He as unescapeXML, Er as unlockBodyScrolling, Ri as unquoteFontFamily, ze as upperFirst, Et as validValidityState, kt as valueMissingValidityState, C as waitForEvent, j as watch, na as writeLocalStorageValue };
|
package/library/package.json
CHANGED
|
@@ -12,11 +12,13 @@ import { default as CxTag } from '../tag/tag';
|
|
|
12
12
|
* @slot - The listbox options. Can be any HTML element, nested or not, as long as they have role="option".
|
|
13
13
|
* However, default logic supports only `<cx-option>` elements. Make sure to override the default logic. See region Overridable.
|
|
14
14
|
* You can use `<cx-divider>` to group items visually.
|
|
15
|
-
* @slot footer - Options pinned at the bottom of the listbox, below a separator line.
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
15
|
+
* @slot footer - Options pinned at the bottom of the listbox, below a separator line. The line is only drawn while an
|
|
16
|
+
* option is visible both above it and in the footer, so it is gone when a search hides every other option or
|
|
17
|
+
* every footer option. Footer options stay visible while the other options scroll above them and come last in
|
|
18
|
+
* keyboard order. They are selected, filtered and emitted like any other option. Set `slot="footer"` on each
|
|
19
|
+
* `<cx-option>` itself, not on a wrapper. Do not add a `<cx-divider>`: the line is drawn for you, and a
|
|
20
|
+
* `separator` role is not allowed inside a listbox. Buttons and other controls are not supported either,
|
|
21
|
+
* because the footer is part of the listbox.
|
|
20
22
|
* @slot label - The input's label. Alternatively, you can use the `label` attribute.
|
|
21
23
|
* @slot prefix - Used to prepend a presentational icon or similar element to the combobox.
|
|
22
24
|
* @slot suffix - Used to append a presentational icon or similar element to the combobox.
|
|
@@ -68,7 +68,7 @@ import { RichTextMenuBarSpec, RichTextStyleFormat, RichTextToolbarSpec } from '.
|
|
|
68
68
|
* Optional **`fire-change-on-same-content`** (default true): when false, `cx-rich-text-change` is not emitted if `editor.getHTML()` matches the last emitted HTML.
|
|
69
69
|
*
|
|
70
70
|
* @event {{ files: FileList }} cx-rich-text-image-drop - Emitted when an image is dropped onto the editor; `detail.files` is the dropped files.
|
|
71
|
-
* @event {{ content: string }} cx-rich-text-change - Emitted when the document changes; `detail.content` is `
|
|
71
|
+
* @event {{ content: string }} cx-rich-text-change - Emitted when the document changes; `detail.content` is the published HTML, as `getValue()` returns it.
|
|
72
72
|
* @event cx-rich-text-blur - Emitted when the editor loses focus.
|
|
73
73
|
* @event cx-rich-text-focus - Emitted when the editor gains focus.
|
|
74
74
|
* @event cx-rich-text-click - Emitted when the user clicks inside the toolbar, editor, or table bubble.
|
|
@@ -86,6 +86,12 @@ export default class CxRichText extends CortexElement {
|
|
|
86
86
|
'cx-rich-text-toolbar': typeof CxRichTextToolbar;
|
|
87
87
|
'cx-rich-text-video-viewer': typeof CxRichTextVideoViewer;
|
|
88
88
|
};
|
|
89
|
+
/**
|
|
90
|
+
* The whole document is one paragraph with nothing in it: TinyMCE's rule for an empty field.
|
|
91
|
+
* Narrower than `editor.isEmpty`, which also counts several empty lines, or a table or list
|
|
92
|
+
* without text, as empty. A pending suggestion on that paragraph (`attrs.track`) counts as content.
|
|
93
|
+
*/
|
|
94
|
+
private static isOnlyEmptyParagraph;
|
|
89
95
|
readonly localize: LocalizeController;
|
|
90
96
|
private caretAnimationId?;
|
|
91
97
|
readonly editorContainer: HTMLDivElement;
|
|
@@ -295,6 +301,7 @@ export default class CxRichText extends CortexElement {
|
|
|
295
301
|
* The content as it should be published: stored, rendered by a viewer, or sent as email.
|
|
296
302
|
* `editor.getHTML()` stays a faithful serialization of the document, wrappers the schema forces
|
|
297
303
|
* included; this resolves those away. Hosts that persist the value should read this.
|
|
304
|
+
* A document holding only an empty paragraph publishes as an empty string.
|
|
298
305
|
*/
|
|
299
306
|
getValue(): string;
|
|
300
307
|
private teardownEditor;
|