@orangelogic/design-system 4.42.0 → 4.44.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/{block-width.Di5s5CkQ.js → block-width.C8ZYNXqu.js} +3 -3
- package/library/chunks/{color-swatch-group.CZx1bZyC.js → color-swatch-group.ujgqmTBa.js} +16 -3
- package/library/chunks/{config-manager.h-KN_Efl.js → config-manager.CET2acz0.js} +2 -2
- package/library/chunks/{configs-controller.Cm21QV6C.js → configs-controller.zTcocCxo.js} +1 -1
- package/library/chunks/{markdown.CrAalbNm.js → markdown.Evcme-Lw.js} +566 -566
- package/library/chunks/{src.fE9Cl6UM.js → src.CkVx3FOe.js} +1 -1
- package/library/components/atoms.js +2 -2
- package/library/components/color-swatch-group.js +1 -1
- package/library/components/markdown.js +1 -1
- package/library/components/organisms.js +1 -1
- package/library/components/types.js +11863 -11773
- package/library/package.json +1 -1
- package/library/packages/hybrid/table-core/src/tabulator-tables/core/tools/Alert.d.ts +4 -0
- package/library/packages/hybrid/video-advanced/src/react/plugins/CommentLine/CommentLine.d.ts +2 -0
- package/library/packages/hybrid/video-advanced/src/react/type.d.ts +2 -0
- package/library/packages/hybrid/video-advanced/src/video-advanced/video-advanced.d.ts +2 -2
- package/library/packages/molecules/src/markdown-viewer/markdown-viewer.d.ts +5 -1
- package/library/packages/molecules/src/markdown-viewer/prism-global.d.ts +1 -0
- package/library/packages/molecules/src/markdown-viewer/prism-global.mock.d.ts +2 -0
- package/library/packages/organisms/src/capacity-planner/components/capacity-week-bar/capacity-week-bar.d.ts +60 -8
- package/library/react-web-component.d.ts +1 -1
- package/package.json +1 -1
|
@@ -15,7 +15,7 @@ import { t as y } from "./when.BUskJLtZ.js";
|
|
|
15
15
|
import { t as ie } from "./icon.CeQpEaQz.js";
|
|
16
16
|
import { t as ae } from "./spinner.DsWszid8.js";
|
|
17
17
|
import { n as oe } from "./tslib.es6.DJNsMHqv.js";
|
|
18
|
-
import { t as se } from "./src.
|
|
18
|
+
import { t as se } from "./src.CkVx3FOe.js";
|
|
19
19
|
import { t as ce } from "./style-map.DPGQIxip.js";
|
|
20
20
|
import { t as b } from "./button.DnOMjl_G.js";
|
|
21
21
|
import { E as x, S as le, r as ue } from "./string.DAuTpyw8.js";
|
|
@@ -80,8 +80,8 @@ import { t as Ft } from "./position-picker.DzRyAx7a.js";
|
|
|
80
80
|
import { t as It } from "./shadow-input-group.CaCaO1C9.js";
|
|
81
81
|
import { t as Lt } from "./size-input-group.Ciupfrja.js";
|
|
82
82
|
import { C as Rt, S as zt, T as Bt, _ as Vt, b as Ht, c as Ut, f as Wt, g as Gt, h as Kt, i as qt, l as Jt, n as Yt, o as Xt, p as Zt, r as Qt, s as P, t as $t, u as en, v as tn, w as nn, x as rn, y as an } from "./asset-link-format.P8WKO488.js";
|
|
83
|
-
import { c as on, d as sn, f as cn, n as ln, u as un } from "./color-swatch-group.
|
|
84
|
-
import { $ as dn, E as fn, G as pn, H as mn, K as hn, L as gn, M as F, Q as I, S as _n, U as vn, V as yn, W as bn, Z as xn, et as L, g as Sn, h as Cn, tt as wn, y as Tn } from "./configs-controller.
|
|
83
|
+
import { c as on, d as sn, f as cn, n as ln, u as un } from "./color-swatch-group.ujgqmTBa.js";
|
|
84
|
+
import { $ as dn, E as fn, G as pn, H as mn, K as hn, L as gn, M as F, Q as I, S as _n, U as vn, V as yn, W as bn, Z as xn, et as L, g as Sn, h as Cn, tt as wn, y as Tn } from "./configs-controller.zTcocCxo.js";
|
|
85
85
|
import { a as En } from "./cloneDeep.C6x5LNv3.js";
|
|
86
86
|
//#region ../../packages/types/src/icon-picker.ts
|
|
87
87
|
var Dn = /* @__PURE__ */ function(e) {
|
|
@@ -14375,7 +14375,7 @@ var Zc = process.env.NODE_ENV === "development", Qc = 2e3, $c = 1e3, el = "data-
|
|
|
14375
14375
|
}
|
|
14376
14376
|
}, _l = class extends H {
|
|
14377
14377
|
constructor(e) {
|
|
14378
|
-
super(e), this.type = null, this.element = this._createAlertElement(), this.msgElement = this._createMsgElement(), this.element.appendChild(this.msgElement);
|
|
14378
|
+
super(e), this.type = null, this.loadingWidthObserver = null, this.loadingWidthCleanupSubscribed = !1, this.element = this._createAlertElement(), this.msgElement = this._createMsgElement(), this.element.appendChild(this.msgElement);
|
|
14379
14379
|
}
|
|
14380
14380
|
_createAlertElement() {
|
|
14381
14381
|
let e = document.createElement("div");
|
|
@@ -14393,11 +14393,24 @@ var Zc = process.env.NODE_ENV === "development", Qc = 2e3, $c = 1e3, el = "data-
|
|
|
14393
14393
|
for (this.clear(), this.dispatch("alert-show", t), this.type = t; this.msgElement.firstChild;) this.msgElement.removeChild(this.msgElement.firstChild);
|
|
14394
14394
|
this.element.classList.add(this._typeClass()), this.msgElement.classList.add(this._typeClass());
|
|
14395
14395
|
let n;
|
|
14396
|
-
n = typeof e == "function" ? e() : e, n instanceof HTMLElement ? this.msgElement.appendChild(n) : this.msgElement.innerHTML = A(String(n)), this.table.element.appendChild(this.element);
|
|
14396
|
+
n = typeof e == "function" ? e() : e, n instanceof HTMLElement ? this.msgElement.appendChild(n) : this.msgElement.innerHTML = A(String(n)), this.table.element.appendChild(this.element), t === "loading" && this.observeLoadingWidth();
|
|
14397
14397
|
}
|
|
14398
14398
|
}
|
|
14399
|
+
observeLoadingWidth() {
|
|
14400
|
+
this.loadingWidthCleanupSubscribed ||= (this.subscribe("table-destroy", () => this.disconnectLoadingWidthObserver()), !0);
|
|
14401
|
+
let e = this.table.columnManager?.getElement();
|
|
14402
|
+
if (!e) return;
|
|
14403
|
+
let t = () => {
|
|
14404
|
+
let t = e.getBoundingClientRect().width;
|
|
14405
|
+
t > 0 ? this.element.style.width = `${t}px` : this.element.style.removeProperty("width");
|
|
14406
|
+
};
|
|
14407
|
+
t(), typeof ResizeObserver < "u" && (this.loadingWidthObserver = new ResizeObserver(t), this.loadingWidthObserver.observe(e));
|
|
14408
|
+
}
|
|
14409
|
+
disconnectLoadingWidthObserver() {
|
|
14410
|
+
this.loadingWidthObserver?.disconnect(), this.loadingWidthObserver = null;
|
|
14411
|
+
}
|
|
14399
14412
|
clear() {
|
|
14400
|
-
this.dispatch("alert-hide", this.type), this.element.parentNode && this.element.parentNode.removeChild(this.element), this.element.classList.remove(this._typeClass()), this.msgElement.classList.remove(this._typeClass()), this.type = null;
|
|
14413
|
+
this.disconnectLoadingWidthObserver(), this.element.style.removeProperty("width"), this.dispatch("alert-hide", this.type), this.element.parentNode && this.element.parentNode.removeChild(this.element), this.element.classList.remove(this._typeClass()), this.msgElement.classList.remove(this._typeClass()), this.type = null;
|
|
14401
14414
|
}
|
|
14402
14415
|
}, vl = process.env.NODE_ENV === "development", yl = class {
|
|
14403
14416
|
constructor(e) {
|
|
@@ -14,7 +14,7 @@ import { t as b } from "./style-map.DPGQIxip.js";
|
|
|
14
14
|
import { t as x } from "./button.DnOMjl_G.js";
|
|
15
15
|
import { t as ee } from "./tooltip.DWx9VYtS.js";
|
|
16
16
|
import { t as te } from "./line-clamp.B7QEzpUF.js";
|
|
17
|
-
import { C as ne, D as re, E as ie, O as ae, S as oe, T as se, _ as ce, a as le, b as ue, c as de, g as fe, i as pe, l as me, n as he, o as ge, s as S, t as C, v as w, w as T, x as E, y as D } from "./block-width.
|
|
17
|
+
import { C as ne, D as re, E as ie, O as ae, S as oe, T as se, _ as ce, a as le, b as ue, c as de, g as fe, i as pe, l as me, n as he, o as ge, s as S, t as C, v as w, w as T, x as E, y as D } from "./block-width.C8ZYNXqu.js";
|
|
18
18
|
import { t as O } from "./typography.B0mkhqTB.js";
|
|
19
19
|
import { t as k } from "./button-group.CPfXrqyq.js";
|
|
20
20
|
import { t as A } from "./card.3c-X4hqR.js";
|
|
@@ -63,7 +63,7 @@ import { T as K } from "./asset-link-format.P8WKO488.js";
|
|
|
63
63
|
import { n as Qe } from "./_baseXor.Ca5K0ORC.js";
|
|
64
64
|
import { n as $e, s as et, t as q } from "./isArrayLikeObject.Da3IzQeH.js";
|
|
65
65
|
import { i as tt } from "./_baseClone.CnI5Vpqn.js";
|
|
66
|
-
import { E as nt, l as J, s as rt, t as it } from "./configs-controller.
|
|
66
|
+
import { E as nt, l as J, s as rt, t as it } from "./configs-controller.zTcocCxo.js";
|
|
67
67
|
import { t as at } from "./isEmpty.D3QQduJ5.js";
|
|
68
68
|
import { i as ot } from "./cloneDeep.C6x5LNv3.js";
|
|
69
69
|
//#region ../../node_modules/lodash-es/difference.js
|
|
@@ -17,7 +17,7 @@ import { r as x } from "./asset-link-format.COPyGdND.js";
|
|
|
17
17
|
import { n as be, r as xe } from "./header.NoiopyyV.js";
|
|
18
18
|
import { c as Se, f as Ce, p as S, s as C, u as w } from "./string-array.Dstcqyjm.js";
|
|
19
19
|
import { n as we } from "./folder-select.B02Mdr8b.js";
|
|
20
|
-
import { a as T, i as E, o as D, r as O, s as Te } from "./color-swatch-group.
|
|
20
|
+
import { a as T, i as E, o as D, r as O, s as Te } from "./color-swatch-group.ujgqmTBa.js";
|
|
21
21
|
import { n as Ee } from "./isEmpty.D3QQduJ5.js";
|
|
22
22
|
import { a as k } from "./cloneDeep.C6x5LNv3.js";
|
|
23
23
|
//#region ../../packages/services/src/api/dashboard/dashboard.ts
|