@orangelogic/design-system 4.2.0 → 4.3.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/{_baseXor.DixEm6JQ.js → _baseXor.BCxbgizO.js} +2 -2
- package/library/chunks/{asset-link-format.CVwjA_yf.js → asset-link-format.C5Ue4EGP.js} +37 -36
- package/library/chunks/{button.D1YIxtv-.js → button.DbAUlIXG.js} +3 -3
- package/library/chunks/button.styles.D3GdfF7I.js +5 -0
- package/library/chunks/{color-swatch-group.BPXiMxjh.js → color-swatch-group.B10yWbVM.js} +3279 -2903
- package/library/chunks/color.CIHdfM_a.js +187 -0
- package/library/chunks/{confirm-popover.CJXyEa5A.js → confirm-popover.Cd4HM5-B.js} +4 -4
- package/library/chunks/content-builder.CBBdfVOl.js +55 -0
- package/library/chunks/{dialog.BbQ4Du0M.js → dialog.CXphbq8N.js} +2 -2
- package/library/chunks/{document-viewer.DtBW-p7z.js → document-viewer.B_ESlazf.js} +10 -9
- package/library/chunks/{dom.DL-cNKsj.js → dom.D0lSUoEI.js} +1 -1
- package/library/chunks/{dot-pagination.CJRAtM51.js → dot-pagination.CzT-MZmt.js} +1 -1
- package/library/chunks/{folder-select.BAPsI-gg.js → folder-select.BWeanVkA.js} +5 -5
- package/library/chunks/form-control.styles.CHC7Q08Q.js +5 -0
- package/library/chunks/{form.DN2v7-DH.js → form.LpappO1d.js} +1 -1
- package/library/chunks/{header.BioJzPlg.js → header.Dy57RuQW.js} +132 -90
- package/library/chunks/{i18n.rtxrs1c1.js → i18n.Q5_2aVLU.js} +93 -12
- package/library/chunks/{icon-button.CbUddcgI.js → icon-button.BjAbCuH8.js} +1 -1
- package/library/chunks/{iframe.y7iCAVZP.js → iframe.CdktjPCB.js} +1 -1
- package/library/chunks/{image.A2hE1WoV.js → image.CCo__54F.js} +322 -222
- package/library/chunks/index.DiZGZkHv.js +1126 -0
- package/library/chunks/{input.D1FFprPl.js → input.ftEf4GS6.js} +3 -3
- package/library/chunks/{markdown.Dd_GFJK8.js → markdown.RljldBNb.js} +3 -3
- package/library/chunks/{menu-item.CbqZ66to.js → menu-item.BNs1Ji48.js} +1 -1
- package/library/chunks/{option.CkhHTlpl.js → option.C8IEnv5Q.js} +1 -1
- package/library/chunks/{pagination.BlQRt932.js → pagination.Bke9vgl4.js} +6 -6
- package/library/chunks/{position-picker.DjnhxIKF.js → position-picker.qkbJlboF.js} +12 -0
- package/library/chunks/responsive.BmBJSzC4.js +17 -0
- package/library/chunks/{string.Demn8Xmk.js → string.CfI2ejyR.js} +3 -3
- package/library/chunks/{tab-group.CQfcMVEw.js → tab-group.DZ32f41G.js} +312 -310
- package/library/chunks/toast.D3AW3RWv.js +94 -0
- package/library/chunks/transformation.Dm-pK2ft.js +352 -0
- package/library/chunks/{tree.B7IKBX3n.js → tree.Umn7TAkc.js} +1 -1
- package/library/chunks/{types.MwUT4xFk.js → types.BW36Gr9c.js} +77051 -54471
- package/library/chunks/typography.BLYdTF0n.js +102 -0
- package/library/components/alert.js +2 -2
- package/library/components/asset-link-format.js +6 -6
- package/library/components/atoms.js +161 -159
- package/library/components/audio.js +3 -3
- package/library/components/bicolor-picker.js +2 -2
- package/library/components/border-input-group.js +2 -2
- package/library/components/box.d.ts +3 -0
- package/library/components/box.js +22 -0
- package/library/components/breadcrumb.js +1 -1
- package/library/components/button.js +4 -4
- package/library/components/card.js +7 -7
- package/library/components/checkbox.js +2 -2
- package/library/components/color-picker.js +36 -32
- package/library/components/color-swatch-group.js +8 -7
- package/library/components/color-swatch.js +246 -22
- package/library/components/confirm-popover.js +5 -5
- package/library/components/copy-button.js +2 -2
- package/library/components/corner-position-input-group.js +3 -3
- package/library/components/date-calendar.js +1 -1
- package/library/components/details.js +19 -19
- package/library/components/dialog.js +3 -3
- package/library/components/diff.js +1 -1
- package/library/components/document-viewer.js +4 -4
- package/library/components/dot-pagination.js +2 -2
- package/library/components/drawer.js +2 -2
- package/library/components/dropdown.js +2 -2
- package/library/components/dynamic-select.js +95 -92
- package/library/components/e-chart.js +1 -1
- package/library/components/element-clamp.js +2 -2
- package/library/components/file-on-demand.js +12 -12
- package/library/components/folder-select.js +5 -5
- 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 +6 -3
- package/library/components/icon-button.js +2 -2
- package/library/components/iframe.js +2 -2
- package/library/components/image-comparer.js +1 -1
- package/library/components/image.js +4 -3
- package/library/components/input-group.js +1 -1
- package/library/components/input.js +4 -4
- package/library/components/line-clamp.js +1 -1
- package/library/components/markdown.js +4 -4
- package/library/components/masonry.js +70 -56
- package/library/components/menu-item.js +2 -2
- package/library/components/menu.js +2 -2
- package/library/components/molecules.js +4 -4
- package/library/components/mutation-observer.js +25 -23
- package/library/components/option.js +2 -2
- package/library/components/organisms.js +2 -2
- package/library/components/padding-input-group.js +1 -1
- package/library/components/pagination.js +7 -7
- package/library/components/popup.js +1 -1
- package/library/components/position-picker.js +2 -2
- package/library/components/progress-bar.js +1 -1
- package/library/components/progress-ring.js +1 -1
- package/library/components/radio-button.js +1 -1
- package/library/components/radio-card.js +1 -1
- package/library/components/radio-group.js +2 -2
- package/library/components/range.js +3 -3
- package/library/components/rating.js +1 -1
- package/library/components/relative-time.js +1 -1
- package/library/components/select.js +5 -5
- package/library/components/shadow-input-group.js +1 -1
- package/library/components/share-option-list.js +3 -3
- package/library/components/sidebar.js +1 -1
- package/library/components/size-input-group.js +3 -3
- package/library/components/spinner.js +1 -1
- package/library/components/split-panel.js +1 -1
- package/library/components/switch.js +2 -2
- package/library/components/tab-group.js +6 -6
- package/library/components/tab-panel.js +1 -1
- package/library/components/tab.js +16 -16
- package/library/components/tag.js +2 -2
- package/library/components/textarea.js +2 -2
- package/library/components/timecode.js +2 -2
- package/library/components/tooltip.js +1 -1
- package/library/components/tree-item.js +2 -2
- package/library/components/tree.js +2 -2
- package/library/components/typeface.js +3 -3
- package/library/components/types.js +496 -487
- package/library/components/typography.js +3 -2
- package/library/components/video.js +4231 -4210
- package/library/css/ol-base.css +1 -0
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/box/box.d.ts +26 -0
- package/library/packages/atoms/src/components/box/box.styles.d.ts +7 -0
- package/library/packages/atoms/src/components/button/button.d.ts +4 -0
- package/library/packages/atoms/src/components/card/card.d.ts +1 -0
- package/library/packages/atoms/src/components/color-picker/color-picker.d.ts +11 -0
- package/library/packages/atoms/src/components/copy-button/copy-button.d.ts +1 -0
- package/library/packages/atoms/src/components/details/details.d.ts +6 -1
- package/library/packages/atoms/src/components/header/header.d.ts +38 -2
- package/library/packages/atoms/src/components/image/image.d.ts +14 -0
- package/library/packages/atoms/src/components/mutation-observer/mutation-observer.d.ts +1 -1
- package/library/packages/atoms/src/components/radio-card/radio-card.d.ts +1 -0
- package/library/packages/atoms/src/components/tab/tab.d.ts +17 -0
- package/library/packages/atoms/src/components/typography/typography.d.ts +31 -0
- package/library/packages/atoms/src/components/video/video.d.ts +18 -0
- package/library/packages/atoms/src/index.d.ts +1 -0
- package/library/packages/events/src/cx-color-swatch-picker-columns-change.d.ts +15 -0
- package/library/packages/events/src/events.d.ts +1 -0
- package/library/packages/hybrid/table-core/src/table/table.d.ts +10 -1
- package/library/packages/molecules/src/color-swatch/color-swatch.d.ts +35 -1
- package/library/packages/molecules/src/data-tab-group/data-tab-group.d.ts +30 -1
- package/library/packages/molecules/src/details-group/details-group.d.ts +105 -3
- package/library/packages/molecules/src/dynamic-select/dynamic-select.d.ts +5 -0
- package/library/packages/molecules/src/font-picker/font-picker.d.ts +3 -0
- package/library/packages/molecules/src/gallery-item/gallery-item.d.ts +10 -0
- package/library/packages/molecules/src/index.d.ts +0 -1
- package/library/packages/molecules/src/masonry/masonry.d.ts +5 -0
- package/library/packages/organisms/src/color-swatch-group/color-swatch-group.constants.d.ts +37 -45
- package/library/packages/organisms/src/color-swatch-group/color-swatch-group.d.ts +210 -10
- package/library/packages/organisms/src/content-builder/blocks/font-kit-advanced/font-kit-advanced.utils.d.ts +85 -0
- package/library/packages/organisms/src/content-builder/blocks/image/image.d.ts +22 -6
- package/library/packages/organisms/src/content-builder/components/block-picker/block-picker.d.ts +24 -8
- package/library/packages/organisms/src/content-builder/components/color-swatch-picker/color-swatch-picker.d.ts +70 -1
- package/library/packages/organisms/src/content-builder/components/config-form/config-form-controller.d.ts +1 -22
- package/library/packages/organisms/src/content-builder/components/config-manager/config-manager.d.ts +7 -0
- package/library/packages/organisms/src/content-builder/components/gallery-config/gallery-config.d.ts +6 -0
- package/library/packages/organisms/src/content-builder/components/gallery-picker/gallery-picker.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/configs/accordion.d.ts +7 -0
- package/library/packages/organisms/src/content-builder/configs/audio.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/configs/button.d.ts +2 -1
- package/library/packages/organisms/src/content-builder/configs/carousel.d.ts +11 -1
- package/library/packages/organisms/src/content-builder/configs/color-swatches.d.ts +19 -1
- package/library/packages/organisms/src/content-builder/configs/column-group.d.ts +11 -2
- package/library/packages/organisms/src/content-builder/configs/column.d.ts +13 -3
- package/library/packages/organisms/src/content-builder/configs/dam-view.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/configs/divider.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/configs/document-viewer.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/configs/font-kit-advanced.d.ts +19 -0
- package/library/packages/organisms/src/content-builder/configs/font-kit.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/configs/gallery.d.ts +15 -1
- package/library/packages/organisms/src/content-builder/configs/header.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/configs/image.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/configs/index.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/configs/search-box.d.ts +5 -1
- package/library/packages/organisms/src/content-builder/configs/tab-group.d.ts +7 -4
- package/library/packages/organisms/src/content-builder/configs/timeline.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/configs/video.d.ts +3 -0
- package/library/packages/organisms/src/content-builder/configs-controller.d.ts +155 -13
- package/library/packages/organisms/src/content-builder/content-builder-config.d.ts +60 -0
- package/library/packages/organisms/src/content-builder/content-builder-constants.d.ts +27 -0
- package/library/packages/organisms/src/content-builder/content-builder.d.ts +122 -2
- package/library/packages/organisms/src/content-builder/content-builder.sections.utils.d.ts +78 -0
- package/library/packages/organisms/src/content-builder/content-builder.utils.d.ts +33 -2
- package/library/packages/organisms/src/content-builder/plugins/font-kit-advanced.d.ts +5 -0
- package/library/packages/organisms/src/content-builder/plugins/gallery.d.ts +6 -0
- package/library/packages/organisms/src/content-builder/plugins/header.d.ts +7 -1
- package/library/packages/organisms/src/content-builder/plugins/index.d.ts +2 -1
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-bubble-menu/rte-bubble-menu.d.ts +21 -1
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/index.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/rte-configs.d.ts +14 -0
- package/library/packages/organisms/src/content-builder/plugins/sections/section-fragment-component.d.ts +22 -0
- package/library/packages/organisms/src/content-builder/plugins/sections/section-host-mounting.d.ts +15 -0
- package/library/packages/organisms/src/content-builder/plugins/sections/sections-canvas-patches.d.ts +20 -0
- package/library/packages/organisms/src/content-builder/plugins/sections/sections-plugin.d.ts +7 -0
- package/library/packages/organisms/src/content-builder/plugins/toolbar.d.ts +10 -1
- package/library/packages/organisms/src/content-builder/plugins/utils/block-width.d.ts +20 -0
- package/library/packages/organisms/src/content-builder/styleController.d.ts +9 -5
- package/library/packages/organisms/src/content-builder-viewer/content-builder-viewer.d.ts +1 -0
- package/library/packages/organisms/src/form/control-renderer/control-renderer.d.ts +170 -0
- package/library/packages/organisms/src/form/control-renderer/control-renderer.styles.d.ts +9 -0
- package/library/packages/organisms/src/list-editor/list-editor.d.ts +181 -6
- package/library/packages/tools/src/tiptap/extensions/metafield/index.d.ts +12 -0
- package/library/packages/tools/src/tiptap/utils/md/schema.d.ts +1 -1
- package/library/packages/types/src/asset-link-format.d.ts +0 -1
- package/library/packages/types/src/button.d.ts +1 -1
- package/library/packages/types/src/color-swatch-group.d.ts +56 -0
- package/library/packages/types/src/color-swatch.d.ts +22 -0
- package/library/packages/types/src/column.d.ts +13 -0
- package/library/packages/types/src/content-builder.d.ts +69 -4
- package/library/packages/types/src/details-group.d.ts +80 -0
- package/library/packages/types/src/font-kit-advanced.d.ts +28 -0
- package/library/packages/types/src/font-kit.d.ts +19 -0
- package/library/packages/types/src/font-picker.d.ts +2 -0
- package/library/packages/types/src/gallery-item.d.ts +3 -1
- package/library/packages/types/src/gallery.d.ts +2 -1
- package/library/packages/types/src/index.d.ts +1 -0
- package/library/packages/types/src/masonry.d.ts +1 -0
- package/library/packages/types/src/position-picker.d.ts +6 -0
- package/library/packages/types/src/sb-button.d.ts +7 -0
- package/library/packages/types/src/search-box.d.ts +4 -0
- package/library/packages/utils/src/color/color.d.ts +27 -3
- package/library/packages/utils/src/custom-element/i18n.d.ts +85 -0
- package/library/packages/utils/src/font/font.d.ts +12 -0
- package/library/packages/utils/src/transformation/transformation.d.ts +11 -3
- package/library/react-web-component.d.ts +510 -156
- package/library/utils.js +415 -395
- package/package.json +1 -1
- package/library/chunks/button.styles.BWgHrfLD.js +0 -5
- package/library/chunks/color-swatch.DdsUysbF.js +0 -223
- package/library/chunks/color.LzSGBy7o.js +0 -164
- package/library/chunks/form-control.styles.CaGWmeAS.js +0 -5
- package/library/chunks/index.BO_sT6SH.js +0 -20123
- package/library/chunks/toast.BOkYwUIj.js +0 -109
- package/library/chunks/transformation.B8m0Nbao.js +0 -384
- package/library/chunks/typography.T72DuoCa.js +0 -52
- package/library/packages/molecules/src/search-box/search-box.d.ts +0 -114
- package/library/packages/organisms/src/content-builder/plugins/wrapper-container.d.ts +0 -15
- /package/library/packages/{molecules/src/search-box/search-box.styles.d.ts → organisms/src/content-builder-viewer/content-builder-viewer.styles.d.ts} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
2
2
|
import "../chunks/component.styles.CAS3c9pM.js";
|
|
3
|
-
import "../chunks/form-control.styles.
|
|
3
|
+
import "../chunks/form-control.styles.CHC7Q08Q.js";
|
|
4
4
|
import "../chunks/custom-element.L4WJXn1j.js";
|
|
5
5
|
import "../chunks/default-value.COZopaet.js";
|
|
6
|
-
import "../chunks/form.
|
|
7
|
-
import "../chunks/i18n.
|
|
6
|
+
import "../chunks/form.LpappO1d.js";
|
|
7
|
+
import "../chunks/i18n.Q5_2aVLU.js";
|
|
8
8
|
import "../chunks/slot.j5oheLJC.js";
|
|
9
9
|
import "../chunks/watch.DJF5K-8U.js";
|
|
10
|
-
import { C as j } from "../chunks/input.
|
|
10
|
+
import { C as j } from "../chunks/input.ftEf4GS6.js";
|
|
11
11
|
import "../chunks/lit-element.jLBm65_O.js";
|
|
12
12
|
import "../chunks/state.CSDxrqLd.js";
|
|
13
13
|
import "../chunks/query.BBf1UFkC.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "../chunks/icon-button.
|
|
2
|
-
import { C as s } from "../chunks/markdown.
|
|
1
|
+
import "../chunks/icon-button.BjAbCuH8.js";
|
|
2
|
+
import { C as s } from "../chunks/markdown.RljldBNb.js";
|
|
3
3
|
import "../chunks/custom-element.L4WJXn1j.js";
|
|
4
|
-
import "../chunks/i18n.
|
|
4
|
+
import "../chunks/i18n.Q5_2aVLU.js";
|
|
5
5
|
import "../chunks/watch.DJF5K-8U.js";
|
|
6
|
-
import "../chunks/string.
|
|
6
|
+
import "../chunks/string.CfI2ejyR.js";
|
|
7
7
|
import "../chunks/lit-element.jLBm65_O.js";
|
|
8
8
|
import "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
9
9
|
import "../chunks/state.CSDxrqLd.js";
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import { C as v } from "../chunks/icon-button.
|
|
4
|
-
import { C as
|
|
5
|
-
import
|
|
1
|
+
import _ from "./grid.js";
|
|
2
|
+
import f from "./grid-item.js";
|
|
3
|
+
import { C as v } from "../chunks/icon-button.BjAbCuH8.js";
|
|
4
|
+
import { C as S } from "../chunks/image.CCo__54F.js";
|
|
5
|
+
import $ from "./space.js";
|
|
6
6
|
import C from "./tooltip.js";
|
|
7
7
|
import { n as s, C as w } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
8
8
|
import { c as I } from "../chunks/component.styles.CAS3c9pM.js";
|
|
9
9
|
import { a as x } from "../chunks/index.Cpamj0jB.js";
|
|
10
10
|
import { c as k } from "../chunks/custom-element.L4WJXn1j.js";
|
|
11
|
-
import { w as
|
|
12
|
-
import { i as
|
|
11
|
+
import { w as D } from "../chunks/watch.DJF5K-8U.js";
|
|
12
|
+
import { i as U, x as n } from "../chunks/lit-element.jLBm65_O.js";
|
|
13
13
|
import { r as b } from "../chunks/state.CSDxrqLd.js";
|
|
14
|
-
import { e as
|
|
15
|
-
import { e as
|
|
14
|
+
import { e as z } from "../chunks/query.BBf1UFkC.js";
|
|
15
|
+
import { e as g } from "../chunks/class-map.BiVq-cVR.js";
|
|
16
16
|
import { o as c } from "../chunks/if-defined.BRoBj_Rp.js";
|
|
17
|
-
import { c as
|
|
18
|
-
import { o as
|
|
17
|
+
import { c as y } from "../chunks/repeat.CFjcER6_.js";
|
|
18
|
+
import { o as p } from "../chunks/style-map.llVFPd__.js";
|
|
19
19
|
import { n as u } from "../chunks/when.Dr1es41R.js";
|
|
20
|
-
import { S as
|
|
20
|
+
import { S as A } from "../chunks/sortable.esm.oSzf6C5Q.js";
|
|
21
21
|
var d = /* @__PURE__ */ ((t) => (t.Masonry = "masonry", t.Standard = "standard", t))(d || {});
|
|
22
|
-
const
|
|
23
|
-
var
|
|
24
|
-
for (var l = o > 1 ? void 0 : o ? F(
|
|
25
|
-
(
|
|
26
|
-
return o && l &&
|
|
22
|
+
const E = U`:host{--actions-background-color:var(--cx-color-neutral-100);--border-radius:0px;--item-border-radius:var(--cx-border-radius-medium);--padding:0px;--width:100%;--height:auto;width:var(--width,100%);height:var(--height,100%);display:block;overflow:auto}:host([spacing="3x-small"]){--spacing-container-gap:var(--cx-spacing-3x-small)}:host([spacing="2x-small"]){--spacing-container-gap:var(--cx-spacing-2x-small)}:host([spacing=x-small]){--spacing-container-gap:var(--cx-spacing-x-small)}:host([spacing=small]){--spacing-container-gap:var(--cx-spacing-small)}:host([spacing=medium]){--spacing-container-gap:var(--cx-spacing-medium)}:host([spacing=large]){--spacing-container-gap:var(--cx-spacing-large)}:host([spacing=x-large]){--spacing-container-gap:var(--cx-spacing-x-large)}:host([spacing="2x-large"]){--spacing-container-gap:var(--cx-spacing-2x-large)}:host([spacing="3x-large"]){--spacing-container-gap:var(--cx-spacing-3x-large)}:host([spacing="4x-large"]){--spacing-container-gap:var(--cx-spacing-4x-large)}.masonry-list{column-gap:var(--spacing-container-gap)}.masonry-list__item{border-radius:var(--item-border-radius);display:block;position:relative;overflow:hidden}.masonry-list__item--error:before{content:"";border:2px solid var(--cx-color-danger);border-radius:var(--item-border-radius);z-index:1;width:100%;height:100%;position:absolute;top:0;left:0}.container--masonry .masonry-list__item{margin-bottom:var(--spacing-container-gap)}.container--standard cx-grid-item::part(base){height:100%}.masonry-list__item__image{width:100%;height:100%}.masonry-list__item--no-image .masonry-list__item__image{display:none}.masonry-list__item__actions{opacity:0;width:100%;transition:opacity var(--cx-transition-fast) ease-in-out;z-index:10;position:absolute;bottom:0;left:0}.masonry-list__item__actions:before{content:"";background-color:var(--actions-background-color);opacity:.5;pointer-events:none;width:100%;height:100%;position:absolute;top:0;left:0}.masonry-list__item:hover .masonry-list__item__actions{opacity:1}.masonry-list__item__action{z-index:5;flex:auto;position:relative}.masonry-list__item__action::part(base){border-radius:0;width:100%}.container--sortable .masonry-list__item{cursor:move}`;
|
|
23
|
+
var j = Object.defineProperty, F = Object.getOwnPropertyDescriptor, e = (t, r, a, o) => {
|
|
24
|
+
for (var l = o > 1 ? void 0 : o ? F(r, a) : r, h = t.length - 1, m; h >= 0; h--)
|
|
25
|
+
(m = t[h]) && (l = (o ? m(r, a, l) : m(l)) || l);
|
|
26
|
+
return o && l && j(r, a, l), l;
|
|
27
27
|
};
|
|
28
28
|
let i = class extends w {
|
|
29
29
|
constructor() {
|
|
30
|
-
super(), this.data = [], this.variant = d.Standard, this.cols = 3, this.rowHeight = "auto", this.actions = [], this.sortable = !1, this.spacing = "medium", this.idKey = "id", this.format = "", this.manualFormat = !1, this.noCrossorigin = !1, this.sortableInstance = null, this.previous = [], this.abortDrag = !1, this.handleEnd = this.handleEnd.bind(this), this.handleStart = this.handleStart.bind(this), this.handleSortableUpdate = this.handleSortableUpdate.bind(this), this.handleItemClick = this.handleItemClick.bind(this);
|
|
30
|
+
super(), this.data = [], this.variant = d.Standard, this.cols = 3, this.rowHeight = "auto", this.actions = [], this.sortable = !1, this.spacing = "medium", this.idKey = "id", this.format = "", this.manualFormat = !1, this.noCrossorigin = !1, this.sortableInstance = null, this.previous = [], this.abortDrag = !1, this.handleEnd = this.handleEnd.bind(this), this.handleStart = this.handleStart.bind(this), this.handleSortableUpdate = this.handleSortableUpdate.bind(this), this.handleSetData = this.handleSetData.bind(this), this.handleItemClick = this.handleItemClick.bind(this);
|
|
31
31
|
}
|
|
32
32
|
getAllItems() {
|
|
33
33
|
return Array.from(this.list.querySelectorAll(".masonry-list__item"));
|
|
@@ -36,21 +36,22 @@ let i = class extends w {
|
|
|
36
36
|
t.item && (this.previous = [t.item.previousSibling]);
|
|
37
37
|
}
|
|
38
38
|
async handleEnd(t) {
|
|
39
|
-
await this.updateComplete, this.sortableInstance && (t.item && this.previous.forEach((
|
|
40
|
-
|
|
39
|
+
await this.updateComplete, this.sortableInstance && (t.item && this.previous.forEach((r) => {
|
|
40
|
+
r && r.after(t.item);
|
|
41
41
|
}), this.requestUpdate());
|
|
42
42
|
}
|
|
43
43
|
destroySortable() {
|
|
44
44
|
this.sortableInstance && (this.sortableInstance.destroy(), this.sortableInstance = null);
|
|
45
45
|
}
|
|
46
46
|
initSortable() {
|
|
47
|
-
this.sortableInstance =
|
|
47
|
+
this.sortableInstance = A.create(this.list, {
|
|
48
48
|
animation: 100,
|
|
49
49
|
onAdd: this.handleSortableUpdate,
|
|
50
50
|
onEnd: this.handleEnd,
|
|
51
51
|
onRemove: this.handleSortableUpdate,
|
|
52
52
|
onStart: this.handleStart,
|
|
53
|
-
onUpdate: this.handleSortableUpdate
|
|
53
|
+
onUpdate: this.handleSortableUpdate,
|
|
54
|
+
setData: this.handleSetData
|
|
54
55
|
});
|
|
55
56
|
}
|
|
56
57
|
handleSortableChange() {
|
|
@@ -74,19 +75,19 @@ let i = class extends w {
|
|
|
74
75
|
const t = Number.isFinite(this.cols) && this.cols > 0 ? this.cols : 1;
|
|
75
76
|
return `${Math.round(100 / t)}vw`;
|
|
76
77
|
}
|
|
77
|
-
handleItemClick(t,
|
|
78
|
+
handleItemClick(t, r) {
|
|
78
79
|
this.emit("cx-masonry-select", {
|
|
79
|
-
detail: { event: t, item:
|
|
80
|
+
detail: { event: t, item: r }
|
|
80
81
|
});
|
|
81
82
|
}
|
|
82
83
|
handleSortableUpdate(t) {
|
|
83
|
-
const
|
|
84
|
-
|
|
84
|
+
const r = this.data[t.oldIndex], a = [...this.data];
|
|
85
|
+
a.splice(t.oldIndex, 1), a.splice(t.newIndex, 0, r);
|
|
85
86
|
const o = {
|
|
86
87
|
from: t.from,
|
|
87
88
|
item: t.item,
|
|
88
89
|
items: this.getAllItems(),
|
|
89
|
-
itemsData:
|
|
90
|
+
itemsData: a,
|
|
90
91
|
newIndex: t.newIndex,
|
|
91
92
|
oldIndex: t.oldIndex,
|
|
92
93
|
to: t.to,
|
|
@@ -96,59 +97,72 @@ let i = class extends w {
|
|
|
96
97
|
detail: o
|
|
97
98
|
});
|
|
98
99
|
}
|
|
100
|
+
/**
|
|
101
|
+
* An item without an image gets a browser-made drag preview that lands in the
|
|
102
|
+
* viewport corner. Use the item itself as the preview so it follows the cursor.
|
|
103
|
+
*/
|
|
104
|
+
handleSetData(t, r) {
|
|
105
|
+
const a = r.getBoundingClientRect();
|
|
106
|
+
t.setDragImage(r, a.width / 2, a.height / 2);
|
|
107
|
+
}
|
|
99
108
|
renderActions(t) {
|
|
100
|
-
const
|
|
109
|
+
const r = (a) => {
|
|
101
110
|
const o = () => {
|
|
102
|
-
this.emit(
|
|
111
|
+
this.emit(a.event, {
|
|
103
112
|
detail: { item: t }
|
|
104
113
|
});
|
|
105
114
|
};
|
|
106
|
-
return n`<cx-icon-button class="masonry-list__item__action" name=${c(
|
|
107
|
-
color:
|
|
115
|
+
return n`<cx-icon-button class="masonry-list__item__action" name=${c(a.icon)} src=${c(a.src)} @click=${o} size="small" style=${p({
|
|
116
|
+
color: a.color
|
|
108
117
|
})}></cx-icon-button>`;
|
|
109
118
|
};
|
|
110
|
-
return n`<cx-space class="masonry-list__item__actions" direction="horizontal" spacing="x-small" justify-content="space-around">${
|
|
119
|
+
return n`<cx-space class="masonry-list__item__actions" direction="horizontal" spacing="x-small" justify-content="space-around">${y(
|
|
111
120
|
this.actions,
|
|
112
|
-
(
|
|
113
|
-
(
|
|
121
|
+
(a) => a.event,
|
|
122
|
+
(a) => a.tooltip ? n`<cx-tooltip content=${a.tooltip}>${r(a)}</cx-tooltip>` : r(a)
|
|
114
123
|
)}</cx-space>`;
|
|
115
124
|
}
|
|
116
125
|
renderMasonry() {
|
|
117
|
-
return n`<div class="masonry-list" style=${
|
|
126
|
+
return n`<div class="masonry-list" style=${p({
|
|
118
127
|
"column-count": this.cols
|
|
119
|
-
})} part="list">${
|
|
128
|
+
})} part="list">${y(
|
|
120
129
|
this.data,
|
|
121
130
|
(t) => t[this.idKey],
|
|
122
131
|
(t) => {
|
|
123
|
-
const
|
|
124
|
-
this.handleItemClick(
|
|
132
|
+
const r = (a) => {
|
|
133
|
+
this.handleItemClick(a, t);
|
|
125
134
|
};
|
|
126
|
-
return n`<div data-id=${t[this.idKey]} class=${
|
|
135
|
+
return n`<div data-id=${t[this.idKey]} class=${g({
|
|
127
136
|
"masonry-list__item": !0,
|
|
128
|
-
"masonry-list__item--error": t.hasError ?? !1
|
|
129
|
-
|
|
137
|
+
"masonry-list__item--error": t.hasError ?? !1,
|
|
138
|
+
"masonry-list__item--no-image": !t.src && !t.loading
|
|
139
|
+
})} style=${p({
|
|
140
|
+
backgroundColor: t.backgroundColor || void 0
|
|
141
|
+
})} part="item" @click=${r}><cx-image part="image" class="masonry-list__item__image" alt=${t.alt || ""} src=${t.src} srcset=${c(t.srcset || void 0)} sizes=${c(t.srcset ? this.itemSizes : void 0)} object-fit=${t.objectFit || x.Cover} ?loading=${t.loading} ?no-crossorigin=${this.noCrossorigin} retry-on-error></cx-image>${u(this.actions.length > 0, () => this.renderActions(t))}</div>`;
|
|
130
142
|
}
|
|
131
143
|
)}</div>`;
|
|
132
144
|
}
|
|
133
145
|
renderStandard() {
|
|
134
|
-
return n`<cx-grid columns=${this.cols} spacing="var(--cx-spacing-${this.spacing})" use-flex-gap class="masonry-list" part="list">${
|
|
146
|
+
return n`<cx-grid columns=${this.cols} spacing="var(--cx-spacing-${this.spacing})" use-flex-gap class="masonry-list" part="list">${y(
|
|
135
147
|
this.data,
|
|
136
148
|
(t) => t[this.idKey],
|
|
137
149
|
(t) => {
|
|
138
|
-
const
|
|
139
|
-
this.handleItemClick(
|
|
150
|
+
const r = (a) => {
|
|
151
|
+
this.handleItemClick(a, t);
|
|
140
152
|
};
|
|
141
|
-
return n`<cx-grid-item xs="1"><div class=${
|
|
153
|
+
return n`<cx-grid-item xs="1"><div class=${g({
|
|
142
154
|
"masonry-list__item": !0,
|
|
143
|
-
"masonry-list__item--error": t.hasError ?? !1
|
|
144
|
-
|
|
155
|
+
"masonry-list__item--error": t.hasError ?? !1,
|
|
156
|
+
"masonry-list__item--no-image": !t.src && !t.loading
|
|
157
|
+
})} style=${p({
|
|
158
|
+
backgroundColor: t.backgroundColor || void 0,
|
|
145
159
|
height: this.rowHeight
|
|
146
|
-
})} part="item" @click=${
|
|
160
|
+
})} part="item" @click=${r} data-id=${t[this.idKey]}><cx-image part="image" class="masonry-list__item__image" alt=${t.alt || ""} src=${t.src} srcset=${c(t.srcset || void 0)} sizes=${c(t.srcset ? this.itemSizes : void 0)} width="100%" height="100%" object-fit=${t.objectFit || x.Cover} retry-on-error ?loading=${t.loading} ?no-crossorigin=${this.noCrossorigin}></cx-image>${u(this.actions.length > 0, () => this.renderActions(t))}</div></cx-grid-item>`;
|
|
147
161
|
}
|
|
148
162
|
)}</cx-grid>`;
|
|
149
163
|
}
|
|
150
164
|
render() {
|
|
151
|
-
return n`<div part="base" class=${
|
|
165
|
+
return n`<div part="base" class=${g({
|
|
152
166
|
container: !0,
|
|
153
167
|
"container--masonry": this.variant === d.Masonry,
|
|
154
168
|
"container--sortable": this.sortable,
|
|
@@ -160,17 +174,17 @@ let i = class extends w {
|
|
|
160
174
|
)}</div>`;
|
|
161
175
|
}
|
|
162
176
|
};
|
|
163
|
-
i.styles = [I,
|
|
177
|
+
i.styles = [I, E];
|
|
164
178
|
i.dependencies = {
|
|
165
|
-
"cx-grid":
|
|
166
|
-
"cx-grid-item":
|
|
179
|
+
"cx-grid": _,
|
|
180
|
+
"cx-grid-item": f,
|
|
167
181
|
"cx-icon-button": v,
|
|
168
|
-
"cx-image":
|
|
169
|
-
"cx-space":
|
|
182
|
+
"cx-image": S,
|
|
183
|
+
"cx-space": $,
|
|
170
184
|
"cx-tooltip": C
|
|
171
185
|
};
|
|
172
186
|
e([
|
|
173
|
-
|
|
187
|
+
z(".masonry-list")
|
|
174
188
|
], i.prototype, "list", 2);
|
|
175
189
|
e([
|
|
176
190
|
s({ type: Array })
|
|
@@ -215,7 +229,7 @@ e([
|
|
|
215
229
|
b()
|
|
216
230
|
], i.prototype, "abortDrag", 2);
|
|
217
231
|
e([
|
|
218
|
-
|
|
232
|
+
D("sortable", { waitUntilFirstUpdate: !0 })
|
|
219
233
|
], i.prototype, "handleSortableChange", 1);
|
|
220
234
|
i = e([
|
|
221
235
|
k("cx-masonry")
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
2
2
|
import "../chunks/component.styles.CAS3c9pM.js";
|
|
3
|
-
import { C as b } from "../chunks/menu-item.
|
|
3
|
+
import { C as b } from "../chunks/menu-item.BNs1Ji48.js";
|
|
4
4
|
import "../chunks/custom-element.L4WJXn1j.js";
|
|
5
|
-
import "../chunks/i18n.
|
|
5
|
+
import "../chunks/i18n.Q5_2aVLU.js";
|
|
6
6
|
import "../chunks/slot.j5oheLJC.js";
|
|
7
7
|
import "../chunks/watch.DJF5K-8U.js";
|
|
8
8
|
import "../chunks/lit-element.jLBm65_O.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as c, C as p } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
2
2
|
import { c as b } from "../chunks/component.styles.CAS3c9pM.js";
|
|
3
|
-
import { M as g, C as v } from "../chunks/menu-item.
|
|
3
|
+
import { M as g, C as v } from "../chunks/menu-item.BNs1Ji48.js";
|
|
4
4
|
import { c as y } from "../chunks/custom-element.L4WJXn1j.js";
|
|
5
|
-
import { L as w } from "../chunks/i18n.
|
|
5
|
+
import { L as w } from "../chunks/i18n.Q5_2aVLU.js";
|
|
6
6
|
import { i as x, x as f } from "../chunks/lit-element.jLBm65_O.js";
|
|
7
7
|
import { r as k } from "../chunks/state.CSDxrqLd.js";
|
|
8
8
|
import { e as M } from "../chunks/query.BBf1UFkC.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { default as e } from "./bicolor-picker.js";
|
|
2
2
|
import { default as a } from "./border-input-group.js";
|
|
3
|
-
import {
|
|
4
|
-
import { C as u } from "../chunks/confirm-popover.
|
|
3
|
+
import { default as p } from "./color-swatch.js";
|
|
4
|
+
import { C as u } from "../chunks/confirm-popover.Cd4HM5-B.js";
|
|
5
5
|
import { default as d } from "./corner-position-input-group.js";
|
|
6
6
|
import { default as l } from "./cropper.js";
|
|
7
7
|
import { default as i } from "./dynamic-select.js";
|
|
8
|
-
import { C as c } from "../chunks/folder-select.
|
|
8
|
+
import { C as c } from "../chunks/folder-select.BWeanVkA.js";
|
|
9
9
|
import { default as P } from "./masonry.js";
|
|
10
10
|
import { default as I } from "./padding-input-group.js";
|
|
11
11
|
import { default as y } from "./position-picker.js";
|
|
@@ -18,7 +18,7 @@ import { default as O } from "./typeface.js";
|
|
|
18
18
|
export {
|
|
19
19
|
e as CxBicolorPicker,
|
|
20
20
|
a as CxBorderInputGroup,
|
|
21
|
-
|
|
21
|
+
p as CxColorSwatch,
|
|
22
22
|
u as CxConfirmPopover,
|
|
23
23
|
d as CxCornerPositionInputGroup,
|
|
24
24
|
l as CxCropper,
|
|
@@ -5,34 +5,36 @@ import { w as l } from "../chunks/watch.DJF5K-8U.js";
|
|
|
5
5
|
import { i as b, x as f } from "../chunks/lit-element.jLBm65_O.js";
|
|
6
6
|
import { e as v } from "../chunks/query.BBf1UFkC.js";
|
|
7
7
|
const O = b`:host{display:contents}`;
|
|
8
|
-
var m = Object.defineProperty, y = Object.getOwnPropertyDescriptor,
|
|
9
|
-
for (var
|
|
10
|
-
(d =
|
|
11
|
-
return
|
|
8
|
+
var m = Object.defineProperty, y = Object.getOwnPropertyDescriptor, a = (r, s, n, i) => {
|
|
9
|
+
for (var e = i > 1 ? void 0 : i ? y(s, n) : s, h = r.length - 1, d; h >= 0; h--)
|
|
10
|
+
(d = r[h]) && (e = (i ? d(s, n, e) : d(e)) || e);
|
|
11
|
+
return i && e && m(s, n, e), e;
|
|
12
12
|
};
|
|
13
13
|
let t = class extends c {
|
|
14
14
|
constructor() {
|
|
15
|
-
super(...arguments), this.attrOldValue = !1, this.charData = !1, this.charDataOldValue = !1, this.childList = !1, this.disabled = !1, this.handleMutation = (
|
|
15
|
+
super(...arguments), this.attrOldValue = !1, this.charData = !1, this.charDataOldValue = !1, this.childList = !1, this.disabled = !1, this.handleMutation = (r) => {
|
|
16
16
|
this.emit("cx-mutation", {
|
|
17
|
-
detail: { mutationList:
|
|
17
|
+
detail: { mutationList: r }
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
21
|
connectedCallback() {
|
|
22
|
-
super.connectedCallback(), this.
|
|
22
|
+
super.connectedCallback(), this.disabled || this.startObserver();
|
|
23
23
|
}
|
|
24
24
|
disconnectedCallback() {
|
|
25
25
|
super.disconnectedCallback(), this.stopObserver();
|
|
26
26
|
}
|
|
27
27
|
startObserver() {
|
|
28
|
-
const
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
const r = typeof this.attr == "string" && this.attr.length > 0, s = r && this.attr !== "*" ? this.attr.split(" ") : void 0, n = this.mutationSlot?.assignedNodes({ flatten: !0 }) || [];
|
|
29
|
+
this.mutationObserver ??= new MutationObserver(this.handleMutation);
|
|
30
|
+
const { mutationObserver: i } = this;
|
|
31
|
+
n.forEach((e) => {
|
|
32
|
+
if (e.nodeType === Node.ELEMENT_NODE)
|
|
31
33
|
try {
|
|
32
|
-
|
|
33
|
-
attributeFilter:
|
|
34
|
+
i.observe(e, {
|
|
35
|
+
attributeFilter: s,
|
|
34
36
|
attributeOldValue: this.attrOldValue,
|
|
35
|
-
attributes:
|
|
37
|
+
attributes: r,
|
|
36
38
|
characterData: this.charData,
|
|
37
39
|
characterDataOldValue: this.charDataOldValue,
|
|
38
40
|
childList: this.childList,
|
|
@@ -59,38 +61,38 @@ let t = class extends c {
|
|
|
59
61
|
}
|
|
60
62
|
};
|
|
61
63
|
t.styles = [u, O];
|
|
62
|
-
|
|
64
|
+
a([
|
|
63
65
|
v("slot")
|
|
64
66
|
], t.prototype, "mutationSlot", 2);
|
|
65
|
-
|
|
67
|
+
a([
|
|
66
68
|
o({ reflect: !0 })
|
|
67
69
|
], t.prototype, "attr", 2);
|
|
68
|
-
|
|
70
|
+
a([
|
|
69
71
|
o({ attribute: "attr-old-value", reflect: !0, type: Boolean })
|
|
70
72
|
], t.prototype, "attrOldValue", 2);
|
|
71
|
-
|
|
73
|
+
a([
|
|
72
74
|
o({ attribute: "char-data", reflect: !0, type: Boolean })
|
|
73
75
|
], t.prototype, "charData", 2);
|
|
74
|
-
|
|
76
|
+
a([
|
|
75
77
|
o({ attribute: "char-data-old-value", reflect: !0, type: Boolean })
|
|
76
78
|
], t.prototype, "charDataOldValue", 2);
|
|
77
|
-
|
|
79
|
+
a([
|
|
78
80
|
o({ attribute: "child-list", reflect: !0, type: Boolean })
|
|
79
81
|
], t.prototype, "childList", 2);
|
|
80
|
-
|
|
82
|
+
a([
|
|
81
83
|
o({ reflect: !0, type: Boolean })
|
|
82
84
|
], t.prototype, "disabled", 2);
|
|
83
|
-
|
|
85
|
+
a([
|
|
84
86
|
l("disabled")
|
|
85
87
|
], t.prototype, "handleDisabledChange", 1);
|
|
86
|
-
|
|
88
|
+
a([
|
|
87
89
|
l("attr", { waitUntilFirstUpdate: !0 }),
|
|
88
90
|
l("attr-old-value", { waitUntilFirstUpdate: !0 }),
|
|
89
91
|
l("char-data", { waitUntilFirstUpdate: !0 }),
|
|
90
92
|
l("char-data-old-value", { waitUntilFirstUpdate: !0 }),
|
|
91
93
|
l("childList", { waitUntilFirstUpdate: !0 })
|
|
92
94
|
], t.prototype, "handleChange", 1);
|
|
93
|
-
t =
|
|
95
|
+
t = a([
|
|
94
96
|
p("cx-mutation-observer")
|
|
95
97
|
], t);
|
|
96
98
|
export {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
2
2
|
import "../chunks/component.styles.CAS3c9pM.js";
|
|
3
|
-
import { C } from "../chunks/option.
|
|
3
|
+
import { C } from "../chunks/option.C8IEnv5Q.js";
|
|
4
4
|
import "../chunks/custom-element.L4WJXn1j.js";
|
|
5
|
-
import "../chunks/i18n.
|
|
5
|
+
import "../chunks/i18n.Q5_2aVLU.js";
|
|
6
6
|
import "../chunks/watch.DJF5K-8U.js";
|
|
7
7
|
import "../chunks/lit-element.jLBm65_O.js";
|
|
8
8
|
import "../chunks/state.CSDxrqLd.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as a } from "../chunks/asset-link-format.
|
|
2
|
-
import { C as t } from "../chunks/color-swatch-group.
|
|
1
|
+
import { C as a } from "../chunks/asset-link-format.C5Ue4EGP.js";
|
|
2
|
+
import { C as t } from "../chunks/color-swatch-group.B10yWbVM.js";
|
|
3
3
|
import { default as C } from "./file-on-demand.js";
|
|
4
4
|
export {
|
|
5
5
|
a as CxAssetLinkFormat,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as i } from "../chunks/input.
|
|
1
|
+
import { C as i } from "../chunks/input.ftEf4GS6.js";
|
|
2
2
|
import l from "./input-group.js";
|
|
3
3
|
import { n as c, C as x } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
4
4
|
import { c as f } from "../chunks/component.styles.CAS3c9pM.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./space.js";
|
|
2
2
|
import "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
3
|
-
import "../chunks/icon-button.
|
|
4
|
-
import { C as k } from "../chunks/pagination.
|
|
3
|
+
import "../chunks/icon-button.BjAbCuH8.js";
|
|
4
|
+
import { C as k } from "../chunks/pagination.Bke9vgl4.js";
|
|
5
5
|
import "../chunks/custom-element.L4WJXn1j.js";
|
|
6
|
-
import "../chunks/i18n.
|
|
6
|
+
import "../chunks/i18n.Q5_2aVLU.js";
|
|
7
7
|
import "../chunks/math.DuKzLacZ.js";
|
|
8
8
|
import "../chunks/watch.DJF5K-8U.js";
|
|
9
9
|
import "../chunks/lit-element.jLBm65_O.js";
|
|
@@ -11,12 +11,12 @@ import "../chunks/state.CSDxrqLd.js";
|
|
|
11
11
|
import "../chunks/class-map.BiVq-cVR.js";
|
|
12
12
|
import "../chunks/repeat.CFjcER6_.js";
|
|
13
13
|
import "../chunks/when.Dr1es41R.js";
|
|
14
|
-
import "../chunks/button.
|
|
15
|
-
import "../chunks/input.
|
|
16
|
-
import "../chunks/option.
|
|
14
|
+
import "../chunks/button.DbAUlIXG.js";
|
|
15
|
+
import "../chunks/input.ftEf4GS6.js";
|
|
16
|
+
import "../chunks/option.C8IEnv5Q.js";
|
|
17
17
|
import "./select.js";
|
|
18
18
|
import "./tooltip.js";
|
|
19
|
-
import "../chunks/typography.
|
|
19
|
+
import "../chunks/typography.BLYdTF0n.js";
|
|
20
20
|
export {
|
|
21
21
|
k as default
|
|
22
22
|
};
|
|
@@ -10,7 +10,7 @@ import { i as gt, p as ne, f as We, a as qe } from "../chunks/browser.BHOCIF_A.j
|
|
|
10
10
|
import { c as ye } from "../chunks/component.styles.CAS3c9pM.js";
|
|
11
11
|
import { c as Ve } from "../chunks/custom-element.L4WJXn1j.js";
|
|
12
12
|
import { d as je } from "../chunks/debounce.DaHuiSGU.js";
|
|
13
|
-
import { L as Ue } from "../chunks/i18n.
|
|
13
|
+
import { L as Ue } from "../chunks/i18n.Q5_2aVLU.js";
|
|
14
14
|
import { n as Ye } from "../chunks/when.Dr1es41R.js";
|
|
15
15
|
/**
|
|
16
16
|
* @license
|
|
@@ -4,9 +4,9 @@ import m from "./radio.js";
|
|
|
4
4
|
import x from "./radio-group.js";
|
|
5
5
|
import { n as u, C as h } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
6
6
|
import { c as _ } from "../chunks/component.styles.CAS3c9pM.js";
|
|
7
|
-
import { P as i } from "../chunks/position-picker.
|
|
7
|
+
import { P as i } from "../chunks/position-picker.qkbJlboF.js";
|
|
8
8
|
import { c as g } from "../chunks/custom-element.L4WJXn1j.js";
|
|
9
|
-
import { L as v } from "../chunks/i18n.
|
|
9
|
+
import { L as v } from "../chunks/i18n.Q5_2aVLU.js";
|
|
10
10
|
import { i as f, x as k } from "../chunks/lit-element.jLBm65_O.js";
|
|
11
11
|
const $ = f`.position-picker__column{width:fit-content}.position-picker__column::part(base){justify-content:center;align-items:center;gap:var(--cx-spacing-x-small);flex-direction:column;display:flex}.position-picker__radio{--checked-color:var(--cx-color-neutral-0);--checked-border-color:var(--cx-color-neutral-0);--checked-background-color:var(--cx-color-primary);--checked-hover-border-color:var(--cx-color-neutral-0);--checked-hover-background-color:var(--cx-color-primary)}`;
|
|
12
12
|
var C = Object.defineProperty, b = Object.getOwnPropertyDescriptor, n = (c, o, t, a) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as i, C as d } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
2
2
|
import { c as h } from "../chunks/component.styles.CAS3c9pM.js";
|
|
3
3
|
import { c as m } from "../chunks/custom-element.L4WJXn1j.js";
|
|
4
|
-
import { L as b } from "../chunks/i18n.
|
|
4
|
+
import { L as b } from "../chunks/i18n.Q5_2aVLU.js";
|
|
5
5
|
import { i as g, x as c } from "../chunks/lit-element.jLBm65_O.js";
|
|
6
6
|
import { e as u } from "../chunks/class-map.BiVq-cVR.js";
|
|
7
7
|
import { o as v } from "../chunks/if-defined.BRoBj_Rp.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as l, C as p } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
2
2
|
import { c as d } from "../chunks/component.styles.CAS3c9pM.js";
|
|
3
3
|
import { c as g } from "../chunks/custom-element.L4WJXn1j.js";
|
|
4
|
-
import { L as u } from "../chunks/i18n.
|
|
4
|
+
import { L as u } from "../chunks/i18n.Q5_2aVLU.js";
|
|
5
5
|
import { i as f, x as v } from "../chunks/lit-element.jLBm65_O.js";
|
|
6
6
|
import { r as h } from "../chunks/state.CSDxrqLd.js";
|
|
7
7
|
import { e as m } from "../chunks/query.BBf1UFkC.js";
|
|
@@ -9,7 +9,7 @@ import { e as y } from "../chunks/class-map.BiVq-cVR.js";
|
|
|
9
9
|
import { o as h } from "../chunks/if-defined.BRoBj_Rp.js";
|
|
10
10
|
import { u as _ } from "../chunks/static.UA3G1Deq.js";
|
|
11
11
|
import { i as v } from "../chunks/lit-element.jLBm65_O.js";
|
|
12
|
-
import { b as w } from "../chunks/button.styles.
|
|
12
|
+
import { b as w } from "../chunks/button.styles.D3GdfF7I.js";
|
|
13
13
|
const C = v`
|
|
14
14
|
${w}
|
|
15
15
|
|
|
@@ -10,7 +10,7 @@ import { e as v } from "../chunks/class-map.BiVq-cVR.js";
|
|
|
10
10
|
import _ from "./card.js";
|
|
11
11
|
import y from "./line-clamp.js";
|
|
12
12
|
import C from "./radio.js";
|
|
13
|
-
const w = m`:host{--label-color:var(--cx-input-label-color);--label-text-align:left;--description-color:var(--cx-input-label-color);--description-text-align:left;--toggle-size:var(--cx-toggle-size-large);flex-direction:column;align-items:center;width:100%;display:flex;position:relative}:host(:focus-visible){outline:0}.radio-card{--border-radius:var(--cx-border-radius-large);--box-shadow:none;--padding:var(--cx-spacing-small);--image-border-radius:var(--cx-border-radius-medium);cursor:pointer;width:var(--card-width,100%);height:var(--card-height,100%)}.radio-card--checked:not(.radio-card--grouped)::part(base){height:100%}.radio-card--grouped::part(base){border-top-width:0;border-radius:0;height:100%}.radio-card--grouped.radio-card--horizontal::part(base){border-left-width:0;border-top-width:var(--border-width)}:host(:first-child) .radio-card--grouped::part(base){border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-top-width:var(--border-width);border-bottom-right-radius:0;border-bottom-left-radius:0}:host(:last-child) .radio-card--grouped::part(base){border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);border-top-left-radius:0;border-top-right-radius:0}:host(:first-child) .radio-card--grouped.radio-card--horizontal::part(base){border-top-left-radius:var(--border-radius);border-bottom-left-radius:var(--border-radius);border-left-width:var(--border-width);border-top-right-radius:0;border-bottom-right-radius:0}:host(:last-child) .radio-card--grouped.radio-card--horizontal::part(base){border-top-right-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);border-top-left-radius:0;border-bottom-left-radius:0}.radio-card::part(image){background-color:#0000}.radio-card--compact::part(image){display:none}.radio-card--checked:not(.radio-card--grouped){--border-color:var(--cx-color-primary)}.radio-card--checked::part(base){background-color:var(--cx-color-primary-50)}.radio-card--disabled{opacity:.5;cursor:default}.radio-card__label{justify-content:space-between;align-items:center;gap:var(--cx-spacing-2x-small);text-transform:var(--cx-radio-card-label-text-transform,none);display:flex}.radio-card__description{margin-left:calc(var(--toggle-size) + .5em)}.radio-card__description>cx-line-clamp{color:var(--description-color);line-height:var(--cx-line-height-medium);text-align:var(--description-text-align)}.radio-card__label>cx-line-clamp{color:var(--label-color);text-align:var(--label-text-align);flex:auto}.radio-card--has-suffix .radio-card__label__suffix{width:3rem}.radio-card__label__suffix{justify-content:flex-end;height:fit-content;display:flex}.radio-card__image::slotted(img),.radio-card__image::slotted(svg){border-radius:var(--cx-border-radius-small);width:100%}.radio-card__image::slotted(*){flex-direction:column;display:flex}cx-radio{--toggle-size:var(--toggle-size)}cx-radio::part(base){align-items:center;width:100%}`;
|
|
13
|
+
const w = m`:host{--label-color:var(--cx-input-label-color);--label-text-align:left;--description-color:var(--cx-input-label-color);--description-text-align:left;--toggle-size:var(--cx-toggle-size-large);--radio-card-overflow:auto;flex-direction:column;align-items:center;width:100%;display:flex;position:relative}:host(:focus-visible){outline:0}.radio-card{--border-radius:var(--cx-border-radius-large);--box-shadow:none;--padding:var(--cx-spacing-small);--image-border-radius:var(--cx-border-radius-medium);cursor:pointer;width:var(--card-width,100%);height:var(--card-height,100%);--card-overflow:var(--radio-card-overflow,auto)}.radio-card--checked:not(.radio-card--grouped)::part(base){height:100%}.radio-card--grouped::part(base){border-top-width:0;border-radius:0;height:100%}.radio-card--grouped.radio-card--horizontal::part(base){border-left-width:0;border-top-width:var(--border-width)}:host(:first-child) .radio-card--grouped::part(base){border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-top-width:var(--border-width);border-bottom-right-radius:0;border-bottom-left-radius:0}:host(:last-child) .radio-card--grouped::part(base){border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);border-top-left-radius:0;border-top-right-radius:0}:host(:first-child) .radio-card--grouped.radio-card--horizontal::part(base){border-top-left-radius:var(--border-radius);border-bottom-left-radius:var(--border-radius);border-left-width:var(--border-width);border-top-right-radius:0;border-bottom-right-radius:0}:host(:last-child) .radio-card--grouped.radio-card--horizontal::part(base){border-top-right-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);border-top-left-radius:0;border-bottom-left-radius:0}.radio-card::part(image){background-color:#0000}.radio-card--compact::part(image){display:none}.radio-card--checked:not(.radio-card--grouped){--border-color:var(--cx-color-primary)}.radio-card--checked::part(base){background-color:var(--cx-color-primary-50)}.radio-card--disabled{opacity:.5;cursor:default}.radio-card__label{justify-content:space-between;align-items:center;gap:var(--cx-spacing-2x-small);text-transform:var(--cx-radio-card-label-text-transform,none);display:flex}.radio-card__description{margin-left:calc(var(--toggle-size) + .5em)}.radio-card__description>cx-line-clamp{color:var(--description-color);line-height:var(--cx-line-height-medium);text-align:var(--description-text-align)}.radio-card__label>cx-line-clamp{color:var(--label-color);text-align:var(--label-text-align);flex:auto}.radio-card--has-suffix .radio-card__label__suffix{width:3rem}.radio-card__label__suffix{justify-content:flex-end;height:fit-content;display:flex}.radio-card__image::slotted(img),.radio-card__image::slotted(svg){border-radius:var(--cx-border-radius-small);width:100%}.radio-card__image::slotted(*){flex-direction:column;display:flex}cx-radio{--toggle-size:var(--toggle-size)}cx-radio::part(base){align-items:center;width:100%}`;
|
|
14
14
|
var k = Object.defineProperty, z = Object.getOwnPropertyDescriptor, e = (c, i, o, d) => {
|
|
15
15
|
for (var t = d > 1 ? void 0 : d ? z(i, o) : i, s = c.length - 1, l; s >= 0; s--)
|
|
16
16
|
(l = c[s]) && (t = (d ? l(i, o, t) : l(t)) || t);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as d, C as f } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
2
2
|
import { c as g } from "../chunks/component.styles.CAS3c9pM.js";
|
|
3
|
-
import { f as y } from "../chunks/form-control.styles.
|
|
3
|
+
import { f as y } from "../chunks/form-control.styles.CHC7Q08Q.js";
|
|
4
4
|
import { c as v } from "../chunks/custom-element.L4WJXn1j.js";
|
|
5
5
|
import { d as x } from "../chunks/default-value.COZopaet.js";
|
|
6
|
-
import { F as b, c as C, a as w, v as R } from "../chunks/form.
|
|
6
|
+
import { F as b, c as C, a as w, v as R } from "../chunks/form.LpappO1d.js";
|
|
7
7
|
import { H as V } from "../chunks/slot.j5oheLJC.js";
|
|
8
8
|
import { w as h } from "../chunks/watch.DJF5K-8U.js";
|
|
9
9
|
import { i as E, x as u } from "../chunks/lit-element.jLBm65_O.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import R from "./resize-observer.js";
|
|
2
2
|
import { n as u, C as I } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
3
3
|
import { c as P } from "../chunks/component.styles.CAS3c9pM.js";
|
|
4
|
-
import { f as F } from "../chunks/form-control.styles.
|
|
4
|
+
import { f as F } from "../chunks/form-control.styles.CHC7Q08Q.js";
|
|
5
5
|
import { c as U } from "../chunks/custom-element.L4WJXn1j.js";
|
|
6
6
|
import { d as $ } from "../chunks/debounce.DaHuiSGU.js";
|
|
7
7
|
import { d as O } from "../chunks/default-value.COZopaet.js";
|
|
8
8
|
import { d as w } from "../chunks/drag.DenOh3AE.js";
|
|
9
|
-
import { F as N } from "../chunks/form.
|
|
10
|
-
import { L as S } from "../chunks/i18n.
|
|
9
|
+
import { F as N } from "../chunks/form.LpappO1d.js";
|
|
10
|
+
import { L as S } from "../chunks/i18n.Q5_2aVLU.js";
|
|
11
11
|
import { c as d } from "../chunks/math.DuKzLacZ.js";
|
|
12
12
|
import { H as A } from "../chunks/slot.j5oheLJC.js";
|
|
13
13
|
import { w as v } from "../chunks/watch.DJF5K-8U.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as l, C as g } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
2
2
|
import { c as y } from "../chunks/component.styles.CAS3c9pM.js";
|
|
3
3
|
import { c as b } from "../chunks/custom-element.L4WJXn1j.js";
|
|
4
|
-
import { L as f } from "../chunks/i18n.
|
|
4
|
+
import { L as f } from "../chunks/i18n.Q5_2aVLU.js";
|
|
5
5
|
import { c as _ } from "../chunks/math.DuKzLacZ.js";
|
|
6
6
|
import { w as p } from "../chunks/watch.DJF5K-8U.js";
|
|
7
7
|
import { i as x, x as c } from "../chunks/lit-element.jLBm65_O.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as l, C as h } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
2
2
|
import { c as p } from "../chunks/component.styles.CAS3c9pM.js";
|
|
3
3
|
import { c as v } from "../chunks/custom-element.L4WJXn1j.js";
|
|
4
|
-
import { L as d } from "../chunks/i18n.
|
|
4
|
+
import { L as d } from "../chunks/i18n.Q5_2aVLU.js";
|
|
5
5
|
import { i as f, x as y } from "../chunks/lit-element.jLBm65_O.js";
|
|
6
6
|
import { r as c } from "../chunks/state.CSDxrqLd.js";
|
|
7
7
|
const T = f`:host{display:contents}.relative-time{color:var(--cx-relative-time-color,inherit);font-size:var(--cx-relative-time-font-size,inherit);font-weight:var(--cx-relative-time-font-weight,inherit)}`;
|