@orangelogic/design-system 2.60.0 → 2.61.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/apps/cortex/src/types.d.ts +2 -0
- package/library/chunks/_baseRest.ClTMQtN1.js +67 -0
- package/library/chunks/{_baseUniq.BUihBa8c.js → _baseUniq.Df-fLIBx.js} +53 -56
- package/library/chunks/{amazon_s3.DeaMdPPn.js → amazon_s3.BEMtqafk.js} +1 -1
- package/library/chunks/animate.El-MpOws.js +37 -0
- package/library/chunks/animation-registry.HmpwNuGH.js +34 -0
- package/library/chunks/{animation.B7d72NVK.js → animation.DfUHRQry.js} +10 -8
- package/library/chunks/array.DCtvHiLS.js +81 -0
- package/library/chunks/asset.CG_yXtWK.js +288 -0
- package/library/chunks/{browser.Va59Ix3P.js → browser.BHOCIF_A.js} +18 -16
- package/library/chunks/{button.CtCSNRB3.js → button.P71VJ5xh.js} +75 -74
- package/library/chunks/{button.styles.C8AIO8fd.js → button.styles.Dl5IQLHU.js} +1 -1
- package/library/chunks/{capitalize.CNStXZBq.js → capitalize.WSkCXkNE.js} +1 -1
- package/library/chunks/{chatbot.sm4Rph1v.js → chatbot.BmpIu59L.js} +2 -2
- package/library/chunks/{class-map.CoZTSvbM.js → class-map.BiVq-cVR.js} +1 -1
- package/library/chunks/{color-swatch-group.qJevXs50.js → color-swatch-group.DlLmydlB.js} +116 -127
- package/library/chunks/color-swatch.Bpb_hW2H.js +407 -0
- package/library/chunks/color.vLD2sNTs.js +164 -0
- package/library/chunks/{component.styles.CI-v8BZa.js → component.styles.DMSLciL5.js} +1 -1
- package/library/chunks/{confirm-popover.D2TF1x6K.js → confirm-popover.C1uA36JR.js} +15 -13
- package/library/chunks/{content-builder.WranV3P4.js → content-builder.Bf7kqzDI.js} +1 -1
- package/library/chunks/converters.DkDtLstb.js +11 -0
- package/library/chunks/{cropper.aA0v16xS.js → cropper.BraEEykE.js} +5004 -5024
- package/library/chunks/custom-element.L4WJXn1j.js +14 -0
- package/library/chunks/debounce.DaHuiSGU.js +15 -0
- package/library/chunks/{default-value.CIKAvD5l.js → default-value.COZopaet.js} +1 -1
- package/library/chunks/{dialog.B1TORO6S.js → dialog.C_75RVVz.js} +52 -49
- package/library/chunks/{directive-helpers.DBHob-_L.js → directive-helpers.Dm4rc594.js} +1 -1
- package/library/chunks/dom.CZrJ64Dm.js +92 -0
- package/library/chunks/{dot-pagination.8f2oX_ge.js → dot-pagination.CoCIJsHC.js} +24 -22
- package/library/chunks/{endpoints.BgyupJys.js → endpoints.B7lcoc1N.js} +1 -3
- package/library/chunks/{file-on-demand.Cwgabdyw.js → file-on-demand.B2jNilAj.js} +1829 -1544
- package/library/chunks/{folder-select.DiWCwR-T.js → folder-select.CSEQxIXF.js} +380 -255
- package/library/chunks/{form-control.styles.NE2Q-quE.js → form-control.styles.CUGhvlfT.js} +1 -1
- package/library/chunks/{form.B8u0ywni.js → form.CO12-VK0.js} +1 -1
- package/library/chunks/{guard.BDP4A85K.js → guard.D4axKaMo.js} +1 -1
- package/library/chunks/{header.B_FD8uLt.js → header.Bd3G0-oA.js} +11 -9
- package/library/chunks/{hub-connection.CxfaT11o.js → hub-connection.BxT2b7Nq.js} +4 -3
- package/library/chunks/{i18n.BP2FRO1v.js → i18n.DrzK7TPf.js} +54 -7
- package/library/chunks/identity.ByMq8VxU.js +6 -0
- package/library/chunks/{if-defined.MfEgpxEN.js → if-defined.BRoBj_Rp.js} +1 -1
- package/library/chunks/{iframe.DZm7FiCl.js → iframe.UCj6Ze2A.js} +18 -16
- package/library/chunks/{image.Ycf8RudS.js → image.DZCRhE3G.js} +82 -79
- package/library/chunks/image.mbpyiQpQ.js +82 -0
- package/library/chunks/index.S0wy3rzm.js +373 -0
- package/library/chunks/isObjectLike.D3cpZO39.js +81 -0
- package/library/chunks/{isSymbol.L0C2ND_U.js → isSymbol.huJ_Cvxt.js} +1 -1
- package/library/chunks/lib-cortex-element.CVMmyPMC.js +146 -0
- package/library/chunks/{list-editor.COkw5JKG.js → list-editor.CrLntuM7.js} +75 -79
- package/library/chunks/{custom-element.vnXBMQxc.js → lit-element.jLBm65_O.js} +123 -277
- package/library/chunks/{live.LdB9xEhp.js → live.SCz6M8Gs.js} +2 -2
- package/library/chunks/{mailchimp.BjbPJfd-.js → mailchimp.Bs6uJVsf.js} +1 -1
- package/library/chunks/{modal.BqNLxgs1.js → modal.U1QltQKe.js} +25 -19
- package/library/chunks/{option.D9KJhzHs.js → option.D1u5-cTt.js} +21 -19
- package/library/chunks/{orangelogic.BgbQXkBv.js → orangelogic.TdFfoPUN.js} +1 -1
- package/library/chunks/{overlayscrollbars.aFuRG5Rs.js → overlayscrollbars.XhGWx9Zk.js} +1 -1
- package/library/chunks/{pagination.C2FN4fmO.js → pagination.BI3LONVU.js} +17 -15
- package/library/chunks/{ref.BaCjlzLO.js → ref.bzeTdX0K.js} +2 -2
- package/library/chunks/{repeat.CauKaXyy.js → repeat.DbF2p5ae.js} +2 -2
- package/library/chunks/responsive.CA6dcNiM.js +17 -0
- package/library/chunks/{scroll.DwPiX2Ox.js → scroll.xtO5yojm.js} +3 -2
- package/library/chunks/{slot.DJLm4Dig.js → slot.j5oheLJC.js} +12 -4
- package/library/chunks/{state.Cw55xXlb.js → state.CSDxrqLd.js} +1 -1
- package/library/chunks/{static.BjNkqt7_.js → static.UA3G1Deq.js} +1 -1
- package/library/chunks/string.Cp_XNbnV.js +160 -0
- package/library/chunks/{style-map.CZovMmo_.js → style-map.llVFPd__.js} +1 -1
- package/library/chunks/{tab-group.5fLnWflv.js → tab-group.DxSlcWK0.js} +20 -18
- package/library/chunks/{table.BAr8KKc6.js → table.CY-iMTWV.js} +457 -505
- package/library/chunks/template.CsJd8Pb_.js +20 -0
- package/library/chunks/time.D_uFZqqe.js +118 -0
- package/library/chunks/{toString.CL_lYXbK.js → toString.CRT5zqEU.js} +3 -3
- package/library/chunks/toast.BXNbwZV8.js +25 -0
- package/library/chunks/{tree.CUfvIDyA.js → tree.CNbrP8cY.js} +33 -36
- package/library/chunks/{typography.BFpl0WMA.js → typography.oDzoLbZS.js} +16 -14
- package/library/chunks/{unsafe-html.DyO9_Rsq.js → unsafe-html.Dff7-rCx.js} +1 -1
- package/library/chunks/url.LjsR2sB5.js +15 -0
- package/library/chunks/user-agent.D9aPuOyL.js +4 -0
- package/library/chunks/watch.q1sEjPWL.js +501 -0
- package/library/components/alert.js +38 -35
- package/library/components/animated-image.js +25 -23
- package/library/components/animation.js +7 -5
- package/library/components/array-line-clamp.d.ts +3 -0
- package/library/components/array-line-clamp.js +195 -0
- package/library/components/asset-link-format.js +223 -212
- package/library/components/atoms.js +164 -162
- package/library/components/avatar.js +28 -26
- package/library/components/badge.js +10 -8
- package/library/components/bicolor-picker.js +21 -19
- package/library/components/border-input-group.js +11 -9
- package/library/components/breadcrumb-item.js +14 -12
- package/library/components/breadcrumb.js +24 -22
- package/library/components/button-group.js +26 -24
- package/library/components/button.js +14 -13
- package/library/components/card.js +28 -19
- package/library/components/checkbox.js +29 -23
- package/library/components/color-picker.js +19 -17
- package/library/components/color-swatch-group.js +20 -17
- package/library/components/color-swatch.js +16 -13
- package/library/components/confirm-popover.js +11 -9
- package/library/components/copy-button.js +15 -13
- package/library/components/corner-position-input-group.js +13 -11
- package/library/components/cortex-element.d.ts +3 -0
- package/library/components/cortex-element.js +5 -0
- package/library/components/cropper.js +7 -5
- package/library/components/details.js +23 -20
- package/library/components/dialog.js +19 -16
- package/library/components/divider.js +13 -11
- package/library/components/dot-pagination.js +11 -9
- package/library/components/dot-status.js +10 -8
- package/library/components/drawer.js +63 -51
- package/library/components/dropdown.js +29 -26
- package/library/components/dynamic-select.js +12 -10
- package/library/components/element-clamp.js +28 -25
- package/library/components/file-on-demand.js +21 -20
- package/library/components/folder-select.js +12 -10
- package/library/components/format-bytes.js +11 -10
- package/library/components/format-date.js +11 -9
- package/library/components/format-number.js +16 -15
- package/library/components/format-time.js +118 -9
- package/library/components/grid-item.js +48 -46
- package/library/components/grid.js +31 -29
- package/library/components/header.js +10 -9
- package/library/components/hub-connection.js +6 -5
- package/library/components/icon-button.js +20 -18
- package/library/components/icon.js +17 -15
- package/library/components/iframe.js +10 -8
- package/library/components/image-comparer.js +27 -25
- package/library/components/image.js +14 -11
- package/library/components/include.js +26 -24
- package/library/components/input-group.js +15 -13
- package/library/components/input.js +23 -21
- package/library/components/line-clamp.js +12 -10
- package/library/components/list-editor.js +17 -15
- package/library/components/markdown.js +80 -78
- package/library/components/masonry.js +46 -44
- package/library/components/menu-item.js +151 -136
- package/library/components/menu-label.js +15 -13
- package/library/components/menu-section.js +18 -16
- package/library/components/menu.js +10 -8
- package/library/components/molecules.js +5 -5
- package/library/components/mutation-observer.js +12 -10
- package/library/components/option.js +10 -8
- package/library/components/organisms.js +2 -2
- package/library/components/padding-input-group.js +30 -28
- package/library/components/pagination.js +14 -12
- package/library/components/popup.js +3296 -9
- package/library/components/position-picker.js +12 -10
- package/library/components/progress-bar.js +13 -11
- package/library/components/progress-ring.js +15 -13
- package/library/components/qr-code.js +54 -52
- package/library/components/radio-button.js +19 -17
- package/library/components/radio-card.js +14 -12
- package/library/components/radio-group.js +20 -18
- package/library/components/radio.js +15 -13
- package/library/components/range.js +25 -23
- package/library/components/rating.js +17 -15
- package/library/components/relative-time.js +16 -14
- package/library/components/resize-observer.js +21 -19
- package/library/components/select.js +1442 -25
- package/library/components/shadow-input-group.js +19 -17
- package/library/components/share-option-list.js +20 -18
- package/library/components/sidebar.js +14 -12
- package/library/components/size-input-group.js +35 -33
- package/library/components/skeleton.js +12 -10
- package/library/components/space.js +12 -10
- package/library/components/spinner.js +17 -15
- package/library/components/split-panel.js +15 -13
- package/library/components/step.js +18 -16
- package/library/components/stepper-wizard.js +11 -9
- package/library/components/stepper.js +13 -11
- package/library/components/switch.js +21 -19
- package/library/components/tab-group.js +15 -13
- package/library/components/tab-panel.js +20 -18
- package/library/components/tab.js +18 -16
- package/library/components/table.js +69 -67
- package/library/components/tag.js +11 -9
- package/library/components/textarea.js +20 -18
- package/library/components/timecode.js +98 -8
- package/library/components/tooltip.js +24 -21
- package/library/components/tree-item.js +14 -11
- package/library/components/tree.js +12 -10
- package/library/components/typeface.js +13 -11
- package/library/components/types.js +15487 -15444
- package/library/components/typography.js +6 -4
- package/library/components/video.js +13 -11
- package/library/components/visually-hidden.js +15 -13
- package/library/events.d.ts +1 -0
- package/library/events.js +1 -0
- package/library/package.json +11 -2
- package/library/packages/atoms/src/components/array-line-clamp/array-line-clamp.d.ts +45 -0
- package/library/packages/atoms/src/components/array-line-clamp/array-line-clamp.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/checkbox/checkbox.d.ts +2 -0
- package/library/packages/atoms/src/components/drawer/drawer.d.ts +7 -1
- package/library/packages/atoms/src/components/include/include.d.ts +1 -0
- package/library/packages/atoms/src/components/menu-item/menu-item.d.ts +2 -0
- package/library/packages/atoms/src/components/tree/tree.d.ts +0 -4
- package/library/packages/atoms/src/index.d.ts +1 -0
- package/library/packages/events/src/cx-file-on-demand-load-more.d.ts +8 -0
- package/library/packages/events/src/cx-file-on-demand-pin.d.ts +8 -0
- package/library/packages/events/src/cx-file-on-demand-unpin.d.ts +8 -0
- package/library/packages/events/src/cx-folder-select-search-term-change.d.ts +8 -0
- package/library/packages/events/src/cx-share-option-list-item-selected.d.ts +8 -0
- package/library/packages/events/src/events.d.ts +6 -2
- package/library/packages/molecules/src/asset-picker/asset-picker.d.ts +2 -0
- package/library/packages/molecules/src/cropper/cropper.d.ts +1 -0
- package/library/packages/molecules/src/cropper/react/Cropper.d.ts +1 -0
- package/library/packages/molecules/src/download-format-picker/download-format-picker.d.ts +1 -0
- package/library/packages/molecules/src/folder-select/components/folder-select-tree/folder-select-tree.d.ts +8 -0
- package/library/packages/molecules/src/folder-select/components/folder-select-tree-item/folder-select-tree-item.d.ts +1 -0
- package/library/packages/molecules/src/folder-select/folder-select.d.ts +6 -1
- package/library/packages/organisms/src/asset-link-format/asset-link-format.d.ts +3 -7
- package/library/packages/organisms/src/content-builder/styleController.d.ts +8 -8
- package/library/packages/organisms/src/file-on-demand/components/file-on-demand-asset/file-on-demand-asset.d.ts +80 -0
- package/library/packages/organisms/src/file-on-demand/components/file-on-demand-asset/file-on-demand-asset.styles.d.ts +2 -0
- package/library/packages/organisms/src/file-on-demand/components/file-on-demand-pinned-status.ts/file-on-demand-pinned-status.d.ts +44 -0
- package/library/packages/organisms/src/file-on-demand/file-on-demand.constants.d.ts +1 -0
- package/library/packages/organisms/src/file-on-demand/file-on-demand.d.ts +11 -18
- package/library/packages/organisms/src/file-on-demand/file-on-demand.utils.d.ts +6 -0
- package/library/packages/services/src/api/folder/folder.d.ts +4 -8
- package/library/packages/services/src/api/folder/folder.types.d.ts +2 -1
- package/library/packages/types/src/file-on-demand.d.ts +4 -0
- package/library/packages/types/src/folder-select.d.ts +9 -2
- package/library/packages/utils/src/custom-element/i18n.d.ts +40 -2
- package/library/packages/utils/src/drag-scroll/drag-scroll.d.ts +22 -0
- package/library/packages/utils/src/drag-scroll/index.d.ts +1 -0
- package/library/packages/utils/src/font/font.d.ts +26 -0
- package/library/packages/utils/src/font/index.d.ts +1 -0
- package/library/packages/utils/src/history-manager/history-manager.d.ts +13 -0
- package/library/packages/utils/src/history-manager/index.d.ts +1 -0
- package/library/packages/utils/src/index.d.ts +45 -0
- package/library/packages/utils/src/template/index.d.ts +1 -0
- package/library/packages/utils/src/template/template.d.ts +3 -0
- package/library/react-web-component.d.ts +418 -360
- package/library/utils.d.ts +1 -0
- package/library/utils.js +180 -0
- package/package.json +11 -2
- package/library/chunks/animation-registry.DavRkTTr.js +0 -69
- package/library/chunks/asset.Ba-CxnNM.js +0 -309
- package/library/chunks/color-swatch.DUe3iLLo.js +0 -558
- package/library/chunks/dom.C0OFx7ND.js +0 -78
- package/library/chunks/format-time.BW6-ZWCX.js +0 -226
- package/library/chunks/isObjectLike.z36Fu426.js +0 -34
- package/library/chunks/popup._w5T7x8f.js +0 -3307
- package/library/chunks/select.DfO4de04.js +0 -1441
- package/library/chunks/string.BCk3SmdZ.js +0 -144
- package/library/chunks/timecode.D7XTiQ_3.js +0 -105
- package/library/chunks/watch.BCJD77bD.js +0 -547
- package/library/packages/events/src/cx-load-more.d.ts +0 -8
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import "../chunks/
|
|
2
|
-
import "../chunks/component.styles.
|
|
3
|
-
import { C as
|
|
4
|
-
import "../chunks/
|
|
5
|
-
import "../chunks/
|
|
1
|
+
import "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
2
|
+
import "../chunks/component.styles.DMSLciL5.js";
|
|
3
|
+
import { C as u } from "../chunks/iframe.UCj6Ze2A.js";
|
|
4
|
+
import "../chunks/custom-element.L4WJXn1j.js";
|
|
5
|
+
import "../chunks/i18n.DrzK7TPf.js";
|
|
6
|
+
import "../chunks/watch.q1sEjPWL.js";
|
|
7
|
+
import "../chunks/lit-element.jLBm65_O.js";
|
|
6
8
|
import "../chunks/query.BBf1UFkC.js";
|
|
7
|
-
import "../chunks/class-map.
|
|
8
|
-
import "../chunks/if-defined.
|
|
9
|
+
import "../chunks/class-map.BiVq-cVR.js";
|
|
10
|
+
import "../chunks/if-defined.BRoBj_Rp.js";
|
|
9
11
|
import "../chunks/when.Dr1es41R.js";
|
|
10
12
|
export {
|
|
11
|
-
|
|
13
|
+
u as default
|
|
12
14
|
};
|
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import
|
|
11
|
-
|
|
1
|
+
import { n as h, C as f } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
2
|
+
import { c as g } from "../chunks/component.styles.DMSLciL5.js";
|
|
3
|
+
import { c as u } from "../chunks/custom-element.L4WJXn1j.js";
|
|
4
|
+
import { d as v } from "../chunks/drag.DXEXVXPv.js";
|
|
5
|
+
import { L as _ } from "../chunks/i18n.DrzK7TPf.js";
|
|
6
|
+
import { c as m } from "../chunks/math.DqTA6ya4.js";
|
|
7
|
+
import { w } from "../chunks/watch.q1sEjPWL.js";
|
|
8
|
+
import { i as y, x } from "../chunks/lit-element.jLBm65_O.js";
|
|
9
|
+
import { e as p } from "../chunks/query.BBf1UFkC.js";
|
|
10
|
+
import { e as b } from "../chunks/class-map.BiVq-cVR.js";
|
|
11
|
+
import { o as c } from "../chunks/style-map.llVFPd__.js";
|
|
12
|
+
import d from "./icon.js";
|
|
13
|
+
const $ = y`
|
|
12
14
|
:host {
|
|
13
15
|
--divider-width: 2px;
|
|
14
16
|
--handle-size: 2.5rem;
|
|
@@ -86,16 +88,16 @@ var z = Object.defineProperty, C = Object.getOwnPropertyDescriptor, s = (e, t, a
|
|
|
86
88
|
(n = e[l]) && (i = (o ? n(t, a, i) : n(i)) || i);
|
|
87
89
|
return o && i && z(t, a, i), i;
|
|
88
90
|
};
|
|
89
|
-
let r = class extends
|
|
91
|
+
let r = class extends f {
|
|
90
92
|
constructor() {
|
|
91
|
-
super(...arguments), this.localize = new
|
|
93
|
+
super(...arguments), this.localize = new _(this), this.position = 50;
|
|
92
94
|
}
|
|
93
95
|
handleDrag(e) {
|
|
94
96
|
const { width: t } = this.base.getBoundingClientRect(), a = this.localize.dir() === "rtl";
|
|
95
|
-
e.preventDefault(),
|
|
97
|
+
e.preventDefault(), v(this.base, {
|
|
96
98
|
initialEvent: e,
|
|
97
99
|
onMove: (o) => {
|
|
98
|
-
this.position = parseFloat(
|
|
100
|
+
this.position = parseFloat(m(o / t * 100, 0, 100).toFixed(2)), a && (this.position = 100 - this.position);
|
|
99
101
|
}
|
|
100
102
|
});
|
|
101
103
|
}
|
|
@@ -104,7 +106,7 @@ let r = class extends g {
|
|
|
104
106
|
if (["ArrowLeft", "ArrowRight", "Home", "End"].includes(e.key)) {
|
|
105
107
|
const o = e.shiftKey ? 10 : 1;
|
|
106
108
|
let i = this.position;
|
|
107
|
-
e.preventDefault(), (t && e.key === "ArrowLeft" || a && e.key === "ArrowRight") && (i -= o), (t && e.key === "ArrowRight" || a && e.key === "ArrowLeft") && (i += o), e.key === "Home" && (i = 0), e.key === "End" && (i = 100), i =
|
|
109
|
+
e.preventDefault(), (t && e.key === "ArrowLeft" || a && e.key === "ArrowRight") && (i -= o), (t && e.key === "ArrowRight" || a && e.key === "ArrowLeft") && (i += o), e.key === "Home" && (i = 0), e.key === "End" && (i = 100), i = m(i, 0, 100), this.position = i;
|
|
108
110
|
}
|
|
109
111
|
}
|
|
110
112
|
handlePositionChange() {
|
|
@@ -112,7 +114,7 @@ let r = class extends g {
|
|
|
112
114
|
}
|
|
113
115
|
render() {
|
|
114
116
|
const e = this.localize.dir() === "rtl";
|
|
115
|
-
return
|
|
117
|
+
return x`
|
|
116
118
|
<div
|
|
117
119
|
part="base"
|
|
118
120
|
id="image-comparer"
|
|
@@ -172,25 +174,25 @@ let r = class extends g {
|
|
|
172
174
|
`;
|
|
173
175
|
}
|
|
174
176
|
};
|
|
175
|
-
r.styles = [
|
|
177
|
+
r.styles = [g, $];
|
|
176
178
|
r.dependencies = {
|
|
177
|
-
"cx-icon":
|
|
179
|
+
"cx-icon": d
|
|
178
180
|
};
|
|
179
|
-
r.scopedElement = { "cx-icon":
|
|
181
|
+
r.scopedElement = { "cx-icon": d };
|
|
180
182
|
s([
|
|
181
|
-
|
|
183
|
+
p(".image-comparer")
|
|
182
184
|
], r.prototype, "base", 2);
|
|
183
185
|
s([
|
|
184
|
-
|
|
186
|
+
p(".image-comparer__handle")
|
|
185
187
|
], r.prototype, "handle", 2);
|
|
186
188
|
s([
|
|
187
|
-
|
|
189
|
+
h({ reflect: !0, type: Number })
|
|
188
190
|
], r.prototype, "position", 2);
|
|
189
191
|
s([
|
|
190
|
-
|
|
192
|
+
w("position", { waitUntilFirstUpdate: !0 })
|
|
191
193
|
], r.prototype, "handlePositionChange", 1);
|
|
192
194
|
r = s([
|
|
193
|
-
|
|
195
|
+
u("cx-image-comparer")
|
|
194
196
|
], r);
|
|
195
197
|
export {
|
|
196
198
|
r as default
|
|
@@ -1,20 +1,23 @@
|
|
|
1
|
-
import { C as
|
|
2
|
-
import "../chunks/component.styles.
|
|
1
|
+
import { C as n } from "../chunks/image.DZCRhE3G.js";
|
|
2
|
+
import "../chunks/component.styles.DMSLciL5.js";
|
|
3
3
|
import "../chunks/index.Cpamj0jB.js";
|
|
4
|
-
import "../chunks/custom-element.
|
|
5
|
-
import "../chunks/
|
|
6
|
-
import "../chunks/i18n.
|
|
7
|
-
import "../chunks/watch.
|
|
8
|
-
import "../chunks/
|
|
4
|
+
import "../chunks/custom-element.L4WJXn1j.js";
|
|
5
|
+
import "../chunks/debounce.DaHuiSGU.js";
|
|
6
|
+
import "../chunks/i18n.DrzK7TPf.js";
|
|
7
|
+
import "../chunks/watch.q1sEjPWL.js";
|
|
8
|
+
import "../chunks/lit-element.jLBm65_O.js";
|
|
9
|
+
import "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
10
|
+
import "../chunks/state.CSDxrqLd.js";
|
|
9
11
|
import "../chunks/query.BBf1UFkC.js";
|
|
10
|
-
import "../chunks/class-map.
|
|
11
|
-
import "../chunks/if-defined.
|
|
12
|
-
import "../chunks/style-map.
|
|
12
|
+
import "../chunks/class-map.BiVq-cVR.js";
|
|
13
|
+
import "../chunks/if-defined.BRoBj_Rp.js";
|
|
14
|
+
import "../chunks/style-map.llVFPd__.js";
|
|
13
15
|
import "../chunks/when.Dr1es41R.js";
|
|
14
16
|
import "./icon.js";
|
|
17
|
+
import "./popup.js";
|
|
15
18
|
import "./resize-observer.js";
|
|
16
19
|
import "./skeleton.js";
|
|
17
20
|
import "./space.js";
|
|
18
21
|
export {
|
|
19
|
-
|
|
22
|
+
n as default
|
|
20
23
|
};
|
|
@@ -1,33 +1,35 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as
|
|
3
|
-
import {
|
|
4
|
-
|
|
1
|
+
import { n as u, C as p } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
2
|
+
import { c as h } from "../chunks/component.styles.DMSLciL5.js";
|
|
3
|
+
import { c as m } from "../chunks/custom-element.L4WJXn1j.js";
|
|
4
|
+
import { w as f } from "../chunks/watch.q1sEjPWL.js";
|
|
5
|
+
import { i as d, x } from "../chunks/lit-element.jLBm65_O.js";
|
|
6
|
+
const y = d`
|
|
5
7
|
:host {
|
|
6
8
|
display: block;
|
|
7
9
|
}
|
|
8
|
-
`,
|
|
10
|
+
`, a = /* @__PURE__ */ new Map();
|
|
9
11
|
function w(t, e = "cors") {
|
|
10
|
-
const r =
|
|
12
|
+
const r = a.get(t);
|
|
11
13
|
if (r !== void 0)
|
|
12
14
|
return Promise.resolve(r);
|
|
13
15
|
const o = fetch(t, { mode: e }).then(async (s) => {
|
|
14
|
-
const
|
|
16
|
+
const i = {
|
|
15
17
|
html: await s.text(),
|
|
16
18
|
ok: s.ok,
|
|
17
19
|
status: s.status
|
|
18
20
|
};
|
|
19
|
-
return
|
|
21
|
+
return a.set(t, i), i;
|
|
20
22
|
});
|
|
21
|
-
return
|
|
23
|
+
return a.set(t, o), o;
|
|
22
24
|
}
|
|
23
|
-
var v = Object.defineProperty, S = Object.getOwnPropertyDescriptor,
|
|
24
|
-
for (var s = o > 1 ? void 0 : o ? S(e, r) : e,
|
|
25
|
-
(
|
|
25
|
+
var v = Object.defineProperty, S = Object.getOwnPropertyDescriptor, n = (t, e, r, o) => {
|
|
26
|
+
for (var s = o > 1 ? void 0 : o ? S(e, r) : e, i = t.length - 1, l; i >= 0; i--)
|
|
27
|
+
(l = t[i]) && (s = (o ? l(e, r, s) : l(s)) || s);
|
|
26
28
|
return o && s && v(e, r, s), s;
|
|
27
29
|
};
|
|
28
|
-
let c = class extends
|
|
30
|
+
let c = class extends p {
|
|
29
31
|
constructor() {
|
|
30
|
-
super(...arguments), this.mode = "cors", this.allowScripts = !1;
|
|
32
|
+
super(...arguments), this.mode = "cors", this.allowScripts = !1, this.requestInclude = w;
|
|
31
33
|
}
|
|
32
34
|
executeScript(t) {
|
|
33
35
|
const e = document.createElement("script");
|
|
@@ -37,7 +39,7 @@ let c = class extends h {
|
|
|
37
39
|
}
|
|
38
40
|
async handleSrcChange() {
|
|
39
41
|
try {
|
|
40
|
-
const t = this.src, e = await
|
|
42
|
+
const t = this.src, e = await this.requestInclude(t, this.mode);
|
|
41
43
|
if (t !== this.src)
|
|
42
44
|
return;
|
|
43
45
|
if (!e.ok) {
|
|
@@ -52,24 +54,24 @@ let c = class extends h {
|
|
|
52
54
|
}
|
|
53
55
|
}
|
|
54
56
|
render() {
|
|
55
|
-
return
|
|
57
|
+
return x`<slot></slot>`;
|
|
56
58
|
}
|
|
57
59
|
};
|
|
58
|
-
c.styles = [
|
|
59
|
-
|
|
60
|
+
c.styles = [h, y];
|
|
61
|
+
n([
|
|
60
62
|
u()
|
|
61
63
|
], c.prototype, "src", 2);
|
|
62
|
-
|
|
64
|
+
n([
|
|
63
65
|
u()
|
|
64
66
|
], c.prototype, "mode", 2);
|
|
65
|
-
|
|
67
|
+
n([
|
|
66
68
|
u({ attribute: "allow-scripts", type: Boolean })
|
|
67
69
|
], c.prototype, "allowScripts", 2);
|
|
68
|
-
|
|
69
|
-
|
|
70
|
+
n([
|
|
71
|
+
f("src")
|
|
70
72
|
], c.prototype, "handleSrcChange", 1);
|
|
71
|
-
c =
|
|
72
|
-
|
|
73
|
+
c = n([
|
|
74
|
+
m("cx-include")
|
|
73
75
|
], c);
|
|
74
76
|
export {
|
|
75
77
|
c as default
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as
|
|
3
|
-
import { f as
|
|
4
|
-
import {
|
|
5
|
-
|
|
1
|
+
import { n as a, C as c } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
2
|
+
import { c as g } from "../chunks/component.styles.DMSLciL5.js";
|
|
3
|
+
import { f as d } from "../chunks/form-control.styles.CUGhvlfT.js";
|
|
4
|
+
import { c as f } from "../chunks/custom-element.L4WJXn1j.js";
|
|
5
|
+
import { i as h, x as m } from "../chunks/lit-element.jLBm65_O.js";
|
|
6
|
+
import { e as _ } from "../chunks/query.BBf1UFkC.js";
|
|
7
|
+
const x = h`
|
|
6
8
|
:host {
|
|
7
9
|
display: inline-block;
|
|
8
10
|
width: 100%;
|
|
@@ -27,7 +29,7 @@ function r(t) {
|
|
|
27
29
|
const e = "cx-input, cx-select";
|
|
28
30
|
return t.closest(e) ?? t.querySelector(e);
|
|
29
31
|
}
|
|
30
|
-
let s = class extends
|
|
32
|
+
let s = class extends c {
|
|
31
33
|
constructor() {
|
|
32
34
|
super(...arguments), this.label = "";
|
|
33
35
|
}
|
|
@@ -59,7 +61,7 @@ let s = class extends g {
|
|
|
59
61
|
});
|
|
60
62
|
}
|
|
61
63
|
render() {
|
|
62
|
-
return
|
|
64
|
+
return m`<div
|
|
63
65
|
part="base"
|
|
64
66
|
class="input-group"
|
|
65
67
|
aria-label=${this.label}
|
|
@@ -73,18 +75,18 @@ let s = class extends g {
|
|
|
73
75
|
}
|
|
74
76
|
};
|
|
75
77
|
s.styles = [
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
78
|
+
g,
|
|
79
|
+
d,
|
|
80
|
+
x
|
|
79
81
|
];
|
|
80
82
|
p([
|
|
81
|
-
|
|
83
|
+
_("slot")
|
|
82
84
|
], s.prototype, "defaultSlot", 2);
|
|
83
85
|
p([
|
|
84
|
-
|
|
86
|
+
a()
|
|
85
87
|
], s.prototype, "label", 2);
|
|
86
88
|
s = p([
|
|
87
|
-
|
|
89
|
+
f("cx-input-group")
|
|
88
90
|
], s);
|
|
89
91
|
export {
|
|
90
92
|
s as default
|
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as
|
|
3
|
-
import { f as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
1
|
+
import { n as f, C as at } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
2
|
+
import { c as rt } from "../chunks/component.styles.DMSLciL5.js";
|
|
3
|
+
import { f as ut } from "../chunks/form-control.styles.CUGhvlfT.js";
|
|
4
|
+
import { c as lt } from "../chunks/custom-element.L4WJXn1j.js";
|
|
5
|
+
import { d as ot } from "../chunks/default-value.COZopaet.js";
|
|
6
|
+
import { F as ht } from "../chunks/form.CO12-VK0.js";
|
|
7
|
+
import { L as pt } from "../chunks/i18n.DrzK7TPf.js";
|
|
8
|
+
import { H as ct } from "../chunks/slot.j5oheLJC.js";
|
|
9
|
+
import { w as T } from "../chunks/watch.q1sEjPWL.js";
|
|
10
|
+
import { i as dt, x as F } from "../chunks/lit-element.jLBm65_O.js";
|
|
11
|
+
import { r as j } from "../chunks/state.CSDxrqLd.js";
|
|
10
12
|
import { e as K } from "../chunks/query.BBf1UFkC.js";
|
|
11
|
-
import { e as z } from "../chunks/class-map.
|
|
12
|
-
import { o as _ } from "../chunks/if-defined.
|
|
13
|
-
import { l as ft } from "../chunks/live.
|
|
13
|
+
import { e as z } from "../chunks/class-map.BiVq-cVR.js";
|
|
14
|
+
import { o as _ } from "../chunks/if-defined.BRoBj_Rp.js";
|
|
15
|
+
import { l as ft } from "../chunks/live.SCz6M8Gs.js";
|
|
14
16
|
import { n as mt } from "../chunks/when.Dr1es41R.js";
|
|
15
17
|
import gt from "./icon.js";
|
|
16
18
|
function w(a) {
|
|
@@ -2367,7 +2369,7 @@ try {
|
|
|
2367
2369
|
globalThis.IMask = d;
|
|
2368
2370
|
} catch {
|
|
2369
2371
|
}
|
|
2370
|
-
const Bt =
|
|
2372
|
+
const Bt = dt`
|
|
2371
2373
|
:host {
|
|
2372
2374
|
display: block;
|
|
2373
2375
|
line-height: normal;
|
|
@@ -2879,15 +2881,15 @@ var St = Object.defineProperty, It = Object.getOwnPropertyDescriptor, it = (a) =
|
|
|
2879
2881
|
(r = a[n]) && (s = (i ? r(t, e, s) : r(s)) || s);
|
|
2880
2882
|
return i && s && St(t, e, s), s;
|
|
2881
2883
|
}, Vt = (a, t, e) => t.has(a) || it("Cannot " + e), Dt = (a, t, e) => (Vt(a, t, "read from private field"), e ? e.call(a) : t.get(a)), Mt = (a, t, e) => t.has(a) ? it("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(a) : t.set(a, e), H, st;
|
|
2882
|
-
let o = class extends
|
|
2884
|
+
let o = class extends at {
|
|
2883
2885
|
constructor() {
|
|
2884
|
-
super(), Mt(this, H), this.formControlController = new
|
|
2886
|
+
super(), Mt(this, H), this.formControlController = new ht(this, {
|
|
2885
2887
|
assumeInteractionOn: ["cx-input"]
|
|
2886
|
-
}), this.hasSlotController = new
|
|
2888
|
+
}), this.hasSlotController = new ct(
|
|
2887
2889
|
this,
|
|
2888
2890
|
"help-text",
|
|
2889
2891
|
"label"
|
|
2890
|
-
), this.localize = new
|
|
2892
|
+
), this.localize = new pt(this), this.hasFocus = !1, this.maskInstance = null, this.containerClicked = !1, this.title = "", this.__numberInput = Object.assign(
|
|
2891
2893
|
document.createElement("input"),
|
|
2892
2894
|
{
|
|
2893
2895
|
type: "number"
|
|
@@ -3261,8 +3263,8 @@ st = function() {
|
|
|
3261
3263
|
return this.input?.files;
|
|
3262
3264
|
};
|
|
3263
3265
|
o.styles = [
|
|
3264
|
-
|
|
3265
|
-
|
|
3266
|
+
rt,
|
|
3267
|
+
ut,
|
|
3266
3268
|
Bt
|
|
3267
3269
|
];
|
|
3268
3270
|
o.dependencies = { "cx-icon": gt };
|
|
@@ -3300,7 +3302,7 @@ p([
|
|
|
3300
3302
|
f({ attribute: "unmasked-value", reflect: !0, type: String })
|
|
3301
3303
|
], o.prototype, "unmaskedValue", 2);
|
|
3302
3304
|
p([
|
|
3303
|
-
|
|
3305
|
+
ot()
|
|
3304
3306
|
], o.prototype, "defaultValue", 2);
|
|
3305
3307
|
p([
|
|
3306
3308
|
f({ reflect: !0 })
|
|
@@ -3453,7 +3455,7 @@ p([
|
|
|
3453
3455
|
T("value", { waitUntilFirstUpdate: !0 })
|
|
3454
3456
|
], o.prototype, "handleValueChange", 1);
|
|
3455
3457
|
o = p([
|
|
3456
|
-
|
|
3458
|
+
lt("cx-input")
|
|
3457
3459
|
], o);
|
|
3458
3460
|
export {
|
|
3459
3461
|
o as default
|
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import "../chunks/button.
|
|
1
|
+
import "../chunks/button.P71VJ5xh.js";
|
|
2
2
|
import "./tooltip.js";
|
|
3
3
|
import "./resize-observer.js";
|
|
4
|
-
import {
|
|
5
|
-
import { c as
|
|
6
|
-
import { i as f } from "../chunks/browser.
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
4
|
+
import { n as r, C as b } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
5
|
+
import { c as g } from "../chunks/component.styles.DMSLciL5.js";
|
|
6
|
+
import { i as f } from "../chunks/browser.BHOCIF_A.js";
|
|
7
|
+
import { c as w } from "../chunks/custom-element.L4WJXn1j.js";
|
|
8
|
+
import { d as x } from "../chunks/debounce.DaHuiSGU.js";
|
|
9
|
+
import { i as v, x as h } from "../chunks/lit-element.jLBm65_O.js";
|
|
10
|
+
import { r as u } from "../chunks/state.CSDxrqLd.js";
|
|
9
11
|
import { e as m } from "../chunks/query.BBf1UFkC.js";
|
|
10
|
-
const C =
|
|
12
|
+
const C = v`
|
|
11
13
|
:host {
|
|
12
14
|
--toggler-color: var(--cx-color-primary);
|
|
13
15
|
}
|
|
@@ -43,7 +45,7 @@ var T = Object.defineProperty, $ = Object.getOwnPropertyDescriptor, e = (i, s, n
|
|
|
43
45
|
(p = i[o]) && (l = (a ? p(s, n, l) : p(l)) || l);
|
|
44
46
|
return a && l && T(s, n, l), l;
|
|
45
47
|
};
|
|
46
|
-
let t = class extends
|
|
48
|
+
let t = class extends b {
|
|
47
49
|
constructor() {
|
|
48
50
|
super(...arguments), this.lines = 1, this.open = !1, this.showMore = !1, this.showMoreText = "View more...", this.showLessText = "View less...", this.disabledTooltip = !1, this.disabledHoverBridge = !1, this.placement = "top", this.isClamped = !1, this.tooltipContent = "", this.calculated = !1;
|
|
49
51
|
}
|
|
@@ -166,7 +168,7 @@ let t = class extends g {
|
|
|
166
168
|
`;
|
|
167
169
|
}
|
|
168
170
|
};
|
|
169
|
-
t.styles = [
|
|
171
|
+
t.styles = [g, C];
|
|
170
172
|
e([
|
|
171
173
|
r({ type: Number })
|
|
172
174
|
], t.prototype, "lines", 2);
|
|
@@ -216,7 +218,7 @@ e([
|
|
|
216
218
|
m(".tooltip")
|
|
217
219
|
], t.prototype, "tooltipElement", 2);
|
|
218
220
|
e([
|
|
219
|
-
|
|
221
|
+
x(100)
|
|
220
222
|
], t.prototype, "handleResize", 1);
|
|
221
223
|
t = e([
|
|
222
224
|
w("cx-line-clamp")
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../chunks/button.
|
|
2
|
-
import "../chunks/dialog.
|
|
1
|
+
import "../chunks/button.P71VJ5xh.js";
|
|
2
|
+
import "../chunks/dialog.C_75RVVz.js";
|
|
3
3
|
import "./grid.js";
|
|
4
4
|
import "./grid-item.js";
|
|
5
5
|
import "./input.js";
|
|
@@ -7,22 +7,24 @@ import "./line-clamp.js";
|
|
|
7
7
|
import "./radio.js";
|
|
8
8
|
import "./radio-group.js";
|
|
9
9
|
import "./space.js";
|
|
10
|
-
import "../chunks/table.
|
|
11
|
-
import "../chunks/typography.
|
|
12
|
-
import "../chunks/
|
|
13
|
-
import "../chunks/component.styles.
|
|
14
|
-
import "../chunks/
|
|
15
|
-
import "../chunks/
|
|
16
|
-
import "../chunks/
|
|
17
|
-
import
|
|
18
|
-
import "../chunks/
|
|
10
|
+
import "../chunks/table.CY-iMTWV.js";
|
|
11
|
+
import "../chunks/typography.oDzoLbZS.js";
|
|
12
|
+
import "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
13
|
+
import "../chunks/component.styles.DMSLciL5.js";
|
|
14
|
+
import "../chunks/custom-element.L4WJXn1j.js";
|
|
15
|
+
import "../chunks/debounce.DaHuiSGU.js";
|
|
16
|
+
import "../chunks/i18n.DrzK7TPf.js";
|
|
17
|
+
import "../chunks/watch.q1sEjPWL.js";
|
|
18
|
+
import { c as z, C as A } from "../chunks/list-editor.CrLntuM7.js";
|
|
19
|
+
import "../chunks/lit-element.jLBm65_O.js";
|
|
20
|
+
import "../chunks/state.CSDxrqLd.js";
|
|
19
21
|
import "../chunks/query.BBf1UFkC.js";
|
|
20
22
|
import "../chunks/choose.BTbF6BAn.js";
|
|
21
|
-
import "../chunks/class-map.
|
|
23
|
+
import "../chunks/class-map.BiVq-cVR.js";
|
|
22
24
|
import "../chunks/map.D8heArFD.js";
|
|
23
|
-
import "../chunks/repeat.
|
|
25
|
+
import "../chunks/repeat.DbF2p5ae.js";
|
|
24
26
|
import "../chunks/when.Dr1es41R.js";
|
|
25
27
|
export {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
+
z as columnDefaults,
|
|
29
|
+
A as default
|
|
28
30
|
};
|