@orangelogic/design-system 2.69.0 → 2.70.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.BTpA5dYy.js +11 -0
- package/library/chunks/BaseColumnSeries.hIO71GLG.js +304 -0
- package/library/chunks/CandlestickSeries.w9C0GR9v.js +362 -0
- package/library/chunks/Circle.tOnnO-F-.js +17 -0
- package/library/chunks/ColumnSeries.Ckz75x1M.js +54 -0
- package/library/chunks/EditableAxisLabel.CCMTJT7K.js +445 -0
- package/library/chunks/EditableLabel.DPmicdjK.js +119 -0
- package/library/chunks/Gradient.BrDBLm8v.js +40 -0
- package/library/chunks/LinearGradient.CxfXxvMw.js +37 -0
- package/library/chunks/MonotoneXTension.CJMEHHj3.js +139 -0
- package/library/chunks/Picture.BNASYM-P.js +49 -0
- package/library/chunks/Polygon.Dr-GV2hn.js +70 -0
- package/library/chunks/ProgressPie.4mPA6xqm.js +234 -0
- package/library/chunks/RadialLabel.HfsGiN4x.js +88 -0
- package/library/chunks/Scrollbar.Bgg-RhjP.js +118 -0
- package/library/chunks/Slice.Dm56LTKj.js +120 -0
- package/library/chunks/Slider.FKJwoPq2.js +19 -0
- package/library/chunks/SpriteResizer.-qJDgug8.js +446 -0
- package/library/chunks/Triangle.BECgi7mc.js +21 -0
- package/library/chunks/ZoomTools.cgwuIB0e.js +199 -0
- package/library/chunks/___vite-browser-external_commonjs-proxy.C2tf3HsQ.js +8 -0
- package/library/chunks/{_baseUniq.Df-fLIBx.js → _baseUniq.BUihBa8c.js} +56 -53
- package/library/chunks/{_commonjsHelpers.ByX85dGu.js → _commonjsHelpers.DQNKXVTB.js} +2 -2
- package/library/chunks/accessors.BHk36ecy.js +11 -0
- package/library/chunks/am-chart.oZVBmpnn.js +18435 -0
- package/library/chunks/{animation.DfUHRQry.js → animation.DU8t6mrk.js} +1 -1
- package/library/chunks/{button.SoX-7UYy.js → button.CAAJPQFu.js} +3 -3
- package/library/chunks/{capitalize.WSkCXkNE.js → capitalize.CNStXZBq.js} +1 -1
- package/library/chunks/cardinal.BCA_LB0u.js +64 -0
- package/library/chunks/{color-swatch-group.Dx1fbSJx.js → color-swatch-group.CKHyWM8K.js} +6 -6
- package/library/chunks/{color-swatch.B7XXHxx1.js → color-swatch.BkpPCXd6.js} +2 -2
- package/library/chunks/colorPicker.C4w_vDjh.js +527 -0
- package/library/chunks/{confirm-popover.327ATuQH.js → confirm-popover.ZD74yDWw.js} +3 -3
- package/library/chunks/{content-builder.Bxi6k2LA.js → content-builder.B4Tqoc6M.js} +40 -34
- package/library/chunks/{cropper.BraEEykE.js → cropper.CQB3_qqG.js} +6937 -6935
- package/library/chunks/{dialog.eN3RUbwx.js → dialog.qSV5AjOE.js} +2 -2
- package/library/chunks/{dom.CZrJ64Dm.js → dom.BQVKDNd8.js} +1 -1
- package/library/chunks/{dot-pagination.Bek4w4zz.js → dot-pagination.BN_0ljfc.js} +2 -2
- package/library/chunks/exporting.BdjsEGF8.js +1407 -0
- package/library/chunks/{file-on-demand.BiC4cymk.js → file-on-demand.CXE4zf0J.js} +448 -386
- package/library/chunks/flow.D0FqdfOy.js +1594 -0
- package/library/chunks/{folder-select.DVEFgexx.js → folder-select.CPALQK22.js} +4 -4
- package/library/chunks/{form.CO12-VK0.js → form.DgwYWi0O.js} +1 -1
- package/library/chunks/gantt.DfUM7Gvb.js +2459 -0
- package/library/chunks/{header.Da5yvwdy.js → header.DXZ_5gLY.js} +2 -2
- package/library/chunks/hierarchy.5kfBCoGt.js +3561 -0
- package/library/chunks/{hub-connection.CfARlehM.js → hub-connection.Ot2odiCz.js} +1 -1
- package/library/chunks/{i18n.BMRLOAZR.js → i18n.C0iakJkV.js} +19 -11
- package/library/chunks/{iframe.BJizUE1A.js → iframe.BlzVfeBc.js} +2 -2
- package/library/chunks/{image.bndP5q2c.js → image.B3WjaCXP.js} +2 -2
- package/library/chunks/index.BkoLctE9.js +533 -0
- package/library/chunks/index.CZJTjkLp.js +142 -0
- package/library/chunks/{index.Bhnf0N8Q.js → index.CmVKj_wl.js} +7 -7
- package/library/chunks/index.DU0XUO4k.js +176 -0
- package/library/chunks/index.DcjJFMlq.js +1520 -0
- package/library/chunks/isObjectLike.z36Fu426.js +34 -0
- package/library/chunks/{isSymbol.huJ_Cvxt.js → isSymbol.L0C2ND_U.js} +1 -1
- package/library/chunks/json.BjaT7cyo.js +119 -0
- package/library/chunks/{list-editor.Du1h2Ms0.js → list-editor.CIAAFPco.js} +251 -222
- package/library/chunks/map.DbgNAGxD.js +3037 -0
- package/library/chunks/markerjs2.esm.B_9kjmye.js +1912 -0
- package/library/chunks/{option.Ce_wlnZj.js → option.ByVbmxUQ.js} +2 -2
- package/library/chunks/{pagination.DXu-mFAk.js → pagination.DPQn2fKX.js} +4 -4
- package/library/chunks/pdfmake.Bs7cMDH0.js +41224 -0
- package/library/chunks/percent.DO4FjAdu.js +902 -0
- package/library/chunks/{purify.es.BGaRrCfO.js → purify.es.BIuh5IAZ.js} +115 -115
- package/library/chunks/radar.Dd5fJVMg.js +789 -0
- package/library/chunks/{responsive.DgQTIrna.js → responsive.DL-wBD4P.js} +1 -1
- package/library/chunks/sliceGrouper.DA3aeuJ-.js +93 -0
- package/library/chunks/stock.BfI5MUyK.js +12684 -0
- package/library/chunks/{string.Cp_XNbnV.js → string.B_rEG27K.js} +1 -1
- package/library/chunks/{tab-group.B2pW__9H.js → tab-group.1h51o_Ly.js} +4 -4
- package/library/chunks/{table.5eWm9FfN.js → table.wVHv1Xze.js} +348 -327
- package/library/chunks/timeline.BxMLjB5J.js +837 -0
- package/library/chunks/timer.B39XOBYL.js +123 -0
- package/library/chunks/{toString.CRT5zqEU.js → toString.CL_lYXbK.js} +3 -3
- package/library/chunks/transform.BuqENXeT.js +50 -0
- package/library/chunks/{tree.Zls5YZ8z.js → tree.Bx0IGsWm.js} +2 -2
- package/library/chunks/venn.CxFupTb9.js +966 -0
- package/library/chunks/vfs_fonts.VJpdcrR6.js +9 -0
- package/library/chunks/watch.BCJD77bD.js +547 -0
- package/library/chunks/wc.ThQubbN2.js +255 -0
- package/library/chunks/xlsx.v-qkA-dg.js +25118 -0
- package/library/chunks/xy.q6e68du3.js +333 -0
- package/library/components/alert.js +2 -2
- package/library/components/am-chart.d.ts +3 -0
- package/library/components/am-chart.js +11 -0
- package/library/components/animated-image.js +1 -1
- package/library/components/animation.js +2 -2
- package/library/components/array-line-clamp.js +1 -1
- package/library/components/asset-link-format.js +7 -7
- package/library/components/atoms.js +166 -162
- package/library/components/avatar.js +1 -1
- package/library/components/border-input-group.js +1 -1
- package/library/components/breadcrumb-item.js +1 -1
- package/library/components/breadcrumb.js +1 -1
- package/library/components/button.js +4 -4
- package/library/components/checkbox.js +2 -2
- package/library/components/color-picker.js +4 -4
- package/library/components/color-swatch-group.js +7 -7
- package/library/components/color-swatch.js +3 -3
- package/library/components/confirm-popover.js +4 -4
- package/library/components/copy-button.js +2 -2
- package/library/components/corner-position-input-group.js +2 -2
- package/library/components/cropper.js +1 -1
- package/library/components/details.js +3 -2
- package/library/components/dialog.js +3 -3
- package/library/components/divider.js +1 -1
- package/library/components/dot-pagination.js +3 -3
- package/library/components/drawer.js +3 -3
- package/library/components/dropdown.js +2 -2
- package/library/components/dynamic-select.js +32 -30
- package/library/components/e-chart.d.ts +3 -0
- package/library/components/e-chart.js +47908 -0
- package/library/components/element-clamp.js +3 -3
- package/library/components/file-on-demand.js +10 -10
- package/library/components/folder-select.js +4 -4
- package/library/components/format-bytes.js +1 -1
- package/library/components/format-date.js +1 -1
- package/library/components/format-number.js +1 -1
- package/library/components/format-time.js +2 -2
- package/library/components/grid-item.js +1 -1
- package/library/components/header.js +3 -3
- package/library/components/hub-connection.js +2 -2
- package/library/components/icon-button.js +1 -1
- package/library/components/icon.js +1 -1
- package/library/components/iframe.js +3 -3
- 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.js +3 -3
- package/library/components/line-clamp.js +1 -1
- package/library/components/list-editor.js +11 -8
- package/library/components/markdown.js +2 -2
- package/library/components/masonry.js +2 -2
- package/library/components/menu-item.js +2 -2
- package/library/components/menu.js +1 -1
- package/library/components/molecules.js +5 -5
- 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/pagination.js +5 -5
- 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 +2 -2
- package/library/components/radio.js +1 -1
- package/library/components/range.js +3 -3
- 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/share-option-list.js +3 -3
- package/library/components/sidebar.js +1 -1
- package/library/components/size-input-group.js +2 -2
- package/library/components/spinner.js +1 -1
- package/library/components/split-panel.js +2 -2
- package/library/components/stepper.js +1 -1
- package/library/components/switch.js +2 -2
- 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/table.js +5 -5
- package/library/components/tag.js +1 -1
- package/library/components/textarea.js +2 -2
- package/library/components/timecode.js +2 -2
- package/library/components/tooltip.js +2 -2
- package/library/components/tree-item.js +3 -3
- package/library/components/tree.js +3 -3
- package/library/components/typeface.js +2 -2
- package/library/components/types.js +27684 -27970
- package/library/components/video.js +1107 -1110
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/am-chart/am-chart.d.ts +45 -0
- package/library/packages/atoms/src/components/am-chart/am-chart.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/am-chart/am-chart.utils.d.ts +23 -0
- package/library/packages/atoms/src/components/e-chart/e-chart-controller.d.ts +30 -0
- package/library/packages/atoms/src/components/e-chart/e-chart.d.ts +38 -0
- package/library/packages/atoms/src/components/e-chart/e-chart.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/table/table.d.ts +21 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/Tabulator.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/tools/DataLoader.d.ts +3 -1
- package/library/packages/atoms/src/index.d.ts +2 -0
- package/library/packages/events/src/cx-chart-plan-change.d.ts +10 -0
- package/library/packages/events/src/cx-dashboard-filter-change.d.ts +6 -0
- package/library/packages/events/src/cx-dashboard-table-load-more.d.ts +9 -0
- package/library/packages/events/src/cx-e-chart-drill-down.d.ts +16 -0
- package/library/packages/events/src/events.d.ts +4 -0
- package/library/packages/molecules/src/index.d.ts +1 -0
- package/library/packages/molecules/src/list-editor/list-editor.d.ts +7 -0
- package/library/packages/molecules/src/stat-card/stat-card.d.ts +81 -0
- package/library/packages/molecules/src/stat-card/stat-card.styles.d.ts +2 -0
- package/library/packages/molecules/src/storybook/storybook.d.ts +1 -0
- package/library/packages/organisms/src/asset-link-format/asset-link-format.d.ts +1 -1
- package/library/packages/organisms/src/content-builder/components/chart-plan-builder/chart-plan-builder.d.ts +88 -0
- package/library/packages/organisms/src/content-builder/components/chart-plan-builder/chart-plan-builder.styles.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/components/chart-plan-builder/chart-plan-schema.d.ts +100 -0
- package/library/packages/organisms/src/content-builder/styleController.d.ts +2 -2
- package/library/packages/organisms/src/dashboard-filter/dashboard-filter.d.ts +83 -0
- package/library/packages/organisms/src/dashboard-filter/dashboard-filter.styles.d.ts +2 -0
- package/library/packages/organisms/src/dashboard-table/dashboard-table.d.ts +45 -0
- package/library/packages/organisms/src/dashboard-table/dashboard-table.styles.d.ts +2 -0
- package/library/packages/organisms/src/index.d.ts +3 -0
- package/library/packages/services/src/api/endpoints.d.ts +3 -0
- package/library/packages/types/src/am-chart.d.ts +22 -0
- package/library/packages/types/src/content-builder.d.ts +1 -0
- package/library/packages/types/src/stat-card.d.ts +19 -0
- package/library/packages/types/src/table.d.ts +4 -0
- package/library/packages/utils/src/custom-element/i18n.d.ts +8 -0
- package/library/react-web-component.d.ts +280 -4
- package/library/utils.js +8 -8
- package/package.json +1 -1
- package/library/chunks/_baseRest.ClTMQtN1.js +0 -67
- package/library/chunks/identity.ByMq8VxU.js +0 -6
- package/library/chunks/isObjectLike.D3cpZO39.js +0 -81
- package/library/chunks/watch.q1sEjPWL.js +0 -501
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
function l(e) {
|
|
2
|
+
var n = 0, t = e.children, i = t && t.length;
|
|
3
|
+
if (!i) n = 1;
|
|
4
|
+
else for (; --i >= 0; ) n += t[i].value;
|
|
5
|
+
e.value = n;
|
|
6
|
+
}
|
|
7
|
+
function f() {
|
|
8
|
+
return this.eachAfter(l);
|
|
9
|
+
}
|
|
10
|
+
function d(e, n) {
|
|
11
|
+
let t = -1;
|
|
12
|
+
for (const i of this)
|
|
13
|
+
e.call(n, i, ++t, this);
|
|
14
|
+
return this;
|
|
15
|
+
}
|
|
16
|
+
function p(e, n) {
|
|
17
|
+
for (var t = this, i = [t], r, o, h = -1; t = i.pop(); )
|
|
18
|
+
if (e.call(n, t, ++h, this), r = t.children)
|
|
19
|
+
for (o = r.length - 1; o >= 0; --o)
|
|
20
|
+
i.push(r[o]);
|
|
21
|
+
return this;
|
|
22
|
+
}
|
|
23
|
+
function v(e, n) {
|
|
24
|
+
for (var t = this, i = [t], r = [], o, h, s, c = -1; t = i.pop(); )
|
|
25
|
+
if (r.push(t), o = t.children)
|
|
26
|
+
for (h = 0, s = o.length; h < s; ++h)
|
|
27
|
+
i.push(o[h]);
|
|
28
|
+
for (; t = r.pop(); )
|
|
29
|
+
e.call(n, t, ++c, this);
|
|
30
|
+
return this;
|
|
31
|
+
}
|
|
32
|
+
function w(e, n) {
|
|
33
|
+
let t = -1;
|
|
34
|
+
for (const i of this)
|
|
35
|
+
if (e.call(n, i, ++t, this))
|
|
36
|
+
return i;
|
|
37
|
+
}
|
|
38
|
+
function g(e) {
|
|
39
|
+
return this.eachAfter(function(n) {
|
|
40
|
+
for (var t = +e(n.data) || 0, i = n.children, r = i && i.length; --r >= 0; ) t += i[r].value;
|
|
41
|
+
n.value = t;
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
function _(e) {
|
|
45
|
+
return this.eachBefore(function(n) {
|
|
46
|
+
n.children && n.children.sort(e);
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
function y(e) {
|
|
50
|
+
for (var n = this, t = m(n, e), i = [n]; n !== t; )
|
|
51
|
+
n = n.parent, i.push(n);
|
|
52
|
+
for (var r = i.length; e !== t; )
|
|
53
|
+
i.splice(r, 0, e), e = e.parent;
|
|
54
|
+
return i;
|
|
55
|
+
}
|
|
56
|
+
function m(e, n) {
|
|
57
|
+
if (e === n) return e;
|
|
58
|
+
var t = e.ancestors(), i = n.ancestors(), r = null;
|
|
59
|
+
for (e = t.pop(), n = i.pop(); e === n; )
|
|
60
|
+
r = e, e = t.pop(), n = i.pop();
|
|
61
|
+
return r;
|
|
62
|
+
}
|
|
63
|
+
function A() {
|
|
64
|
+
for (var e = this, n = [e]; e = e.parent; )
|
|
65
|
+
n.push(e);
|
|
66
|
+
return n;
|
|
67
|
+
}
|
|
68
|
+
function x() {
|
|
69
|
+
return Array.from(this);
|
|
70
|
+
}
|
|
71
|
+
function B() {
|
|
72
|
+
var e = [];
|
|
73
|
+
return this.eachBefore(function(n) {
|
|
74
|
+
n.children || e.push(n);
|
|
75
|
+
}), e;
|
|
76
|
+
}
|
|
77
|
+
function k() {
|
|
78
|
+
var e = this, n = [];
|
|
79
|
+
return e.each(function(t) {
|
|
80
|
+
t !== e && n.push({ source: t.parent, target: t });
|
|
81
|
+
}), n;
|
|
82
|
+
}
|
|
83
|
+
function* N() {
|
|
84
|
+
var e = this, n, t = [e], i, r, o;
|
|
85
|
+
do
|
|
86
|
+
for (n = t.reverse(), t = []; e = n.pop(); )
|
|
87
|
+
if (yield e, i = e.children)
|
|
88
|
+
for (r = 0, o = i.length; r < o; ++r)
|
|
89
|
+
t.push(i[r]);
|
|
90
|
+
while (t.length);
|
|
91
|
+
}
|
|
92
|
+
function u(e, n) {
|
|
93
|
+
e instanceof Map ? (e = [void 0, e], n === void 0 && (n = D)) : n === void 0 && (n = j);
|
|
94
|
+
for (var t = new a(e), i, r = [t], o, h, s, c; i = r.pop(); )
|
|
95
|
+
if ((h = n(i.data)) && (c = (h = Array.from(h)).length))
|
|
96
|
+
for (i.children = h, s = c - 1; s >= 0; --s)
|
|
97
|
+
r.push(o = h[s] = new a(h[s])), o.parent = i, o.depth = i.depth + 1;
|
|
98
|
+
return t.eachBefore(M);
|
|
99
|
+
}
|
|
100
|
+
function C() {
|
|
101
|
+
return u(this).eachBefore(H);
|
|
102
|
+
}
|
|
103
|
+
function j(e) {
|
|
104
|
+
return e.children;
|
|
105
|
+
}
|
|
106
|
+
function D(e) {
|
|
107
|
+
return Array.isArray(e) ? e[1] : null;
|
|
108
|
+
}
|
|
109
|
+
function H(e) {
|
|
110
|
+
e.data.value !== void 0 && (e.value = e.data.value), e.data = e.data.data;
|
|
111
|
+
}
|
|
112
|
+
function M(e) {
|
|
113
|
+
var n = 0;
|
|
114
|
+
do
|
|
115
|
+
e.height = n;
|
|
116
|
+
while ((e = e.parent) && e.height < ++n);
|
|
117
|
+
}
|
|
118
|
+
function a(e) {
|
|
119
|
+
this.data = e, this.depth = this.height = 0, this.parent = null;
|
|
120
|
+
}
|
|
121
|
+
a.prototype = u.prototype = {
|
|
122
|
+
constructor: a,
|
|
123
|
+
count: f,
|
|
124
|
+
each: d,
|
|
125
|
+
eachAfter: v,
|
|
126
|
+
eachBefore: p,
|
|
127
|
+
find: w,
|
|
128
|
+
sum: g,
|
|
129
|
+
sort: _,
|
|
130
|
+
path: y,
|
|
131
|
+
ancestors: A,
|
|
132
|
+
descendants: x,
|
|
133
|
+
leaves: B,
|
|
134
|
+
links: k,
|
|
135
|
+
copy: C,
|
|
136
|
+
[Symbol.iterator]: N
|
|
137
|
+
};
|
|
138
|
+
export {
|
|
139
|
+
a as N,
|
|
140
|
+
M as c,
|
|
141
|
+
u as h
|
|
142
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as S } from "./url.LjsR2sB5.js";
|
|
2
|
-
import "./content-builder.
|
|
2
|
+
import "./content-builder.B4Tqoc6M.js";
|
|
3
3
|
import "./browser.BHOCIF_A.js";
|
|
4
4
|
import "./color.vLD2sNTs.js";
|
|
5
5
|
import "./modal.U1QltQKe.js";
|
|
@@ -10,21 +10,21 @@ import "./debounce.DaHuiSGU.js";
|
|
|
10
10
|
import "./default-value.COZopaet.js";
|
|
11
11
|
import "./drag.DXEXVXPv.js";
|
|
12
12
|
import "./event.mFzZi4sr.js";
|
|
13
|
-
import { f as x } from "./form.
|
|
14
|
-
import "./i18n.
|
|
13
|
+
import { f as x } from "./form.DgwYWi0O.js";
|
|
14
|
+
import "./i18n.C0iakJkV.js";
|
|
15
15
|
import "./math.DqTA6ya4.js";
|
|
16
16
|
import "./scroll.xtO5yojm.js";
|
|
17
|
-
import { j as M } from "./dom.
|
|
17
|
+
import { j as M } from "./dom.BQVKDNd8.js";
|
|
18
18
|
import "./slot.j5oheLJC.js";
|
|
19
19
|
import "./tabbable.CcMz3mIL.js";
|
|
20
20
|
import "./user-agent.D9aPuOyL.js";
|
|
21
|
-
import "./watch.
|
|
21
|
+
import "./watch.BCJD77bD.js";
|
|
22
22
|
import "./toast.BXNbwZV8.js";
|
|
23
23
|
import "./image.mbpyiQpQ.js";
|
|
24
24
|
import "./number.CjNxU7Xs.js";
|
|
25
25
|
import "./parse.Cu5nBDTb.js";
|
|
26
|
-
import "./responsive.
|
|
27
|
-
import "./string.
|
|
26
|
+
import "./responsive.DL-wBD4P.js";
|
|
27
|
+
import "./string.B_rEG27K.js";
|
|
28
28
|
import "./template.CsJd8Pb_.js";
|
|
29
29
|
import "./time.D_uFZqqe.js";
|
|
30
30
|
var d = /* @__PURE__ */ ((t) => (t.DoNothing = "do-nothing", t.DownloadAsset = "download-asset", t.ExpandAssetInFullScreen = "expand-asset-in-full-screen", t.OpenAssetOverview = "open-asset-overview", t.OpenLink = "open-link", t.OpenPage = "open-page", t.OpenSpace = "open-space", t.ShareAsset = "share-asset", t.ShowAssetInLibrary = "show-asset-in-library", t))(d || {}), b = /* @__PURE__ */ ((t) => (t.Bento = "bento", t.Carousel = "carousel", t.Grid = "grid", t.Ribbon = "ribbon", t))(b || {}), E = /* @__PURE__ */ ((t) => (t.Expand = "expand", t.Split = "split", t))(E || {}), L = /* @__PURE__ */ ((t) => (t.Api = "api", t.Manual = "manual", t))(L || {}), O = /* @__PURE__ */ ((t) => (t.Automatic = "automatic", t.Custom = "custom", t))(O || {}), f = /* @__PURE__ */ ((t) => (t.DoNothing = "do-nothing", t.OpenAssetInLibrary = "open-asset-in-library", t.OpenAssetOverview = "open-asset-overview", t.Zoom = "zoom", t))(f || {});
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
import { o as P } from "./accessors.BHk36ecy.js";
|
|
2
|
+
function Z() {
|
|
3
|
+
return 0;
|
|
4
|
+
}
|
|
5
|
+
function Q(r) {
|
|
6
|
+
return function() {
|
|
7
|
+
return r;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
const T = 1664525, U = 1013904223, D = 4294967296;
|
|
11
|
+
function V() {
|
|
12
|
+
let r = 1;
|
|
13
|
+
return () => (r = (T * r + U) % D) / D;
|
|
14
|
+
}
|
|
15
|
+
function X(r) {
|
|
16
|
+
return typeof r == "object" && "length" in r ? r : Array.from(r);
|
|
17
|
+
}
|
|
18
|
+
function Y(r, u) {
|
|
19
|
+
let n = r.length, e, t;
|
|
20
|
+
for (; n; )
|
|
21
|
+
t = u() * n-- | 0, e = r[n], r[n] = r[t], r[t] = e;
|
|
22
|
+
return r;
|
|
23
|
+
}
|
|
24
|
+
function $(r, u) {
|
|
25
|
+
for (var n = 0, e = (r = Y(Array.from(r), u)).length, t = [], i, f; n < e; )
|
|
26
|
+
i = r[n], f && K(f, i) ? ++n : (f = B(t = b(t, i)), n = 0);
|
|
27
|
+
return f;
|
|
28
|
+
}
|
|
29
|
+
function b(r, u) {
|
|
30
|
+
var n, e;
|
|
31
|
+
if (R(u, r)) return [u];
|
|
32
|
+
for (n = 0; n < r.length; ++n)
|
|
33
|
+
if (_(u, r[n]) && R(h(r[n], u), r))
|
|
34
|
+
return [r[n], u];
|
|
35
|
+
for (n = 0; n < r.length - 1; ++n)
|
|
36
|
+
for (e = n + 1; e < r.length; ++e)
|
|
37
|
+
if (_(h(r[n], r[e]), u) && _(h(r[n], u), r[e]) && _(h(r[e], u), r[n]) && R(O(r[n], r[e], u), r))
|
|
38
|
+
return [r[n], r[e], u];
|
|
39
|
+
throw new Error();
|
|
40
|
+
}
|
|
41
|
+
function _(r, u) {
|
|
42
|
+
var n = r.r - u.r, e = u.x - r.x, t = u.y - r.y;
|
|
43
|
+
return n < 0 || n * n < e * e + t * t;
|
|
44
|
+
}
|
|
45
|
+
function K(r, u) {
|
|
46
|
+
var n = r.r - u.r + Math.max(r.r, u.r, 1) * 1e-9, e = u.x - r.x, t = u.y - r.y;
|
|
47
|
+
return n > 0 && n * n > e * e + t * t;
|
|
48
|
+
}
|
|
49
|
+
function R(r, u) {
|
|
50
|
+
for (var n = 0; n < u.length; ++n)
|
|
51
|
+
if (!K(r, u[n]))
|
|
52
|
+
return !1;
|
|
53
|
+
return !0;
|
|
54
|
+
}
|
|
55
|
+
function B(r) {
|
|
56
|
+
switch (r.length) {
|
|
57
|
+
case 1:
|
|
58
|
+
return rr(r[0]);
|
|
59
|
+
case 2:
|
|
60
|
+
return h(r[0], r[1]);
|
|
61
|
+
case 3:
|
|
62
|
+
return O(r[0], r[1], r[2]);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
function rr(r) {
|
|
66
|
+
return {
|
|
67
|
+
x: r.x,
|
|
68
|
+
y: r.y,
|
|
69
|
+
r: r.r
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
function h(r, u) {
|
|
73
|
+
var n = r.x, e = r.y, t = r.r, i = u.x, f = u.y, s = u.r, o = i - n, a = f - e, x = s - t, y = Math.sqrt(o * o + a * a);
|
|
74
|
+
return {
|
|
75
|
+
x: (n + i + o / y * x) / 2,
|
|
76
|
+
y: (e + f + a / y * x) / 2,
|
|
77
|
+
r: (y + t + s) / 2
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
function O(r, u, n) {
|
|
81
|
+
var e = r.x, t = r.y, i = r.r, f = u.x, s = u.y, o = u.r, a = n.x, x = n.y, y = n.r, c = e - f, M = e - a, A = t - s, k = t - x, E = o - i, N = y - i, W = e * e + t * t - i * i, z = W - f * f - s * s + o * o, L = W - a * a - x * x + y * y, l = M * A - c * k, d = (A * L - k * z) / (l * 2) - e, v = (k * E - A * N) / l, g = (M * z - c * L) / (l * 2) - t, m = (c * N - M * E) / l, q = v * v + m * m - 1, p = 2 * (i + d * v + g * m), S = d * d + g * g - i * i, j = -(Math.abs(q) > 1e-6 ? (p + Math.sqrt(p * p - 4 * q * S)) / (2 * q) : S / p);
|
|
82
|
+
return {
|
|
83
|
+
x: e + d + v * j,
|
|
84
|
+
y: t + g + m * j,
|
|
85
|
+
r: j
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
function F(r, u, n) {
|
|
89
|
+
var e = r.x - u.x, t, i, f = r.y - u.y, s, o, a = e * e + f * f;
|
|
90
|
+
a ? (i = u.r + n.r, i *= i, o = r.r + n.r, o *= o, i > o ? (t = (a + o - i) / (2 * a), s = Math.sqrt(Math.max(0, o / a - t * t)), n.x = r.x - t * e - s * f, n.y = r.y - t * f + s * e) : (t = (a + i - o) / (2 * a), s = Math.sqrt(Math.max(0, i / a - t * t)), n.x = u.x + t * e - s * f, n.y = u.y + t * f + s * e)) : (n.x = u.x + n.r, n.y = u.y);
|
|
91
|
+
}
|
|
92
|
+
function G(r, u) {
|
|
93
|
+
var n = r.r + u.r - 1e-6, e = u.x - r.x, t = u.y - r.y;
|
|
94
|
+
return n > 0 && n * n > e * e + t * t;
|
|
95
|
+
}
|
|
96
|
+
function H(r) {
|
|
97
|
+
var u = r._, n = r.next._, e = u.r + n.r, t = (u.x * n.r + n.x * u.r) / e, i = (u.y * n.r + n.y * u.r) / e;
|
|
98
|
+
return t * t + i * i;
|
|
99
|
+
}
|
|
100
|
+
function w(r) {
|
|
101
|
+
this._ = r, this.next = null, this.previous = null;
|
|
102
|
+
}
|
|
103
|
+
function nr(r, u) {
|
|
104
|
+
if (!(i = (r = X(r)).length)) return 0;
|
|
105
|
+
var n, e, t, i, f, s, o, a, x, y, c;
|
|
106
|
+
if (n = r[0], n.x = 0, n.y = 0, !(i > 1)) return n.r;
|
|
107
|
+
if (e = r[1], n.x = -e.r, e.x = n.r, e.y = 0, !(i > 2)) return n.r + e.r;
|
|
108
|
+
F(e, n, t = r[2]), n = new w(n), e = new w(e), t = new w(t), n.next = t.previous = e, e.next = n.previous = t, t.next = e.previous = n;
|
|
109
|
+
r: for (o = 3; o < i; ++o) {
|
|
110
|
+
F(n._, e._, t = r[o]), t = new w(t), a = e.next, x = n.previous, y = e._.r, c = n._.r;
|
|
111
|
+
do
|
|
112
|
+
if (y <= c) {
|
|
113
|
+
if (G(a._, t._)) {
|
|
114
|
+
e = a, n.next = e, e.previous = n, --o;
|
|
115
|
+
continue r;
|
|
116
|
+
}
|
|
117
|
+
y += a._.r, a = a.next;
|
|
118
|
+
} else {
|
|
119
|
+
if (G(x._, t._)) {
|
|
120
|
+
n = x, n.next = e, e.previous = n, --o;
|
|
121
|
+
continue r;
|
|
122
|
+
}
|
|
123
|
+
c += x._.r, x = x.previous;
|
|
124
|
+
}
|
|
125
|
+
while (a !== x.next);
|
|
126
|
+
for (t.previous = n, t.next = e, n.next = e.previous = e = t, f = H(n); (t = t.next) !== e; )
|
|
127
|
+
(s = H(t)) < f && (n = t, f = s);
|
|
128
|
+
e = n.next;
|
|
129
|
+
}
|
|
130
|
+
for (n = [e._], t = e; (t = t.next) !== e; ) n.push(t._);
|
|
131
|
+
for (t = $(n, u), o = 0; o < i; ++o) n = r[o], n.x -= t.x, n.y -= t.y;
|
|
132
|
+
return t.r;
|
|
133
|
+
}
|
|
134
|
+
function tr(r) {
|
|
135
|
+
return Math.sqrt(r.value);
|
|
136
|
+
}
|
|
137
|
+
function ur() {
|
|
138
|
+
var r = null, u = 1, n = 1, e = Z;
|
|
139
|
+
function t(i) {
|
|
140
|
+
const f = V();
|
|
141
|
+
return i.x = u / 2, i.y = n / 2, r ? i.eachBefore(I(r)).eachAfter(C(e, 0.5, f)).eachBefore(J(1)) : i.eachBefore(I(tr)).eachAfter(C(Z, 1, f)).eachAfter(C(e, i.r / Math.min(u, n), f)).eachBefore(J(Math.min(u, n) / (2 * i.r))), i;
|
|
142
|
+
}
|
|
143
|
+
return t.radius = function(i) {
|
|
144
|
+
return arguments.length ? (r = P(i), t) : r;
|
|
145
|
+
}, t.size = function(i) {
|
|
146
|
+
return arguments.length ? (u = +i[0], n = +i[1], t) : [u, n];
|
|
147
|
+
}, t.padding = function(i) {
|
|
148
|
+
return arguments.length ? (e = typeof i == "function" ? i : Q(+i), t) : e;
|
|
149
|
+
}, t;
|
|
150
|
+
}
|
|
151
|
+
function I(r) {
|
|
152
|
+
return function(u) {
|
|
153
|
+
u.children || (u.r = Math.max(0, +r(u) || 0));
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
function C(r, u, n) {
|
|
157
|
+
return function(e) {
|
|
158
|
+
if (t = e.children) {
|
|
159
|
+
var t, i, f = t.length, s = r(e) * u || 0, o;
|
|
160
|
+
if (s) for (i = 0; i < f; ++i) t[i].r += s;
|
|
161
|
+
if (o = nr(t, n), s) for (i = 0; i < f; ++i) t[i].r -= s;
|
|
162
|
+
e.r = o + s;
|
|
163
|
+
}
|
|
164
|
+
};
|
|
165
|
+
}
|
|
166
|
+
function J(r) {
|
|
167
|
+
return function(u) {
|
|
168
|
+
var n = u.parent;
|
|
169
|
+
u.r *= r, n && (u.x = n.x + r * u.x, u.y = n.y + r * u.y);
|
|
170
|
+
};
|
|
171
|
+
}
|
|
172
|
+
export {
|
|
173
|
+
Q as a,
|
|
174
|
+
Z as c,
|
|
175
|
+
ur as i
|
|
176
|
+
};
|