@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,34 @@
|
|
|
1
|
+
var f = typeof global == "object" && global && global.Object === Object && global, l = typeof self == "object" && self && self.Object === Object && self, g = f || l || Function("return this")(), n = g.Symbol, a = Object.prototype, s = a.hasOwnProperty, j = a.toString, e = n ? n.toStringTag : void 0;
|
|
2
|
+
function u(t) {
|
|
3
|
+
var r = s.call(t, e), i = t[e];
|
|
4
|
+
try {
|
|
5
|
+
t[e] = void 0;
|
|
6
|
+
var c = !0;
|
|
7
|
+
} catch {
|
|
8
|
+
}
|
|
9
|
+
var b = j.call(t);
|
|
10
|
+
return c && (r ? t[e] = i : delete t[e]), b;
|
|
11
|
+
}
|
|
12
|
+
var y = Object.prototype, O = y.toString;
|
|
13
|
+
function d(t) {
|
|
14
|
+
return O.call(t);
|
|
15
|
+
}
|
|
16
|
+
var S = "[object Null]", T = "[object Undefined]", o = n ? n.toStringTag : void 0;
|
|
17
|
+
function v(t) {
|
|
18
|
+
return t == null ? t === void 0 ? T : S : o && o in Object(t) ? u(t) : d(t);
|
|
19
|
+
}
|
|
20
|
+
function h(t) {
|
|
21
|
+
var r = typeof t;
|
|
22
|
+
return t != null && (r == "object" || r == "function");
|
|
23
|
+
}
|
|
24
|
+
function m(t) {
|
|
25
|
+
return t != null && typeof t == "object";
|
|
26
|
+
}
|
|
27
|
+
export {
|
|
28
|
+
n as S,
|
|
29
|
+
h as a,
|
|
30
|
+
v as b,
|
|
31
|
+
f,
|
|
32
|
+
m as i,
|
|
33
|
+
g as r
|
|
34
|
+
};
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { E as d, ab as z, e as p, aL as y, y as c, T as o, az as b, f as S, P as m, bq as u, a as O, a9 as x, z as h } from "./am-chart.oZVBmpnn.js";
|
|
2
|
+
import { bs as C } from "./am-chart.oZVBmpnn.js";
|
|
3
|
+
import { G as k } from "./Gradient.BrDBLm8v.js";
|
|
4
|
+
class _ extends d {
|
|
5
|
+
constructor() {
|
|
6
|
+
super(...arguments), this._refs = {};
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Serializes target object into a simple object or JSON string.
|
|
10
|
+
*
|
|
11
|
+
* @param source Target object
|
|
12
|
+
* @param depth Current depth
|
|
13
|
+
* @param full Serialize object in full (ignoring maxDepth)
|
|
14
|
+
* @param forceParse If true, will add __parse to serialized objects
|
|
15
|
+
* @return Serialized data
|
|
16
|
+
*/
|
|
17
|
+
serialize(e, i = 0, a = !1, r = !1) {
|
|
18
|
+
if (i > this.get("maxDepth", 2))
|
|
19
|
+
return;
|
|
20
|
+
if (e === !1 || e === !0)
|
|
21
|
+
return e;
|
|
22
|
+
if (z(e)) {
|
|
23
|
+
const n = [];
|
|
24
|
+
return p(e, (s) => {
|
|
25
|
+
n.push(this.serialize(s, i, a, r));
|
|
26
|
+
}), n;
|
|
27
|
+
} else if (e instanceof y) {
|
|
28
|
+
const n = [];
|
|
29
|
+
return p(e.values, (s) => {
|
|
30
|
+
n.push(this.serialize(s, i, a, r));
|
|
31
|
+
}), n;
|
|
32
|
+
}
|
|
33
|
+
const t = {}, g = e instanceof d || e instanceof o || e instanceof S || e instanceof m, l = this.get("fullSettings", []);
|
|
34
|
+
if (e instanceof d) {
|
|
35
|
+
t.type = e.className;
|
|
36
|
+
let n = this._filterSettings(c(e._settings));
|
|
37
|
+
n = n.filter((s) => e.isUserSetting(s)), n.length && (t.settings = {}, p(n, (s) => {
|
|
38
|
+
const f = e.get(s);
|
|
39
|
+
f !== void 0 && (t.settings[s] = this.serialize(f, i + 1, a || l.indexOf(s) !== -1), e instanceof k && s === "stops" && (t.settings[s] = this.serialize(f, 0, !0)));
|
|
40
|
+
})), this._processAdapters(e, t), this._processStates(e, t);
|
|
41
|
+
} else if (e instanceof o) {
|
|
42
|
+
t.type = "Template";
|
|
43
|
+
let n = this._filterSettings(c(e._settings));
|
|
44
|
+
return n.length && (t.settings = {}, p(n, (s) => {
|
|
45
|
+
e._settings[s] !== void 0 && (t.settings[s] = this.serialize(e.get(s), i + 1, l.indexOf(s) !== -1));
|
|
46
|
+
})), this._processAdapters(e, t), this._processStates(e, t), t;
|
|
47
|
+
}
|
|
48
|
+
if (e instanceof b && e.data.length && (this.get("excludeProperties") || []).indexOf("data") === -1 && (t.properties = {
|
|
49
|
+
data: this.serialize(e.data.values, i, !0)
|
|
50
|
+
}), e instanceof S)
|
|
51
|
+
return {
|
|
52
|
+
type: "Color",
|
|
53
|
+
value: e.toCSSHex()
|
|
54
|
+
};
|
|
55
|
+
if (e instanceof m)
|
|
56
|
+
return {
|
|
57
|
+
type: "Percent",
|
|
58
|
+
value: e.percent
|
|
59
|
+
};
|
|
60
|
+
if (u(e))
|
|
61
|
+
return this._escapeRefs(e);
|
|
62
|
+
if (O(e))
|
|
63
|
+
return e;
|
|
64
|
+
if (x(e)) {
|
|
65
|
+
if (a && !g) {
|
|
66
|
+
const n = this.get("excludeProperties", []);
|
|
67
|
+
h(e, (s, f) => {
|
|
68
|
+
n.indexOf(s) === -1 && f !== void 0 && (t[s] = this.serialize(f, i + 1, a, r));
|
|
69
|
+
}), r && h(t, (s, f) => {
|
|
70
|
+
x(f) && (t.__parse = !0);
|
|
71
|
+
});
|
|
72
|
+
} else if (g) {
|
|
73
|
+
const n = this.get("includeProperties", []);
|
|
74
|
+
p(n, (s) => {
|
|
75
|
+
const f = e[s];
|
|
76
|
+
f !== void 0 && (t.properties === void 0 && (t.properties = {}), t.properties[s] = this.serialize(f, i + 1, a, r));
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
return i == 0 && c(this._refs).length && (t.refs = this._refs), t;
|
|
81
|
+
}
|
|
82
|
+
_processAdapters(e, i) {
|
|
83
|
+
if (this.get("includeAdapters", !1)) {
|
|
84
|
+
const a = this.get("functionsAs", "string") == "string", r = e.adapters._callbacks;
|
|
85
|
+
Object.keys(r).length > 0 && (i.adapters = [], h(r, (t, g) => {
|
|
86
|
+
g.forEach((l) => {
|
|
87
|
+
i.adapters.push({
|
|
88
|
+
key: t,
|
|
89
|
+
callback: a ? l.toString() : l
|
|
90
|
+
});
|
|
91
|
+
});
|
|
92
|
+
}));
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
_processStates(e, i) {
|
|
96
|
+
if (this.get("includeStates", !1)) {
|
|
97
|
+
const a = e.states._states;
|
|
98
|
+
Object.keys(a).length > 0 && (i.states = [], h(a, (r, t) => {
|
|
99
|
+
Object.keys(t._settings).length > 0 && i.states.push({
|
|
100
|
+
key: r,
|
|
101
|
+
settings: this.serialize(t._settings, 0, !0)
|
|
102
|
+
});
|
|
103
|
+
}));
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
_filterSettings(e) {
|
|
107
|
+
const i = this.get("includeSettings", []), a = this.get("excludeSettings", []);
|
|
108
|
+
return i.length ? e = i : a.length && (e = e.filter((r) => a.indexOf(r) === -1)), e;
|
|
109
|
+
}
|
|
110
|
+
_escapeRefs(e) {
|
|
111
|
+
return e.replace(/^#/, "##").replace(/^@/, "@@");
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
_.className = "Serializer";
|
|
115
|
+
_.classNames = d.classNames.concat([_.className]);
|
|
116
|
+
export {
|
|
117
|
+
C as JsonParser,
|
|
118
|
+
_ as Serializer
|
|
119
|
+
};
|