@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,13 +1,15 @@
|
|
|
1
|
-
import "../chunks/button.
|
|
2
|
-
import "../chunks/dialog.
|
|
1
|
+
import "../chunks/button.P71VJ5xh.js";
|
|
2
|
+
import "../chunks/dialog.C_75RVVz.js";
|
|
3
3
|
import "./dropdown.js";
|
|
4
|
-
import "../chunks/typography.
|
|
5
|
-
import "../chunks/
|
|
6
|
-
import "../chunks/component.styles.
|
|
7
|
-
import { C as
|
|
8
|
-
import "../chunks/
|
|
4
|
+
import "../chunks/typography.oDzoLbZS.js";
|
|
5
|
+
import "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
6
|
+
import "../chunks/component.styles.DMSLciL5.js";
|
|
7
|
+
import { C as x } from "../chunks/confirm-popover.C1uA36JR.js";
|
|
8
|
+
import "../chunks/custom-element.L4WJXn1j.js";
|
|
9
|
+
import "../chunks/i18n.DrzK7TPf.js";
|
|
10
|
+
import "../chunks/lit-element.jLBm65_O.js";
|
|
9
11
|
import "../chunks/query.BBf1UFkC.js";
|
|
10
|
-
import "../chunks/class-map.
|
|
12
|
+
import "../chunks/class-map.BiVq-cVR.js";
|
|
11
13
|
export {
|
|
12
|
-
|
|
14
|
+
x as default
|
|
13
15
|
};
|
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import { n as r, C as y } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
2
|
+
import { c as m } from "../chunks/component.styles.DMSLciL5.js";
|
|
3
|
+
import { c as f } from "../chunks/custom-element.L4WJXn1j.js";
|
|
4
|
+
import { L as g } from "../chunks/i18n.DrzK7TPf.js";
|
|
5
|
+
import { H as x } from "../chunks/slot.j5oheLJC.js";
|
|
6
|
+
import { w as v } from "../chunks/watch.q1sEjPWL.js";
|
|
7
|
+
import { i as _, x as b } from "../chunks/lit-element.jLBm65_O.js";
|
|
8
|
+
import { r as u } from "../chunks/state.CSDxrqLd.js";
|
|
7
9
|
import { e as p } from "../chunks/query.BBf1UFkC.js";
|
|
8
|
-
import { e as w } from "../chunks/class-map.
|
|
10
|
+
import { e as w } from "../chunks/class-map.BiVq-cVR.js";
|
|
9
11
|
import { n as C } from "../chunks/when.Dr1es41R.js";
|
|
10
|
-
import { s as d, g as h } from "../chunks/animation-registry.
|
|
12
|
+
import { s as d, g as h } from "../chunks/animation-registry.HmpwNuGH.js";
|
|
11
13
|
import z from "./icon.js";
|
|
12
14
|
import k from "./tooltip.js";
|
|
13
|
-
const I =
|
|
15
|
+
const I = _`
|
|
14
16
|
:host {
|
|
15
17
|
--error-color: var(--cx-color-danger);
|
|
16
18
|
--success-color: var(--cx-color-success);
|
|
@@ -212,9 +214,9 @@ var L = Object.defineProperty, S = Object.getOwnPropertyDescriptor, o = (e, a, c
|
|
|
212
214
|
(l = e[s]) && (i = (n ? l(a, c, i) : l(i)) || i);
|
|
213
215
|
return n && i && L(a, c, i), i;
|
|
214
216
|
};
|
|
215
|
-
let t = class extends
|
|
217
|
+
let t = class extends y {
|
|
216
218
|
constructor() {
|
|
217
|
-
super(...arguments), this.localize = new
|
|
219
|
+
super(...arguments), this.localize = new g(this), this.hasSlotController = new x(this, "[default]"), this.hasFocus = !1, this.isCopying = !1, this.status = "rest", this.value = "", this.size = "medium", this.from = "", this.disabled = !1, this.label = "", this.copyLabel = "", this.focusCopyLabel = "", this.successLabel = "", this.errorLabel = "", this.feedbackDuration = 1e3, this.tooltipPlacement = "top", this.tooltipDistance = 8, this.hoist = !1, this.getValue = void 0, this.noIcon = !1, this.writeToClipboard = async (e) => {
|
|
218
220
|
await navigator.clipboard.writeText(e);
|
|
219
221
|
};
|
|
220
222
|
}
|
|
@@ -346,7 +348,7 @@ let t = class extends m {
|
|
|
346
348
|
`;
|
|
347
349
|
}
|
|
348
350
|
};
|
|
349
|
-
t.styles = [
|
|
351
|
+
t.styles = [m, I];
|
|
350
352
|
t.dependencies = {
|
|
351
353
|
"cx-icon": z,
|
|
352
354
|
"cx-tooltip": k
|
|
@@ -424,7 +426,7 @@ o([
|
|
|
424
426
|
r({ attribute: "write-to-clipboard", type: Function })
|
|
425
427
|
], t.prototype, "writeToClipboard", 2);
|
|
426
428
|
o([
|
|
427
|
-
|
|
429
|
+
v("hasFocus", { waitUntilFirstUpdate: !0 })
|
|
428
430
|
], t.prototype, "handleHasFocusChange", 1);
|
|
429
431
|
t = o([
|
|
430
432
|
f("cx-copy-button")
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import u from "./input.js";
|
|
2
|
-
import { C as h } from "../chunks/option.
|
|
3
|
-
import
|
|
2
|
+
import { C as h } from "../chunks/option.D1u5-cTt.js";
|
|
3
|
+
import m from "./select.js";
|
|
4
4
|
import x from "./space.js";
|
|
5
|
-
import {
|
|
6
|
-
import { c as
|
|
5
|
+
import { n as l, C as g } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
6
|
+
import { c as C } from "../chunks/component.styles.DMSLciL5.js";
|
|
7
7
|
import { C as o } from "../chunks/index.Cpamj0jB.js";
|
|
8
|
-
import {
|
|
9
|
-
|
|
8
|
+
import { c as d } from "../chunks/custom-element.L4WJXn1j.js";
|
|
9
|
+
import { L as _ } from "../chunks/i18n.DrzK7TPf.js";
|
|
10
|
+
import { i as v, x as y } from "../chunks/lit-element.jLBm65_O.js";
|
|
11
|
+
const $ = v`
|
|
10
12
|
:host {
|
|
11
13
|
display: block;
|
|
12
14
|
width: 100%;
|
|
@@ -36,9 +38,9 @@ const p = {
|
|
|
36
38
|
}
|
|
37
39
|
}
|
|
38
40
|
};
|
|
39
|
-
let s = class extends
|
|
41
|
+
let s = class extends g {
|
|
40
42
|
constructor() {
|
|
41
|
-
super(...arguments), this.localize = new
|
|
43
|
+
super(...arguments), this.localize = new _(this), this.position = o.TopLeft, this.offsetX = "0px", this.offsetY = "0px";
|
|
42
44
|
}
|
|
43
45
|
get offsetXKey() {
|
|
44
46
|
return this.position === o.TopLeft || this.position === o.BottomLeft ? "left" : "right";
|
|
@@ -77,7 +79,7 @@ let s = class extends C {
|
|
|
77
79
|
});
|
|
78
80
|
}
|
|
79
81
|
render() {
|
|
80
|
-
return
|
|
82
|
+
return y`<cx-space
|
|
81
83
|
class="corner-position-input-group"
|
|
82
84
|
direction="vertical"
|
|
83
85
|
>
|
|
@@ -120,7 +122,7 @@ let s = class extends C {
|
|
|
120
122
|
</cx-space>`;
|
|
121
123
|
}
|
|
122
124
|
};
|
|
123
|
-
s.styles = [
|
|
125
|
+
s.styles = [C, $];
|
|
124
126
|
s.dependencies = {
|
|
125
127
|
"cx-input": u,
|
|
126
128
|
"cx-option": h,
|
|
@@ -137,7 +139,7 @@ r([
|
|
|
137
139
|
l({ attribute: "offset-y", reflect: !0, type: String })
|
|
138
140
|
], s.prototype, "offsetY", 2);
|
|
139
141
|
s = r([
|
|
140
|
-
|
|
142
|
+
d("cx-corner-position-input-group")
|
|
141
143
|
], s);
|
|
142
144
|
export {
|
|
143
145
|
s as default
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import "../chunks/
|
|
2
|
-
import "../chunks/component.styles.
|
|
1
|
+
import "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
2
|
+
import "../chunks/component.styles.DMSLciL5.js";
|
|
3
3
|
import "../chunks/asset-link-format.BSRDqHg7.js";
|
|
4
|
-
import "../chunks/
|
|
4
|
+
import "../chunks/custom-element.L4WJXn1j.js";
|
|
5
|
+
import "../chunks/lit-element.jLBm65_O.js";
|
|
6
|
+
import "../chunks/state.CSDxrqLd.js";
|
|
5
7
|
import "../chunks/query.BBf1UFkC.js";
|
|
6
8
|
import "../chunks/when.Dr1es41R.js";
|
|
7
|
-
import { C as
|
|
9
|
+
import { C as l } from "../chunks/cropper.BraEEykE.js";
|
|
8
10
|
export {
|
|
9
|
-
|
|
11
|
+
l as default
|
|
10
12
|
};
|
|
@@ -1,13 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as
|
|
3
|
-
import { s as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import { n as c, C as b } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
2
|
+
import { c as v } from "../chunks/component.styles.DMSLciL5.js";
|
|
3
|
+
import { s as h, a as p, b as m } from "../chunks/animate.El-MpOws.js";
|
|
4
|
+
import { c as x } from "../chunks/custom-element.L4WJXn1j.js";
|
|
5
|
+
import { w as u } from "../chunks/event.mFzZi4sr.js";
|
|
6
|
+
import { L as g } from "../chunks/i18n.DrzK7TPf.js";
|
|
7
|
+
import { w as _ } from "../chunks/watch.q1sEjPWL.js";
|
|
8
|
+
import { i as w, x as k } from "../chunks/lit-element.jLBm65_O.js";
|
|
7
9
|
import { e as l } from "../chunks/query.BBf1UFkC.js";
|
|
8
|
-
import { e as C } from "../chunks/class-map.
|
|
10
|
+
import { e as C } from "../chunks/class-map.BiVq-cVR.js";
|
|
11
|
+
import { s as y, g as f } from "../chunks/animation-registry.HmpwNuGH.js";
|
|
9
12
|
import D from "./icon.js";
|
|
10
|
-
const O =
|
|
13
|
+
const O = w`
|
|
11
14
|
:host {
|
|
12
15
|
display: block;
|
|
13
16
|
--details-background-color: inherit;
|
|
@@ -121,9 +124,9 @@ var $ = Object.defineProperty, z = Object.getOwnPropertyDescriptor, i = (e, a, s
|
|
|
121
124
|
(n = e[d]) && (o = (r ? n(a, s, o) : n(o)) || o);
|
|
122
125
|
return r && o && $(a, s, o), o;
|
|
123
126
|
};
|
|
124
|
-
let t = class extends
|
|
127
|
+
let t = class extends b {
|
|
125
128
|
constructor() {
|
|
126
|
-
super(...arguments), this.localize = new
|
|
129
|
+
super(...arguments), this.localize = new g(this), this.open = !1, this.disabled = !1;
|
|
127
130
|
}
|
|
128
131
|
runFirstUpdated() {
|
|
129
132
|
this.body.style.height = this.open ? "auto" : "0", this.open && (this.details.open = !0);
|
|
@@ -150,10 +153,10 @@ let t = class extends v {
|
|
|
150
153
|
return;
|
|
151
154
|
}
|
|
152
155
|
await h(this.body);
|
|
153
|
-
const { keyframes: a, options: s } =
|
|
156
|
+
const { keyframes: a, options: s } = f(this, "details.show", {
|
|
154
157
|
dir: this.localize.dir()
|
|
155
158
|
});
|
|
156
|
-
await
|
|
159
|
+
await p(
|
|
157
160
|
this.body,
|
|
158
161
|
m(a, this.body.scrollHeight),
|
|
159
162
|
s
|
|
@@ -164,10 +167,10 @@ let t = class extends v {
|
|
|
164
167
|
return;
|
|
165
168
|
}
|
|
166
169
|
await h(this.body);
|
|
167
|
-
const { keyframes: a, options: s } =
|
|
170
|
+
const { keyframes: a, options: s } = f(this, "details.hide", {
|
|
168
171
|
dir: this.localize.dir()
|
|
169
172
|
});
|
|
170
|
-
await
|
|
173
|
+
await p(
|
|
171
174
|
this.body,
|
|
172
175
|
m(a, this.body.scrollHeight),
|
|
173
176
|
s
|
|
@@ -177,16 +180,16 @@ let t = class extends v {
|
|
|
177
180
|
/** Shows the details. */
|
|
178
181
|
async show() {
|
|
179
182
|
if (!(this.open || this.disabled))
|
|
180
|
-
return this.open = !0,
|
|
183
|
+
return this.open = !0, u(this, "cx-after-show");
|
|
181
184
|
}
|
|
182
185
|
/** Hides the details */
|
|
183
186
|
async hide() {
|
|
184
187
|
if (!(!this.open || this.disabled))
|
|
185
|
-
return this.open = !1,
|
|
188
|
+
return this.open = !1, u(this, "cx-after-hide");
|
|
186
189
|
}
|
|
187
190
|
render() {
|
|
188
191
|
const e = this.localize.dir() === "rtl";
|
|
189
|
-
return
|
|
192
|
+
return k`
|
|
190
193
|
<details
|
|
191
194
|
part="base"
|
|
192
195
|
class=${C({
|
|
@@ -231,7 +234,7 @@ let t = class extends v {
|
|
|
231
234
|
`;
|
|
232
235
|
}
|
|
233
236
|
};
|
|
234
|
-
t.styles = [
|
|
237
|
+
t.styles = [v, O];
|
|
235
238
|
t.dependencies = {
|
|
236
239
|
"cx-icon": D
|
|
237
240
|
};
|
|
@@ -257,10 +260,10 @@ i([
|
|
|
257
260
|
c({ reflect: !0, type: Boolean })
|
|
258
261
|
], t.prototype, "disabled", 2);
|
|
259
262
|
i([
|
|
260
|
-
|
|
263
|
+
_("open", { waitUntilFirstUpdate: !0 })
|
|
261
264
|
], t.prototype, "handleOpenChange", 1);
|
|
262
265
|
t = i([
|
|
263
|
-
|
|
266
|
+
x("cx-details")
|
|
264
267
|
], t);
|
|
265
268
|
y("details.show", {
|
|
266
269
|
keyframes: [
|
|
@@ -1,23 +1,26 @@
|
|
|
1
|
-
import "../chunks/
|
|
2
|
-
import "../chunks/component.styles.
|
|
3
|
-
import "../chunks/overlayscrollbars.
|
|
4
|
-
import { C as
|
|
5
|
-
import "../chunks/
|
|
1
|
+
import "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
2
|
+
import "../chunks/component.styles.DMSLciL5.js";
|
|
3
|
+
import "../chunks/overlayscrollbars.XhGWx9Zk.js";
|
|
4
|
+
import { C as w } from "../chunks/dialog.C_75RVVz.js";
|
|
5
|
+
import "../chunks/animate.El-MpOws.js";
|
|
6
|
+
import "../chunks/custom-element.L4WJXn1j.js";
|
|
6
7
|
import "../chunks/event.mFzZi4sr.js";
|
|
7
|
-
import "../chunks/i18n.
|
|
8
|
-
import "../chunks/modal.
|
|
9
|
-
import "../chunks/scroll.
|
|
10
|
-
import "../chunks/slot.
|
|
11
|
-
import "../chunks/watch.
|
|
12
|
-
import "../chunks/
|
|
8
|
+
import "../chunks/i18n.DrzK7TPf.js";
|
|
9
|
+
import "../chunks/modal.U1QltQKe.js";
|
|
10
|
+
import "../chunks/scroll.xtO5yojm.js";
|
|
11
|
+
import "../chunks/slot.j5oheLJC.js";
|
|
12
|
+
import "../chunks/watch.q1sEjPWL.js";
|
|
13
|
+
import "../chunks/lit-element.jLBm65_O.js";
|
|
14
|
+
import "../chunks/state.CSDxrqLd.js";
|
|
13
15
|
import "../chunks/query.BBf1UFkC.js";
|
|
14
|
-
import "../chunks/class-map.
|
|
15
|
-
import "../chunks/if-defined.
|
|
16
|
-
import "../chunks/style-map.
|
|
16
|
+
import "../chunks/class-map.BiVq-cVR.js";
|
|
17
|
+
import "../chunks/if-defined.BRoBj_Rp.js";
|
|
18
|
+
import "../chunks/style-map.llVFPd__.js";
|
|
17
19
|
import "../chunks/when.Dr1es41R.js";
|
|
20
|
+
import "../chunks/animation-registry.HmpwNuGH.js";
|
|
18
21
|
import "./divider.js";
|
|
19
22
|
import "./icon-button.js";
|
|
20
|
-
import "
|
|
23
|
+
import "./popup.js";
|
|
21
24
|
export {
|
|
22
|
-
|
|
25
|
+
w as default
|
|
23
26
|
};
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
1
|
+
import { n as c, C as d } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
2
|
+
import { c as p } from "../chunks/component.styles.DMSLciL5.js";
|
|
3
|
+
import { c as v } from "../chunks/custom-element.L4WJXn1j.js";
|
|
4
|
+
import { w as h } from "../chunks/watch.q1sEjPWL.js";
|
|
5
|
+
import { i as b, x as g } from "../chunks/lit-element.jLBm65_O.js";
|
|
6
|
+
import { n as f } from "../chunks/when.Dr1es41R.js";
|
|
7
|
+
const u = b`
|
|
6
8
|
:host {
|
|
7
9
|
--color: var(--cx-panel-border-color);
|
|
8
10
|
--label-color: var(--cx-color-neutral-600);
|
|
@@ -70,7 +72,7 @@ var m = Object.defineProperty, y = Object.getOwnPropertyDescriptor, r = (a, l, i
|
|
|
70
72
|
(n = a[s]) && (e = (o ? n(l, i, e) : n(e)) || e);
|
|
71
73
|
return o && e && m(l, i, e), e;
|
|
72
74
|
};
|
|
73
|
-
let t = class extends
|
|
75
|
+
let t = class extends d {
|
|
74
76
|
constructor() {
|
|
75
77
|
super(...arguments), this.vertical = !1, this.label = "", this.usePadding = !1;
|
|
76
78
|
}
|
|
@@ -85,13 +87,13 @@ let t = class extends p {
|
|
|
85
87
|
}
|
|
86
88
|
render() {
|
|
87
89
|
const a = !this.vertical && this.label.length > 0;
|
|
88
|
-
return
|
|
90
|
+
return f(
|
|
89
91
|
a,
|
|
90
|
-
() =>
|
|
92
|
+
() => g`<span class="divider__label">${this.label}</span>`
|
|
91
93
|
);
|
|
92
94
|
}
|
|
93
95
|
};
|
|
94
|
-
t.styles = [
|
|
96
|
+
t.styles = [p, u];
|
|
95
97
|
r([
|
|
96
98
|
c({ reflect: !0, type: Boolean })
|
|
97
99
|
], t.prototype, "vertical", 2);
|
|
@@ -102,10 +104,10 @@ r([
|
|
|
102
104
|
c({ attribute: "use-padding", reflect: !0, type: Boolean })
|
|
103
105
|
], t.prototype, "usePadding", 2);
|
|
104
106
|
r([
|
|
105
|
-
|
|
107
|
+
h("vertical")
|
|
106
108
|
], t.prototype, "handleVerticalChange", 1);
|
|
107
109
|
t = r([
|
|
108
|
-
|
|
110
|
+
v("cx-divider")
|
|
109
111
|
], t);
|
|
110
112
|
export {
|
|
111
113
|
t as default
|
|
@@ -1,17 +1,19 @@
|
|
|
1
|
-
import "../chunks/
|
|
2
|
-
import "../chunks/component.styles.
|
|
1
|
+
import "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
2
|
+
import "../chunks/component.styles.DMSLciL5.js";
|
|
3
3
|
import "../chunks/index.Cpamj0jB.js";
|
|
4
|
-
import "../chunks/
|
|
5
|
-
import "../chunks/
|
|
6
|
-
import "../chunks/
|
|
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";
|
|
8
|
+
import "../chunks/state.CSDxrqLd.js";
|
|
7
9
|
import "../chunks/query.BBf1UFkC.js";
|
|
8
10
|
import "../chunks/query-all.i3PyvTUQ.js";
|
|
9
|
-
import "../chunks/class-map.
|
|
10
|
-
import "../chunks/if-defined.
|
|
11
|
+
import "../chunks/class-map.BiVq-cVR.js";
|
|
12
|
+
import "../chunks/if-defined.BRoBj_Rp.js";
|
|
11
13
|
import "../chunks/map.D8heArFD.js";
|
|
12
14
|
import "../chunks/when.Dr1es41R.js";
|
|
13
15
|
import "./tooltip.js";
|
|
14
|
-
import { C as
|
|
16
|
+
import { C as g } from "../chunks/dot-pagination.CoCIJsHC.js";
|
|
15
17
|
export {
|
|
16
|
-
|
|
18
|
+
g as default
|
|
17
19
|
};
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as
|
|
3
|
-
import {
|
|
1
|
+
import { n as l, C as p } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
2
|
+
import { c as m } from "../chunks/component.styles.DMSLciL5.js";
|
|
3
|
+
import { c as h } from "../chunks/custom-element.L4WJXn1j.js";
|
|
4
|
+
import { i as f, x as v } from "../chunks/lit-element.jLBm65_O.js";
|
|
5
|
+
import { e as x } from "../chunks/class-map.BiVq-cVR.js";
|
|
4
6
|
var n = /* @__PURE__ */ ((s) => (s.Busy = "busy", s.Error = "error", s.Idle = "idle", s.Success = "success", s))(n || {}), d = /* @__PURE__ */ ((s) => (s.Large = "large", s.Medium = "medium", s.Small = "small", s))(d || {});
|
|
5
|
-
const y =
|
|
7
|
+
const y = f`
|
|
6
8
|
:host {
|
|
7
9
|
display: inline-flex;
|
|
8
10
|
align-items: center;
|
|
@@ -70,7 +72,7 @@ var b = Object.defineProperty, z = Object.getOwnPropertyDescriptor, r = (s, o, i
|
|
|
70
72
|
(u = s[c]) && (t = (a ? u(o, i, t) : u(t)) || t);
|
|
71
73
|
return a && t && b(o, i, t), t;
|
|
72
74
|
};
|
|
73
|
-
let e = class extends
|
|
75
|
+
let e = class extends p {
|
|
74
76
|
constructor() {
|
|
75
77
|
super(...arguments), this.status = n.Idle, this.size = d.Medium, this.pulse = !1, this.label = "";
|
|
76
78
|
}
|
|
@@ -81,7 +83,7 @@ let e = class extends m {
|
|
|
81
83
|
}
|
|
82
84
|
render() {
|
|
83
85
|
const s = this.label || this.status;
|
|
84
|
-
return
|
|
86
|
+
return v`
|
|
85
87
|
<span
|
|
86
88
|
part="base"
|
|
87
89
|
role="status"
|
|
@@ -95,7 +97,7 @@ let e = class extends m {
|
|
|
95
97
|
`;
|
|
96
98
|
}
|
|
97
99
|
};
|
|
98
|
-
e.styles = [
|
|
100
|
+
e.styles = [m, y];
|
|
99
101
|
e.dependencies = {};
|
|
100
102
|
r([
|
|
101
103
|
l({ reflect: !0, type: String })
|
|
@@ -110,7 +112,7 @@ r([
|
|
|
110
112
|
l({ reflect: !0 })
|
|
111
113
|
], e.prototype, "label", 2);
|
|
112
114
|
e = r([
|
|
113
|
-
|
|
115
|
+
h("cx-dot-status")
|
|
114
116
|
], e);
|
|
115
117
|
export {
|
|
116
118
|
e as default
|