@orangelogic/design-system 4.53.0 → 4.55.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/{alert.C7jo45Pq.js → alert.2Esbser8.js} +2 -2
- package/library/chunks/{array-line-clamp.DKxxZlon.js → array-line-clamp.sxTWf9Iz.js} +2 -2
- package/library/chunks/{asset-link-format.B_gS4nTL.js → asset-link-format.b1PRwN5q.js} +493 -454
- package/library/chunks/{audio.C8rPv9iZ.js → audio.B0VfXBIx.js} +2 -2
- package/library/chunks/{bicolor-picker.DrQWK6-q.js → bicolor-picker.BEs23Gs0.js} +1 -1
- package/library/chunks/{block-width.-jEx3KZ4.js → block-width.5rlxqu64.js} +46 -46
- package/library/chunks/{border-input-group.PiWnqlx7.js → border-input-group.dw1516Kf.js} +3 -3
- package/library/chunks/{breadcrumb.BLCAOe89.js → breadcrumb.DkINVxcJ.js} +1 -1
- package/library/chunks/{button.DnOMjl_G.js → button.BjijpxeK.js} +3 -3
- package/library/chunks/{checkbox.aFoOxk2j.js → checkbox.BdSpQlwf.js} +1 -1
- package/library/chunks/{color-picker.DkVQou0p.js → color-picker.D38VZ1JB.js} +11 -11
- package/library/chunks/{color-swatch-group.C85bEtP3.js → color-swatch-group.D4cJJmvA.js} +36 -36
- package/library/chunks/{color-swatch.Biz89VJr.js → color-swatch.PNkiDQx5.js} +3 -3
- package/library/chunks/{config-manager.Cc9QkEey.js → config-manager.CVYMQ0tt.js} +33 -33
- package/library/chunks/{configs-controller.DBzBhYjU.js → configs-controller.0FoXQnJn.js} +20 -20
- package/library/chunks/{confirm-popover.DpVrPWXU.js → confirm-popover.BHKVBESN.js} +4 -4
- package/library/chunks/{copy-button.CSUoVbip.js → copy-button.CQO3gEFh.js} +2 -2
- package/library/chunks/{corner-position-input-group.vhSOueRn.js → corner-position-input-group.BzYJD8zG.js} +4 -4
- package/library/chunks/{date-calendar.BpfgvrtE.js → date-calendar.B7e6WBzh.js} +1 -1
- package/library/chunks/{details.BGlfx87d.js → details.DSgp6VAD.js} +1 -1
- package/library/chunks/{dialog.DprCsbFG.js → dialog.QENKQ3wO.js} +3 -3
- package/library/chunks/{diff.DZjfy2VU.js → diff.Bmdpmpvo.js} +1 -1
- package/library/chunks/{document-viewer.BRJqmyum.js → document-viewer.CSSI__TI.js} +14 -14
- package/library/chunks/{dom.BsVeSE01.js → dom.BLHsooDR.js} +1 -1
- package/library/chunks/{dot-pagination.CfK67Z-x.js → dot-pagination.8huF7K9E.js} +2 -2
- package/library/chunks/{drawer.Ba0CKg86.js → drawer.CLSdjLR9.js} +2 -2
- package/library/chunks/{dropdown.CKad9CvP.js → dropdown.BTQ07f9L.js} +5 -5
- package/library/chunks/{dynamic-select.DmTXLyzH.js → dynamic-select.BEKv0lpx.js} +5 -5
- package/library/chunks/{e-chart.BkqfNGfV.js → e-chart.DKFAToIc.js} +2 -2
- package/library/chunks/{element-clamp.CwFlUOET.js → element-clamp.DSKvP36j.js} +2 -2
- package/library/chunks/{file-on-demand.Cuj5wcYW.js → file-on-demand.DNVrOUTH.js} +17 -17
- package/library/chunks/{folder-select.DpQEZDg1.js → folder-select.B16qEGcG.js} +16 -16
- package/library/chunks/{form.JYXtmwQ2.js → form.D_eBa3AQ.js} +1 -1
- package/library/chunks/{format-time.ysWqJKLC.js → format-time.QkJcKYrT.js} +1 -1
- package/library/chunks/{header.CD4B3ylz.js → header.B11-tX9H.js} +2 -2
- package/library/chunks/{i18n.CQPiI18Q.js → i18n.Bjg2ubA4.js} +2 -1
- package/library/chunks/{icon-button.BAUsYiQh.js → icon-button.qJd_az6T.js} +2 -2
- package/library/chunks/{iframe.CKoHB0lA.js → iframe.sl2wnUcC.js} +1 -1
- package/library/chunks/{image-comparer.WUKRGHqI.js → image-comparer.BCD6kzLm.js} +1 -1
- package/library/chunks/{image.C6-Opjew.js → image.alhsAc_i.js} +2 -2
- package/library/chunks/{input.D1UkXp3F.js → input.kTjqEyC8.js} +2 -2
- package/library/chunks/{line-clamp.COXyDBRB.js → line-clamp.BYoTFCvo.js} +2 -2
- package/library/chunks/{markdown.CgWP0X61.js → markdown.BzDRvv-f.js} +3 -3
- package/library/chunks/{masonry.4Lcy37gf.js → masonry.B8EOiLu0.js} +3 -3
- package/library/chunks/{menu-item.CCbtHE5R.js → menu-item.Z7pkEEyC.js} +3 -3
- package/library/chunks/{menu.DNeN3pz0.js → menu.Dlt4EsSJ.js} +2 -2
- package/library/chunks/option.DWE0tark.js +136 -0
- package/library/chunks/{padding-input-group.CGDq3Cct.js → padding-input-group.B-hbA7P2.js} +1 -1
- package/library/chunks/{pagination.Mr-XiQBd.js → pagination.ATa3enAG.js} +7 -7
- package/library/chunks/{popup.yll4fQau.js → popup.LaRE0W3Q.js} +1 -1
- package/library/chunks/{position-picker.DzRyAx7a.js → position-picker.X2hhfGx7.js} +2 -2
- package/library/chunks/{progress-bar.BfHPsueW.js → progress-bar.CynVLLnY.js} +1 -1
- package/library/chunks/{progress-ring.Cn08Dbar.js → progress-ring.Bfdj3-uB.js} +1 -1
- package/library/chunks/{radio-card.jROctGtI.js → radio-card.BVkRnAT5.js} +1 -1
- package/library/chunks/{radio-group.DSnDDjKe.js → radio-group.CHlxPcrs.js} +1 -1
- package/library/chunks/{range.CQzHuhd9.js → range.BWrWIE6S.js} +3 -3
- package/library/chunks/{rating.BjGQtyCk.js → rating.CNeNn996.js} +1 -1
- package/library/chunks/{relative-time.BcpFkSZT.js → relative-time.BfE3UOhF.js} +1 -1
- package/library/chunks/{select.CEgt2ciT.js → select.DJSXKV7u.js} +154 -102
- package/library/chunks/{shadow-input-group.C13mC7rW.js → shadow-input-group.B_06ZQpb.js} +2 -2
- package/library/chunks/{share-option-list.CdQeYk-I.js → share-option-list.BetSdhgh.js} +3 -3
- package/library/chunks/sidebar.CiZOJ49X.js +120 -0
- package/library/chunks/{size-input-group.DtldCuqS.js → size-input-group.VZ4Yt8qW.js} +5 -5
- package/library/chunks/{spinner.DsWszid8.js → spinner.Bv06U7NJ.js} +1 -1
- package/library/chunks/{split-panel.KzmC5IAW.js → split-panel.Cag0lAvv.js} +1 -1
- package/library/chunks/src.CQ2H22mE.js +103 -0
- package/library/chunks/{src.BJpSLSUr.js → src.CgqvT9Zj.js} +4 -4
- package/library/chunks/{step.BlnWLzqI.js → step.CA3PQN8l.js} +3 -3
- package/library/chunks/{stepper-wizard.t7enm9Uz.js → stepper-wizard.B72l6S-I.js} +2 -2
- package/library/chunks/{stepper.DzhUPTLW.js → stepper.DgoOS-k1.js} +1 -1
- package/library/chunks/{string.DAuTpyw8.js → string.9yahdkB8.js} +39 -1
- package/library/chunks/{switch.CBho2RVW.js → switch.BM9msK5T.js} +1 -1
- package/library/chunks/{tab-group.BSdtDqou.js → tab-group.DhX_Aowk.js} +8 -8
- package/library/chunks/{tab.C0oUx7MY.js → tab.vGimW19a.js} +3 -3
- package/library/chunks/{tag.B2S21_nF.js → tag.Dr7Na8Kf.js} +3 -3
- package/library/chunks/{textarea.BgWdR_7D.js → textarea.CHSZI8vt.js} +1 -1
- package/library/chunks/{timecode.DME2imtx.js → timecode.DjI1OTXD.js} +1 -1
- package/library/chunks/{tooltip.DJl5qcTx.js → tooltip.BpXJhnhh.js} +2 -2
- package/library/chunks/{tree.CnEAk97A.js → tree.BEdI81wd.js} +12 -6
- package/library/chunks/{typeface.Dr9m4SZE.js → typeface.CDjUSIt9.js} +3 -3
- package/library/chunks/{video.bGH-n4pZ.js → video.Dbzi5Pxz.js} +3 -3
- package/library/components/alert.js +1 -1
- package/library/components/array-line-clamp.js +1 -1
- package/library/components/asset-link-format.js +1 -1
- package/library/components/atoms.js +55 -55
- package/library/components/audio.js +1 -1
- package/library/components/bicolor-picker.js +1 -1
- package/library/components/border-input-group.js +1 -1
- package/library/components/breadcrumb.js +1 -1
- package/library/components/button.js +1 -1
- package/library/components/checkbox.js +1 -1
- package/library/components/color-picker.js +1 -1
- package/library/components/color-swatch-group.js +1 -1
- package/library/components/color-swatch.js +1 -1
- package/library/components/confirm-popover.js +1 -1
- package/library/components/copy-button.js +1 -1
- package/library/components/corner-position-input-group.js +1 -1
- package/library/components/date-calendar.js +1 -1
- package/library/components/details.js +1 -1
- package/library/components/dialog.js +1 -1
- package/library/components/diff.js +1 -1
- package/library/components/document-viewer.js +1 -1
- package/library/components/dot-pagination.js +1 -1
- package/library/components/drawer.js +1 -1
- package/library/components/dropdown.js +1 -1
- package/library/components/dynamic-select.js +1 -1
- package/library/components/e-chart.js +1 -1
- package/library/components/element-clamp.js +1 -1
- package/library/components/file-on-demand.js +1 -1
- package/library/components/folder-select.js +1 -1
- package/library/components/format-bytes.js +1 -1
- package/library/components/format-date.js +1 -1
- package/library/components/format-number.js +1 -1
- package/library/components/format-time.js +1 -1
- package/library/components/header.js +1 -1
- package/library/components/icon-button.js +1 -1
- package/library/components/iframe.js +1 -1
- package/library/components/image-comparer.js +1 -1
- package/library/components/image.js +1 -1
- package/library/components/input.js +1 -1
- package/library/components/line-clamp.js +1 -1
- package/library/components/markdown.js +1 -1
- package/library/components/masonry.js +1 -1
- package/library/components/menu-item.js +1 -1
- package/library/components/menu.js +1 -1
- package/library/components/molecules.js +16 -16
- package/library/components/option.js +1 -1
- package/library/components/organisms.js +3 -3
- package/library/components/padding-input-group.js +1 -1
- package/library/components/pagination.js +1 -1
- package/library/components/popup.js +1 -1
- package/library/components/position-picker.js +1 -1
- package/library/components/progress-bar.js +1 -1
- package/library/components/progress-ring.js +1 -1
- package/library/components/radio-card.js +1 -1
- package/library/components/radio-group.js +1 -1
- package/library/components/range.js +1 -1
- package/library/components/rating.js +1 -1
- package/library/components/relative-time.js +1 -1
- package/library/components/select.js +1 -1
- package/library/components/shadow-input-group.js +1 -1
- package/library/components/share-option-list.js +1 -1
- package/library/components/sidebar.js +1 -1
- package/library/components/size-input-group.js +1 -1
- package/library/components/spinner.js +1 -1
- package/library/components/split-panel.js +1 -1
- package/library/components/step.js +1 -1
- package/library/components/stepper-wizard.js +1 -1
- package/library/components/stepper.js +1 -1
- package/library/components/switch.js +1 -1
- package/library/components/tab-group.js +1 -1
- package/library/components/tab.js +1 -1
- package/library/components/tag.js +1 -1
- package/library/components/textarea.js +1 -1
- package/library/components/timecode.js +1 -1
- package/library/components/tooltip.js +1 -1
- package/library/components/tree-item.js +1 -1
- package/library/components/tree.js +1 -1
- package/library/components/typeface.js +1 -1
- package/library/components/types.js +12634 -12634
- package/library/components/video.js +1 -1
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/option/option.d.ts +15 -2
- package/library/packages/atoms/src/components/select/select.d.ts +23 -2
- package/library/packages/molecules/src/sidebar/sidebar.d.ts +16 -2
- package/library/packages/organisms/src/asset-link-format/asset-link-format.d.ts +5 -0
- package/library/packages/organisms/src/asset-link-format/components/asset-link-format-crop/asset-link-format-crop.d.ts +13 -0
- package/library/packages/types/src/sidebar.d.ts +2 -0
- package/library/packages/utils/src/custom-element/i18n.d.ts +1 -0
- package/library/packages/utils/src/string/string.d.ts +20 -0
- package/library/react-web-component.d.ts +22 -2
- package/library/utils.js +27 -27
- package/package.json +1 -1
- package/library/chunks/option.Da60zYvc.js +0 -100
- package/library/chunks/sidebar.CwAW3KaC.js +0 -100
- package/library/chunks/src.CYwPx1Vw.js +0 -103
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { o as e, r as t, t as n } from "./rolldown-runtime.CEFd7nDs.js";
|
|
2
2
|
import { c as r } from "./lit.CyJqR2kf.js";
|
|
3
|
-
import { n as i, r as a } from "./button.
|
|
3
|
+
import { n as i, r as a } from "./button.BjijpxeK.js";
|
|
4
4
|
import { a as o, c as s, i as c, l, o as u, s as d } from "./resizable-component.styles.v9pbLDG5.js";
|
|
5
|
-
import {
|
|
5
|
+
import { A as f, O as p, f as m, k as h } from "./string.9yahdkB8.js";
|
|
6
6
|
import { n as g } from "./position-picker.dY_vgF_H.js";
|
|
7
7
|
import { a as _, n as v, o as ee, s as y } from "./src.BJhIYoMP.js";
|
|
8
|
-
import { a as te, i as ne, r as re } from "./tab-group.
|
|
8
|
+
import { a as te, i as ne, r as re } from "./tab-group.DhX_Aowk.js";
|
|
9
9
|
import { t as ie } from "./parse.CDrJ-NY7.js";
|
|
10
|
-
import { G as ae, J as oe, U as se, V as ce } from "./src.
|
|
10
|
+
import { G as ae, J as oe, U as se, V as ce } from "./src.CgqvT9Zj.js";
|
|
11
11
|
import { t as le } from "./toString.r2ImdBrm.js";
|
|
12
12
|
import { t as ue } from "./capitalize.BT_EavGy.js";
|
|
13
|
-
import { a as de, i as fe, n as pe, r as me } from "./document-viewer.
|
|
13
|
+
import { a as de, i as fe, n as pe, r as me } from "./document-viewer.CSSI__TI.js";
|
|
14
14
|
import { l as he, p as ge } from "./url.BCc06dE7.js";
|
|
15
15
|
import { _ as _e, g as ve, p as ye, v as be } from "./color.CIOzHtLK.js";
|
|
16
16
|
import { _ as xe, g as Se, h as Ce, m as we, p as Te, s as b } from "./responsive.L9Csz2w2.js";
|
|
17
17
|
import { r as x } from "./asset-link-format.COPyGdND.js";
|
|
18
|
-
import { n as Ee, r as De } from "./header.
|
|
18
|
+
import { n as Ee, r as De } from "./header.B11-tX9H.js";
|
|
19
19
|
import { c as Oe, f as ke, p as S, s as C, u as w } from "./string-array.Dstcqyjm.js";
|
|
20
|
-
import { n as Ae } from "./folder-select.
|
|
21
|
-
import { a as T, i as E, o as D, r as O, s as je } from "./color-swatch-group.
|
|
20
|
+
import { n as Ae } from "./folder-select.B16qEGcG.js";
|
|
21
|
+
import { a as T, i as E, o as D, r as O, s as je } from "./color-swatch-group.D4cJJmvA.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
|
|
@@ -2610,7 +2610,7 @@ var V = class {
|
|
|
2610
2610
|
controlType: "select",
|
|
2611
2611
|
helpText: (t) => {
|
|
2612
2612
|
let n = t["card-type"];
|
|
2613
|
-
return
|
|
2613
|
+
return m(n) ? e.term(`cardTypeHelpText${ue(n)}`) : "";
|
|
2614
2614
|
},
|
|
2615
2615
|
id: "card-type",
|
|
2616
2616
|
label: e.term("cardType"),
|
|
@@ -3670,7 +3670,7 @@ var V = class {
|
|
|
3670
3670
|
"column-gap": "0px",
|
|
3671
3671
|
"content-position": u.TopLeft,
|
|
3672
3672
|
"content-type": L.Automatic,
|
|
3673
|
-
"content-variant":
|
|
3673
|
+
"content-variant": h.Overlay,
|
|
3674
3674
|
"data-constraints": !1,
|
|
3675
3675
|
"data-width-percent": "100%",
|
|
3676
3676
|
"data-width-pixel": "",
|
|
@@ -6812,7 +6812,7 @@ var Ir = {
|
|
|
6812
6812
|
"column-gap": "16px",
|
|
6813
6813
|
"content-position": u.Top,
|
|
6814
6814
|
"content-type": L.Automatic,
|
|
6815
|
-
"content-variant":
|
|
6815
|
+
"content-variant": h.Overlay,
|
|
6816
6816
|
"data-width-percent": "100%",
|
|
6817
6817
|
"data-width-pixel": "",
|
|
6818
6818
|
"default-crop-focus": g.CenterCenter,
|
|
@@ -6840,7 +6840,7 @@ var Ir = {
|
|
|
6840
6840
|
records: "",
|
|
6841
6841
|
"row-gap": "16px",
|
|
6842
6842
|
"show-all-label": "Show all",
|
|
6843
|
-
"show-content-type":
|
|
6843
|
+
"show-content-type": f.Always,
|
|
6844
6844
|
"show-less-label": "Show less",
|
|
6845
6845
|
"slides-per-page": "4",
|
|
6846
6846
|
"source-variant": I.Manual,
|
|
@@ -6908,7 +6908,7 @@ var Ir = {
|
|
|
6908
6908
|
controlType: "select",
|
|
6909
6909
|
helpText: (t) => {
|
|
6910
6910
|
let n = t["card-type"];
|
|
6911
|
-
return
|
|
6911
|
+
return m(n) ? e.term(`cardTypeHelpText${ue(n)}`) : "";
|
|
6912
6912
|
},
|
|
6913
6913
|
id: "card-type",
|
|
6914
6914
|
label: e.term("cardType"),
|
|
@@ -7242,11 +7242,11 @@ var Ir = {
|
|
|
7242
7242
|
...e,
|
|
7243
7243
|
"can-pin-first-card": !1,
|
|
7244
7244
|
"content-position": u.Bottom,
|
|
7245
|
-
"content-variant":
|
|
7245
|
+
"content-variant": h.Default,
|
|
7246
7246
|
"slides-per-page": "4"
|
|
7247
7247
|
} : {
|
|
7248
7248
|
...e,
|
|
7249
|
-
"content-variant":
|
|
7249
|
+
"content-variant": h.Overlay
|
|
7250
7250
|
},
|
|
7251
7251
|
controlType: "radio-card-group",
|
|
7252
7252
|
direction: "vertical",
|
|
@@ -7497,7 +7497,7 @@ var Ir = {
|
|
|
7497
7497
|
{
|
|
7498
7498
|
callback: ({ record: e, value: t }) => t === "below-image" ? {
|
|
7499
7499
|
...e,
|
|
7500
|
-
"show-content-type":
|
|
7500
|
+
"show-content-type": f.Always
|
|
7501
7501
|
} : e,
|
|
7502
7502
|
clearable: !1,
|
|
7503
7503
|
controlType: "select",
|
|
@@ -7579,13 +7579,13 @@ var Ir = {
|
|
|
7579
7579
|
label: e.term("show"),
|
|
7580
7580
|
name: "show-content-type",
|
|
7581
7581
|
options: [{
|
|
7582
|
-
id:
|
|
7582
|
+
id: f.Always,
|
|
7583
7583
|
name: e.term("always"),
|
|
7584
|
-
value:
|
|
7584
|
+
value: f.Always
|
|
7585
7585
|
}, {
|
|
7586
|
-
id:
|
|
7586
|
+
id: f.OnHover,
|
|
7587
7587
|
name: e.term("onHover"),
|
|
7588
|
-
value:
|
|
7588
|
+
value: f.OnHover
|
|
7589
7589
|
}],
|
|
7590
7590
|
show: (e) => e.variant !== P.Bento && e["content-position"] !== "below-image",
|
|
7591
7591
|
type: "attribute"
|
|
@@ -3,12 +3,12 @@ import { a as n, n as r, r as i, t as a } from "./cortex-element.DTrNUtdr.js";
|
|
|
3
3
|
import { t as o } from "./query.B1yi7t71.js";
|
|
4
4
|
import { t as s } from "./component.styles.0xM1ZmBs.js";
|
|
5
5
|
import { t as c } from "./custom-element.BEMYNDK1.js";
|
|
6
|
-
import { t as l } from "./i18n.
|
|
6
|
+
import { t as l } from "./i18n.Bjg2ubA4.js";
|
|
7
7
|
import { t as u } from "./class-map.D8nsNOVJ.js";
|
|
8
|
-
import { t as d } from "./button.
|
|
8
|
+
import { t as d } from "./button.BjijpxeK.js";
|
|
9
9
|
import { t as f } from "./typography.B0mkhqTB.js";
|
|
10
|
-
import { t as p } from "./dropdown.
|
|
11
|
-
import { o as m, t as h } from "./dialog.
|
|
10
|
+
import { t as p } from "./dropdown.BTQ07f9L.js";
|
|
11
|
+
import { o as m, t as h } from "./dialog.QENKQ3wO.js";
|
|
12
12
|
//#region ../../packages/types/src/confirm-popover.ts
|
|
13
13
|
var g = /* @__PURE__ */ function(e) {
|
|
14
14
|
return e.Horizontal = "horizontal", e.HorizontalReverse = "horizontal-reverse", e.Vertical = "vertical", e.VerticalReverse = "vertical-reverse", e;
|
|
@@ -3,14 +3,14 @@ import { a as n, i as r, n as i, r as a, t as o } from "./cortex-element.DTrNUtd
|
|
|
3
3
|
import { t as s } from "./query.B1yi7t71.js";
|
|
4
4
|
import { t as c } from "./component.styles.0xM1ZmBs.js";
|
|
5
5
|
import { t as l } from "./custom-element.BEMYNDK1.js";
|
|
6
|
-
import { t as u } from "./i18n.
|
|
6
|
+
import { t as u } from "./i18n.Bjg2ubA4.js";
|
|
7
7
|
import { t as d } from "./slot.CZUlACxT.js";
|
|
8
8
|
import { t as f } from "./watch.Ub5r8btz.js";
|
|
9
9
|
import { t as p } from "./class-map.D8nsNOVJ.js";
|
|
10
10
|
import { r as m, t as h } from "./animation-registry.DKd2AOcC.js";
|
|
11
11
|
import { t as g } from "./when.BUskJLtZ.js";
|
|
12
12
|
import { t as _ } from "./icon.CeQpEaQz.js";
|
|
13
|
-
import { t as v } from "./tooltip.
|
|
13
|
+
import { t as v } from "./tooltip.BpXJhnhh.js";
|
|
14
14
|
//#region ../../packages/atoms/src/components/copy-button/copy-button.styles.ts
|
|
15
15
|
var y = t`:host{--error-color:var(--cx-color-danger);--success-color:var(--cx-color-success);--background-color:light-dark(var(--cx-color-primary),var(--cx-color-primary));--color:light-dark(var(--cx-color-neutral-0),var(--cx-color-neutral-1000));cursor:pointer;width:auto;max-width:100%;line-height:normal;display:inline-block;position:relative}.copy-button{border-style:solid;border-width:var(--cx-input-border-width);width:100%;max-width:100%;font-family:var(--button-font-family,var(--cx-input-font-family));font-style:var(--button-font-style,normal);font-weight:var(--button-font-weight,var(--cx-font-weight-regular));text-transform:var(--cx-button-text-transform,none);-webkit-user-select:none;user-select:none;white-space:nowrap;vertical-align:middle;transition:var(--cx-transition-x-fast) background-color, var(--cx-transition-x-fast) color, var(--cx-transition-x-fast) border, var(--cx-transition-x-fast) box-shadow;cursor:inherit;justify-content:center;align-items:stretch;padding:0;text-decoration:none;display:inline-flex}.copy-button__label{max-width:100%}.copy-button::-moz-focus-inner{border:0}.copy-button:focus-visible{outline:var(--cx-focus-ring);outline-offset:var(--cx-focus-ring-offset)}.copy-button{color:var(--button-text-color,var(--cx-color-neutral));background-color:#0000;border-color:#0000}.copy-button.copy-button--has-label:hover:not(.copy-button--disabled),.copy-button.copy-button--has-label.copy-button--focused:not(.copy-button--disabled){background-color:var(--cx-color-neutral-100);border-color:var(--cx-color-neutral-100);color:var(--button-text-color,var(--cx-color-neutral))}.copy-button.copy-button--has-label:active:not(.copy-button--disabled){background-color:var(--cx-color-neutral-200);border-color:var(--cx-color-neutral-200);color:var(--button-text-color,var(--cx-color-neutral))}.copy-button--disabled{opacity:.5;cursor:default}.copy-button--disabled *{pointer-events:none}.copy-button__icon-wrapper{background:0 0;border:none;grid-template-columns:1fr;display:inline-grid}.copy-button__icon-wrapper slot{grid-row-start:1;grid-column-start:1;display:inline-flex}.copy-button__icon{pointer-events:none;flex:none;align-items:center;display:flex}.copy-button--copy-success .copy-button__icon{color:var(--success-color)}.copy-button--copy-error .copy-button__icon{color:var(--error-color)}.copy-button__label{justify-content:center;align-items:center;line-height:1;display:inline-flex}.copy-button{background-color:var(--button-background-color,unset)}.copy-button--small{height:auto;min-height:var(--cx-input-height-small);font-size:var(--button-font-size,var(--cx-button-font-size-medium));border-radius:var(--cx-button-border-radius-small)}.copy-button--small .copy-button__icon{--font-size:var(--button-font-size,var(--cx-font-size-medium))}.copy-button--medium{height:auto;min-height:var(--cx-input-height-medium);font-size:var(--button-font-size,var(--cx-button-font-size-medium));border-radius:var(--cx-button-border-radius-medium)}.copy-button--large{height:auto;min-height:var(--cx-input-height-large);font-size:var(--button-font-size,var(--cx-button-font-size-medium));border-radius:var(--cx-button-border-radius-large)}.copy-button--x-large{height:auto;min-height:var(--cx-input-height-x-large);font-size:var(--button-font-size,var(--cx-button-font-size-medium));border-radius:var(--cx-button-border-radius-large)}.copy-button--small{padding:var(--button-padding,0 var(--cx-spacing-x-small))}.copy-button--medium{padding:var(--button-padding,0 var(--cx-spacing-medium))}.copy-button--large{padding:var(--button-padding,0 var(--cx-spacing-large))}.copy-button--x-large{padding:var(--button-padding,0 var(--cx-spacing-x-large))}.copy-button--has-label:not(.copy-button--no-icon).copy-button--small .copy-button__label,.copy-button--has-label:not(.copy-button--no-icon).copy-button--medium .copy-button__label,.copy-button--has-label:not(.copy-button--no-icon).copy-button--large .copy-button__label,.copy-button--has-label:not(.copy-button--no-icon).copy-button--x-large .copy-button__label{padding-inline-start:var(--cx-spacing-x-small)}`, b = class extends o {
|
|
16
16
|
constructor(...e) {
|
|
@@ -2,12 +2,12 @@ import { c as e, d as t } from "./lit.CyJqR2kf.js";
|
|
|
2
2
|
import { a as n, n as r, r as i, t as a } from "./cortex-element.DTrNUtdr.js";
|
|
3
3
|
import { t as o } from "./component.styles.0xM1ZmBs.js";
|
|
4
4
|
import { t as s } from "./custom-element.BEMYNDK1.js";
|
|
5
|
-
import { t as c } from "./i18n.
|
|
5
|
+
import { t as c } from "./i18n.Bjg2ubA4.js";
|
|
6
6
|
import { t as l } from "./src.BJhIYoMP.js";
|
|
7
|
-
import { t as u } from "./input.
|
|
8
|
-
import { t as d } from "./option.
|
|
7
|
+
import { t as u } from "./input.kTjqEyC8.js";
|
|
8
|
+
import { t as d } from "./option.DWE0tark.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.DJSXKV7u.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",
|
|
@@ -3,7 +3,7 @@ import { a as n, i as r, n as i, r as a, t as o } from "./cortex-element.DTrNUtd
|
|
|
3
3
|
import { t as s } from "./component.styles.0xM1ZmBs.js";
|
|
4
4
|
import { t as c } from "./custom-element.BEMYNDK1.js";
|
|
5
5
|
import { t as l } from "./class-map.D8nsNOVJ.js";
|
|
6
|
-
import { t as u } from "./icon-button.
|
|
6
|
+
import { t as u } from "./icon-button.qJd_az6T.js";
|
|
7
7
|
import { t as d } from "./repeat.CKv9FPlC.js";
|
|
8
8
|
import { d as f, g as p, p as m, u as h, x as g, y as _ } from "./date.BL4L64Hx.js";
|
|
9
9
|
//#region ../../packages/atoms/src/components/date-calendar/date-calendar.styles.ts
|
|
@@ -4,7 +4,7 @@ import { t as o } from "./query.B1yi7t71.js";
|
|
|
4
4
|
import { t as s } from "./component.styles.0xM1ZmBs.js";
|
|
5
5
|
import { a as c, n as l, o as u, t as d } from "./event.C11S4obG.js";
|
|
6
6
|
import { t as f } from "./custom-element.BEMYNDK1.js";
|
|
7
|
-
import { t as p } from "./i18n.
|
|
7
|
+
import { t as p } from "./i18n.Bjg2ubA4.js";
|
|
8
8
|
import { t as m } from "./watch.Ub5r8btz.js";
|
|
9
9
|
import { t as h } from "./class-map.D8nsNOVJ.js";
|
|
10
10
|
import { r as g, t as _ } from "./animation-registry.DKd2AOcC.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { c as e, d as t, r as n } from "./lit.CyJqR2kf.js";
|
|
2
2
|
import { a as r, i, n as a, r as o, t as s } from "./cortex-element.DTrNUtdr.js";
|
|
3
3
|
import { t as c } from "./query.B1yi7t71.js";
|
|
4
|
-
import { t as l } from "./popup.
|
|
4
|
+
import { t as l } from "./popup.LaRE0W3Q.js";
|
|
5
5
|
import { t as u } from "./component.styles.0xM1ZmBs.js";
|
|
6
6
|
import { n as d, o as f, t as p } from "./event.C11S4obG.js";
|
|
7
7
|
import { t as m } from "./custom-element.BEMYNDK1.js";
|
|
8
|
-
import { t as h } from "./i18n.
|
|
8
|
+
import { t as h } from "./i18n.Bjg2ubA4.js";
|
|
9
9
|
import { t as g } from "./slot.CZUlACxT.js";
|
|
10
10
|
import { t as _ } from "./watch.Ub5r8btz.js";
|
|
11
11
|
import { t as v } from "./class-map.D8nsNOVJ.js";
|
|
12
12
|
import { r as y, t as b } from "./animation-registry.DKd2AOcC.js";
|
|
13
|
-
import { t as x } from "./icon-button.
|
|
13
|
+
import { t as x } from "./icon-button.qJd_az6T.js";
|
|
14
14
|
import { t as S } from "./if-defined.B29V_rEp.js";
|
|
15
15
|
import { t as C } from "./when.BUskJLtZ.js";
|
|
16
16
|
import { t as w } from "./style-map.DPGQIxip.js";
|
|
@@ -6,7 +6,7 @@ import { t as u } from "./slot.CZUlACxT.js";
|
|
|
6
6
|
import { t as d } from "./watch.Ub5r8btz.js";
|
|
7
7
|
import { t as f } from "./when.BUskJLtZ.js";
|
|
8
8
|
import { t as p } from "./debounce.Ci-xdsHE.js";
|
|
9
|
-
import {
|
|
9
|
+
import { v as m } from "./string.9yahdkB8.js";
|
|
10
10
|
import { t as h } from "./unsafe-html.Cb838aX7.js";
|
|
11
11
|
//#region ../../packages/atoms/src/components/diff/diff.styles.ts
|
|
12
12
|
var g = t`:host,.cx-diff__content{display:inline}.cx-diff__del,.cx-diff__old{background-color:var(--cx-diff-deleted-bg,var(--cx-color-neutral-200));color:var(--cx-diff-deleted-color,inherit);margin-inline-end:var(--cx-diff-gap,var(--cx-spacing-2x-small));text-decoration:line-through}.cx-diff__ins,.cx-diff__new{background-color:var(--cx-diff-inserted-bg,var(--cx-color-success-200));color:var(--cx-diff-inserted-color,inherit)}`, _ = "(function(){let e=[`area`,`base`,`br`,`col`,`embed`,`hr`,`img`,`input`,`link`,`meta`,`param`,`source`,`track`,`wbr`],t=[`<table>`];function n(t){return t?e.includes(t.match(/^<(\\w+)/)?.[1]?.toLowerCase()||t.match(/^<\\/(\\w+)/)?.[1]?.toLowerCase()||``):!1}function r(e){return!e||n(e.key)?!1:/<([a-z]+)(?![^>]*\\/>)[^>]*>/.test(e.key)}function i(e){return!e||n(e.key)?!1:/<\\/\\w+>/.test(e.key)}let a=/* @__PURE__ */ RegExp(`^<(iframe|object|math|svg|script|video|head|style|a|source)\\b`);function o(e){return e===`>`}function s(e){return e===`<`}function c(e){return/^\\s+$/.test(e)}function l(e){let t=e.match(/^\\s*<([^!>][^>]*)>\\s*$/);return!!t&&t[1].trim().split(` `)[0]}function u(e){return!l(e)}function d(e){return/^<!--/.test(e)}function f(e){return/-->$/.test(e)}function p(e){let t=a.exec(e);return t&&t[1]}function m(e,t){return e.substring(e.length-t.length-2)===`</`+t}function h(e){let t=/^<img[\\s>]/.test(e);return!/^<source[\\s>]/.test(e)&&(t||u(e)||!!p(e)||n(e))}function g(e){return{key:e,string:e}}function _(e,t,n,r){this.segment=r,this.length=n,this.startInBefore=e+r.beforeIndex,this.startInAfter=t+r.afterIndex,this.endInBefore=this.startInBefore+this.length-1,this.endInAfter=this.startInAfter+this.length-1,this.segmentStartInBefore=e,this.segmentStartInAfter=t,this.segmentEndInBefore=this.segmentStartInBefore+this.length-1,this.segmentEndInAfter=this.segmentStartInAfter+this.length-1}function v(e){let t=`char`,n=``,r=``,i=[];for(let l=0;l<e.length;l++){let u=e[l];switch(t){case`tag`:var a=p(n);a?(t=`atomic_tag`,r=a,n+=u):d(n)?(t=`html_comment`,n+=u):o(u)?(n+=`>`,i.push(g(n)),n=``,t=c(u)?`whitespace`:`char`):n+=u;break;case`atomic_tag`:o(u)&&m(n,r)?(n+=`>`,i.push(g(n)),n=``,r=``,t=`char`):n+=u;break;case`html_comment`:n+=u,f(n)&&(n=``,t=`char`);break;case`char`:s(u)?(n&&i.push(g(n)),n=`<`,t=`tag`):/\\s/.test(u)?(n&&i.push(g(n)),n=u,t=`whitespace`):/[\\w\\d#@]/.test(u)?n+=u:/&/.test(u)?(n&&i.push(g(n)),n=u):(n+=u,i.push(g(n)),n=``);break;case`whitespace`:s(u)?(n&&i.push(g(n)),n=`<`,t=`tag`):c(u)?n+=u:(n&&i.push(g(n)),n=u,t=`char`);break;default:throw Error(`Unknown mode `+t)}}return n&&i.push(g(n)),i}function y(e){let t=/^<img.*src=['\"]([^\"']*)['\"].*>$/.exec(e);if(t)return`<img src=\"`+t[1]+`\">`;let n=/^<a.*href=['\"]([^\"']*)['\"]/.exec(e);if(n)return`<a href=\"`+n[1]+`\"></a>`;let r=/^<object.*data=['\"]([^\"']*)['\"]/.exec(e);if(r)return`<object src=\"`+r[1]+`\"></object>`;if(/^<(svg|math|video)[\\s>]/.test(e)){let t=e.indexOf(`data-uuid=\"`);return t===-1?e:e.slice(0,t)+e.slice(t+44)}let i=/^<iframe.*src=['\"]([^\"']*)['\"].*>/.exec(e);if(i)return`<iframe src=\"`+i[1]+`\"></iframe>`;let a=/<([^\\s>]+)[\\s>]/.exec(e);return a?`<`+a[1].toLowerCase()+`>`:e&&e.replace(/(\\s+| | )/g,` `)}function b(e){return e.reduce((e,t,n)=>(e[t.key]?e[t.key].push(n):e[t.key]=[n],e),Object.create(null))}function x(e,t){return t.endInBefore<e.startInBefore&&t.endInAfter<e.startInAfter?-1:+(t.startInBefore>e.endInBefore&&t.startInAfter>e.endInAfter)}function S(){this._root=null}S.prototype={add:function(e){let t={left:null,right:null,value:e},n=this._root;if(n)for(;;){let r=x(n.value,e);if(r===-1){if(n.left)n=n.left;else{n.left=t;break}}else if(r===1){if(n.right)n=n.right;else{n.right=t;break}}else break}else this._root=t},toArray:function(){function e(t,n){return t&&(e(t.left,n),n.push(t.value),e(t.right,n)),n}return e(this._root,[])}};function C(e,n,a){let o=e.beforeTokens,s=e.afterMap,c=null,l=null;for(var u=0;u<o.length;u++){var d=!1;let f=o.length-u;if(l&&f<l.length)break;let p=o[u];if(t.includes(y(p.key)))continue;if(p.key===` `){c=u;continue}c===u-1&&(d=!0);let m=s[p.key];if(m)for(let o of m){let s=l?l.length:0,c=w(e,u,o,s,d);if(c&&c.length>s){let e=0,o=``,s=``,u=0,d=0,f=0;for(let t=c.endInBefore;t>=c.startInBefore;t--)i(n[t])?e++:r(n[t])&&e>0&&e--;for(let e=c.endInAfter;e>=c.startInAfter;e--)i(a[e])?u++:r(a[e])&&u>0&&u--;let p=c.startInBefore-1,m=c.startInAfter-1,h=!0,g=n.length+a.length,_=0;for(;(p>=0||m>=0)&&!(_>g);)if(_++,p>=0&&!o&&(r(n[p])?d>0?d--:e>0?(o=n[p].string,e--):o=n[p].string:i(n[p])&&d++,p--),m>=0&&!s&&(r(a[m])?f>0?f--:u>0?(s=a[m].string,u--):s=a[m].string:i(a[m])&&f++,m--),o&&s||o&&m<0||s&&p<0){if(o!==s||t.includes(y(o))){h=!1;break}o=``,s=``;continue}h&&(l=c)}}}return l||null}function w(e,n,r,i,a){let o=e.beforeTokens,s=e.afterTokens,c=n+i,l=r+i;if(c>=o.length||l>=s.length)return;let u=``;if(i){let e=o[c].key;if(e!==s[l].key&&!t.includes(y(e)))return}let d=!0,f=1,p=n+f,m=r+f;for(;d&&p<o.length&&m<s.length;){u=o[p].key;let e=s[m].key;u===e&&!t.includes(y(u))?(f++,p=n+f,m=r+f):d=!1}if(a&&n>0&&r>0){let e=o[n-1].key,t=s[r-1].key;e===` `&&t===` `&&(n--,r--,f++)}return new _(n,r,f,e)}function T(e,t,n,r){return{afterIndex:r,afterMap:b(t),afterTokens:t,beforeIndex:n,beforeMap:b(e),beforeTokens:e}}function E(e){let t=new S,n,r=[e],i=e.beforeTokens,a=e.afterTokens;for(;r.length;)if(e=r.pop(),n=C(e,i,a),n&&n.length){if(n.segmentStartInBefore>0&&n.segmentStartInAfter>0){let t=e.beforeTokens.slice(0,n.segmentStartInBefore),i=e.afterTokens.slice(0,n.segmentStartInAfter);r.push(T(t,i,e.beforeIndex,e.afterIndex))}let i=e.beforeTokens.slice(n.segmentEndInBefore+1),a=e.afterTokens.slice(n.segmentEndInAfter+1),o=e.beforeIndex+n.segmentEndInBefore+1,s=e.afterIndex+n.segmentEndInAfter+1;i.length&&a.length&&r.push(T(i,a,o,s)),t.add(n)}return t.toArray()}function D(e,t){if(!e)throw Error(`Missing beforeTokens`);if(!t)throw Error(`Missing afterTokens`);let n=0,r=0,i=[],a=T(e,t,0,0),o=E(a);o.push(new _(e.length,t.length,0,a));for(let e=0;e<o.length;e++){let t=o[e],a=`none`;n===t.startInBefore?r!==t.startInAfter&&(a=`insert`):(a=`delete`,r!==t.startInAfter&&(a=`replace`)),a!==`none`&&i.push({action:a,endInAfter:a===`delete`?null:t.startInAfter-1,endInBefore:a===`insert`?null:t.startInBefore-1,startInAfter:r,startInBefore:n}),t.length!==0&&i.push({action:`equal`,endInAfter:t.endInAfter,endInBefore:t.endInBefore,startInAfter:t.startInAfter,startInBefore:t.startInBefore}),n=t.endInBefore+1,r=t.endInAfter+1}let s=[],c={action:`none`,endInAfter:null,endInBefore:null,startInAfter:0,startInBefore:0};function l(t){return t.action!==`equal`||(t.endInBefore??0)-t.startInBefore!==0?!1:/^\\s$/.test(e.slice(t.startInBefore,(t.endInBefore??0)+1))}for(let e=0;e<i.length;e++){let t=i[e];l(t)&&c.action===`replace`||t.action===`replace`&&c.action===`replace`?(c.endInBefore=t.endInBefore,c.endInAfter=t.endInAfter):(s.push(t),c=t)}return s}function O(e){this.tokens=e,this.notes=e.reduce((e,t,i)=>{e.notes.push({insertedTag:r({key:t}),isWrappable:h(t)});let a=!n(t)&&l(t),o=e.tagStack[e.tagStack.length-1];return a&&(o&&`/`+o.tag===a?(e.notes[o.position].insertedTag=!0,e.tagStack.pop()):e.tagStack.push({position:i,tag:a})),e},{notes:[],tagStack:[]}).notes}O.prototype.combine=function(e,t){let n=this.notes,r=this.tokens.slice();return r.reduce((e,i,a)=>{n[a].insertedTag&&(r[a]=t(r[a])),e.status===null&&(e.status=n[a].isWrappable);let o=n[a].isWrappable;return o!==e.status&&(e.list.push({isWrappable:e.status,tokens:r.slice(e.lastIndex,a)}),e.lastIndex=a,e.status=o),a===r.length-1&&e.list.push({isWrappable:e.status,tokens:r.slice(e.lastIndex,a+1)}),e},{lastIndex:0,list:[],status:null}).list.map(e).join(``)};function k(e,t,n,r,i){let a=new O(t);r=r?r+`-`:``;let o=` data-`+r+`operation-index=\"`+n+`\"`;return i&&(o+=` class=\"`+i+`\"`),a.combine(t=>{if(t.isWrappable){let n=t.tokens.join(``);return n.trim()?`<`+e+o+`>`+n+`</`+e+`>`:n}return t.tokens.join(``)},t=>{let i=` data-diff-node=\"`+e+`\"`;return i+=` data-`+r+`operation-index=\"`+n+`\"`,t.replace(/>\\s*$/,i+`$&`)})}let A={delete:function(e,t,n,r,i,a){return k(`del`,t.slice(e.startInBefore,(e.endInBefore??0)+1).map(e=>e.string),r,i,a)},equal:function(e,t,n){return n.slice(e.startInAfter,(e.endInAfter??0)+1).reduce((e,t)=>e+t.string,``)},insert:function(e,t,n,r,i,a){return k(`ins`,n.slice(e.startInAfter,(e.endInAfter??0)+1).map(e=>e.string),r,i,a)},replace:function(e,t,n){let r=t.slice(e.startInBefore,(e.endInBefore??0)+1).reduce((e,t)=>e+t.string,``),i=n.slice(e.startInAfter,(e.endInAfter??0)+1).reduce((e,t)=>e+t.string,``);return r===i?i:A.delete.apply(null,arguments)+A.insert.apply(null,arguments)}};function j(e,t,n,r,i){return n.reduce((n,a,o)=>n+A[a.action](a,e,t,o,r,i),``)}function M(e){return e.replaceAll(/(\\w+)=(\"[^\"]*\")/g,(e,t,n)=>`${t}=${n.replaceAll(`<`,`<`).replaceAll(`>`,`>`)}`)}function N(e){return e.replaceAll(/(\\w+)=(\"[^\"]*\")/g,(e,t,n)=>`${t}=${n.replaceAll(`<`,`<`).replaceAll(`>`,`>`)}`)}function P(e,t,n,r,i){if(e===t)return e;i&&(a=RegExp(`^<(`+i.replace(/\\s*/g,``).replace(/,/g,`|`)+`)\\b`));let o=M(e),s=M(t),c=v(o),l=v(s);return N(j(c,l,D(c,l),r,n))}function F(e){let t=/<[^>]*\\sstyle=\"([^\"]*)\"[^>]*>/,n=e.match(t),r=n?.[1]?Object.fromEntries(n[1].split(`;`).map(e=>e.split(`:`))):{},i=``,a=``;Object.keys(r).filter(e=>e?e.includes(`border`)||e.includes(`padding`)||[`width`,`height`].includes(e)?(i+=`${e}:${r[e]};`,!1):!0:!1).forEach(e=>{a+=`${e}:${r[e]};`});let o=n?e.replace(t,e=>e.replace(/style=\"[^\"]*\"/,`style=\"${i}\"`)):e;return[a,o]}typeof WorkerGlobalScope<`u`&&self instanceof WorkerGlobalScope&&(self.onmessage=function(e){if(e.data.type===`cx-diff-request`){let{id:t,newValue:n,oldValue:r}=e.data.payload;try{let e=P(r,n);self.postMessage({payload:{id:t,result:e},type:`cx-diff-response`})}catch{self.postMessage({payload:{id:t,result:``},type:`cx-diff-response`})}}if(e.data.type===`diffHTMLRequest`){let{changeRecordID:t,newValue:n,oldValue:r}=e.data.payload;try{let e=P(r,n).replaceAll(/<ins[^>]*>/g,`<span class=\"mce-item-ins-node\">`).replaceAll(`</ins>`,`</span>`).replaceAll(/<del[^>]*>/g,`<span class=\"mce-item-del-node\">`).replaceAll(`</del>`,`</span>`),i=[`video`,`code`,`iframe`],a=RegExp(`<(${i.join(`|`)})[^>]*>`,`g`),o=RegExp(`<\\/(${i.join(`|`)})[^>]*>`,`g`);e=e.replaceAll(a,e=>{let t=F(e);return`<span class=\"block-wrapper\" style=\"${t[0]}\">${t[1]}`}).replaceAll(o,e=>`${e}</span>`).replaceAll(/* @__PURE__ */ RegExp(`<(img)[^>]*>`,`g`),e=>{let t=F(e);return`<span class=\"block-wrapper\" style=\"${t[0]}\">${t[1]}</span>`}),self.postMessage({payload:{changeRecordID:t,diff:e,newValue:n,oldValue:r},type:`diffHTML`})}catch{self.postMessage({payload:{changeRecordID:t,diff:``,newValue:n,oldValue:r},type:`diffHTML`})}}})})();", v = typeof self < "u" && self.Blob && new Blob(["(self.URL || self.webkitURL).revokeObjectURL(self.location.href);", _], { type: "text/javascript;charset=utf-8" });
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import { i as __require, o as __toESM, t as __commonJSMin } from "./rolldown-runtime.CEFd7nDs.js";
|
|
2
2
|
import { c as x, d as i, r as E } from "./lit.CyJqR2kf.js";
|
|
3
3
|
import { a as n, i as r$1, n as __decorate, r as __decorateMetadata, t as CortexElement } from "./cortex-element.DTrNUtdr.js";
|
|
4
|
-
import { t as popup_default } from "./popup.
|
|
4
|
+
import { t as popup_default } from "./popup.LaRE0W3Q.js";
|
|
5
5
|
import { t as component_styles_default } from "./component.styles.0xM1ZmBs.js";
|
|
6
6
|
import { t as customElement } from "./custom-element.BEMYNDK1.js";
|
|
7
|
-
import { t as LocalizeController } from "./i18n.
|
|
7
|
+
import { t as LocalizeController } from "./i18n.Bjg2ubA4.js";
|
|
8
8
|
import { t as watch } from "./watch.Ub5r8btz.js";
|
|
9
9
|
import { t as e } from "./class-map.D8nsNOVJ.js";
|
|
10
|
-
import { t as icon_button_default } from "./icon-button.
|
|
10
|
+
import { t as icon_button_default } from "./icon-button.qJd_az6T.js";
|
|
11
11
|
import { t as n$1 } from "./when.BUskJLtZ.js";
|
|
12
12
|
import { t as icon_default } from "./icon.CeQpEaQz.js";
|
|
13
|
-
import { t as spinner_default } from "./spinner.
|
|
14
|
-
import { t as button_default } from "./button.
|
|
13
|
+
import { t as spinner_default } from "./spinner.Bv06U7NJ.js";
|
|
14
|
+
import { t as button_default } from "./button.BjijpxeK.js";
|
|
15
15
|
import { a as ResizeDirection, i as HeightMode, n as ResizableElement, t as resizable_component_styles_default } from "./resizable-component.styles.v9pbLDG5.js";
|
|
16
16
|
import { t as resize_observer_default } from "./resize-observer.D9EHlnZI.js";
|
|
17
|
-
import { t as tooltip_default } from "./tooltip.
|
|
17
|
+
import { t as tooltip_default } from "./tooltip.BpXJhnhh.js";
|
|
18
18
|
import { a as ObjectFit } from "./src.BJhIYoMP.js";
|
|
19
19
|
import { t as typography_default } from "./typography.B0mkhqTB.js";
|
|
20
|
-
import { t as dropdown_default } from "./dropdown.
|
|
20
|
+
import { t as dropdown_default } from "./dropdown.BTQ07f9L.js";
|
|
21
21
|
import { t as focusWhenVisible } from "./focus-when-visible.DKscgyKo.js";
|
|
22
|
-
import { t as input_default } from "./input.
|
|
23
|
-
import { t as menu_default } from "./menu.
|
|
24
|
-
import { t as menu_item_default } from "./menu-item.
|
|
25
|
-
import { Y as fetchCortexApi } from "./src.
|
|
26
|
-
import { t as drawer_default } from "./drawer.
|
|
27
|
-
import { t as progress_bar_default } from "./progress-bar.
|
|
22
|
+
import { t as input_default } from "./input.kTjqEyC8.js";
|
|
23
|
+
import { t as menu_default } from "./menu.Dlt4EsSJ.js";
|
|
24
|
+
import { t as menu_item_default } from "./menu-item.Z7pkEEyC.js";
|
|
25
|
+
import { Y as fetchCortexApi } from "./src.CgqvT9Zj.js";
|
|
26
|
+
import { t as drawer_default } from "./drawer.CLSdjLR9.js";
|
|
27
|
+
import { t as progress_bar_default } from "./progress-bar.CynVLLnY.js";
|
|
28
28
|
import { a as require_react, n as w, r as require_client, t as require_jsx_runtime } from "./jsx-runtime.BqxT1jD6.js";
|
|
29
29
|
import { t as require___vite_browser_external } from "./__vite-browser-external.CMLby1wp.js";
|
|
30
30
|
import { i as _extends, r as _assertThisInitialized, t as _inheritsLoose } from "./inheritsLoose.CmL1ZoPA.js";
|
|
31
|
-
import { t as image_default } from "./image.
|
|
31
|
+
import { t as image_default } from "./image.alhsAc_i.js";
|
|
32
32
|
//#region ../../packages/types/src/book-reader.ts
|
|
33
33
|
var BookReaderMode$1 = /* @__PURE__ */ function(t) {
|
|
34
34
|
return t.Image = "Image", t.Pdf = "Pdf", t;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as e } from "./lit.CyJqR2kf.js";
|
|
2
|
-
import {
|
|
2
|
+
import { v as t } from "./string.9yahdkB8.js";
|
|
3
3
|
//#region ../../packages/utils/src/dom/dom.ts
|
|
4
4
|
var n = (e) => e.nodeType === Node.ELEMENT_NODE, r = (e, t) => {
|
|
5
5
|
if (!e) return !1;
|
|
@@ -4,12 +4,12 @@ import { t as s } from "./query.B1yi7t71.js";
|
|
|
4
4
|
import { t as c } from "./query-all.NK7qxEbl.js";
|
|
5
5
|
import { t as l } from "./component.styles.0xM1ZmBs.js";
|
|
6
6
|
import { t as u } from "./custom-element.BEMYNDK1.js";
|
|
7
|
-
import { t as d } from "./i18n.
|
|
7
|
+
import { t as d } from "./i18n.Bjg2ubA4.js";
|
|
8
8
|
import { t as f } from "./watch.Ub5r8btz.js";
|
|
9
9
|
import { t as p } from "./class-map.D8nsNOVJ.js";
|
|
10
10
|
import { t as m } from "./if-defined.B29V_rEp.js";
|
|
11
11
|
import { t as h } from "./when.BUskJLtZ.js";
|
|
12
|
-
import { t as g } from "./tooltip.
|
|
12
|
+
import { t as g } from "./tooltip.BpXJhnhh.js";
|
|
13
13
|
import { o as _ } from "./src.BJhIYoMP.js";
|
|
14
14
|
import { t as v } from "./map.ByDuLduF.js";
|
|
15
15
|
//#region ../../packages/atoms/src/components/dot-pagination/dot-pagination.styles.ts
|
|
@@ -4,12 +4,12 @@ import { t as s } from "./query.B1yi7t71.js";
|
|
|
4
4
|
import { t as c } from "./component.styles.0xM1ZmBs.js";
|
|
5
5
|
import { n as l, o as u, t as d } from "./event.C11S4obG.js";
|
|
6
6
|
import { t as f } from "./custom-element.BEMYNDK1.js";
|
|
7
|
-
import { t as p } from "./i18n.
|
|
7
|
+
import { t as p } from "./i18n.Bjg2ubA4.js";
|
|
8
8
|
import { t as m } from "./slot.CZUlACxT.js";
|
|
9
9
|
import { t as h } from "./watch.Ub5r8btz.js";
|
|
10
10
|
import { t as g } from "./class-map.D8nsNOVJ.js";
|
|
11
11
|
import { r as _, t as v } from "./animation-registry.DKd2AOcC.js";
|
|
12
|
-
import { t as y } from "./icon-button.
|
|
12
|
+
import { t as y } from "./icon-button.qJd_az6T.js";
|
|
13
13
|
import { t as b } from "./if-defined.B29V_rEp.js";
|
|
14
14
|
import { t as x } from "./when.BUskJLtZ.js";
|
|
15
15
|
import { r as S, t as C } from "./scroll.CEH_a4pm.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { c as e, d as t } from "./lit.CyJqR2kf.js";
|
|
2
2
|
import { a as n, n as r, r as i, t as a } from "./cortex-element.DTrNUtdr.js";
|
|
3
3
|
import { t as o } from "./query.B1yi7t71.js";
|
|
4
|
-
import { t as s } from "./popup.
|
|
4
|
+
import { t as s } from "./popup.LaRE0W3Q.js";
|
|
5
5
|
import { t as c } from "./component.styles.0xM1ZmBs.js";
|
|
6
6
|
import { n as l, o as u, t as d } from "./event.C11S4obG.js";
|
|
7
7
|
import { t as f } from "./custom-element.BEMYNDK1.js";
|
|
8
|
-
import { t as p } from "./i18n.
|
|
8
|
+
import { t as p } from "./i18n.Bjg2ubA4.js";
|
|
9
9
|
import { t as m } from "./slot.CZUlACxT.js";
|
|
10
10
|
import { t as h } from "./watch.Ub5r8btz.js";
|
|
11
11
|
import { t as g } from "./class-map.D8nsNOVJ.js";
|
|
@@ -14,9 +14,9 @@ import { t as y } from "./if-defined.B29V_rEp.js";
|
|
|
14
14
|
import { t as b } from "./active-elements.Tk45XSNQ.js";
|
|
15
15
|
import { t as x } from "./focus-when-visible.DKscgyKo.js";
|
|
16
16
|
import { t as S } from "./tabbable.BSwpOHdm.js";
|
|
17
|
-
import { t as C } from "./input.
|
|
18
|
-
import { t as w } from "./menu.
|
|
19
|
-
import { t as T } from "./textarea.
|
|
17
|
+
import { t as C } from "./input.kTjqEyC8.js";
|
|
18
|
+
import { t as w } from "./menu.Dlt4EsSJ.js";
|
|
19
|
+
import { t as T } from "./textarea.CHSZI8vt.js";
|
|
20
20
|
//#region ../../packages/utils/src/custom-element/escapable-overlays.ts
|
|
21
21
|
var E = [], D = class {
|
|
22
22
|
constructor(e) {
|
|
@@ -2,18 +2,18 @@ import { c as e } from "./lit.CyJqR2kf.js";
|
|
|
2
2
|
import { a as t, i as n, n as r, r as i, t as a } from "./cortex-element.DTrNUtdr.js";
|
|
3
3
|
import { t as o } from "./query.B1yi7t71.js";
|
|
4
4
|
import { t as s } from "./custom-element.BEMYNDK1.js";
|
|
5
|
-
import { t as c } from "./i18n.
|
|
5
|
+
import { t as c } from "./i18n.Bjg2ubA4.js";
|
|
6
6
|
import { t as l } from "./watch.Ub5r8btz.js";
|
|
7
7
|
import { t as u } from "./class-map.D8nsNOVJ.js";
|
|
8
|
-
import { t as d } from "./icon-button.
|
|
8
|
+
import { t as d } from "./icon-button.qJd_az6T.js";
|
|
9
9
|
import { t as f } from "./if-defined.B29V_rEp.js";
|
|
10
10
|
import { t as p } from "./when.BUskJLtZ.js";
|
|
11
11
|
import { t as m } from "./style-map.DPGQIxip.js";
|
|
12
12
|
import { t as h } from "./debounce.Ci-xdsHE.js";
|
|
13
|
-
import { t as g } from "./button.
|
|
13
|
+
import { t as g } from "./button.BjijpxeK.js";
|
|
14
14
|
import { t as _ } from "./repeat.CKv9FPlC.js";
|
|
15
|
-
import { n as v, t as y } from "./option.
|
|
16
|
-
import { t as b } from "./select.
|
|
15
|
+
import { n as v, t as y } from "./option.DWE0tark.js";
|
|
16
|
+
import { t as b } from "./select.DJSXKV7u.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";
|
|
@@ -4,11 +4,11 @@ import { a as r, n as i, r as a, t as o } from "./cortex-element.DTrNUtdr.js";
|
|
|
4
4
|
import { t as s } from "./query.B1yi7t71.js";
|
|
5
5
|
import { t as c } from "./component.styles.0xM1ZmBs.js";
|
|
6
6
|
import { t as l } from "./custom-element.BEMYNDK1.js";
|
|
7
|
-
import { t as u } from "./i18n.
|
|
7
|
+
import { t as u } from "./i18n.Bjg2ubA4.js";
|
|
8
8
|
import { t as d } from "./watch.Ub5r8btz.js";
|
|
9
9
|
import { t as f } from "./class-map.D8nsNOVJ.js";
|
|
10
10
|
import { t as p } from "./when.BUskJLtZ.js";
|
|
11
|
-
import { t as m } from "./spinner.
|
|
11
|
+
import { t as m } from "./spinner.Bv06U7NJ.js";
|
|
12
12
|
import { t as h } from "./resize-observer.D9EHlnZI.js";
|
|
13
13
|
//#region ../../node_modules/echarts/node_modules/tslib/tslib.es6.js
|
|
14
14
|
var g = function(e, t) {
|
|
@@ -4,11 +4,11 @@ import { t as s } from "./query.B1yi7t71.js";
|
|
|
4
4
|
import { t as c } from "./component.styles.0xM1ZmBs.js";
|
|
5
5
|
import { a as l, n as u, o as d, t as f } from "./event.C11S4obG.js";
|
|
6
6
|
import { t as p } from "./custom-element.BEMYNDK1.js";
|
|
7
|
-
import { t as m } from "./i18n.
|
|
7
|
+
import { t as m } from "./i18n.Bjg2ubA4.js";
|
|
8
8
|
import { t as h } from "./watch.Ub5r8btz.js";
|
|
9
9
|
import { t as g } from "./class-map.D8nsNOVJ.js";
|
|
10
10
|
import { n as _, t as v } from "./animation-registry.DKd2AOcC.js";
|
|
11
|
-
import { t as y } from "./button.
|
|
11
|
+
import { t as y } from "./button.BjijpxeK.js";
|
|
12
12
|
//#region ../../packages/atoms/src/components/element-clamp/element-clamp.styles.ts
|
|
13
13
|
var b = t`:host{--toggler-color:var(--cx-color-primary);display:block;overflow:hidden}.element-clamp{overflow-anchor:none}.element-clamp--disabled{opacity:.5}.element-clamp-icon{transition:var(--cx-transition-medium) rotate ease;flex:none;align-items:center;display:flex}.details--open .element-clamp-icon{rotate:90deg}.details--open.details--rtl .element-clamp-icon{rotate:-90deg}.element-clamp--open slot[name=expand-icon],.element-clamp:not(.element-clamp--open) slot[name=collapse-icon]{display:none}.element-clamp__content{display:block;overflow:hidden}.toggler{margin-top:var(--cx-spacing-2x-small);display:block}.toggler::part(base){color:var(--toggler-color);font-weight:var(--cx-font-weight-medium);text-transform:none;width:auto}.toggler::part(label){padding-left:0}`, x = class extends o {
|
|
14
14
|
static #e = this.styles = [c, b];
|
|
@@ -3,38 +3,38 @@ import { a as r, i, n as a, r as o, t as s } from "./cortex-element.DTrNUtdr.js"
|
|
|
3
3
|
import { t as c } from "./query.B1yi7t71.js";
|
|
4
4
|
import { t as l } from "./component.styles.0xM1ZmBs.js";
|
|
5
5
|
import { t as u } from "./custom-element.BEMYNDK1.js";
|
|
6
|
-
import { t as d } from "./i18n.
|
|
6
|
+
import { t as d } from "./i18n.Bjg2ubA4.js";
|
|
7
7
|
import { S as f, t as p, w as m } from "./watch.Ub5r8btz.js";
|
|
8
8
|
import { t as h } from "./class-map.D8nsNOVJ.js";
|
|
9
|
-
import { t as g } from "./icon-button.
|
|
9
|
+
import { t as g } from "./icon-button.qJd_az6T.js";
|
|
10
10
|
import { t as _ } from "./when.BUskJLtZ.js";
|
|
11
11
|
import { t as v } from "./icon.CeQpEaQz.js";
|
|
12
|
-
import { t as ee } from "./spinner.
|
|
12
|
+
import { t as ee } from "./spinner.Bv06U7NJ.js";
|
|
13
13
|
import { t as te } from "./style-map.DPGQIxip.js";
|
|
14
14
|
import { t as ne } from "./debounce.Ci-xdsHE.js";
|
|
15
|
-
import { t as re } from "./button.
|
|
16
|
-
import {
|
|
17
|
-
import { t as b } from "./tooltip.
|
|
18
|
-
import { t as x } from "./line-clamp.
|
|
15
|
+
import { t as re } from "./button.BjijpxeK.js";
|
|
16
|
+
import { p as y } from "./string.9yahdkB8.js";
|
|
17
|
+
import { t as b } from "./tooltip.BpXJhnhh.js";
|
|
18
|
+
import { t as x } from "./line-clamp.BYoTFCvo.js";
|
|
19
19
|
import { t as S } from "./number.CNp5LKkv.js";
|
|
20
20
|
import { t as C } from "./typography.B0mkhqTB.js";
|
|
21
21
|
import { t as ie } from "./avatar.Ce0OZHBT.js";
|
|
22
22
|
import { t as w } from "./repeat.CKv9FPlC.js";
|
|
23
|
-
import { t as ae } from "./input.
|
|
24
|
-
import { t as oe } from "./option.
|
|
23
|
+
import { t as ae } from "./input.kTjqEyC8.js";
|
|
24
|
+
import { t as oe } from "./option.DWE0tark.js";
|
|
25
25
|
import { t as se } from "./space.Dd8jezXK.js";
|
|
26
|
-
import { t as ce } from "./select.
|
|
27
|
-
import { t as le } from "./tab.
|
|
28
|
-
import { t as T } from "./tab-group.
|
|
26
|
+
import { t as ce } from "./select.DJSXKV7u.js";
|
|
27
|
+
import { t as le } from "./tab.vGimW19a.js";
|
|
28
|
+
import { t as T } from "./tab-group.DhX_Aowk.js";
|
|
29
29
|
import { t as ue } from "./tab-panel.BxeoKuSv.js";
|
|
30
|
-
import { t as E } from "./dialog.
|
|
30
|
+
import { t as E } from "./dialog.QENKQ3wO.js";
|
|
31
31
|
import { t as de } from "./divider.CqSNZCU8.js";
|
|
32
|
-
import { t as fe } from "./progress-bar.
|
|
32
|
+
import { t as fe } from "./progress-bar.CynVLLnY.js";
|
|
33
33
|
import { o as D, u as O } from "./url.BCc06dE7.js";
|
|
34
34
|
import k from "../components/format-bytes.js";
|
|
35
|
-
import { t as pe } from "./relative-time.
|
|
36
|
-
import { a as A, i as me, n as he, t as j } from "./tree.
|
|
37
|
-
import { t as ge } from "./confirm-popover.
|
|
35
|
+
import { t as pe } from "./relative-time.BfE3UOhF.js";
|
|
36
|
+
import { a as A, i as me, n as he, t as j } from "./tree.BEdI81wd.js";
|
|
37
|
+
import { t as ge } from "./confirm-popover.BHKVBESN.js";
|
|
38
38
|
import { t as _e } from "./_baseIteratee.DWc2-Bvm.js";
|
|
39
39
|
import { t as ve } from "./choose.C2vpqhLc.js";
|
|
40
40
|
import { t as ye } from "./_baseXor.Ca5K0ORC.js";
|
|
@@ -3,7 +3,7 @@ import { a as n, i as r, n as i, r as a, t as o } from "./cortex-element.DTrNUtd
|
|
|
3
3
|
import { t as s } from "./query.B1yi7t71.js";
|
|
4
4
|
import { t as c } from "./component.styles.0xM1ZmBs.js";
|
|
5
5
|
import { t as l } from "./custom-element.BEMYNDK1.js";
|
|
6
|
-
import { t as u } from "./i18n.
|
|
6
|
+
import { t as u } from "./i18n.Bjg2ubA4.js";
|
|
7
7
|
import { t as d } from "./watch.Ub5r8btz.js";
|
|
8
8
|
import { t as f } from "./class-map.D8nsNOVJ.js";
|
|
9
9
|
import { t as p } from "./if-defined.B29V_rEp.js";
|
|
@@ -11,17 +11,17 @@ import { t as m } from "./when.BUskJLtZ.js";
|
|
|
11
11
|
import { t as h } from "./icon.CeQpEaQz.js";
|
|
12
12
|
import { t as g } from "./style-map.DPGQIxip.js";
|
|
13
13
|
import { t as _ } from "./debounce.Ci-xdsHE.js";
|
|
14
|
-
import { t as v } from "./button.
|
|
15
|
-
import {
|
|
16
|
-
import { t as S } from "./line-clamp.
|
|
17
|
-
import { t as C } from "./tag.
|
|
14
|
+
import { t as v } from "./button.BjijpxeK.js";
|
|
15
|
+
import { i as y, p as b, u as x } from "./string.9yahdkB8.js";
|
|
16
|
+
import { t as S } from "./line-clamp.BYoTFCvo.js";
|
|
17
|
+
import { t as C } from "./tag.Dr7Na8Kf.js";
|
|
18
18
|
import { t as w } from "./repeat.CKv9FPlC.js";
|
|
19
|
-
import { t as T } from "./input.
|
|
19
|
+
import { t as T } from "./input.kTjqEyC8.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.DJSXKV7u.js";
|
|
22
22
|
import { t as O } from "./template.Cyvih0XQ.js";
|
|
23
23
|
import { s as k } from "./asset-link-format.COPyGdND.js";
|
|
24
|
-
import { a as A, i as j } from "./tree.
|
|
24
|
+
import { a as A, i as j } from "./tree.BEdI81wd.js";
|
|
25
25
|
import { l as M, m as N, p as P, t as F } from "./string-array.Dstcqyjm.js";
|
|
26
26
|
import { t as I } from "./choose.C2vpqhLc.js";
|
|
27
27
|
//#region ../../node_modules/axios/index.js
|
|
@@ -170,12 +170,12 @@ var K = /* @__PURE__ */ function(e) {
|
|
|
170
170
|
}
|
|
171
171
|
async syncBoxes() {
|
|
172
172
|
if (this.selection !== "multiple" || (await this.updateComplete, !this.treeItem)) return;
|
|
173
|
-
let e = this.fullPath, t =
|
|
173
|
+
let e = this.fullPath, t = x({
|
|
174
174
|
id: this.folderId,
|
|
175
175
|
path: e
|
|
176
176
|
}), n = b(e), r = this.currentRootIDsSet.has(t), i = !1;
|
|
177
177
|
if (e) for (let e of this.currentRootIDsSet) {
|
|
178
|
-
let t =
|
|
178
|
+
let t = y(e);
|
|
179
179
|
if (!t.path.trim() || !t.id.trim()) continue;
|
|
180
180
|
let r = b(t.path);
|
|
181
181
|
if (r.startsWith(n) && r !== n) {
|
|
@@ -194,7 +194,7 @@ var K = /* @__PURE__ */ function(e) {
|
|
|
194
194
|
return e`<cx-icon class="folder-select-tree__item__icon" name=${this.icon || "folder"} variant=${n}></cx-icon>`;
|
|
195
195
|
}
|
|
196
196
|
render() {
|
|
197
|
-
return e`<cx-tree-item class=${f({ "folder-select-tree-item": !0 })} data-id=${this.folderId} data-url=${p(this.url)} data-name=${p(this.name?.trim() || void 0)} data-representative-asset-id=${p(this.representativeAssetId || void 0)} role="option" ?lazy=${this.hasChildren && this.data === null} ?selected=${this.selection === "multiple" ? this.currentRootIDsSet.has(
|
|
197
|
+
return e`<cx-tree-item class=${f({ "folder-select-tree-item": !0 })} data-id=${this.folderId} data-url=${p(this.url)} data-name=${p(this.name?.trim() || void 0)} data-representative-asset-id=${p(this.representativeAssetId || void 0)} role="option" ?lazy=${this.hasChildren && this.data === null} ?selected=${this.selection === "multiple" ? this.currentRootIDsSet.has(x({
|
|
198
198
|
id: this.folderId,
|
|
199
199
|
path: this.fullPath
|
|
200
200
|
})) : this.selectedValue === this.folderId} ?disabled-sync-checkboxes=${this.selection === "multiple"} .selectable=${this.selectable} @cx-lazy-load=${this.handleLazyLoad} @cx-after-collapse=${this.handleAfterCollapse}><cx-space class="folder-select-tree-item__label" direction="horizontal" spacing="x-small" align-items="center" wrap="nowrap">${this.renderIcon()}<cx-line-clamp lines="1" class="folder-select-tree-item__title">${O(this.name, this.searchTerm)}</cx-line-clamp></cx-space>${w(this.data || [], (e) => e.id, (t) => e`<cx-folder-select-tree-item slot="children" folder-id=${t.id} full-path=${t.fullPath} name=${t.title} doc-type=${t.docType} icon-name=${p(t.iconName || void 0)} icon-image-url=${p(t.iconImageUrl || void 0)} icon-color=${p(t.iconColor || void 0)} representative-asset-id=${t.representativeAssetId} selected-value=${this.selectedValue} selection=${this.selection} token=${this.token} bearer-token=${this.bearerToken} ?exclude-virtual-folders=${this.excludeVirtualFolders} ?reload-on-expand=${this.reloadOnExpand} ?has-children=${t.hasChildren} ?is-font-icon=${t.isFontIcon} ?selectable=${this.selectable} base-url=${this.baseUrl} url=${p(t.url ?? void 0)} .api=${this.api} .currentRootIDsSet=${this.currentRootIDsSet} .removedIDs=${this.removedIDs} value=${t.url}></cx-folder-select-tree-item>`)}
|
|
@@ -352,7 +352,7 @@ var J = q, Y = class extends o {
|
|
|
352
352
|
if (this.selection !== "multiple") return;
|
|
353
353
|
let t = e.target, n = t.dataset.id ?? "", r = t.closest("cx-folder-select-tree-item")?.fullPath;
|
|
354
354
|
if (await t.updateComplete, !n.trim() || !r?.trim()) return;
|
|
355
|
-
let i =
|
|
355
|
+
let i = x({
|
|
356
356
|
id: n,
|
|
357
357
|
path: r
|
|
358
358
|
});
|
|
@@ -391,7 +391,7 @@ var J = q, Y = class extends o {
|
|
|
391
391
|
t.length !== this.preloadedFolders.length && (this.preloadedFolders = t), this.removeDeselectedRootIDs(e), await this.preloadSelectedFolders();
|
|
392
392
|
}
|
|
393
393
|
removeDeselectedRootIDs(e) {
|
|
394
|
-
let t = new Set([...this.currentRootIDsSet].filter((t) => e.has(
|
|
394
|
+
let t = new Set([...this.currentRootIDsSet].filter((t) => e.has(y(t).id)));
|
|
395
395
|
t.size !== this.currentRootIDsSet.size && (this.currentRootIDsSet = t);
|
|
396
396
|
}
|
|
397
397
|
async fetchFolders() {
|
|
@@ -427,7 +427,7 @@ var J = q, Y = class extends o {
|
|
|
427
427
|
}
|
|
428
428
|
async preloadSelectedFolders() {
|
|
429
429
|
if (this.selection !== "multiple" || !this.selectedValue || !this.api) return !1;
|
|
430
|
-
let e = new Set(this.selectedValue.split(/[\s,]+/).filter(Boolean)), t = new Set([...this.currentRootIDsSet].map((e) =>
|
|
430
|
+
let e = new Set(this.selectedValue.split(/[\s,]+/).filter(Boolean)), t = new Set([...this.currentRootIDsSet].map((e) => y(e).id)), n = /* @__PURE__ */ new Set([...t, ...this.#r]), r = [...e].filter((e) => !n.has(e));
|
|
431
431
|
if (r.length === 0) return !1;
|
|
432
432
|
r.forEach((e) => this.#r.add(e)), this.preloading = !0;
|
|
433
433
|
let i = [];
|
|
@@ -456,7 +456,7 @@ var J = q, Y = class extends o {
|
|
|
456
456
|
if (this.selection !== "multiple" || !this.selectedValue) return !1;
|
|
457
457
|
let n = new Set(this.selectedValue.split(/[\s,]+/).map((e) => e.trim()).filter(Boolean)), r = !1;
|
|
458
458
|
for (let t of e) if (t.fullPath && n.has(t.id)) {
|
|
459
|
-
let e =
|
|
459
|
+
let e = x({
|
|
460
460
|
id: t.id,
|
|
461
461
|
path: t.fullPath
|
|
462
462
|
});
|
|
@@ -619,7 +619,7 @@ var X = Y, Z = t`:host{flex-direction:column;width:100%;height:100%;min-height:0
|
|
|
619
619
|
e && (await e.updateComplete, this.emit("cx-selection-change", { detail: { selection: e.selectedItems } }));
|
|
620
620
|
}
|
|
621
621
|
syncValueFromTree() {
|
|
622
|
-
this.treeEl && (this.value = [...this.treeEl.currentRootIDsSet].map((e) =>
|
|
622
|
+
this.treeEl && (this.value = [...this.treeEl.currentRootIDsSet].map((e) => y(e).id).filter(Boolean).join(" "));
|
|
623
623
|
}
|
|
624
624
|
syncSelectValue() {
|
|
625
625
|
this.selectEl && (this.selectEl.value = this.selection === "multiple" ? this.value.split(/[\s,]+/).filter(Boolean) : this.value);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as e } from "./dom.
|
|
1
|
+
import { h as e } from "./dom.BLHsooDR.js";
|
|
2
2
|
//#region ../../packages/utils/src/custom-element/form.ts
|
|
3
3
|
var t = /* @__PURE__ */ new WeakMap(), n = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap(), i = /* @__PURE__ */ new WeakSet(), a = /* @__PURE__ */ new WeakMap(), o = class {
|
|
4
4
|
constructor(n, r) {
|
|
@@ -2,7 +2,7 @@ import { c as e, d as t } from "./lit.CyJqR2kf.js";
|
|
|
2
2
|
import { a as n, i as r, n as i, r as a, t as o } from "./cortex-element.DTrNUtdr.js";
|
|
3
3
|
import { t as s } from "./component.styles.0xM1ZmBs.js";
|
|
4
4
|
import { t as c } from "./custom-element.BEMYNDK1.js";
|
|
5
|
-
import { t as l } from "./i18n.
|
|
5
|
+
import { t as l } from "./i18n.Bjg2ubA4.js";
|
|
6
6
|
import { t as u } from "./watch.Ub5r8btz.js";
|
|
7
7
|
import { a as d, i as f, l as p, n as m, o as h, r as g, s as _, t as v, u as y } from "./time.p1t0NCwj.js";
|
|
8
8
|
//#region ../../packages/atoms/src/components/format-time/format-time.styles.ts
|