@orangelogic/design-system 3.79.0 → 3.81.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.D8Gwfkvy.js → alert.B2tfKtSz.js} +2 -2
- package/library/chunks/{array-line-clamp.B1e77kEp.js → array-line-clamp.eDLjR1nZ.js} +2 -2
- package/library/chunks/{asset-link-format.PQt5Mb9Q.js → asset-link-format.BCaHv6rQ.js} +394 -388
- package/library/chunks/{audio.DOJNYr0C.js → audio.Dr0Hus7H.js} +8 -5
- package/library/chunks/{bicolor-picker.B8Og3cEe.js → bicolor-picker.BIxYmH8T.js} +1 -1
- package/library/chunks/{block-width.BgXEUBL9.js → block-width.DDBxasyy.js} +484 -460
- package/library/chunks/{border-input-group.D3fEj_NT.js → border-input-group.DYJ0TvAS.js} +3 -3
- package/library/chunks/{breadcrumb.C_NpOjQB.js → breadcrumb.WKQKC3f1.js} +1 -1
- package/library/chunks/{button.DeRJNqpr.js → button.D58Q0tW6.js} +2 -2
- package/library/chunks/{color-picker.YQfGbc4_.js → color-picker.DQzgEk7r.js} +10 -10
- package/library/chunks/{color-swatch-group.BQxH1WM1.js → color-swatch-group.D6W7Zrig.js} +60 -60
- package/library/chunks/{color-swatch.-69F8jvl.js → color-swatch.DlzNqa0X.js} +3 -3
- package/library/chunks/{config-manager.BO-EItzn.js → config-manager.CXUj_qfl.js} +36 -36
- package/library/chunks/{configs-controller.DS_tmFst.js → configs-controller.C34CcFSA.js} +65 -65
- package/library/chunks/{confirm-popover.D3kp6Bg-.js → confirm-popover.BF6FfiVI.js} +4 -4
- package/library/chunks/{copy-button.B4Q_8B50.js → copy-button.BzYFM1nx.js} +2 -2
- package/library/chunks/{corner-position-input-group.lsTSrT61.js → corner-position-input-group.Aos2Z9cJ.js} +4 -4
- package/library/chunks/{date-calendar.Dc3XKO0t.js → date-calendar.DzLGaro8.js} +1 -1
- package/library/chunks/{details.BacO3ROq.js → details.B_IIkM1I.js} +1 -1
- package/library/chunks/{dialog.CfbeRoZl.js → dialog.Cagz5vxR.js} +3 -3
- package/library/chunks/{document-viewer.CJ8zqnoz.js → document-viewer.BKdDZ9MG.js} +28 -19
- package/library/chunks/{dot-pagination.CH4nRyA8.js → dot-pagination.ka2dgd3K.js} +2 -2
- package/library/chunks/{drawer.DdZl0Tae.js → drawer.CqpMBED_.js} +2 -2
- package/library/chunks/{dropdown.CHSfZeHp.js → dropdown.DhjYWqJb.js} +4 -4
- package/library/chunks/{dynamic-select.BLoP9tvq.js → dynamic-select.L12vKCOX.js} +5 -5
- package/library/chunks/{e-chart.fGTLKIDX.js → e-chart.CAAz1JC5.js} +2 -2
- package/library/chunks/{element-clamp.BXz2Lc5M.js → element-clamp.M1T8iWvk.js} +2 -2
- package/library/chunks/{file-on-demand.bgCbasKa.js → file-on-demand.BAwB-Znv.js} +17 -17
- package/library/chunks/{folder-select.Cc9PkoVE.js → folder-select.BajqQkzA.js} +7 -7
- package/library/chunks/{format-time.DZCXUWmw.js → format-time.CxaGqngb.js} +1 -1
- package/library/chunks/{header.Dz7W1DJC.js → header.CfCULafs.js} +2 -2
- package/library/chunks/{i18n.BJ2p4em8.js → i18n.deOPJlBG.js} +1 -0
- package/library/chunks/{icon-button.Dd-oDRfX.js → icon-button.DSSgDKO8.js} +2 -2
- package/library/chunks/{iframe.DsOaw03m.js → iframe.BVnWzC6u.js} +1 -1
- package/library/chunks/{image-comparer.FB0ZzA0d.js → image-comparer.6hxOR7VL.js} +1 -1
- package/library/chunks/{image.WBQUoc3j.js → image.wVxvwZxr.js} +76 -81
- package/library/chunks/{input.w9KQVNnx.js → input.AS0kZ6ks.js} +1 -1
- package/library/chunks/{line-clamp.DAhcB8_D.js → line-clamp.biFX066w.js} +2 -2
- package/library/chunks/{markdown.C1P0ctPs.js → markdown.BwIil8g5.js} +2 -2
- package/library/chunks/{masonry.BnIxslnb.js → masonry.D4DxZZ03.js} +3 -3
- package/library/chunks/{menu-item.CX4NV4BU.js → menu-item.Bi9zjGsW.js} +3 -3
- package/library/chunks/{menu.Al_SBJNI.js → menu.DqKFF1tH.js} +2 -2
- package/library/chunks/{option.DckbOkYC.js → option.CKvalzr2.js} +1 -1
- package/library/chunks/{padding-input-group.BTjH4scb.js → padding-input-group.BURYDFGi.js} +1 -1
- package/library/chunks/{pagination.B17Ykd-G.js → pagination.DEGvwJXh.js} +7 -7
- package/library/chunks/{popup.Bk9xpj1E.js → popup.DQcD7riQ.js} +1 -1
- package/library/chunks/{position-picker.DwDC9gDl.js → position-picker.Cjk5OdB5.js} +1 -1
- package/library/chunks/{progress-bar.BJfkoZ6G.js → progress-bar.BSTyftIm.js} +1 -1
- package/library/chunks/{progress-ring.BSfnNF9M.js → progress-ring.cC63wJQr.js} +1 -1
- package/library/chunks/{radio-card.B7uO9Xs1.js → radio-card.Crn-znqj.js} +1 -1
- package/library/chunks/{range.20iIQxEz.js → range.BEXR2sEB.js} +2 -2
- package/library/chunks/{rating.BgUId4FT.js → rating.DZrii8F_.js} +1 -1
- package/library/chunks/{relative-time.BSSaZxeD.js → relative-time.DZ5rhLwg.js} +1 -1
- package/library/chunks/{select.BivTPBtv.js → select.CmdHRMy_.js} +6 -6
- package/library/chunks/{shadow-input-group.7NODSHPt.js → shadow-input-group.BKu3bgVT.js} +2 -2
- package/library/chunks/{share-option-list.C28_ddOP.js → share-option-list.IgLnP5Ib.js} +2 -2
- package/library/chunks/{sidebar.B1MjUxBY.js → sidebar.CGFDNY9i.js} +1 -1
- package/library/chunks/{size-input-group.CFgOvLnO.js → size-input-group.DzSQz6mI.js} +5 -5
- package/library/chunks/{spinner.o3Rjsff7.js → spinner.DagKrwY5.js} +1 -1
- package/library/chunks/{split-panel.CVyqM2Dr.js → split-panel.Gfbbe8BX.js} +1 -1
- package/library/chunks/{src.CtGMXA2r.js → src.DoJoeNZB.js} +48 -48
- package/library/chunks/src.cBRbsOdC.js +720 -0
- package/library/chunks/{step.C-T63mG1.js → step.Dw2VfEhD.js} +3 -3
- package/library/chunks/{stepper-wizard.BCmR5WiA.js → stepper-wizard.Bozu8x6U.js} +2 -2
- package/library/chunks/{stepper.DR3oqUpm.js → stepper.cJSgSSMJ.js} +1 -1
- package/library/chunks/{tab-group.BafStohF.js → tab-group.D5yMsNTe.js} +7 -7
- package/library/chunks/{tab.uRk_KNV2.js → tab.BXcVzB6d.js} +3 -3
- package/library/chunks/{tag.B6BfN7x-.js → tag.kF4Izxei.js} +3 -3
- package/library/chunks/{tooltip.fZNjia6Z.js → tooltip.O-5jGui7.js} +2 -2
- package/library/chunks/{tree.B9-viK2b.js → tree.BP9r-4UR.js} +3 -3
- package/library/chunks/{typeface.BHErcYfd.js → typeface.B75hLESf.js} +3 -3
- package/library/chunks/{url.CZO_DV8Y.js → url.BCc06dE7.js} +15 -6
- package/library/chunks/{video.D9JTlBJ9.js → video.C9tEIck_.js} +2 -2
- 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 +53 -53
- 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/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/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/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/tab-group.js +1 -1
- package/library/components/tab.js +1 -1
- package/library/components/tag.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 +10308 -10206
- package/library/components/video.js +1 -1
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/audio/audio.d.ts +2 -0
- package/library/packages/atoms/src/components/document-viewer/document-viewer.d.ts +6 -0
- package/library/packages/atoms/src/components/image/image.d.ts +0 -3
- package/library/packages/events/src/events.d.ts +0 -4
- package/library/packages/organisms/src/content-builder/blocks/audio/audio.d.ts +14 -0
- package/library/packages/organisms/src/content-builder/blocks/button/button.d.ts +8 -0
- package/library/packages/organisms/src/content-builder/blocks/column/column.d.ts +5 -0
- package/library/packages/organisms/src/content-builder/blocks/column-group/column-group.d.ts +5 -0
- package/library/packages/organisms/src/content-builder/blocks/document-viewer/document-viewer.d.ts +8 -0
- package/library/packages/organisms/src/content-builder/blocks/image/image.d.ts +7 -6
- package/library/packages/organisms/src/content-builder/blocks/timeline/timeline.d.ts +0 -2
- package/library/packages/organisms/src/content-builder/blocks/video/video.d.ts +9 -0
- package/library/packages/organisms/src/content-builder/components/template-manager/template-manager.d.ts +11 -0
- package/library/packages/organisms/src/content-builder/content-builder.d.ts +17 -1
- package/library/packages/organisms/src/content-builder-viewer/content-builder-viewer.d.ts +13 -4
- package/library/packages/organisms/src/form/control-renderer/control-renderer.d.ts +1 -1
- package/library/packages/tools/src/fetch-asset/fetch-asset.d.ts +2 -1
- package/library/packages/tools/src/fetch-image/fetch-image.d.ts +28 -0
- package/library/packages/utils/src/asset-url-mode/asset-url-mode.d.ts +22 -0
- package/library/packages/utils/src/asset-url-mode/index.d.ts +1 -0
- package/library/packages/utils/src/custom-element/i18n.d.ts +1 -0
- package/library/packages/utils/src/url/url.d.ts +7 -0
- package/library/react-web-component.d.ts +21 -1
- package/library/utils.js +29 -707
- package/package.json +1 -1
- package/library/packages/events/src/cx-image-src-resolved.d.ts +0 -9
- package/library/packages/events/src/cx-timeline-data-resolved.d.ts +0 -9
- package/library/packages/events/src/cx-video-src-resolved.d.ts +0 -8
- package/library/packages/events/src/cx-video-thumbnail-resolved.d.ts +0 -8
|
@@ -2,10 +2,10 @@ 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.
|
|
6
|
-
import { t as l } from "./input.
|
|
5
|
+
import { t as c } from "./i18n.deOPJlBG.js";
|
|
6
|
+
import { t as l } from "./input.AS0kZ6ks.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.BIxYmH8T.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) {
|
|
@@ -3,7 +3,7 @@ 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.deOPJlBG.js";
|
|
7
7
|
import { t as u } from "./icon.CeQpEaQz.js";
|
|
8
8
|
//#region ../../packages/atoms/src/components/breadcrumb/breadcrumb.styles.ts
|
|
9
9
|
var d = t`.breadcrumb{flex-wrap:wrap;align-items:center;display:flex}`, f = class extends a {
|
|
@@ -2,7 +2,7 @@ import { a as e, i as t, n, r, t as i } from "./cortex-element.DTrNUtdr.js";
|
|
|
2
2
|
import { t as a } from "./query.B1yi7t71.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.deOPJlBG.js";
|
|
6
6
|
import { r as l, t as u } from "./slot.CZUlACxT.js";
|
|
7
7
|
import { t as d } from "./watch.Ub5r8btz.js";
|
|
8
8
|
import { t as f } from "./class-map.D8nsNOVJ.js";
|
|
@@ -10,7 +10,7 @@ import { t as p } from "./if-defined.B29V_rEp.js";
|
|
|
10
10
|
import { t as m } from "./when.BUskJLtZ.js";
|
|
11
11
|
import { n as h, t as g } from "./static-html.Ce8Avr_g.js";
|
|
12
12
|
import { t as _ } from "./icon.CeQpEaQz.js";
|
|
13
|
-
import { t as v } from "./spinner.
|
|
13
|
+
import { t as v } from "./spinner.DagKrwY5.js";
|
|
14
14
|
import { a as y, t as b } from "./form.JYXtmwQ2.js";
|
|
15
15
|
import { t as x } from "./button.styles.qqO2jzGj.js";
|
|
16
16
|
//#region ../../packages/types/src/button.ts
|
|
@@ -4,16 +4,16 @@ import { t as s } from "./event-options.DmLrpUIg.js";
|
|
|
4
4
|
import { t as c } from "./query.B1yi7t71.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.deOPJlBG.js";
|
|
8
8
|
import { t as f } from "./watch.Ub5r8btz.js";
|
|
9
9
|
import { t as p } from "./class-map.D8nsNOVJ.js";
|
|
10
|
-
import { t as ee } from "./icon-button.
|
|
10
|
+
import { t as ee } from "./icon-button.DSSgDKO8.js";
|
|
11
11
|
import { t as m } from "./if-defined.B29V_rEp.js";
|
|
12
12
|
import { t as h } from "./when.BUskJLtZ.js";
|
|
13
13
|
import { t as g } from "./icon.CeQpEaQz.js";
|
|
14
|
-
import { t as _ } from "./spinner.
|
|
14
|
+
import { t as _ } from "./spinner.DagKrwY5.js";
|
|
15
15
|
import { t as v } from "./style-map.DPGQIxip.js";
|
|
16
|
-
import { t as y } from "./button.
|
|
16
|
+
import { t as y } from "./button.D58Q0tW6.js";
|
|
17
17
|
import { t as te } from "./form.JYXtmwQ2.js";
|
|
18
18
|
import { t as b } from "./debounce.Ci-xdsHE.js";
|
|
19
19
|
import { t as x } from "./button-group.CPfXrqyq.js";
|
|
@@ -23,12 +23,12 @@ import { c as w, d as T, f as E, i as D, n as O, o as k, s as ne, u as A } from
|
|
|
23
23
|
import { t as j } from "./drag.s0AcVpKh.js";
|
|
24
24
|
import { t as M } from "./math.od1DVmRk.js";
|
|
25
25
|
import { t as N } from "./repeat.CKv9FPlC.js";
|
|
26
|
-
import { t as P } from "./dropdown.
|
|
27
|
-
import { t as F } from "./input.
|
|
28
|
-
import { t as I } from "./option.
|
|
29
|
-
import { t as L } from "./select.
|
|
30
|
-
import { t as R } from "./tab.
|
|
31
|
-
import { t as z } from "./tab-group.
|
|
26
|
+
import { t as P } from "./dropdown.DhjYWqJb.js";
|
|
27
|
+
import { t as F } from "./input.AS0kZ6ks.js";
|
|
28
|
+
import { t as I } from "./option.CKvalzr2.js";
|
|
29
|
+
import { t as L } from "./select.CmdHRMy_.js";
|
|
30
|
+
import { t as R } from "./tab.BXcVzB6d.js";
|
|
31
|
+
import { t as z } from "./tab-group.D5yMsNTe.js";
|
|
32
32
|
import { t as B } from "./tab-panel.BxeoKuSv.js";
|
|
33
33
|
import { t as V } from "./visually-hidden.Bv3SInZp.js";
|
|
34
34
|
//#region ../../packages/atoms/src/components/color-picker/color-picker.styles.ts
|
|
@@ -3,52 +3,52 @@ import { c as r, d as i, n as a, r as o } from "./lit.CyJqR2kf.js";
|
|
|
3
3
|
import { a as s, i as c, n as l, r as u, t as d } from "./cortex-element.DTrNUtdr.js";
|
|
4
4
|
import { t as f } from "./query.B1yi7t71.js";
|
|
5
5
|
import { t as p } from "./query-all.NK7qxEbl.js";
|
|
6
|
-
import { t as m } from "./popup.
|
|
6
|
+
import { t as m } from "./popup.DQcD7riQ.js";
|
|
7
7
|
import { t as h } from "./component.styles.0xM1ZmBs.js";
|
|
8
8
|
import { t as g } from "./custom-element.BEMYNDK1.js";
|
|
9
|
-
import { t as _ } from "./i18n.
|
|
9
|
+
import { t as _ } from "./i18n.deOPJlBG.js";
|
|
10
10
|
import { t as v } from "./slot.CZUlACxT.js";
|
|
11
11
|
import { O as y, S as ee, h as b, k as x, n as te, t as S } from "./watch.Ub5r8btz.js";
|
|
12
12
|
import { t as C } from "./class-map.D8nsNOVJ.js";
|
|
13
|
-
import { t as w } from "./icon-button.
|
|
13
|
+
import { t as w } from "./icon-button.DSSgDKO8.js";
|
|
14
14
|
import { t as T } from "./if-defined.B29V_rEp.js";
|
|
15
15
|
import { t as E } from "./when.BUskJLtZ.js";
|
|
16
16
|
import { t as D } from "./icon.CeQpEaQz.js";
|
|
17
|
-
import { t as O } from "./spinner.
|
|
17
|
+
import { t as O } from "./spinner.DagKrwY5.js";
|
|
18
18
|
import { t as k } from "./style-map.DPGQIxip.js";
|
|
19
|
-
import { t as ne } from "./button.
|
|
19
|
+
import { t as ne } from "./button.D58Q0tW6.js";
|
|
20
20
|
import { g as A, h as re, l as ie, t as ae } from "./string.DAuTpyw8.js";
|
|
21
21
|
import { o as oe, s as j } from "./dom.BsVeSE01.js";
|
|
22
22
|
import { t as M } from "./debounce.Ci-xdsHE.js";
|
|
23
|
-
import { t as N } from "./tooltip.
|
|
24
|
-
import { t as se } from "./line-clamp.
|
|
25
|
-
import { t as ce } from "./tag.
|
|
23
|
+
import { t as N } from "./tooltip.O-5jGui7.js";
|
|
24
|
+
import { t as se } from "./line-clamp.biFX066w.js";
|
|
25
|
+
import { t as ce } from "./tag.kF4Izxei.js";
|
|
26
26
|
import { n as le, t as ue } from "./typography.B0mkhqTB.js";
|
|
27
27
|
import { t as de } from "./badge.H_UuxPXn.js";
|
|
28
28
|
import { t as fe } from "./checkbox.aFoOxk2j.js";
|
|
29
29
|
import { t as pe } from "./repeat.CKv9FPlC.js";
|
|
30
|
-
import { t as me } from "./dropdown.
|
|
31
|
-
import { t as he } from "./input.
|
|
32
|
-
import { t as ge } from "./menu.
|
|
33
|
-
import { t as _e } from "./menu-item.
|
|
30
|
+
import { t as me } from "./dropdown.DhjYWqJb.js";
|
|
31
|
+
import { t as he } from "./input.AS0kZ6ks.js";
|
|
32
|
+
import { t as ge } from "./menu.DqKFF1tH.js";
|
|
33
|
+
import { t as _e } from "./menu-item.Bi9zjGsW.js";
|
|
34
34
|
import { t as ve } from "./space.Dd8jezXK.js";
|
|
35
35
|
import { t as ye } from "./unsafe-html.Cb838aX7.js";
|
|
36
|
-
import { t as be } from "./select.
|
|
36
|
+
import { t as be } from "./select.CmdHRMy_.js";
|
|
37
37
|
import { t as xe } from "./guard.Cf17k6Vx.js";
|
|
38
38
|
import { a as Se, f as Ce, l as we, r as Te } from "./date.BL4L64Hx.js";
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import { t as
|
|
42
|
-
import {
|
|
43
|
-
import { n as
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
39
|
+
import { $ as Ee, D as De, at as Oe, et as ke, nt as Ae, rt as je, st as Me } from "./src.cBRbsOdC.js";
|
|
40
|
+
import { t as Ne } from "./details.B_IIkM1I.js";
|
|
41
|
+
import { i as Pe, s as Fe, t as Ie } from "./dialog.Cagz5vxR.js";
|
|
42
|
+
import { t as Le } from "./divider.CqSNZCU8.js";
|
|
43
|
+
import { n as Re } from "./toString.r2ImdBrm.js";
|
|
44
|
+
import { n as ze } from "./capitalize.BT_EavGy.js";
|
|
45
|
+
import { _ as Be, c as Ve, g as He, l as Ue, v as We, y as Ge } from "./color.CIOzHtLK.js";
|
|
46
|
+
import { f as Ke, n as qe, r as Je, t as Ye } from "./responsive.L9Csz2w2.js";
|
|
47
47
|
import Xe from "../components/format-number.js";
|
|
48
48
|
import { t as Ze } from "./menu-section.BzzA6L5E.js";
|
|
49
|
-
import { n as Qe, t as $e } from "./pagination.
|
|
49
|
+
import { n as Qe, t as $e } from "./pagination.DEGvwJXh.js";
|
|
50
50
|
import { t as et } from "./sortable.esm.W3y3EWKS.js";
|
|
51
|
-
import { t as tt } from "./color-swatch
|
|
51
|
+
import { t as tt } from "./color-swatch.DlzNqa0X.js";
|
|
52
52
|
import { t as nt } from "./debounce.DrhImrNP.js";
|
|
53
53
|
import { c as rt, o as it, s as at, t as ot } from "./_baseIteratee.DWc2-Bvm.js";
|
|
54
54
|
import { n as st, r as ct, t as lt } from "./_baseUniq.h_pGICPH.js";
|
|
@@ -153,7 +153,7 @@ var At = {
|
|
|
153
153
|
static #n = this.dependencies = {
|
|
154
154
|
"cx-badge": de,
|
|
155
155
|
"cx-button": ne,
|
|
156
|
-
"cx-details":
|
|
156
|
+
"cx-details": Ne,
|
|
157
157
|
"cx-dropdown": me,
|
|
158
158
|
"cx-icon": D,
|
|
159
159
|
"cx-icon-button": w,
|
|
@@ -376,7 +376,7 @@ var Nt = P, Pt = /* @__PURE__ */ function(e) {
|
|
|
376
376
|
function Gt(e, t, n) {
|
|
377
377
|
for (var r = n ? st : ct, i = e[0].length, a = e.length, o = a, s = Array(a), c = Infinity, l = []; o--;) {
|
|
378
378
|
var u = e[o];
|
|
379
|
-
o && t && (u =
|
|
379
|
+
o && t && (u = Re(u, b(t))), c = Wt(u.length, c), s[o] = !n && (t || i >= 120 && u.length >= 120) ? new x(o && u) : void 0;
|
|
380
380
|
}
|
|
381
381
|
u = e[0];
|
|
382
382
|
var d = -1, f = s[0];
|
|
@@ -400,7 +400,7 @@ function Kt(e) {
|
|
|
400
400
|
//#endregion
|
|
401
401
|
//#region ../../node_modules/lodash-es/intersectionBy.js
|
|
402
402
|
var qt = pt(function(e) {
|
|
403
|
-
var t = gt(e), n =
|
|
403
|
+
var t = gt(e), n = Re(e, Kt);
|
|
404
404
|
return t === gt(n) ? t = void 0 : n.pop(), n.length && n[0] === e[0] ? Gt(n, ot(t, 2)) : [];
|
|
405
405
|
}), Jt = pt(function(e) {
|
|
406
406
|
var t = gt(e);
|
|
@@ -414,7 +414,7 @@ var qt = pt(function(e) {
|
|
|
414
414
|
//#endregion
|
|
415
415
|
//#region ../../node_modules/lodash-es/_parent.js
|
|
416
416
|
function Zt(e, t) {
|
|
417
|
-
return t.length < 2 ? e : it(e,
|
|
417
|
+
return t.length < 2 ? e : it(e, ze(t, 0, -1));
|
|
418
418
|
}
|
|
419
419
|
//#endregion
|
|
420
420
|
//#region ../../node_modules/lodash-es/_baseUnset.js
|
|
@@ -432,7 +432,7 @@ var en = 1, tn = 2, nn = 4, rn = vt(function(e, t) {
|
|
|
432
432
|
var n = {};
|
|
433
433
|
if (e == null) return n;
|
|
434
434
|
var r = !1;
|
|
435
|
-
t =
|
|
435
|
+
t = Re(t, function(t) {
|
|
436
436
|
return t = rt(t, e), r ||= t.length > 1, t;
|
|
437
437
|
}), bt(e, yt(e), n), r && (n = xt(n, en | tn | nn, $t));
|
|
438
438
|
for (var i = t.length; i--;) Qt(n, t[i]);
|
|
@@ -497,7 +497,7 @@ var ln = /mac os x/i.test(navigator.userAgent) && !/iphone|ipad/i.test(navigator
|
|
|
497
497
|
static #e = this.styles = [h, sn];
|
|
498
498
|
static #t = this.dependencies = {
|
|
499
499
|
"cx-board-list-item": on,
|
|
500
|
-
"cx-divider":
|
|
500
|
+
"cx-divider": Le,
|
|
501
501
|
"cx-icon": D,
|
|
502
502
|
"cx-icon-button": w,
|
|
503
503
|
"cx-input": he,
|
|
@@ -604,7 +604,7 @@ var ln = /mac os x/i.test(navigator.userAgent) && !/iphone|ipad/i.test(navigator
|
|
|
604
604
|
let r = e.item.dataset.id, i = n.selectedItemAsArray;
|
|
605
605
|
i.includes(r) || (i = [r]);
|
|
606
606
|
let a = i.length > 1, o = Number(e.newIndex) - 1 + this.start, s = this.resolveRealInsertIndex(o);
|
|
607
|
-
t =
|
|
607
|
+
t = Ae(t, s, i), this.handleUpdateEvent(t, e.type, a, s);
|
|
608
608
|
}
|
|
609
609
|
async handleEnd(e) {
|
|
610
610
|
e.from === e.to && this.handleUpdate(e), this.isDragging = !1, await this.updateComplete;
|
|
@@ -625,7 +625,7 @@ var ln = /mac os x/i.test(navigator.userAgent) && !/iphone|ipad/i.test(navigator
|
|
|
625
625
|
let t = this.items.map((e) => e.id), n = e.item.dataset.id, r = this.selectedItemAsArray;
|
|
626
626
|
r.includes(n) || (r = [n]);
|
|
627
627
|
let i = r.length > 1;
|
|
628
|
-
t =
|
|
628
|
+
t = Me(t, r.map((e) => Ee(this.items, "id", e))), this.handleUpdateEvent(t, e.type, i, e.newIndex);
|
|
629
629
|
}
|
|
630
630
|
handleDefaultSelect(e) {
|
|
631
631
|
let t = e.dataset.id;
|
|
@@ -638,12 +638,12 @@ var ln = /mac os x/i.test(navigator.userAgent) && !/iphone|ipad/i.test(navigator
|
|
|
638
638
|
}), this.lastSelectedItem = e;
|
|
639
639
|
}
|
|
640
640
|
handleShiftSelect(e) {
|
|
641
|
-
let t = this.filteredItems.filter((e) => this.isSelectableItem(e)), n =
|
|
641
|
+
let t = this.filteredItems.filter((e) => this.isSelectableItem(e)), n = Ee(t, "id", this.lastSelectedItem?.dataset.id), r = Ee(t, "id", e.dataset.id);
|
|
642
642
|
if (n === -1 || r === -1) {
|
|
643
643
|
this.handleDefaultSelect(e);
|
|
644
644
|
return;
|
|
645
645
|
}
|
|
646
|
-
let i =
|
|
646
|
+
let i = Oe(this.selectedItemAsArray, e.dataset.id, t);
|
|
647
647
|
this._selectedItems = i.reduce((e, t) => (t && (e[t] = !0), e), {}), this._selectedItemOrder = i.reduce((e, t) => (t && (e[t] = Object.keys(e).length), e), {});
|
|
648
648
|
}
|
|
649
649
|
handleSelect(e) {
|
|
@@ -692,7 +692,7 @@ var ln = /mac os x/i.test(navigator.userAgent) && !/iphone|ipad/i.test(navigator
|
|
|
692
692
|
}
|
|
693
693
|
handleUpdate(e) {
|
|
694
694
|
let t = this.items.map((e) => e.id), n = this.selectedItemAsArray, r = n.length > 1, i = this.resolveDropIndex(e.item);
|
|
695
|
-
i !== null && (t =
|
|
695
|
+
i !== null && (t = je(t, n.map((e) => Ee(this.items, "id", e)), i), this.handleUpdateEvent(t, "update", r));
|
|
696
696
|
}
|
|
697
697
|
handleMove(e) {
|
|
698
698
|
let { related: t, willInsertAfter: n } = e;
|
|
@@ -725,7 +725,7 @@ var ln = /mac os x/i.test(navigator.userAgent) && !/iphone|ipad/i.test(navigator
|
|
|
725
725
|
indexAfterLastVisibleRealItem() {
|
|
726
726
|
for (let e = this.filteredItems.length - 1; e >= 0; e--) {
|
|
727
727
|
let t = this.filteredItems[e];
|
|
728
|
-
if (t.id !== t.group) return
|
|
728
|
+
if (t.id !== t.group) return Ee(this.items, "id", t.id) + 1;
|
|
729
729
|
}
|
|
730
730
|
return this.items.length;
|
|
731
731
|
}
|
|
@@ -733,12 +733,12 @@ var ln = /mac os x/i.test(navigator.userAgent) && !/iphone|ipad/i.test(navigator
|
|
|
733
733
|
if (e >= this.filteredItems.length) return this.indexAfterLastVisibleRealItem();
|
|
734
734
|
for (let t = Math.max(e, 0); t < this.filteredItems.length; t++) {
|
|
735
735
|
let e = this.filteredItems[t];
|
|
736
|
-
if (e.id !== e.group) return
|
|
736
|
+
if (e.id !== e.group) return Ee(this.items, "id", e.id);
|
|
737
737
|
}
|
|
738
738
|
return this.indexAfterLastVisibleRealItem();
|
|
739
739
|
}
|
|
740
740
|
resolveDropIndex(e) {
|
|
741
|
-
let t = e.nextElementSibling, n = t instanceof HTMLElement && t.dataset.id ?
|
|
741
|
+
let t = e.nextElementSibling, n = t instanceof HTMLElement && t.dataset.id ? Ee(this.filteredItems, "id", t.dataset.id) : Math.min(this.end, this.filteredItems.length), r = Ee(this.filteredItems, "id", e.dataset.id);
|
|
742
742
|
return n === r || n === r + 1 ? null : this.resolveRealInsertIndex(n);
|
|
743
743
|
}
|
|
744
744
|
initSortable() {
|
|
@@ -1001,7 +1001,7 @@ var B = class extends d {
|
|
|
1001
1001
|
isValidChanges(e, t, n) {
|
|
1002
1002
|
if (this.addLimit || this.addLimit === 0) {
|
|
1003
1003
|
let r = [];
|
|
1004
|
-
if (n === "add" ? r = e : n === "remove" && (r = Jt(Ut(t, e), this.secondColumnItemIds)), Ut(r, this.initialSecondColumnItems).length > this.addLimit) return
|
|
1004
|
+
if (n === "add" ? r = e : n === "remove" && (r = Jt(Ut(t, e), this.secondColumnItemIds)), Ut(r, this.initialSecondColumnItems).length > this.addLimit) return De(this.localize.term("addLimitExceeded", this.addLimit), { notificationType: "warning" }), !1;
|
|
1005
1005
|
}
|
|
1006
1006
|
return !0;
|
|
1007
1007
|
}
|
|
@@ -1011,7 +1011,7 @@ var B = class extends d {
|
|
|
1011
1011
|
let e = this.firstColumnData, n = this.secondColumnData;
|
|
1012
1012
|
if (t === this.secondColumnData.id && (e = this.secondColumnData, n = this.firstColumnData), a === "add") {
|
|
1013
1013
|
let r = this.selectedItems[n.id], o = e.items.map((e) => e.id);
|
|
1014
|
-
if (o =
|
|
1014
|
+
if (o = Ae(o, wn(i ?? 0, s, e.items), r), t === this.firstColumnData.id) this.firstColumnData = {
|
|
1015
1015
|
...this.firstColumnData,
|
|
1016
1016
|
items: o.map((e) => this.itemMap[e])
|
|
1017
1017
|
};
|
|
@@ -1243,7 +1243,7 @@ var Dn = B, On = /* @__PURE__ */ function(e) {
|
|
|
1243
1243
|
static #e = this.styles = [h, kn];
|
|
1244
1244
|
static #t = this.dependencies = {
|
|
1245
1245
|
"cx-button": ne,
|
|
1246
|
-
"cx-dialog":
|
|
1246
|
+
"cx-dialog": Ie,
|
|
1247
1247
|
"cx-multi-select": Dn
|
|
1248
1248
|
};
|
|
1249
1249
|
get canApply() {
|
|
@@ -1292,7 +1292,7 @@ var Dn = B, On = /* @__PURE__ */ function(e) {
|
|
|
1292
1292
|
return r`<cx-dialog label=${this.localize.term("editColumns")} ?open=${this.open} @cx-request-close=${this.handleDialogRequestClose}><cx-multi-select .firstColumnData=${this.firstColumnData} .secondColumnData=${this.secondColumnData} @cx-multi-select-change=${this.handleMultiSelectChange}></cx-multi-select>${E(!this.canApply, () => r`<p class="table-column-editor__note">${this.localize.term("editColumnsMinVisibleNote")}</p>`)}<div slot="footer" class="table-column-editor__footer"><cx-button @click=${this.handleCancel}>${this.localize.term("cancel")}</cx-button><cx-button variant="primary" ?disabled=${!this.canApply} @click=${this.handleApply}>${this.localize.term("apply")}</cx-button></div></cx-dialog>`;
|
|
1293
1293
|
}
|
|
1294
1294
|
};
|
|
1295
|
-
l([f("cx-dialog"), u("design:type",
|
|
1295
|
+
l([f("cx-dialog"), u("design:type", Ie === void 0 ? Object : Ie)], An.prototype, "dialogEl", void 0), l([s({
|
|
1296
1296
|
reflect: !0,
|
|
1297
1297
|
type: Boolean
|
|
1298
1298
|
}), u("design:type", Object)], An.prototype, "open", void 0), l([s({ attribute: !1 }), u("design:type", Array)], An.prototype, "entries", void 0), l([c(), u("design:type", Object)], An.prototype, "firstColumnData", void 0), l([c(), u("design:type", Object)], An.prototype, "secondColumnData", void 0), l([c(), u("design:type", Array)], An.prototype, "visibleFields", void 0), l([
|
|
@@ -1396,7 +1396,7 @@ var Ln = In, Rn = i`.table-row-actions__button::part(label),.table-row-actions__
|
|
|
1396
1396
|
return this;
|
|
1397
1397
|
}
|
|
1398
1398
|
handleActionChange() {
|
|
1399
|
-
this.groupedDropdownItems =
|
|
1399
|
+
this.groupedDropdownItems = ke(this.action?.options?.dropdownItems ?? [], "section"), this.sections = Object.keys(this.groupedDropdownItems);
|
|
1400
1400
|
}
|
|
1401
1401
|
handleActionClick(e) {
|
|
1402
1402
|
let t = e.currentTarget?.dataset?.action;
|
|
@@ -2755,7 +2755,7 @@ var Pr = class e extends W {
|
|
|
2755
2755
|
if (!this.table.destroyed && !this.blocked) {
|
|
2756
2756
|
e.preventDefault(), e.stopPropagation(), this.customSelection ? (t = this.customSelection, this.table.options.clipboardCopyFormatter && typeof this.table.options.clipboardCopyFormatter == "function" && (t = this.table.options.clipboardCopyFormatter("plain", t))) : (r = this.table.modules.export?.generateExportList(this.table.options.clipboardCopyConfig, this.table.options.clipboardCopyStyled, this.rowRange, "clipboard"), n = this.table.modules.export?.generateHTMLTable(r), t = n ? this.generatePlainContent(r) : "", this.table.options.clipboardCopyFormatter && typeof this.table.options.clipboardCopyFormatter == "function" && (t = this.table.options.clipboardCopyFormatter("plain", t), n = this.table.options.clipboardCopyFormatter("html", n ?? "")));
|
|
2757
2757
|
let i = Nr(e);
|
|
2758
|
-
i?.setData && (i.setData("text/plain", t), n && i.setData("text/html", n),
|
|
2758
|
+
i?.setData && (i.setData("text/plain", t), n && i.setData("text/html", n), De("Copied to clipboard", { notificationType: "success" })), this.dispatchExternal("clipboardCopied", t, n), this.reset();
|
|
2759
2759
|
}
|
|
2760
2760
|
}
|
|
2761
2761
|
handlePasteEvent(e) {
|
|
@@ -16208,12 +16208,12 @@ var ad, Z = class extends d {
|
|
|
16208
16208
|
static #t = this.styles = [
|
|
16209
16209
|
h,
|
|
16210
16210
|
Eu,
|
|
16211
|
-
|
|
16211
|
+
Fe
|
|
16212
16212
|
];
|
|
16213
16213
|
static #n = this.dependencies = {
|
|
16214
16214
|
"cx-button": ne,
|
|
16215
16215
|
"cx-checkbox": fe,
|
|
16216
|
-
"cx-divider":
|
|
16216
|
+
"cx-divider": Le,
|
|
16217
16217
|
"cx-faceted-filter": Nt,
|
|
16218
16218
|
"cx-format-number": Xe,
|
|
16219
16219
|
"cx-icon": D,
|
|
@@ -16502,7 +16502,7 @@ var ad, Z = class extends d {
|
|
|
16502
16502
|
this.tabulatorInstance.redraw();
|
|
16503
16503
|
return;
|
|
16504
16504
|
}
|
|
16505
|
-
this.osInstance =
|
|
16505
|
+
this.osInstance = Pe({
|
|
16506
16506
|
elements: { viewport: this.tabulatorHolder },
|
|
16507
16507
|
scrollbars: { slot: this.table },
|
|
16508
16508
|
target: this.tabulatorHolder
|
|
@@ -17506,7 +17506,7 @@ var od = Z, Q = /* @__PURE__ */ function(e) {
|
|
|
17506
17506
|
let t = e.getRow().getData(), n = document.createElement("div");
|
|
17507
17507
|
n.style.width = "100%", n.style.userSelect = "none";
|
|
17508
17508
|
let r = document.createElement("div");
|
|
17509
|
-
r.style.backgroundColor =
|
|
17509
|
+
r.style.backgroundColor = Ue(t.hex ?? "", We.LeadingHash), r.style.display = "inline-block", r.style.verticalAlign = "middle", r.style.marginInlineEnd = "var(--cx-spacing-small)", r.style.width = "var(--name-swatch-width, 64px)", r.style.height = "var(--name-swatch-height, 32px)", r.style.borderRadius = "var(--name-swatch-border-radius, 0)", n.appendChild(r);
|
|
17510
17510
|
let i = document.createElement("span");
|
|
17511
17511
|
return i.textContent = t.name ?? "", i.style.overflowWrap = "anywhere", i.style.whiteSpace = "var(--swatch-cell-white-space, nowrap)", n.appendChild(i), n;
|
|
17512
17512
|
},
|
|
@@ -17646,14 +17646,14 @@ var bd = i`:host{--grid-gap:var(--cx-spacing-medium);--grid-column-gap:var(--gri
|
|
|
17646
17646
|
"RGB",
|
|
17647
17647
|
"CMYK",
|
|
17648
17648
|
"PMS"
|
|
17649
|
-
], this.multiLanguage = !1, this.codeAlignment =
|
|
17649
|
+
], this.multiLanguage = !1, this.codeAlignment = He.SameLine, this.codeSeparator = Be.Comma, this.hexFormat = We.LeadingHash, this.showElements = [
|
|
17650
17650
|
ld.PaletteName,
|
|
17651
17651
|
ld.ColumnTitles,
|
|
17652
17652
|
ld.SeparatorLine
|
|
17653
|
-
], this.nameColumnWidthMode = sd.HugContents, this.nameColumnConstraints = !1, this.nameColumnWidth = "", this.codeColumnWidthMode = sd.HugContents, this.codeColumnConstraints = !1, this.codeColumnWidth = "", this.customColumns = [], this.gradientEffect = !1, this.breakpoints =
|
|
17653
|
+
], this.nameColumnWidthMode = sd.HugContents, this.nameColumnConstraints = !1, this.nameColumnWidth = "", this.codeColumnWidthMode = sd.HugContents, this.codeColumnConstraints = !1, this.codeColumnWidth = "", this.customColumns = [], this.gradientEffect = !1, this.breakpoints = Ye, this.deviceType = Ke.Desktop, this.currentCol = 0, this.visibleElements = new Set(this.showElements), this.hugWidths = {}, this.isFocused = !1, this.canFocusContainer = !0, this.isContainerFocused = !1, this.handleWindowResize = this.handleWindowResize.bind(this);
|
|
17654
17654
|
}
|
|
17655
17655
|
runFirstUpdated() {
|
|
17656
|
-
this.setAttribute("role", "region"), this.setAttribute("aria-label", this.localize.term("colorSwatches")), this.setAttribute("aria-roledescription", this.localize.term("colorSwatches")), this.breakpoints =
|
|
17656
|
+
this.setAttribute("role", "region"), this.setAttribute("aria-label", this.localize.term("colorSwatches")), this.setAttribute("aria-roledescription", this.localize.term("colorSwatches")), this.breakpoints = qe(this, this.breakpoints), this.handleResize();
|
|
17657
17657
|
}
|
|
17658
17658
|
connectedCallback() {
|
|
17659
17659
|
super.connectedCallback(), window.addEventListener("resize", this.handleWindowResize);
|
|
@@ -17672,7 +17672,7 @@ var bd = i`:host{--grid-gap:var(--cx-spacing-medium);--grid-column-gap:var(--gri
|
|
|
17672
17672
|
this.currentCol = Math.floor((e + n) / (165 + n));
|
|
17673
17673
|
break;
|
|
17674
17674
|
}
|
|
17675
|
-
case Q.Circles: this.deviceType =
|
|
17675
|
+
case Q.Circles: this.deviceType = Je(this.breakpoints);
|
|
17676
17676
|
}
|
|
17677
17677
|
}
|
|
17678
17678
|
handleKeyDown(e) {
|
|
@@ -17751,7 +17751,7 @@ var bd = i`:host{--grid-gap:var(--cx-spacing-medium);--grid-column-gap:var(--gri
|
|
|
17751
17751
|
return t;
|
|
17752
17752
|
}
|
|
17753
17753
|
formatCode(e, t) {
|
|
17754
|
-
return e === "hex" ?
|
|
17754
|
+
return e === "hex" ? Ue(t, this.hexFormat) : e === "rgb" || e === "cmyk" ? Ve(t, this.codeSeparator) : t;
|
|
17755
17755
|
}
|
|
17756
17756
|
applyColumnSettings(e, t) {
|
|
17757
17757
|
let n = { ...e }, r = t.widthMode === sd.HugContents;
|
|
@@ -17835,12 +17835,12 @@ var bd = i`:host{--grid-gap:var(--cx-spacing-medium);--grid-column-gap:var(--gri
|
|
|
17835
17835
|
this.isContainerFocused || (this.canFocusContainer = !this.isFocused);
|
|
17836
17836
|
}
|
|
17837
17837
|
get currentDirection() {
|
|
17838
|
-
return this.variant === Q.Circles && this.deviceType !==
|
|
17838
|
+
return this.variant === Q.Circles && this.deviceType !== Ke.Desktop ? "vertical" : "horizontal";
|
|
17839
17839
|
}
|
|
17840
17840
|
get swatchVariant() {
|
|
17841
17841
|
switch (this.variant) {
|
|
17842
|
-
case Q.Circles: return this.deviceType ===
|
|
17843
|
-
case Q.Grid: return
|
|
17842
|
+
case Q.Circles: return this.deviceType === Ke.Tablet ? Ge.Oval : Ge.Circle;
|
|
17843
|
+
case Q.Grid: return Ge.GridItem;
|
|
17844
17844
|
default: return;
|
|
17845
17845
|
}
|
|
17846
17846
|
}
|
|
@@ -17870,7 +17870,7 @@ var bd = i`:host{--grid-gap:var(--cx-spacing-medium);--grid-column-gap:var(--gri
|
|
|
17870
17870
|
[`color-swatch-group__swatches--circles--${e}`]: this.variant === Q.Circles
|
|
17871
17871
|
})} style=${k({ gridTemplateColumns: this.currentCol >= this.maxCol ? `repeat(${this.maxCol}, 1fr)` : "repeat(auto-fit, minmax(165px, 1fr))" })}>${pe(this.data, (e) => e.name, (n, i) => r`<cx-color-swatch part="color-swatch-item" role="listitem" aria-label=${this.localize.term("colorOfTotal", i + 1, this.data.length)} hex=${n.hex} rgb=${n.rgb} cmyk=${n.cmyk} pms=${n.pms} name=${this.multiLanguage && t ? n[`name-${t.toLowerCase()}`] ?? n.name : n.name} variant=${this.swatchVariant} ?can-copy=${this.canCopy} ?can-focus-code-only=${this.isFocused} gradient-stops=${this.gradientStopsFor(i)} .showCodes=${this.showCodes} code-alignment=${this.codeAlignment} code-separator=${this.codeSeparator} hex-format=${this.hexFormat} no-auto-convert class=${C({
|
|
17872
17872
|
[`color-swatch-group__swatches--circles--${e}__item`]: this.variant === Q.Circles,
|
|
17873
|
-
"color-swatch-group__swatches--circles--vertical__item--mobile": this.variant === Q.Circles && this.deviceType ===
|
|
17873
|
+
"color-swatch-group__swatches--circles--vertical__item--mobile": this.variant === Q.Circles && this.deviceType === Ke.Mobile
|
|
17874
17874
|
})} @keydown=${this.handleKeyDown} @focusout=${this.handleFocusOut}></cx-color-swatch>`)}</cx-space>`)}
|
|
17875
17875
|
`;
|
|
17876
17876
|
}
|
|
@@ -17904,15 +17904,15 @@ l([f(".color-swatch-group__swatches"), u("design:type", typeof HTMLDivElement >
|
|
|
17904
17904
|
attribute: "code-alignment",
|
|
17905
17905
|
reflect: !0,
|
|
17906
17906
|
type: String
|
|
17907
|
-
}), u("design:type",
|
|
17907
|
+
}), u("design:type", He === void 0 ? Object : He)], $.prototype, "codeAlignment", void 0), l([s({
|
|
17908
17908
|
attribute: "code-separator",
|
|
17909
17909
|
reflect: !0,
|
|
17910
17910
|
type: String
|
|
17911
|
-
}), u("design:type",
|
|
17911
|
+
}), u("design:type", Be === void 0 ? Object : Be)], $.prototype, "codeSeparator", void 0), l([s({
|
|
17912
17912
|
attribute: "hex-format",
|
|
17913
17913
|
reflect: !0,
|
|
17914
17914
|
type: String
|
|
17915
|
-
}), u("design:type",
|
|
17915
|
+
}), u("design:type", We === void 0 ? Object : We)], $.prototype, "hexFormat", void 0), l([s({
|
|
17916
17916
|
attribute: "show-elements",
|
|
17917
17917
|
converter: {
|
|
17918
17918
|
fromAttribute: (e) => (e?.split(" ") ?? []).filter((e) => fd.has(e)),
|
|
@@ -17969,7 +17969,7 @@ l([f(".color-swatch-group__swatches"), u("design:type", typeof HTMLDivElement >
|
|
|
17969
17969
|
attribute: "gradient-effect",
|
|
17970
17970
|
reflect: !0,
|
|
17971
17971
|
type: Boolean
|
|
17972
|
-
}), u("design:type", Object)], $.prototype, "gradientEffect", void 0), l([c(), u("design:type", Array)], $.prototype, "breakpoints", void 0), l([c(), u("design:type",
|
|
17972
|
+
}), u("design:type", Object)], $.prototype, "gradientEffect", void 0), l([c(), u("design:type", Array)], $.prototype, "breakpoints", void 0), l([c(), u("design:type", Ke === void 0 ? Object : Ke)], $.prototype, "deviceType", void 0), l([c(), u("design:type", Object)], $.prototype, "currentCol", void 0), l([c(), u("design:type", Object)], $.prototype, "visibleElements", void 0), l([c(), u("design:type", typeof Record > "u" ? Object : Record)], $.prototype, "hugWidths", void 0), l([c(), u("design:type", Object)], $.prototype, "isFocused", void 0), l([c(), u("design:type", Object)], $.prototype, "canFocusContainer", void 0), l([c(), u("design:type", Object)], $.prototype, "isContainerFocused", void 0), l([
|
|
17973
17973
|
M(100),
|
|
17974
17974
|
u("design:type", Function),
|
|
17975
17975
|
u("design:paramtypes", []),
|
|
@@ -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.deOPJlBG.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,11 +11,11 @@ import { t as m } from "./when.BUskJLtZ.js";
|
|
|
11
11
|
import { t as h } from "./style-map.DPGQIxip.js";
|
|
12
12
|
import { t as g } from "./debounce.Ci-xdsHE.js";
|
|
13
13
|
import { t as _ } from "./resize-observer.D9EHlnZI.js";
|
|
14
|
-
import { t as v } from "./line-clamp.
|
|
14
|
+
import { t as v } from "./line-clamp.biFX066w.js";
|
|
15
15
|
import { t as y } from "./typography.B0mkhqTB.js";
|
|
16
16
|
import { t as b } from "./repeat.CKv9FPlC.js";
|
|
17
17
|
import { t as x } from "./space.Dd8jezXK.js";
|
|
18
|
-
import { t as S } from "./copy-button.
|
|
18
|
+
import { t as S } from "./copy-button.BzYFM1nx.js";
|
|
19
19
|
import { _ as C, c as w, f as T, g as E, i as D, l as O, n as k, o as A, v as j, y as M } from "./color.CIOzHtLK.js";
|
|
20
20
|
//#region ../../packages/molecules/src/color-swatch/color-swatch.styles.ts
|
|
21
21
|
var N = t`:host{isolation:isolate;display:block}.color-swatch{border:1px solid var(--cx-color-neutral-200);justify-content:center;align-items:center;display:flex}.color-swatch:focus-visible{outline:var(--cx-focus-ring);outline-offset:var(--cx-focus-ring-offset)}.color-swatch--circle{aspect-ratio:1;height:auto;width:var(--swatch-circle-size,var(--swatch-size,350px));min-width:min(var(--swatch-circle-size,var(--swatch-size,350px)), 230px, 100%);border-radius:var(--swatch-circle-border-radius,var(--cx-border-radius-circle));max-width:100%;overflow:hidden}.color-swatch--oval{height:var(--swatch-circle-size,var(--swatch-size,350px));border-radius:var(--swatch-circle-border-radius,calc(var(--swatch-circle-size,var(--swatch-size,350px)) / 2));width:100%}.color-swatch--grid{width:100%;height:100%;min-width:var(--swatch-grid-min-width,165px);min-height:max(var(--swatch-size,300px), var(--swatch-min-height,50px));border:var(--swatch-border,0px solid transparent);box-shadow:var(--swatch-box-shadow,none);border-radius:var(--swatch-border-radius,var(--cx-border-radius-x-large));border-style:solid;align-items:stretch}.color-swatch__content{max-height:100%;padding:var(--swatch-content-padding,0);justify-content:space-between;gap:var(--cx-spacing-medium)}.color-swatch--circle>.color-swatch__content{min-width:50%;max-width:75%}.color-swatch--oval>.color-swatch__content{max-width:85%}.color-swatch--circle,.color-swatch--oval{justify-content:var(--swatch-circle-content-align,center);align-items:var(--swatch-circle-content-justify,center)}.color-swatch--circle>.color-swatch__content,.color-swatch--oval>.color-swatch__content{align-items:var(--swatch-circle-content-align,center);justify-content:var(--swatch-circle-content-justify,center);margin:var(--swatch-circle-content-margin,0)}.color-swatch--grid>.color-swatch__content{justify-content:var(--swatch-content-justify,space-between);width:100%;max-height:none;padding:var(--swatch-content-margin,var(--cx-spacing-medium))}.color-swatch__key::part(base){vertical-align:middle;min-width:50px;height:100%}.color-swatch__key[variant=small]::part(base){display:inline-block}.color-swatch__copy-button::part(button){height:fit-content;min-height:fit-content;padding:0;background:0 0!important;border-width:0!important}.color-swatch__copy-button::part(label){height:fit-content;padding:0}.color-swatch__value{text-transform:none}.color-swatch__value::part(base){word-break:break-word}.color-swatch__value-wrapper{text-align:left}.color-swatch__name,.color-swatch__key,.color-swatch__value{--font-family:var(--swatch-font-family), var(--cx-font-sans);--font-style:var(--swatch-font-style,normal);--font-weight:var(--swatch-font-weight);--font-size:var(--swatch-font-size);--line-height:1.2}`, P = class extends o {
|