@orangelogic/design-system 3.12.0 → 3.14.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/{AxisLabelRadial.fe7zjixN.js → AxisLabelRadial.WmAEaa1v.js} +1 -1
- package/library/chunks/{BaseColumnSeries.8Mpxz385.js → BaseColumnSeries.CA7CJ3dz.js} +1 -1
- package/library/chunks/{CandlestickSeries.DuadaOTa.js → CandlestickSeries.DXRjCTbq.js} +2 -2
- package/library/chunks/{Circle.6LomW0ej.js → Circle.D0OhNxs6.js} +1 -1
- package/library/chunks/{ColumnSeries.D1NLfRh5.js → ColumnSeries.B9RPnhH2.js} +2 -2
- package/library/chunks/{EditableAxisLabel.Bi9vxLDV.js → EditableAxisLabel.BMw-UWXO.js} +2 -2
- package/library/chunks/{EditableLabel.CMR3O9E-.js → EditableLabel.C4IbcCqP.js} +1 -1
- package/library/chunks/{Gradient.CquE8_a4.js → Gradient.B8nYUJGr.js} +1 -1
- package/library/chunks/{LinearGradient.CVN1VJp-.js → LinearGradient.D35vPMt3.js} +2 -2
- package/library/chunks/{Picture.BYTZ_I8g.js → Picture.BK1LgzpJ.js} +1 -1
- package/library/chunks/{Polygon.CU2sMltE.js → Polygon.sDQ7eTW_.js} +1 -1
- package/library/chunks/{ProgressPie.Dd74dbmm.js → ProgressPie.WR8hKkuu.js} +5 -5
- package/library/chunks/{RadialLabel.7ka6ND-t.js → RadialLabel.CUDs8pwi.js} +1 -1
- package/library/chunks/{Scrollbar.DqUnZReo.js → Scrollbar.CBeC4QOU.js} +1 -1
- package/library/chunks/{Slice.BVI8rfHI.js → Slice.A9JOqhaa.js} +1 -1
- package/library/chunks/{Slider.DtjYaJOw.js → Slider.IR4xGxTB.js} +1 -1
- package/library/chunks/{SpriteResizer.Ci2Wt2YJ.js → SpriteResizer.C4Pr8M2O.js} +1 -1
- package/library/chunks/{Triangle.C75emy3D.js → Triangle.B8AHSXVN.js} +1 -1
- package/library/chunks/{ZoomTools.CA9mtHI8.js → ZoomTools.Bc-o69p-.js} +1 -1
- package/library/chunks/{am-chart.Cr-vMjcY.js → am-chart._tN87j9G.js} +252 -252
- package/library/chunks/{animation.BD-1xugN.js → animation.C44TQFrM.js} +1 -1
- package/library/chunks/{asset-link-format.f7Khv8SZ.js → asset-link-format.DGRqjqpk.js} +7 -7
- package/library/chunks/{button.-Jl_NdgM.js → button.BQoebhw_.js} +2 -2
- package/library/chunks/{color-swatch-group.Ib1WYbMl.js → color-swatch-group.D25fjSK-.js} +10 -10
- package/library/chunks/{color-swatch.Dc-IqxsX.js → color-swatch.DxxOpJXT.js} +2 -2
- package/library/chunks/{colorPicker.Cg6Zxf8f.js → colorPicker.DkLlH4Wq.js} +5 -5
- package/library/chunks/{component.styles.CRO4Odto.js → component.styles.CAS3c9pM.js} +1 -1
- package/library/chunks/{confirm-popover.mgYIjZdo.js → confirm-popover.C35rVtVI.js} +4 -4
- package/library/chunks/{dialog.YFc-HBc5.js → dialog.Dl9aHLD4.js} +2 -2
- package/library/chunks/{document-viewer.CMET1HRd.js → document-viewer.sz5uTo3c.js} +8 -8
- package/library/chunks/{dot-pagination.BgETAL2j.js → dot-pagination.BNoG-qx7.js} +1 -1
- package/library/chunks/{exporting.Djsoh75g.js → exporting.AEbCtXAu.js} +2 -2
- package/library/chunks/{flow.aZRVH3p1.js → flow.C_iJT08S.js} +5 -5
- package/library/chunks/{folder-select.Hl51n0ge.js → folder-select.CHY44KlA.js} +5 -5
- package/library/chunks/{gantt.Bv6_3H9y.js → gantt.MUysUK5v.js} +8 -8
- package/library/chunks/{header.BeZml2NV.js → header.v8maWlzT.js} +1 -1
- package/library/chunks/{hierarchy.C4LxmFxx.js → hierarchy.C5iJ2TzI.js} +5 -5
- package/library/chunks/{icon-button.ENVA7x3u.js → icon-button.5-oAlIkv.js} +2 -2
- package/library/chunks/{icon.CpHbi8tH.js → icon.BLXWp6CU.js} +1 -1
- package/library/chunks/{iframe.Cgy_DE7W.js → iframe.DOwG9Q7o.js} +1 -1
- package/library/chunks/{image.rtjsax7e.js → image.BSh7WAGF.js} +2 -2
- package/library/chunks/{index.2SOQHTpX.js → index.D5h7hksG.js} +17 -17
- package/library/chunks/{index.BBLDucoY.js → index.xaWqfbHO.js} +15 -15
- package/library/chunks/{input.BJ5LN8of.js → input.BRZzv6Zk.js} +2 -2
- package/library/chunks/{json.Dz5QFEi5.js → json.DF7pARBV.js} +3 -3
- package/library/chunks/{map.CBcV0WVq.js → map.BXDkCMzZ.js} +2 -2
- package/library/chunks/{markdown.CrIkpd0h.js → markdown.b03AOvFT.js} +1 -1
- package/library/chunks/{menu-item.DfsfX25P.js → menu-item.HtTWOcq4.js} +2 -2
- package/library/chunks/{option.B34is9Z5.js → option.DgxoCq1j.js} +2 -2
- package/library/chunks/{pagination.DMAcWRyI.js → pagination.DtdNeZZD.js} +6 -6
- package/library/chunks/{percent.D8mkiJ2G.js → percent.DRsIolhK.js} +3 -3
- package/library/chunks/{radar.B3p5bRix.js → radar.D-c6oTy6.js} +4 -4
- package/library/chunks/{sliceGrouper.CcRqQhZX.js → sliceGrouper.CV7jLsd5.js} +1 -1
- package/library/chunks/{stock.CQbn6zW4.js → stock.Bf_BuveB.js} +9 -9
- package/library/chunks/{tab-group.D14m1Kel.js → tab-group.BQh_hMDd.js} +4 -4
- package/library/chunks/{timeline.Czz_uBEd.js → timeline.CBzTbwCn.js} +5 -5
- package/library/chunks/{tree.BEFWro0D.js → tree.DKofDMGu.js} +39 -37
- package/library/chunks/{types.IAKAUHSg.js → types.GT2-CFeS.js} +22353 -21653
- package/library/chunks/{typography.IqHbnd3C.js → typography.T72DuoCa.js} +1 -1
- package/library/chunks/{venn.B5Jl-c4i.js → venn.CTDnALBD.js} +1 -1
- package/library/chunks/{wc.B2THb2Kk.js → wc.DJeU7GL0.js} +1 -1
- package/library/chunks/{xy.BO6U5QrZ.js → xy.CW6DZQA8.js} +10 -10
- package/library/components/alert.js +2 -2
- package/library/components/am-chart.js +2 -2
- package/library/components/animated-image.js +2 -2
- package/library/components/animation.js +2 -2
- package/library/components/array-line-clamp.js +1 -1
- package/library/components/asset-link-format.js +4 -4
- package/library/components/atoms.js +22 -22
- package/library/components/audio.js +3 -3
- package/library/components/avatar.js +2 -2
- package/library/components/badge.js +1 -1
- package/library/components/bicolor-picker.js +1 -1
- package/library/components/border-input-group.js +2 -2
- package/library/components/breadcrumb-item.js +1 -1
- package/library/components/breadcrumb.js +2 -2
- package/library/components/button-group.js +1 -1
- package/library/components/button.js +3 -3
- package/library/components/card.js +1 -1
- package/library/components/checkbox.js +2 -2
- package/library/components/color-picker.js +4 -4
- package/library/components/color-swatch-group.js +4 -4
- package/library/components/color-swatch.js +3 -3
- 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/cropper.js +1 -1
- package/library/components/date-calendar.js +2 -2
- package/library/components/details.js +2 -2
- package/library/components/dialog.js +3 -3
- package/library/components/diff.js +1 -1
- package/library/components/divider.js +1 -1
- package/library/components/document-viewer.js +5 -5
- package/library/components/dot-pagination.js +2 -2
- package/library/components/dot-status.js +1 -1
- package/library/components/drawer.js +2 -2
- package/library/components/dropdown.js +2 -2
- package/library/components/dynamic-select.js +3 -3
- package/library/components/e-chart.js +1 -1
- package/library/components/element-clamp.js +2 -2
- package/library/components/file-on-demand.js +11 -11
- package/library/components/folder-select.js +5 -5
- package/library/components/format-time.js +1 -1
- package/library/components/grid-item.js +1 -1
- package/library/components/grid.js +1 -1
- package/library/components/header.js +2 -2
- package/library/components/icon-button.js +3 -3
- package/library/components/icon.js +2 -2
- package/library/components/iframe.js +2 -2
- package/library/components/image-comparer.js +2 -2
- package/library/components/image.js +3 -3
- package/library/components/include.js +1 -1
- package/library/components/input-group.js +1 -1
- package/library/components/input.js +3 -3
- package/library/components/line-clamp.js +2 -2
- package/library/components/markdown.js +2 -2
- package/library/components/masonry.js +3 -3
- package/library/components/menu-item.js +3 -3
- package/library/components/menu-label.js +1 -1
- package/library/components/menu-section.js +1 -1
- package/library/components/menu.js +2 -2
- package/library/components/molecules.js +3 -3
- package/library/components/mutation-observer.js +1 -1
- package/library/components/option.js +3 -3
- package/library/components/organisms.js +2 -2
- package/library/components/padding-input-group.js +2 -2
- package/library/components/pagination.js +6 -6
- package/library/components/popup.js +1 -1
- package/library/components/position-picker.js +1 -1
- package/library/components/progress-bar.js +1 -1
- package/library/components/progress-ring.js +1 -1
- package/library/components/qr-code.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 +1 -1
- package/library/components/radio.js +2 -2
- package/library/components/range.js +1 -1
- package/library/components/rating.js +2 -2
- package/library/components/relative-time.js +1 -1
- package/library/components/resize-observer.js +1 -1
- package/library/components/select.js +4 -4
- package/library/components/shadow-input-group.js +2 -2
- package/library/components/share-option-list.js +3 -3
- package/library/components/sidebar.js +3 -3
- package/library/components/size-input-group.js +3 -3
- package/library/components/skeleton.js +1 -1
- package/library/components/space.js +1 -1
- package/library/components/spinner.js +1 -1
- package/library/components/split-panel.js +1 -1
- package/library/components/step.js +2 -2
- package/library/components/stepper-wizard.js +2 -2
- package/library/components/stepper.js +1 -1
- package/library/components/switch.js +1 -1
- package/library/components/tab-group.js +5 -5
- package/library/components/tab-panel.js +1 -1
- package/library/components/tab.js +2 -2
- package/library/components/tag.js +2 -2
- package/library/components/textarea.js +1 -1
- package/library/components/timecode.js +2 -2
- package/library/components/tooltip.js +1 -1
- package/library/components/tree-item.js +3 -3
- package/library/components/tree.js +2 -2
- package/library/components/typeface.js +3 -3
- package/library/components/types.js +26 -26
- package/library/components/typography.js +2 -2
- package/library/components/video.js +2 -2
- package/library/components/visually-hidden.js +1 -1
- package/library/package.json +1 -1
- package/library/packages/molecules/src/icon-picker/icon-picker.d.ts +33 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/index.d.ts +13 -2
- package/library/packages/tools/src/tiptap/extensions/google/index.d.ts +4 -0
- package/library/packages/tools/src/tiptap/extensions/paste-inline-filter/index.d.ts +28 -0
- package/library/packages/tools/src/tiptap/utils/flatten-spans.d.ts +5 -0
- package/library/packages/tools/src/tiptap/utils/normalize-tabs.d.ts +7 -0
- package/library/react-web-component.d.ts +20 -0
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as s, C as x } from "./lib-cortex-element.CVMmyPMC.js";
|
|
2
|
-
import { c as m } from "./component.styles.
|
|
2
|
+
import { c as m } from "./component.styles.CAS3c9pM.js";
|
|
3
3
|
import { c as v } from "./custom-element.L4WJXn1j.js";
|
|
4
4
|
import { L as g } from "./i18n.CNnI4-0K.js";
|
|
5
5
|
import { w as d } from "./watch.DJF5K-8U.js";
|
|
@@ -8,7 +8,7 @@ import { r as f } from "./state.CSDxrqLd.js";
|
|
|
8
8
|
import { e as b } from "./query.BBf1UFkC.js";
|
|
9
9
|
import { e as y } from "./class-map.BiVq-cVR.js";
|
|
10
10
|
import { n as u } from "./when.Dr1es41R.js";
|
|
11
|
-
import { C as w } from "./icon.
|
|
11
|
+
import { C as w } from "./icon.BLXWp6CU.js";
|
|
12
12
|
import k from "../components/space.js";
|
|
13
13
|
var r = /* @__PURE__ */ ((t) => (t.Left = "left", t.Right = "right", t))(r || {});
|
|
14
14
|
const C = _`:host{-webkit-user-select:none;user-select:none;display:block}:host(:focus){outline:none}.option{font-family:var(--option-font-family), var(--cx-font-sans);font-size:var(--cx-font-size-small);font-weight:var(--option-font-weight,var(--cx-font-weight-regular));line-height:var(--cx-line-height-large);letter-spacing:var(--cx-letter-spacing-normal);color:var(--option-color,var(--cx-color-neutral-700));padding:var(--cx-spacing-x-small) var(--cx-spacing-medium) var(--cx-spacing-x-small) var(--cx-spacing-x-small);transition:var(--cx-transition-fast) fill;cursor:pointer;align-items:center;display:flex;position:relative}.option:not(.option--show-check){padding-inline:var(--cx-spacing-small)}.option--hover:not(.option--disabled){background-color:var(--cx-menu-item-background-color-hover)}.option--current,.option--current.option--disabled{background-color:var(--option-current-background-color,transparent);opacity:1}.option--selected{color:var(--option-selected-color,var(--cx-color-primary));font-weight:var(--option-selected-font-weight,var(--cx-font-weight-regular))}.option--disabled{opacity:.5;cursor:default;outline:none}.option__content{flex:1}.option__label{line-height:var(--cx-line-height-medium);flex:auto;display:inline-block}.option .option__check{visibility:hidden;flex:none;justify-content:center;align-items:center;padding-inline-end:var(--cx-spacing-2x-small);display:none}.option--show-check .option__check{display:block}.option--show-check.option--selected .option__check{visibility:visible}.option__help-text{color:var(--option-help-text-color,var(--cx-color-neutral-600));font-weight:var(--option-help-text-font-weight,var(--cx-font-weight-regular))}.option--selected .option__content .option__help-text{color:var(--option-selected-help-text-color,var(--cx-color-primary));font-weight:var(--option-selected-help-text-font-weight,var(--cx-font-weight-regular))}.option__prefix,.option__suffix{flex:none;align-items:center;display:flex}.option__prefix::slotted(*){margin-inline-end:var(--cx-spacing-x-small)}.option__suffix::slotted(*){margin-inline-start:var(--cx-spacing-x-small)}.option__prefix{align-self:var(--prefix-alignment,center)}.option__suffix{align-self:var(--suffix-alignment,center)}.option__check{align-self:var(--check-alignment,center)}@media (forced-colors:active){:host(:hover:not([aria-disabled=true])) .option{outline-offset:-1px;outline:1px dashed selecteditem}}`;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import b from "../components/space.js";
|
|
2
2
|
import { n as o, C as _ } from "./lib-cortex-element.CVMmyPMC.js";
|
|
3
|
-
import { C as P, I as y } from "./icon-button.
|
|
3
|
+
import { C as P, I as y } from "./icon-button.5-oAlIkv.js";
|
|
4
4
|
import { c as f } from "./custom-element.L4WJXn1j.js";
|
|
5
5
|
import { L as z } from "./i18n.CNnI4-0K.js";
|
|
6
6
|
import { c as m } from "./math.DuKzLacZ.js";
|
|
@@ -10,13 +10,13 @@ import { r as S } from "./state.CSDxrqLd.js";
|
|
|
10
10
|
import { e as $ } from "./class-map.BiVq-cVR.js";
|
|
11
11
|
import { c as x } from "./repeat.CFjcER6_.js";
|
|
12
12
|
import { n as g } from "./when.Dr1es41R.js";
|
|
13
|
-
import { C as w } from "./button
|
|
14
|
-
import { C as v } from "./input.
|
|
15
|
-
import { C as I } from "./option.
|
|
13
|
+
import { C as w } from "./button.BQoebhw_.js";
|
|
14
|
+
import { C as v } from "./input.BRZzv6Zk.js";
|
|
15
|
+
import { C as I } from "./option.DgxoCq1j.js";
|
|
16
16
|
import B from "../components/select.js";
|
|
17
17
|
import N from "../components/tooltip.js";
|
|
18
|
-
import { C as k } from "./typography.
|
|
19
|
-
import { c as F } from "./component.styles.
|
|
18
|
+
import { C as k } from "./typography.T72DuoCa.js";
|
|
19
|
+
import { c as F } from "./component.styles.CAS3c9pM.js";
|
|
20
20
|
var u = /* @__PURE__ */ ((t) => (t.Both = "both", t.Pages = "pages", t.Rows = "rows", t))(u || {});
|
|
21
21
|
const p = 1, M = C`
|
|
22
22
|
${F}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { D as gt, x as P, aj as dt, H as et, q as b, ak as pt, aD as ot, J as ht, C as tt, e as v, _ as V, a as G, v as _t, a$ as rt, P as ft, b0 as mt, r as A, L as R, T as M, m as W, aE as ct, p as yt, j as w, h as T, G as J, ah as $, b3 as k, b as bt } from "./am-chart.
|
|
2
|
-
import { S as xt } from "./Slice.
|
|
3
|
-
import { R as kt } from "./RadialLabel.
|
|
1
|
+
import { D as gt, x as P, aj as dt, H as et, q as b, ak as pt, aD as ot, J as ht, C as tt, e as v, _ as V, a as G, v as _t, a$ as rt, P as ft, b0 as mt, r as A, L as R, T as M, m as W, aE as ct, p as yt, j as w, h as T, G as J, ah as $, b3 as k, b as bt } from "./am-chart._tN87j9G.js";
|
|
2
|
+
import { S as xt } from "./Slice.A9JOqhaa.js";
|
|
3
|
+
import { R as kt } from "./RadialLabel.CUDs8pwi.js";
|
|
4
4
|
class vt extends gt {
|
|
5
5
|
setupDefaultRules() {
|
|
6
6
|
super.setupDefaultRules();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { S as X } from "./Slice.
|
|
2
|
-
import { a_ as S, L as N, T as D, m as p, r as m, x as z, f as A, h as c, j as u, a as f, C as H, G as L, H as v, P as J, D as st, ak as W, as as Q, q as O, a$ as K, b0 as it, p as C, b1 as w, at as U, b2 as j, t as q, aV as Z } from "./am-chart.
|
|
3
|
-
import { A as tt } from "./AxisLabelRadial.
|
|
1
|
+
import { S as X } from "./Slice.A9JOqhaa.js";
|
|
2
|
+
import { a_ as S, L as N, T as D, m as p, r as m, x as z, f as A, h as c, j as u, a as f, C as H, G as L, H as v, P as J, D as st, ak as W, as as Q, q as O, a$ as K, b0 as it, p as C, b1 as w, at as U, b2 as j, t as q, aV as Z } from "./am-chart._tN87j9G.js";
|
|
3
|
+
import { A as tt } from "./AxisLabelRadial.WmAEaa1v.js";
|
|
4
4
|
import { d as Y } from "./arc.xqNd6x9S.js";
|
|
5
|
-
import { B as et } from "./BaseColumnSeries.
|
|
5
|
+
import { B as et } from "./BaseColumnSeries.CA7CJ3dz.js";
|
|
6
6
|
import { c as $ } from "./cardinalClosed.Mdce1x5M.js";
|
|
7
7
|
import { c as at } from "./cardinal.BXTAeOLk.js";
|
|
8
8
|
class G extends S {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as d, B as p, G as D, e as h } from "./am-chart.
|
|
1
|
+
import { E as d, B as p, G as D, e as h } from "./am-chart._tN87j9G.js";
|
|
2
2
|
class m extends d {
|
|
3
3
|
_afterNew() {
|
|
4
4
|
super._afterNew(), this._setRawDefault("threshold", 5), this._setRawDefault("groupName", "Other"), this._setRawDefault("clickBehavior", "none"), this.initZoomButton(), this._root.addDisposer(this);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { C as Te, B as Oe, G as Le, D as ma, x as ve, aO as pi, ak as se, q as Fe, d as S, H as W, k as ge, aj as Pi, f as fi, E as at, c as J, bf as Ke, bg as lt, bh as Ii, s as Xe, e as A, af as si, bi as Ns, M as dt, aa as V, ac as va, ab as Ti, z as Q, bj as Ni, a7 as qe, aV as H, bk as Hs, m as ct, aW as _a, av as mi, an as Dt, w as Mi, a2 as Li, ao as He, _ as _e, L as ke, T as re, as as Ei, ar as Yi, N as xa, au as vi, aq as ya, V as St, at as ba, a as ne, t as zs, i as ii, aU as _i, bl as $e, W as rt, al as Ws, ah as Fi, j as xi, h as yi, a5 as ka, aB as bi, F as wa, I as Ca, b as Oi, R as Da, a0 as Sa, bm as Se, ap as Aa, bn as Pa, a9 as ki, bo as Vi, bp as Ia, bq as yt } from "./am-chart.
|
|
2
|
-
import { M as Xi, S as Ta, L as Bi, B as ai, E as Na } from "./SpriteResizer.
|
|
3
|
-
import { a as Ri, G as wi, A as Ci } from "./CandlestickSeries.
|
|
4
|
-
import { B as Ma } from "./BaseColumnSeries.
|
|
5
|
-
import { C as Qe } from "./ColumnSeries.
|
|
6
|
-
import { C as Di } from "./Circle.
|
|
7
|
-
import { T as La } from "./Triangle.
|
|
8
|
-
import { E as Ea } from "./EditableLabel.
|
|
9
|
-
import { Serializer as Hi } from "./json.
|
|
1
|
+
import { C as Te, B as Oe, G as Le, D as ma, x as ve, aO as pi, ak as se, q as Fe, d as S, H as W, k as ge, aj as Pi, f as fi, E as at, c as J, bf as Ke, bg as lt, bh as Ii, s as Xe, e as A, af as si, bi as Ns, M as dt, aa as V, ac as va, ab as Ti, z as Q, bj as Ni, a7 as qe, aV as H, bk as Hs, m as ct, aW as _a, av as mi, an as Dt, w as Mi, a2 as Li, ao as He, _ as _e, L as ke, T as re, as as Ei, ar as Yi, N as xa, au as vi, aq as ya, V as St, at as ba, a as ne, t as zs, i as ii, aU as _i, bl as $e, W as rt, al as Ws, ah as Fi, j as xi, h as yi, a5 as ka, aB as bi, F as wa, I as Ca, b as Oi, R as Da, a0 as Sa, bm as Se, ap as Aa, bn as Pa, a9 as ki, bo as Vi, bp as Ia, bq as yt } from "./am-chart._tN87j9G.js";
|
|
2
|
+
import { M as Xi, S as Ta, L as Bi, B as ai, E as Na } from "./SpriteResizer.C4Pr8M2O.js";
|
|
3
|
+
import { a as Ri, G as wi, A as Ci } from "./CandlestickSeries.DXRjCTbq.js";
|
|
4
|
+
import { B as Ma } from "./BaseColumnSeries.CA7CJ3dz.js";
|
|
5
|
+
import { C as Qe } from "./ColumnSeries.B9RPnhH2.js";
|
|
6
|
+
import { C as Di } from "./Circle.D0OhNxs6.js";
|
|
7
|
+
import { T as La } from "./Triangle.B8AHSXVN.js";
|
|
8
|
+
import { E as Ea } from "./EditableLabel.C4IbcCqP.js";
|
|
9
|
+
import { Serializer as Hi } from "./json.DF7pARBV.js";
|
|
10
10
|
class At extends Te {
|
|
11
11
|
constructor() {
|
|
12
12
|
super(...arguments), this.upButton = this.children.push(Oe.new(this._root, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import zn from "../components/resize-observer.js";
|
|
2
2
|
import { n as wt, C as Bn } from "./lib-cortex-element.CVMmyPMC.js";
|
|
3
|
-
import { c as Fn } from "./component.styles.
|
|
3
|
+
import { c as Fn } from "./component.styles.CAS3c9pM.js";
|
|
4
4
|
import { c as Nn } from "./custom-element.L4WJXn1j.js";
|
|
5
5
|
import { L as Ln } from "./i18n.CNnI4-0K.js";
|
|
6
6
|
import { s as Zi } from "./scroll.xtO5yojm.js";
|
|
@@ -17,11 +17,11 @@ import { i as Ji } from "./guard.D4axKaMo.js";
|
|
|
17
17
|
import { o as tr } from "./map.D8heArFD.js";
|
|
18
18
|
import { o as Ve } from "./style-map.llVFPd__.js";
|
|
19
19
|
import { n as Pe } from "./when.Dr1es41R.js";
|
|
20
|
-
import { C as Yn } from "./button
|
|
20
|
+
import { C as Yn } from "./button.BQoebhw_.js";
|
|
21
21
|
import Xn from "../components/dropdown.js";
|
|
22
|
-
import { C as qn } from "./icon-button.
|
|
22
|
+
import { C as qn } from "./icon-button.5-oAlIkv.js";
|
|
23
23
|
import Gn from "../components/menu.js";
|
|
24
|
-
import { C as Kn } from "./menu-item.
|
|
24
|
+
import { C as Kn } from "./menu-item.HtTWOcq4.js";
|
|
25
25
|
import jn from "../components/tab.js";
|
|
26
26
|
var bi = /* @__PURE__ */ ((o) => (o.Bottom = "bottom", o.End = "end", o.Start = "start", o.Top = "top", o))(bi || {}), Ke = /* @__PURE__ */ ((o) => (o.Center = "center", o.End = "flex-end", o.Start = "flex-start", o))(Ke || {}), wr = /* @__PURE__ */ ((o) => (o.Auto = "auto", o.Manual = "manual", o))(wr || {}), ue = /* @__PURE__ */ ((o) => (o.Button = "button", o.Default = "default", o.Timeline = "timeline", o))(ue || {}), Tt = /* @__PURE__ */ ((o) => (o.Dropdown = "dropdown", o.Pagination = "pagination", o.Scroll = "scroll", o))(Tt || {}), Ut = /* @__PURE__ */ ((o) => (o.Absolute = "absolute", o.DisplayNone = "display-none", o))(Ut || {});
|
|
27
27
|
function Dt(o) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { S as $ } from "./Slice.
|
|
2
|
-
import { a_ as I, L as Y, T as D, aX as ee, m as L, e as P, ao as S, ah as R, j as A, h as C, a as _, D as te, H as X, as as J, C as se, q as b, G as k, r as G, K as ie, t as q, aV as Q, at as U } from "./am-chart.
|
|
3
|
-
import { A as ne } from "./AxisLabelRadial.
|
|
1
|
+
import { S as $ } from "./Slice.A9JOqhaa.js";
|
|
2
|
+
import { a_ as I, L as Y, T as D, aX as ee, m as L, e as P, ao as S, ah as R, j as A, h as C, a as _, D as te, H as X, as as J, C as se, q as b, G as k, r as G, K as ie, t as q, aV as Q, at as U } from "./am-chart._tN87j9G.js";
|
|
3
|
+
import { A as ne } from "./AxisLabelRadial.WmAEaa1v.js";
|
|
4
4
|
import { d as ae } from "./arc.xqNd6x9S.js";
|
|
5
|
-
import { B as Z } from "./BaseColumnSeries.
|
|
6
|
-
import { P as K } from "./Polygon.
|
|
5
|
+
import { B as Z } from "./BaseColumnSeries.CA7CJ3dz.js";
|
|
6
|
+
import { P as K } from "./Polygon.sDQ7eTW_.js";
|
|
7
7
|
class V extends I {
|
|
8
8
|
constructor() {
|
|
9
9
|
super(...arguments), this.labels = this.addDisposer(new Y(D.new({}), () => ee._new(this._root, {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { C as F, n as l } from "./lib-cortex-element.CVMmyPMC.js";
|
|
2
|
-
import { c as O } from "./component.styles.
|
|
2
|
+
import { c as O } from "./component.styles.CAS3c9pM.js";
|
|
3
3
|
import { c as U } from "./custom-element.L4WJXn1j.js";
|
|
4
4
|
import { L as N } from "./i18n.CNnI4-0K.js";
|
|
5
|
-
import { c as
|
|
5
|
+
import { c as j } from "./math.DuKzLacZ.js";
|
|
6
6
|
import { w as b } from "./watch.DJF5K-8U.js";
|
|
7
7
|
import { i as R, x as m, E } from "./lit-element.jLBm65_O.js";
|
|
8
8
|
import { r as g } from "./state.CSDxrqLd.js";
|
|
@@ -10,17 +10,17 @@ import { e as f } from "./query.BBf1UFkC.js";
|
|
|
10
10
|
import { s as L, a as D, b as $ } from "./event.BeKOsirN.js";
|
|
11
11
|
import { e as C } from "./class-map.BiVq-cVR.js";
|
|
12
12
|
import { o as _ } from "./if-defined.BRoBj_Rp.js";
|
|
13
|
-
import { l as
|
|
13
|
+
import { l as K } from "./live.DCegntDo.js";
|
|
14
14
|
import { n as y } from "./when.Dr1es41R.js";
|
|
15
15
|
import { g as z, s as G } from "./animation-registry.HmpwNuGH.js";
|
|
16
|
-
import
|
|
17
|
-
import { C as
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import { i as
|
|
21
|
-
import { S as
|
|
22
|
-
import { v as
|
|
23
|
-
function
|
|
16
|
+
import V from "../components/checkbox.js";
|
|
17
|
+
import { C as W } from "./icon.BLXWp6CU.js";
|
|
18
|
+
import Y from "../components/line-clamp.js";
|
|
19
|
+
import J from "../components/spinner.js";
|
|
20
|
+
import { i as Q } from "./browser.BHOCIF_A.js";
|
|
21
|
+
import { S as ee } from "./sortable.esm.oSzf6C5Q.js";
|
|
22
|
+
import { v as te } from "./v4.CKZ6klMF.js";
|
|
23
|
+
function ie(e, t, i) {
|
|
24
24
|
let a;
|
|
25
25
|
return function(...r) {
|
|
26
26
|
const n = this, d = function() {
|
|
@@ -29,8 +29,8 @@ function te(e, t, i) {
|
|
|
29
29
|
a && clearTimeout(a), a = window.setTimeout(d, t);
|
|
30
30
|
};
|
|
31
31
|
}
|
|
32
|
-
const
|
|
33
|
-
function
|
|
32
|
+
const ae = R`:host{--selected-color:var(--cx-color-primary-600);--selected-background-color:var(--cx-color-primary-50);--hover-background-color:var(--cx-menu-item-background-color-hover);--active-background-color:var(--cx-color-neutral-200);--item-padding:var(--cx-spacing-2x-small) var(--cx-spacing-x-small);outline:0;display:block}:host(:focus-visible) .tree-item{outline:var(--cx-focus-ring);outline-offset:calc(-1 * var(--cx-focus-ring-width))}[hidden]{display:none!important}slot:not([name])::slotted(cx-icon){margin-inline-end:var(--cx-spacing-x-small)}.tree-item{color:var(--cx-color-neutral-900);cursor:pointer;-webkit-user-select:none;user-select:none;flex-direction:column;align-items:stretch;display:flex;position:relative}.tree-item__checkbox{margin-inline-end:var(--cx-spacing-x-small)}.tree-item__expand-button,.tree-item__checkbox,.tree-item__label{font-family:var(--cx-font-sans);font-size:var(--cx-tree-item-font-size,var(--cx-font-size-small));font-weight:var(--cx-tree-item-font-weight,var(--cx-font-weight-medium));line-height:var(--cx-tree-item-line-height,var(--cx-line-height-large));letter-spacing:var(--cx-tree-item-letter-spacing,var(--cx-letter-spacing-normal))}.tree-item__checkbox::part(base){align-items:center;display:flex}.tree-item__checkbox::part(label){margin-inline-start:0}.tree-item__indentation{flex-shrink:0;width:1em;display:block}.tree-item__expand-spinner{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.tree-item__expand-button{box-sizing:content-box;color:var(--cx-color-neutral-500);cursor:pointer;min-width:max(1em,1rem);min-height:max(1em,1rem);transition:var(--cx-transition-medium) rotate ease;flex-shrink:0;justify-content:center;align-items:center;display:flex;position:relative}.tree-item--expanded .tree-item__expand-button{rotate:90deg}.tree-item--expanded.tree-item--rtl .tree-item__expand-button{rotate:-90deg}.tree-item--expanded slot[name=expand-icon],.tree-item:not(.tree-item--expanded) slot[name=collapse-icon]{display:none}:host(:not([aria-disabled=true])) .tree-item--selected .tree-item__item .tree-item__expand-icon-slot{color:var(--selected-color)}.tree-item:not(.tree-item--has-expand-button) .tree-item__expand-icon-slot{visibility:hidden;opacity:0;pointer-events:none}.tree-item__expand-button--visible{cursor:pointer}.tree-item__item{border-radius:var(--cx-border-radius-large);padding:var(--item-padding,var(--cx-spacing-x-small) var(--cx-spacing-small));transition:var(--cx-transition-x-fast) background-color ease;align-items:center;display:flex}.tree-item__item:hover{background-color:var(--hover-background-color)}.tree-item__item:active{background-color:var(--active-background-color)}.tree-item--disabled .tree-item__item{opacity:.5;cursor:default;outline:none}:host(:not([aria-disabled=true])) .tree-item--selected .tree-item__item{background-color:var(--selected-background-color);color:var(--selected-color)}:host(:not([aria-disabled=true])) .tree-item__expand-button{color:var(--cx-color-neutral)}:host(:not([aria-disabled=true]):not([variant=text])) .tree-item--selected,:host(:not([aria-disabled=true]):not([variant=text])) .tree-item--selected .tree-item__expand-button,:host(:not([aria-disabled=true]):not([variant=text])) .tree-item--selected .tree-item__actions::slotted(cx-icon-button){color:var(--cx-color-neutral-0)}:host(:not([aria-disabled=true]):not([variant=text])) .tree-item--selected .tree-item__actions::slotted(cx-icon-button){--hover-background-color:var(--cx-color-neutral-0)}.tree-item__label{align-items:center;display:flex}.tree-item__actions{font-size:var(--cx-font-size-medium);align-items:center;width:fit-content;margin-inline-start:auto;display:flex}.tree-item__actions::slotted(*){visibility:hidden;opacity:0;transition:var(--cx-transition-x-fast) visibility, var(--cx-transition-x-fast) opacity ease}.tree-item__item:hover .tree-item__actions::slotted(*){visibility:visible;opacity:1}@supports not (overlay:auto){.tree-item__actions::slotted(cx-dropdown[open]){visibility:visible;opacity:1}}.tree-item__children{font-size:calc(1em + var(--indent-size,var(--cx-spacing-medium)));gap:var(--children-gap,0);flex-direction:column;display:flex}@media (forced-colors:active){:host(:not([aria-disabled=true])) .tree-item--selected .tree-item__item{outline:1px dashed selecteditem}}::slotted(cx-tree-item){--hover-background-color:inherit;--active-background-color:inherit;--selected-background-color:inherit;--selected-color:inherit}:host([variant=text]){--selected-background-color:transparent;--selected-color:inherit;--hover-background-color:transparent;--active-background-color:transparent;--hover-color:var(--cx-color-primary)}:host([variant=text]:not([aria-disabled=true])) .tree-item__item:hover{color:var(--hover-color)}:host([data-dragging]){position:relative}:host([data-dragging=inside]){background-color:var(--cx-color-primary-400)}:host([data-dragging=before]):before{content:"";border-top:var(--cx-spacing-2x-small) solid var(--cx-color-primary-400);width:100%;position:absolute;top:0;left:0}:host([data-dragging=after]):before{content:"";border-bottom:var(--cx-spacing-2x-small) solid var(--cx-color-primary-400);width:100%;position:absolute;bottom:0;left:0}`, I = "tree-sortable", w = 0.2, P = (e) => e == null;
|
|
33
|
+
function ne() {
|
|
34
34
|
function e() {
|
|
35
35
|
}
|
|
36
36
|
let t = null;
|
|
@@ -54,7 +54,9 @@ function ae() {
|
|
|
54
54
|
putSortable: x,
|
|
55
55
|
target: p
|
|
56
56
|
}) {
|
|
57
|
-
|
|
57
|
+
t = null;
|
|
58
|
+
const q = !!d?.contains(p);
|
|
59
|
+
if (!i || !i.options[I] || !i.options.getDropZone || P(i.options.insertBeforeZonePercentage) || P(i.options.insertAfterZonePercentage) || !["CX-TREE-ITEM", "CX-TREE"].includes(p.tagName) || p.hasAttribute("no-drag") || q) {
|
|
58
60
|
a();
|
|
59
61
|
return;
|
|
60
62
|
}
|
|
@@ -65,8 +67,8 @@ function ae() {
|
|
|
65
67
|
}
|
|
66
68
|
const B = A.getBoundingClientRect(), T = (u.clientY - B.top) / B.height, S = x || this.sortable;
|
|
67
69
|
S.captureAnimationState(), S !== i && i.captureAnimationState();
|
|
68
|
-
const
|
|
69
|
-
if (d &&
|
|
70
|
+
const X = p.parentNode;
|
|
71
|
+
if (d && X)
|
|
70
72
|
if (T < i.options.insertBeforeZonePercentage)
|
|
71
73
|
t = {
|
|
72
74
|
dragEl: d,
|
|
@@ -114,7 +116,7 @@ function ae() {
|
|
|
114
116
|
pluginName: I
|
|
115
117
|
});
|
|
116
118
|
}
|
|
117
|
-
class v extends
|
|
119
|
+
class v extends ee {
|
|
118
120
|
constructor(t, i) {
|
|
119
121
|
super(t, i);
|
|
120
122
|
}
|
|
@@ -122,14 +124,14 @@ class v extends Q {
|
|
|
122
124
|
return new v(t, i);
|
|
123
125
|
}
|
|
124
126
|
}
|
|
125
|
-
v.mount(new
|
|
127
|
+
v.mount(new ne());
|
|
126
128
|
const M = (e) => ({
|
|
127
129
|
...e,
|
|
128
130
|
animation: 100,
|
|
129
131
|
draggable: "cx-tree-item:not([no-drag])",
|
|
130
132
|
emptyInsertThreshold: 0,
|
|
131
133
|
fallbackOnBody: !0,
|
|
132
|
-
forceFallback:
|
|
134
|
+
forceFallback: Q(),
|
|
133
135
|
getDropZone: (t) => t?.shadowRoot?.querySelector(".tree-item__item"),
|
|
134
136
|
insertAfterZonePercentage: 1 - w,
|
|
135
137
|
insertBeforeZonePercentage: w,
|
|
@@ -143,10 +145,10 @@ const M = (e) => ({
|
|
|
143
145
|
[I]: !0,
|
|
144
146
|
swapThreshold: w
|
|
145
147
|
});
|
|
146
|
-
var
|
|
147
|
-
for (var r = a > 1 ? void 0 : a ?
|
|
148
|
+
var oe = Object.defineProperty, re = Object.getOwnPropertyDescriptor, s = (e, t, i, a) => {
|
|
149
|
+
for (var r = a > 1 ? void 0 : a ? re(t, i) : t, n = e.length - 1, d; n >= 0; n--)
|
|
148
150
|
(d = e[n]) && (r = (a ? d(t, i, r) : d(r)) || r);
|
|
149
|
-
return a && r &&
|
|
151
|
+
return a && r && oe(t, i, r), r;
|
|
150
152
|
};
|
|
151
153
|
let o = class extends F {
|
|
152
154
|
constructor() {
|
|
@@ -327,7 +329,7 @@ let o = class extends F {
|
|
|
327
329
|
checked-icon:checkbox__checked-icon,
|
|
328
330
|
indeterminate-icon:checkbox__indeterminate-icon,
|
|
329
331
|
label:checkbox__label
|
|
330
|
-
" class="tree-item__checkbox" ?disabled=${this.disabled} ?checked=${
|
|
332
|
+
" class="tree-item__checkbox" ?disabled=${this.disabled} ?checked=${K(this.selected)} ?indeterminate=${this.indeterminate} tabindex="-1"></cx-checkbox>`
|
|
331
333
|
)}
|
|
332
334
|
|
|
333
335
|
${y(
|
|
@@ -341,12 +343,12 @@ let o = class extends F {
|
|
|
341
343
|
)}</div><div class="tree-item__children" part="children" role="group"><slot name="children" @slotchange=${this.handleChildrenSlotChange}></slot></div>`);
|
|
342
344
|
}
|
|
343
345
|
};
|
|
344
|
-
o.styles = [O,
|
|
346
|
+
o.styles = [O, ae];
|
|
345
347
|
o.dependencies = {
|
|
346
|
-
"cx-checkbox":
|
|
347
|
-
"cx-icon":
|
|
348
|
-
"cx-line-clamp":
|
|
349
|
-
"cx-spinner":
|
|
348
|
+
"cx-checkbox": V,
|
|
349
|
+
"cx-icon": W,
|
|
350
|
+
"cx-line-clamp": Y,
|
|
351
|
+
"cx-spinner": J
|
|
350
352
|
};
|
|
351
353
|
s([
|
|
352
354
|
f("slot:not([name])")
|
|
@@ -494,11 +496,11 @@ G("tree-item.collapse", {
|
|
|
494
496
|
],
|
|
495
497
|
options: { duration: 200, easing: "cubic-bezier(0.4, 0.0, 0.2, 1)" }
|
|
496
498
|
});
|
|
497
|
-
const
|
|
498
|
-
var
|
|
499
|
-
for (var r = a > 1 ? void 0 : a ?
|
|
499
|
+
const se = R`:host{--indent-guide-color:var(--cx-color-neutral-200);--indent-guide-offset:0;--indent-guide-style:solid;--indent-guide-width:0;--indent-size:var(--cx-spacing-large);font-size:0;display:block}:host::part(children){gap:var(--children-gap,0);flex-direction:column;display:flex}:host([dragging]) ::slotted(cx-tree-item){--hover-background-color:transparent!important;--active-background-color:transparent!important;--selected-background-color:transparent!important}`;
|
|
500
|
+
var le = Object.defineProperty, de = Object.getOwnPropertyDescriptor, h = (e, t, i, a) => {
|
|
501
|
+
for (var r = a > 1 ? void 0 : a ? de(t, i) : t, n = e.length - 1, d; n >= 0; n--)
|
|
500
502
|
(d = e[n]) && (r = (a ? d(t, i, r) : d(r)) || r);
|
|
501
|
-
return a && r &&
|
|
503
|
+
return a && r && le(t, i, r), r;
|
|
502
504
|
};
|
|
503
505
|
function H(e) {
|
|
504
506
|
const t = e.getChildrenItems({ includeDisabled: !1 });
|
|
@@ -533,7 +535,7 @@ let c = class extends F {
|
|
|
533
535
|
}
|
|
534
536
|
runConnectedCallback() {
|
|
535
537
|
if (this.addEventListener("focusin", this.handleFocusIn), this.addEventListener("focusout", this.handleFocusOut), this.addEventListener("mousedown", this.handleHostMouseDown), this.addEventListener("cx-lazy-change", this.handleSlotChange), this.mutationObserver = new MutationObserver(this.handleTreeChanged), this.mutationObserver.observe(this, { childList: !0, subtree: !0 }), this.autoExpandToSelected) {
|
|
536
|
-
const e =
|
|
538
|
+
const e = ie(() => {
|
|
537
539
|
customElements.whenDefined("cx-tree-item").then(() => {
|
|
538
540
|
this.selectedItems.forEach((t) => {
|
|
539
541
|
this.expandToItem(t);
|
|
@@ -647,7 +649,7 @@ let c = class extends F {
|
|
|
647
649
|
if (t.length > 0) {
|
|
648
650
|
e.preventDefault();
|
|
649
651
|
const r = t.findIndex((x) => x.matches(":focus")), n = t[r], d = (x) => {
|
|
650
|
-
const p = t[
|
|
652
|
+
const p = t[j(x, 0, t.length - 1)];
|
|
651
653
|
this.focusItem(p);
|
|
652
654
|
}, u = (x) => {
|
|
653
655
|
n.expanded = x;
|
|
@@ -725,7 +727,7 @@ let c = class extends F {
|
|
|
725
727
|
}
|
|
726
728
|
getSortableGroup() {
|
|
727
729
|
if (!this.disabledSortableGroup)
|
|
728
|
-
return this.sortableGroup || (this.sortableGroup =
|
|
730
|
+
return this.sortableGroup || (this.sortableGroup = te()), this.sortableGroup;
|
|
729
731
|
}
|
|
730
732
|
handleSortableStart() {
|
|
731
733
|
this.setAttribute("dragging", "");
|
|
@@ -789,7 +791,7 @@ let c = class extends F {
|
|
|
789
791
|
return m`<div part="base" class="tree" @click=${this.handleClick} @keydown=${this.handleKeyDown} @mousedown=${this.handleMouseDown}><slot part="children" @slotchange=${this.handleSlotChange}></slot><span hidden aria-hidden="true"><slot name="expand-icon"></slot></span><span hidden aria-hidden="true"><slot name="collapse-icon"></slot></span></div>`;
|
|
790
792
|
}
|
|
791
793
|
};
|
|
792
|
-
c.styles = [O,
|
|
794
|
+
c.styles = [O, se];
|
|
793
795
|
h([
|
|
794
796
|
f("slot:not([name])")
|
|
795
797
|
], c.prototype, "defaultSlot", 2);
|
|
@@ -859,6 +861,6 @@ export {
|
|
|
859
861
|
c as a,
|
|
860
862
|
Z as b,
|
|
861
863
|
H as c,
|
|
862
|
-
|
|
864
|
+
ie as d,
|
|
863
865
|
k as s
|
|
864
866
|
};
|