@octans/ui 1.3.0 → 1.5.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/dist/components/Card/CardSection.vue.d.ts +35 -0
- package/dist/components/Filters/Filters.vue.d.ts +2 -9
- package/dist/components/Sheet/Sheet.vue.d.ts +3 -4
- package/dist/components/Sheet/types.d.ts +24 -5
- package/dist/style.css +1 -1
- package/dist/ui.js +346 -188
- package/dist/ui.umd.js +4 -4
- package/dist/utils/tokenUsage.d.ts +11 -0
- package/dist/utils/tokens.d.ts +1 -1
- package/package.json +4 -2
package/dist/ui.js
CHANGED
|
@@ -4950,7 +4950,11 @@ var cs = {
|
|
|
4950
4950
|
width: i,
|
|
4951
4951
|
height: i,
|
|
4952
4952
|
...o,
|
|
4953
|
-
class: [
|
|
4953
|
+
class: [
|
|
4954
|
+
t.icon,
|
|
4955
|
+
!e.size && t.themeSized,
|
|
4956
|
+
a
|
|
4957
|
+
]
|
|
4954
4958
|
});
|
|
4955
4959
|
};
|
|
4956
4960
|
return () => {
|
|
@@ -4971,12 +4975,13 @@ var cs = {
|
|
|
4971
4975
|
};
|
|
4972
4976
|
}
|
|
4973
4977
|
}), fs = {
|
|
4974
|
-
icon: "
|
|
4975
|
-
|
|
4976
|
-
|
|
4977
|
-
|
|
4978
|
-
|
|
4979
|
-
|
|
4978
|
+
icon: "_icon_1wljv_2",
|
|
4979
|
+
themeSized: "_themeSized_1wljv_15",
|
|
4980
|
+
wrapper: "_wrapper_1wljv_20",
|
|
4981
|
+
overlay: "_overlay_1wljv_25",
|
|
4982
|
+
faded: "_faded_1wljv_31",
|
|
4983
|
+
contained: "_contained_1wljv_35",
|
|
4984
|
+
badge: "_badge_1wljv_48"
|
|
4980
4985
|
}, J = (e, t) => {
|
|
4981
4986
|
let n = e.__vccOpts || e;
|
|
4982
4987
|
for (let [e, r] of t) n[e] = r;
|
|
@@ -9604,18 +9609,18 @@ var bm = ["aria-label", "data-ui-tooltip"], xm = /*#__PURE__*/ J(/* @__PURE__ */
|
|
|
9604
9609
|
};
|
|
9605
9610
|
}
|
|
9606
9611
|
}), [["__cssModules", { $style: {
|
|
9607
|
-
Badge: "
|
|
9608
|
-
pip: "
|
|
9609
|
-
statusInfo: "
|
|
9610
|
-
statusSuccess: "
|
|
9611
|
-
statusWarning: "
|
|
9612
|
-
statusAttention: "
|
|
9613
|
-
statusError: "
|
|
9614
|
-
statusNew: "
|
|
9615
|
-
progressIncomplete: "
|
|
9616
|
-
progressPartiallyComplete: "
|
|
9617
|
-
progressComplete: "
|
|
9618
|
-
sizeSmall: "
|
|
9612
|
+
Badge: "_Badge_1n011_2",
|
|
9613
|
+
pip: "_pip_1n011_13",
|
|
9614
|
+
statusInfo: "_statusInfo_1n011_35",
|
|
9615
|
+
statusSuccess: "_statusSuccess_1n011_43",
|
|
9616
|
+
statusWarning: "_statusWarning_1n011_51",
|
|
9617
|
+
statusAttention: "_statusAttention_1n011_52",
|
|
9618
|
+
statusError: "_statusError_1n011_61",
|
|
9619
|
+
statusNew: "_statusNew_1n011_69",
|
|
9620
|
+
progressIncomplete: "_progressIncomplete_1n011_79",
|
|
9621
|
+
progressPartiallyComplete: "_progressPartiallyComplete_1n011_83",
|
|
9622
|
+
progressComplete: "_progressComplete_1n011_87",
|
|
9623
|
+
sizeSmall: "_sizeSmall_1n011_91"
|
|
9619
9624
|
} }]]), wm = y({
|
|
9620
9625
|
components: {
|
|
9621
9626
|
Icon: Y,
|
|
@@ -9636,18 +9641,19 @@ var bm = ["aria-label", "data-ui-tooltip"], xm = /*#__PURE__*/ J(/* @__PURE__ */
|
|
|
9636
9641
|
this.$emit("close");
|
|
9637
9642
|
} }
|
|
9638
9643
|
}), Tm = {
|
|
9639
|
-
Banner: "
|
|
9640
|
-
Icon: "
|
|
9641
|
-
content: "
|
|
9642
|
-
|
|
9643
|
-
|
|
9644
|
-
|
|
9645
|
-
"status-
|
|
9646
|
-
"status-
|
|
9647
|
-
"status-
|
|
9648
|
-
"status-
|
|
9649
|
-
"status-
|
|
9650
|
-
"status-
|
|
9644
|
+
Banner: "_Banner_r0ruf_2",
|
|
9645
|
+
Icon: "_Icon_r0ruf_9",
|
|
9646
|
+
content: "_content_r0ruf_14",
|
|
9647
|
+
info: "_info_r0ruf_33",
|
|
9648
|
+
title: "_title_r0ruf_37",
|
|
9649
|
+
close: "_close_r0ruf_42",
|
|
9650
|
+
"status-default": "_status-default_r0ruf_62",
|
|
9651
|
+
"status-info": "_status-info_r0ruf_68",
|
|
9652
|
+
"status-success": "_status-success_r0ruf_74",
|
|
9653
|
+
"status-warning": "_status-warning_r0ruf_80",
|
|
9654
|
+
"status-attention": "_status-attention_r0ruf_81",
|
|
9655
|
+
"status-error": "_status-error_r0ruf_87",
|
|
9656
|
+
"status-new": "_status-new_r0ruf_93"
|
|
9651
9657
|
};
|
|
9652
9658
|
//#endregion
|
|
9653
9659
|
//#region src/components/Banner/Banner.vue
|
|
@@ -10396,13 +10402,13 @@ var Um = /*#__PURE__*/ J(y({
|
|
|
10396
10402
|
subdued: { type: Boolean }
|
|
10397
10403
|
}
|
|
10398
10404
|
}), [["__cssModules", { $style: {
|
|
10399
|
-
Card: "
|
|
10400
|
-
header: "
|
|
10401
|
-
actions: "
|
|
10402
|
-
action: "
|
|
10403
|
-
title: "
|
|
10404
|
-
title__custom: "
|
|
10405
|
-
subdued: "
|
|
10405
|
+
Card: "_Card_25mga_2",
|
|
10406
|
+
header: "_header_25mga_24",
|
|
10407
|
+
actions: "_actions_25mga_30",
|
|
10408
|
+
action: "_action_25mga_30",
|
|
10409
|
+
title: "_title_25mga_38",
|
|
10410
|
+
title__custom: "_title__custom_25mga_45",
|
|
10411
|
+
subdued: "_subdued_25mga_51"
|
|
10406
10412
|
} }]]), Wm = /*#__PURE__*/ J(y({
|
|
10407
10413
|
name: "CardSection",
|
|
10408
10414
|
setup(e, { slots: t }) {
|
|
@@ -10415,7 +10421,8 @@ var Um = /*#__PURE__*/ J(y({
|
|
|
10415
10421
|
n.CardSection,
|
|
10416
10422
|
e.subdued && n.subdued,
|
|
10417
10423
|
r && n.CardSection__header,
|
|
10418
|
-
|
|
10424
|
+
e.flush && n.CardSection__flush,
|
|
10425
|
+
!e.padded && !e.flush && n.CardSection__noPadding
|
|
10419
10426
|
],
|
|
10420
10427
|
"data-card-section": !0
|
|
10421
10428
|
}, [r, t.default && t.default()]);
|
|
@@ -10429,18 +10436,20 @@ var Um = /*#__PURE__*/ J(y({
|
|
|
10429
10436
|
padded: {
|
|
10430
10437
|
type: Boolean,
|
|
10431
10438
|
default: !0
|
|
10432
|
-
}
|
|
10439
|
+
},
|
|
10440
|
+
flush: { type: Boolean }
|
|
10433
10441
|
}
|
|
10434
10442
|
}), [["__cssModules", { $style: {
|
|
10435
|
-
CardSection: "
|
|
10436
|
-
header: "
|
|
10437
|
-
actions: "
|
|
10438
|
-
action: "
|
|
10439
|
-
title: "
|
|
10440
|
-
title__custom: "
|
|
10441
|
-
subdued: "
|
|
10442
|
-
CardSection__noPadding: "
|
|
10443
|
-
CardSection__header: "
|
|
10443
|
+
CardSection: "_CardSection_1wq3s_12",
|
|
10444
|
+
header: "_header_1wq3s_22",
|
|
10445
|
+
actions: "_actions_1wq3s_28",
|
|
10446
|
+
action: "_action_1wq3s_28",
|
|
10447
|
+
title: "_title_1wq3s_36",
|
|
10448
|
+
title__custom: "_title__custom_1wq3s_44",
|
|
10449
|
+
subdued: "_subdued_1wq3s_50",
|
|
10450
|
+
CardSection__noPadding: "_CardSection__noPadding_1wq3s_54",
|
|
10451
|
+
CardSection__header: "_CardSection__header_1wq3s_64",
|
|
10452
|
+
CardSection__flush: "_CardSection__flush_1wq3s_68"
|
|
10444
10453
|
} }]]), Gm = /*#__PURE__*/ J(y({
|
|
10445
10454
|
name: "Choice",
|
|
10446
10455
|
setup(e, t) {
|
|
@@ -13300,39 +13309,38 @@ var Rg = /*#__PURE__*/ J(Fg, [["render", Lg], ["__cssModules", { $style: Ig }]])
|
|
|
13300
13309
|
return (e, t) => (L(), d(ae(N())));
|
|
13301
13310
|
}
|
|
13302
13311
|
}), [["__cssModules", { $style: {
|
|
13303
|
-
DataTable: "
|
|
13304
|
-
hasClickableRows: "
|
|
13305
|
-
isCompact: "
|
|
13306
|
-
RowCell: "
|
|
13307
|
-
Table: "
|
|
13308
|
-
|
|
13309
|
-
|
|
13310
|
-
|
|
13311
|
-
|
|
13312
|
-
|
|
13313
|
-
|
|
13314
|
-
|
|
13315
|
-
|
|
13316
|
-
|
|
13317
|
-
|
|
13318
|
-
|
|
13319
|
-
|
|
13320
|
-
|
|
13321
|
-
|
|
13322
|
-
|
|
13323
|
-
|
|
13324
|
-
|
|
13325
|
-
|
|
13326
|
-
|
|
13327
|
-
|
|
13328
|
-
|
|
13329
|
-
|
|
13330
|
-
|
|
13331
|
-
|
|
13332
|
-
|
|
13333
|
-
|
|
13334
|
-
|
|
13335
|
-
EmptyText: "_EmptyText_dvx0u_242"
|
|
13312
|
+
DataTable: "_DataTable_1fukg_1",
|
|
13313
|
+
hasClickableRows: "_hasClickableRows_1fukg_18",
|
|
13314
|
+
isCompact: "_isCompact_1fukg_22",
|
|
13315
|
+
RowCell: "_RowCell_1fukg_22",
|
|
13316
|
+
Table: "_Table_1fukg_26",
|
|
13317
|
+
Cell: "_Cell_1fukg_39",
|
|
13318
|
+
Row_isSelected: "_Row_isSelected_1fukg_47",
|
|
13319
|
+
Cell_sortable: "_Cell_sortable_1fukg_54",
|
|
13320
|
+
SortIcon: "_SortIcon_1fukg_61",
|
|
13321
|
+
Cell_isSorted: "_Cell_isSorted_1fukg_65",
|
|
13322
|
+
Cell_wrap: "_Cell_wrap_1fukg_69",
|
|
13323
|
+
CellWrapContent: "_CellWrapContent_1fukg_75",
|
|
13324
|
+
Cell_fixed: "_Cell_fixed_1fukg_102",
|
|
13325
|
+
hasBulkActions: "_hasBulkActions_1fukg_111",
|
|
13326
|
+
Cell_bulkActions: "_Cell_bulkActions_1fukg_115 _Cell_fixed_1fukg_102",
|
|
13327
|
+
hasScrollLeft: "_hasScrollLeft_1fukg_128",
|
|
13328
|
+
ScrollContainerOuter: "_ScrollContainerOuter_1fukg_128",
|
|
13329
|
+
Cell_fixedLast: "_Cell_fixedLast_1fukg_128",
|
|
13330
|
+
NoFixedLeft: "_NoFixedLeft_1fukg_132",
|
|
13331
|
+
Cell_numeric: "_Cell_numeric_1fukg_143",
|
|
13332
|
+
Cell_total: "_Cell_total_1fukg_147",
|
|
13333
|
+
Cell_actions: "_Cell_actions_1fukg_151",
|
|
13334
|
+
hasScrollRight: "_hasScrollRight_1fukg_163",
|
|
13335
|
+
NoFixedRight: "_NoFixedRight_1fukg_167",
|
|
13336
|
+
ActionButton: "_ActionButton_1fukg_178",
|
|
13337
|
+
ScrollContainerInner: "_ScrollContainerInner_1fukg_182",
|
|
13338
|
+
sDisableBounce: "_sDisableBounce_1fukg_186",
|
|
13339
|
+
RowCheckbox: "_RowCheckbox_1fukg_194",
|
|
13340
|
+
hasSelection: "_hasSelection_1fukg_199",
|
|
13341
|
+
HeaderContent: "_HeaderContent_1fukg_199",
|
|
13342
|
+
Loader: "_Loader_1fukg_215",
|
|
13343
|
+
EmptyText: "_EmptyText_1fukg_229"
|
|
13336
13344
|
} }]]), Jg = ["onClick"], Yg = [
|
|
13337
13345
|
"value",
|
|
13338
13346
|
"placeholder",
|
|
@@ -14056,15 +14064,16 @@ var M_ = /*#__PURE__*/ J(/* @__PURE__ */ y({
|
|
|
14056
14064
|
default: !1
|
|
14057
14065
|
},
|
|
14058
14066
|
edge: { default: "right" },
|
|
14059
|
-
size: {
|
|
14067
|
+
size: {},
|
|
14060
14068
|
peek: { default: 100 },
|
|
14061
14069
|
padded: { type: Boolean },
|
|
14062
|
-
animateInDuration: {
|
|
14063
|
-
animateOutDuration: {
|
|
14070
|
+
animateInDuration: {},
|
|
14071
|
+
animateOutDuration: {},
|
|
14064
14072
|
minIndex: { default: 1e3 },
|
|
14065
14073
|
color: {},
|
|
14066
14074
|
containerClass: {},
|
|
14067
14075
|
contentClass: {},
|
|
14076
|
+
footerClass: {},
|
|
14068
14077
|
loading: {
|
|
14069
14078
|
type: Boolean,
|
|
14070
14079
|
default: !1
|
|
@@ -14081,48 +14090,73 @@ var M_ = /*#__PURE__*/ J(/* @__PURE__ */ y({
|
|
|
14081
14090
|
"close"
|
|
14082
14091
|
],
|
|
14083
14092
|
setup(e, { emit: t }) {
|
|
14084
|
-
let i = j_(), o = e, s = t, c = W(), u =
|
|
14085
|
-
|
|
14093
|
+
let i = j_(), o = e, s = t, c = W(), u = {
|
|
14094
|
+
size: 700,
|
|
14095
|
+
inDuration: 700,
|
|
14096
|
+
outDuration: 700
|
|
14097
|
+
};
|
|
14098
|
+
function h(e) {
|
|
14099
|
+
return typeof window > "u" ? "" : getComputedStyle(document.documentElement).getPropertyValue(e).trim();
|
|
14100
|
+
}
|
|
14101
|
+
function v(e, t) {
|
|
14102
|
+
let n = parseFloat(h(e));
|
|
14103
|
+
return Number.isFinite(n) ? n : t;
|
|
14104
|
+
}
|
|
14105
|
+
function y(e, t) {
|
|
14106
|
+
let n = h(e), r = parseFloat(n);
|
|
14107
|
+
return Number.isFinite(r) ? /s\s*$/.test(n) && !/ms\s*$/.test(n) ? r * 1e3 : r : t;
|
|
14108
|
+
}
|
|
14109
|
+
let b = R({ ...u });
|
|
14110
|
+
function x() {
|
|
14111
|
+
b.value = {
|
|
14112
|
+
size: v("--octans-sheet-size", u.size),
|
|
14113
|
+
inDuration: y("--octans-sheet-in-duration", u.inDuration),
|
|
14114
|
+
outDuration: y("--octans-sheet-out-duration", u.outDuration)
|
|
14115
|
+
};
|
|
14116
|
+
}
|
|
14117
|
+
x();
|
|
14118
|
+
let S = l(() => o.size ?? b.value.size), C = l(() => o.animateInDuration ?? b.value.inDuration), w = l(() => o.animateOutDuration ?? b.value.outDuration), T = l(() => o.edge === "left" || o.edge === "right"), E = l(() => o.edge === "right" || o.edge === "bottom" ? 1 : -1), D = R(0), O = R(!1), k = R(!0), A = R(window.innerWidth), M = R(window.innerHeight), F = l(() => T.value ? A.value : M.value), ee = R(0), I = new A_({
|
|
14119
|
+
index: D,
|
|
14086
14120
|
peek: o.peek,
|
|
14087
|
-
isActive:
|
|
14088
|
-
offset:
|
|
14089
|
-
}),
|
|
14090
|
-
function
|
|
14091
|
-
return
|
|
14092
|
-
}
|
|
14093
|
-
let
|
|
14094
|
-
let e =
|
|
14095
|
-
if (!
|
|
14096
|
-
let t =
|
|
14097
|
-
e.transform =
|
|
14098
|
-
} else
|
|
14121
|
+
isActive: O,
|
|
14122
|
+
offset: ee
|
|
14123
|
+
}), te = l(() => E.value > 0 ? Math.max(0, F.value - V.value) : 0), ne = l(() => E.value > 0 ? F.value : -V.value);
|
|
14124
|
+
function re(e) {
|
|
14125
|
+
return T.value ? `translate(${e}px, 0)` : `translate(0, ${e}px)`;
|
|
14126
|
+
}
|
|
14127
|
+
let ie = l(() => {
|
|
14128
|
+
let e = T.value ? { width: V.value + "px" } : { height: V.value + "px" };
|
|
14129
|
+
if (!O.value && ee.value) {
|
|
14130
|
+
let t = te.value - E.value * ee.value, n = Math.max(0, F.value - V.value);
|
|
14131
|
+
e.transform = re(Math.min(Math.max(t, 0), n));
|
|
14132
|
+
} else O.value && (e.transform = re(te.value));
|
|
14099
14133
|
return e;
|
|
14100
|
-
}),
|
|
14134
|
+
}), V = l(() => O.value ? Math.min(S.value, F.value) : S.value), ae = l(() => {
|
|
14101
14135
|
let e = [];
|
|
14102
14136
|
return o.secondaryActions && e.push(...o.secondaryActions), o.primaryAction && e.push({
|
|
14103
14137
|
type: "primary",
|
|
14104
14138
|
...o.primaryAction
|
|
14105
14139
|
}), e;
|
|
14106
14140
|
});
|
|
14107
|
-
function
|
|
14108
|
-
|
|
14141
|
+
function oe(e) {
|
|
14142
|
+
x(), D.value = Math.max(o.minIndex, i.getNextZIndex()), k.value = !0, i.add(I), e instanceof HTMLElement && (e.style.transitionDuration = `${C.value}ms`, e.style.transform = re(ne.value)), s("before-open");
|
|
14109
14143
|
}
|
|
14110
|
-
function
|
|
14111
|
-
e instanceof HTMLElement && (e.style.transform =
|
|
14144
|
+
function se(e, t) {
|
|
14145
|
+
e instanceof HTMLElement && (e.style.transform = re(te.value)), O.value = !0, setTimeout(t, C.value);
|
|
14112
14146
|
}
|
|
14113
|
-
function
|
|
14114
|
-
|
|
14147
|
+
function ce() {
|
|
14148
|
+
k.value = !1, s("after-open");
|
|
14115
14149
|
}
|
|
14116
|
-
function
|
|
14117
|
-
e instanceof HTMLElement && (e.style.transitionDuration = `${
|
|
14150
|
+
function le(e) {
|
|
14151
|
+
e instanceof HTMLElement && (e.style.transitionDuration = `${w.value}ms`, e.style.transform = re(ne.value)), i.beforeRemove(I), s("before-close");
|
|
14118
14152
|
}
|
|
14119
|
-
function
|
|
14120
|
-
setTimeout(t,
|
|
14153
|
+
function ue(e, t) {
|
|
14154
|
+
setTimeout(t, w.value);
|
|
14121
14155
|
}
|
|
14122
|
-
function
|
|
14123
|
-
i.remove(
|
|
14156
|
+
function de() {
|
|
14157
|
+
i.remove(I), k.value = !0, s("after-close");
|
|
14124
14158
|
}
|
|
14125
|
-
function
|
|
14159
|
+
function fe() {
|
|
14126
14160
|
o.loading || (s("update", !1), s("close"));
|
|
14127
14161
|
}
|
|
14128
14162
|
if (!document.getElementById("sheetManager")) {
|
|
@@ -14130,22 +14164,22 @@ var M_ = /*#__PURE__*/ J(/* @__PURE__ */ y({
|
|
|
14130
14164
|
e.id = "sheetManager", document.body.appendChild(e);
|
|
14131
14165
|
}
|
|
14132
14166
|
i.setOverflowClass(c.preventScroll);
|
|
14133
|
-
let
|
|
14134
|
-
|
|
14167
|
+
let pe = pm(() => {
|
|
14168
|
+
A.value = window.innerWidth, M.value = window.innerHeight;
|
|
14135
14169
|
}, 250, { leading: !0 });
|
|
14136
|
-
return window.addEventListener("resize",
|
|
14137
|
-
|
|
14170
|
+
return window.addEventListener("resize", pe), P(() => {
|
|
14171
|
+
pe && window.removeEventListener("resize", pe), i.remove(I);
|
|
14138
14172
|
}), (t, i) => (L(), d(r, { to: "#sheetManager" }, [m("div", {
|
|
14139
14173
|
class: j([
|
|
14140
14174
|
"UIElement",
|
|
14141
14175
|
t.$style.sheet,
|
|
14142
|
-
|
|
14143
|
-
|
|
14176
|
+
D.value === 0 && t.$style.foreground,
|
|
14177
|
+
D.value > 0 && t.$style.background
|
|
14144
14178
|
]),
|
|
14145
14179
|
style: N({
|
|
14146
|
-
zIndex:
|
|
14147
|
-
"--sheet-in-duration": `${
|
|
14148
|
-
"--sheet-out-duration": `${
|
|
14180
|
+
zIndex: D.value,
|
|
14181
|
+
"--sheet-in-duration": `${C.value}ms`,
|
|
14182
|
+
"--sheet-out-duration": `${w.value}ms`
|
|
14149
14183
|
})
|
|
14150
14184
|
}, [
|
|
14151
14185
|
B(t.$slots, "external"),
|
|
@@ -14159,7 +14193,7 @@ var M_ = /*#__PURE__*/ J(/* @__PURE__ */ y({
|
|
|
14159
14193
|
default: K(() => [e.visible ? (L(), p("div", {
|
|
14160
14194
|
key: 0,
|
|
14161
14195
|
class: j(t.$style.backdrop),
|
|
14162
|
-
onClick:
|
|
14196
|
+
onClick: fe
|
|
14163
14197
|
}, null, 2)) : f("", !0)]),
|
|
14164
14198
|
_: 1
|
|
14165
14199
|
}, 8, [
|
|
@@ -14170,12 +14204,12 @@ var M_ = /*#__PURE__*/ J(/* @__PURE__ */ y({
|
|
|
14170
14204
|
]),
|
|
14171
14205
|
_(a, {
|
|
14172
14206
|
name: "Sheet-container",
|
|
14173
|
-
onBeforeEnter:
|
|
14174
|
-
onEnter:
|
|
14175
|
-
onAfterEnter:
|
|
14176
|
-
onBeforeLeave:
|
|
14177
|
-
onLeave:
|
|
14178
|
-
onAfterLeave:
|
|
14207
|
+
onBeforeEnter: oe,
|
|
14208
|
+
onEnter: se,
|
|
14209
|
+
onAfterEnter: ce,
|
|
14210
|
+
onBeforeLeave: le,
|
|
14211
|
+
onLeave: ue,
|
|
14212
|
+
onAfterLeave: de
|
|
14179
14213
|
}, {
|
|
14180
14214
|
default: K(() => [e.visible ? (L(), p("div", {
|
|
14181
14215
|
key: 0,
|
|
@@ -14184,7 +14218,7 @@ var M_ = /*#__PURE__*/ J(/* @__PURE__ */ y({
|
|
|
14184
14218
|
t.$style[`container__${e.edge}`],
|
|
14185
14219
|
e.containerClass
|
|
14186
14220
|
]),
|
|
14187
|
-
style: N(
|
|
14221
|
+
style: N(ie.value)
|
|
14188
14222
|
}, [
|
|
14189
14223
|
e.loading ? (L(), p("div", {
|
|
14190
14224
|
key: 0,
|
|
@@ -14199,14 +14233,14 @@ var M_ = /*#__PURE__*/ J(/* @__PURE__ */ y({
|
|
|
14199
14233
|
}, [
|
|
14200
14234
|
m("div", {
|
|
14201
14235
|
class: j(t.$style.close),
|
|
14202
|
-
onClick:
|
|
14236
|
+
onClick: fe
|
|
14203
14237
|
}, [_(U(Y), { icon: "mdi:close" })], 2),
|
|
14204
14238
|
m("div", { class: j(t.$style.title) }, H(e.title), 3),
|
|
14205
|
-
m("div", { class: j(t.$style.actions) }, [B(t.$slots, "actions"),
|
|
14239
|
+
m("div", { class: j(t.$style.actions) }, [B(t.$slots, "actions"), ae.value.length ? (L(), d(U(Bf), {
|
|
14206
14240
|
key: 0,
|
|
14207
14241
|
style: N([t.$slots.actions && "margin-left: 8px"])
|
|
14208
14242
|
}, {
|
|
14209
|
-
default: K(() => [(L(!0), p(n, null, z(
|
|
14243
|
+
default: K(() => [(L(!0), p(n, null, z(ae.value, (e, t) => (L(), d(U(Z), {
|
|
14210
14244
|
key: t,
|
|
14211
14245
|
type: e.type,
|
|
14212
14246
|
disabled: e.disabled,
|
|
@@ -14232,46 +14266,47 @@ var M_ = /*#__PURE__*/ J(/* @__PURE__ */ y({
|
|
|
14232
14266
|
], 6),
|
|
14233
14267
|
_(U(hm), {
|
|
14234
14268
|
class: j(t.$style.contentWrapper),
|
|
14235
|
-
disabled:
|
|
14236
|
-
padding: e.padded ? "30px" : "0",
|
|
14269
|
+
disabled: k.value,
|
|
14270
|
+
padding: e.padded ? "var(--octans-sheet-padding, 30px)" : "0",
|
|
14237
14271
|
contain: ""
|
|
14238
14272
|
}, {
|
|
14239
|
-
default: K(() => [m("div", { class: j([
|
|
14240
|
-
t.$style.content,
|
|
14241
|
-
e.padded && t.$style.contentPadded,
|
|
14242
|
-
e.contentClass
|
|
14243
|
-
]) }, [B(t.$slots, "default")], 2)]),
|
|
14273
|
+
default: K(() => [m("div", { class: j([t.$style.content, e.contentClass]) }, [B(t.$slots, "default")], 2)]),
|
|
14244
14274
|
_: 3
|
|
14245
14275
|
}, 8, [
|
|
14246
14276
|
"class",
|
|
14247
14277
|
"disabled",
|
|
14248
14278
|
"padding"
|
|
14249
|
-
])
|
|
14279
|
+
]),
|
|
14280
|
+
t.$slots.footer ? (L(), p("div", {
|
|
14281
|
+
key: 1,
|
|
14282
|
+
class: j(t.$style.footer)
|
|
14283
|
+
}, [m("div", { class: j([t.$style.footerContent, e.footerClass]) }, [B(t.$slots, "footer")], 2)], 2)) : f("", !0)
|
|
14250
14284
|
], 6)) : f("", !0)]),
|
|
14251
14285
|
_: 3
|
|
14252
14286
|
})
|
|
14253
14287
|
], 6)]));
|
|
14254
14288
|
}
|
|
14255
14289
|
}), [["__cssModules", { $style: {
|
|
14256
|
-
preventScroll: "
|
|
14257
|
-
sheet: "
|
|
14258
|
-
backdrop: "
|
|
14259
|
-
container: "
|
|
14260
|
-
container__right: "
|
|
14261
|
-
container__left: "
|
|
14262
|
-
container__top: "
|
|
14263
|
-
container__bottom: "
|
|
14264
|
-
loader: "
|
|
14265
|
-
header: "
|
|
14266
|
-
close: "
|
|
14267
|
-
title: "
|
|
14268
|
-
actions: "
|
|
14269
|
-
contentWrapper: "
|
|
14270
|
-
|
|
14271
|
-
|
|
14272
|
-
|
|
14273
|
-
|
|
14274
|
-
|
|
14290
|
+
preventScroll: "_preventScroll_lbhfg_2",
|
|
14291
|
+
sheet: "_sheet_lbhfg_6",
|
|
14292
|
+
backdrop: "_backdrop_lbhfg_11",
|
|
14293
|
+
container: "_container_lbhfg_22",
|
|
14294
|
+
container__right: "_container__right_lbhfg_35",
|
|
14295
|
+
container__left: "_container__left_lbhfg_36",
|
|
14296
|
+
container__top: "_container__top_lbhfg_40",
|
|
14297
|
+
container__bottom: "_container__bottom_lbhfg_41",
|
|
14298
|
+
loader: "_loader_lbhfg_45",
|
|
14299
|
+
header: "_header_lbhfg_58",
|
|
14300
|
+
close: "_close_lbhfg_69",
|
|
14301
|
+
title: "_title_lbhfg_79",
|
|
14302
|
+
actions: "_actions_lbhfg_84",
|
|
14303
|
+
contentWrapper: "_contentWrapper_lbhfg_89",
|
|
14304
|
+
footer: "_footer_lbhfg_94",
|
|
14305
|
+
footerContent: "_footerContent_lbhfg_111",
|
|
14306
|
+
backdropEnterActive: "_backdropEnterActive_lbhfg_118",
|
|
14307
|
+
backdropLeaveActive: "_backdropLeaveActive_lbhfg_122",
|
|
14308
|
+
backdropEnter: "_backdropEnter_lbhfg_118",
|
|
14309
|
+
backdropLeaveTo: "_backdropLeaveTo_lbhfg_127"
|
|
14275
14310
|
} }]]), N_ = ["data-ui-tooltip", "data-ui-tooltip-position"], P_ = ["disabled"], F_ = /*#__PURE__*/ J(/* @__PURE__ */ y({
|
|
14276
14311
|
__name: "Tag",
|
|
14277
14312
|
props: {
|
|
@@ -16943,28 +16978,28 @@ var Wv = /*#__PURE__*/ J(Bv, [["render", Uv], ["__cssModules", { $style: Vv }]])
|
|
|
16943
16978
|
], 2)], 2));
|
|
16944
16979
|
}
|
|
16945
16980
|
}), [["__cssModules", { $style: {
|
|
16946
|
-
Page: "
|
|
16947
|
-
Page__narrow: "
|
|
16948
|
-
Page__wide: "
|
|
16949
|
-
Page__fullWidth: "
|
|
16950
|
-
Page_container: "
|
|
16951
|
-
Page_loader: "
|
|
16952
|
-
Page_header: "
|
|
16953
|
-
Page_headerMain: "
|
|
16954
|
-
Page_breadcrumbs: "
|
|
16955
|
-
Page_titleWrapper: "
|
|
16956
|
-
Page_title: "
|
|
16957
|
-
Page_subtitle: "
|
|
16958
|
-
Page_helpIcon: "
|
|
16959
|
-
Page_badge: "
|
|
16960
|
-
PageActions: "
|
|
16961
|
-
PageAction: "
|
|
16962
|
-
PageAction_button: "
|
|
16963
|
-
Breadcrumb: "
|
|
16964
|
-
Breadcrumb_button: "
|
|
16965
|
-
PageActions_collapsed: "
|
|
16966
|
-
Page_content: "
|
|
16967
|
-
Page_headerPrimaryActionWrapper: "
|
|
16981
|
+
Page: "_Page_1m4q3_2",
|
|
16982
|
+
Page__narrow: "_Page__narrow_1m4q3_10",
|
|
16983
|
+
Page__wide: "_Page__wide_1m4q3_14",
|
|
16984
|
+
Page__fullWidth: "_Page__fullWidth_1m4q3_18",
|
|
16985
|
+
Page_container: "_Page_container_1m4q3_22",
|
|
16986
|
+
Page_loader: "_Page_loader_1m4q3_26",
|
|
16987
|
+
Page_header: "_Page_header_1m4q3_43",
|
|
16988
|
+
Page_headerMain: "_Page_headerMain_1m4q3_49",
|
|
16989
|
+
Page_breadcrumbs: "_Page_breadcrumbs_1m4q3_53",
|
|
16990
|
+
Page_titleWrapper: "_Page_titleWrapper_1m4q3_57",
|
|
16991
|
+
Page_title: "_Page_title_1m4q3_57",
|
|
16992
|
+
Page_subtitle: "_Page_subtitle_1m4q3_68",
|
|
16993
|
+
Page_helpIcon: "_Page_helpIcon_1m4q3_73",
|
|
16994
|
+
Page_badge: "_Page_badge_1m4q3_84",
|
|
16995
|
+
PageActions: "_PageActions_1m4q3_88",
|
|
16996
|
+
PageAction: "_PageAction_1m4q3_88",
|
|
16997
|
+
PageAction_button: "_PageAction_button_1m4q3_96",
|
|
16998
|
+
Breadcrumb: "_Breadcrumb_1m4q3_103",
|
|
16999
|
+
Breadcrumb_button: "_Breadcrumb_button_1m4q3_108",
|
|
17000
|
+
PageActions_collapsed: "_PageActions_collapsed_1m4q3_116",
|
|
17001
|
+
Page_content: "_Page_content_1m4q3_120",
|
|
17002
|
+
Page_headerPrimaryActionWrapper: "_Page_headerPrimaryActionWrapper_1m4q3_133"
|
|
16968
17003
|
} }]]), ay = /*#__PURE__*/ J(/* @__PURE__ */ y({
|
|
16969
17004
|
__name: "PageActions",
|
|
16970
17005
|
props: {
|
|
@@ -19483,11 +19518,11 @@ var _b = [
|
|
|
19483
19518
|
}, 1032, ["class", "style"]))), 128))], 2));
|
|
19484
19519
|
}
|
|
19485
19520
|
}), [["__cssModules", { $style: {
|
|
19486
|
-
ResourceList_header: "
|
|
19487
|
-
ResourceList_headerCell: "
|
|
19488
|
-
ResourceList_row: "
|
|
19489
|
-
ResourceList_cell: "
|
|
19490
|
-
ResourceList_cell__numeric: "
|
|
19521
|
+
ResourceList_header: "_ResourceList_header_1e833_1",
|
|
19522
|
+
ResourceList_headerCell: "_ResourceList_headerCell_1e833_6",
|
|
19523
|
+
ResourceList_row: "_ResourceList_row_1e833_10",
|
|
19524
|
+
ResourceList_cell: "_ResourceList_cell_1e833_14",
|
|
19525
|
+
ResourceList_cell__numeric: "_ResourceList_cell__numeric_1e833_18"
|
|
19491
19526
|
} }]]), Pb = /* @__PURE__ */ Ne({
|
|
19492
19527
|
ActionList: () => vs,
|
|
19493
19528
|
AppFrame: () => xm,
|
|
@@ -20078,6 +20113,7 @@ var Kx = [
|
|
|
20078
20113
|
tokens: [
|
|
20079
20114
|
$("border", "Default dividers and outlines"),
|
|
20080
20115
|
$("border-strong", "Heavier dividers — decorative"),
|
|
20116
|
+
$("table-header-border", "Rule under a DataTable or ResourceList header. Defaults to the row-rule weight; set to border-strong for a heavier bar"),
|
|
20081
20117
|
$("border-input", "Control outlines — deliberately soft; set to neutral-500 for strict WCAG 1.4.11"),
|
|
20082
20118
|
$("border-error"),
|
|
20083
20119
|
$("border-focus", "Focus outline colour")
|
|
@@ -20112,7 +20148,11 @@ var Kx = [
|
|
|
20112
20148
|
...Zx("info"),
|
|
20113
20149
|
...Zx("success"),
|
|
20114
20150
|
...Zx("warning"),
|
|
20115
|
-
...Zx("error", { states: !0 })
|
|
20151
|
+
...Zx("error", { states: !0 }),
|
|
20152
|
+
$("tint-info", "What a status tint (Badge, Banner) mixes from. Follows the fill"),
|
|
20153
|
+
$("tint-success", "Follows the success fill"),
|
|
20154
|
+
$("tint-warning", "The true amber, NOT the warning fill — that is the deep 700 step, chosen to carry white text, and dilutes to beige"),
|
|
20155
|
+
$("tint-error", "Follows the error fill")
|
|
20116
20156
|
]
|
|
20117
20157
|
},
|
|
20118
20158
|
{
|
|
@@ -20178,6 +20218,73 @@ var Kx = [
|
|
|
20178
20218
|
}
|
|
20179
20219
|
]
|
|
20180
20220
|
},
|
|
20221
|
+
{
|
|
20222
|
+
title: "Badge & Banner",
|
|
20223
|
+
tier: "semantic",
|
|
20224
|
+
description: "How strongly a status Badge or Banner tints itself with its role colour. Two dials rather than one, because a badge is a small object that has to hold its own against the card it sits on and a banner is a large panel where the same strength stops being a background. The four surfaces under each are DERIVED from that component’s dial — move the dial and all four follow; set one directly only to make a single status sit apart.",
|
|
20225
|
+
tokens: [
|
|
20226
|
+
{
|
|
20227
|
+
name: "badge-surface-strength",
|
|
20228
|
+
kind: "percent",
|
|
20229
|
+
description: "How much role colour a status Badge mixes in"
|
|
20230
|
+
},
|
|
20231
|
+
{
|
|
20232
|
+
name: "banner-surface-strength",
|
|
20233
|
+
kind: "percent",
|
|
20234
|
+
description: "How much role colour a status Banner mixes in"
|
|
20235
|
+
},
|
|
20236
|
+
{
|
|
20237
|
+
name: "badge-ink",
|
|
20238
|
+
kind: "color",
|
|
20239
|
+
description: "Forces one label colour on every status Badge. Unset = each status keeps its own text colour"
|
|
20240
|
+
},
|
|
20241
|
+
{
|
|
20242
|
+
name: "banner-ink",
|
|
20243
|
+
kind: "color",
|
|
20244
|
+
description: "Forces one label colour on every status Banner. Unset = each status keeps its own text colour"
|
|
20245
|
+
},
|
|
20246
|
+
{
|
|
20247
|
+
name: "badge-info-surface",
|
|
20248
|
+
kind: "color",
|
|
20249
|
+
description: "Derived from the Badge dial"
|
|
20250
|
+
},
|
|
20251
|
+
{
|
|
20252
|
+
name: "badge-success-surface",
|
|
20253
|
+
kind: "color",
|
|
20254
|
+
description: "Derived from the Badge dial"
|
|
20255
|
+
},
|
|
20256
|
+
{
|
|
20257
|
+
name: "badge-warning-surface",
|
|
20258
|
+
kind: "color",
|
|
20259
|
+
description: "Derived from the Badge dial"
|
|
20260
|
+
},
|
|
20261
|
+
{
|
|
20262
|
+
name: "badge-error-surface",
|
|
20263
|
+
kind: "color",
|
|
20264
|
+
description: "Derived from the Badge dial"
|
|
20265
|
+
},
|
|
20266
|
+
{
|
|
20267
|
+
name: "banner-info-surface",
|
|
20268
|
+
kind: "color",
|
|
20269
|
+
description: "Derived from the Banner dial"
|
|
20270
|
+
},
|
|
20271
|
+
{
|
|
20272
|
+
name: "banner-success-surface",
|
|
20273
|
+
kind: "color",
|
|
20274
|
+
description: "Derived from the Banner dial"
|
|
20275
|
+
},
|
|
20276
|
+
{
|
|
20277
|
+
name: "banner-warning-surface",
|
|
20278
|
+
kind: "color",
|
|
20279
|
+
description: "Derived from the Banner dial"
|
|
20280
|
+
},
|
|
20281
|
+
{
|
|
20282
|
+
name: "banner-error-surface",
|
|
20283
|
+
kind: "color",
|
|
20284
|
+
description: "Derived from the Banner dial"
|
|
20285
|
+
}
|
|
20286
|
+
]
|
|
20287
|
+
},
|
|
20181
20288
|
{
|
|
20182
20289
|
title: "Tabs",
|
|
20183
20290
|
tier: "semantic",
|
|
@@ -20205,6 +20312,57 @@ var Kx = [
|
|
|
20205
20312
|
}
|
|
20206
20313
|
]
|
|
20207
20314
|
},
|
|
20315
|
+
{
|
|
20316
|
+
title: "Sheet",
|
|
20317
|
+
tier: "semantic",
|
|
20318
|
+
description: "How big a Sheet is and how fast it moves. In the theme rather than the global stylesheet for the same reason as the Tabs indicator: how wide a product’s sheets are, and whether they glide or snap, is a decision worth carrying rather than repeating at every call site. The size and the two durations are read by Sheet from the computed style — it slides by a transform it computes itself, so the numbers have to reach it as numbers — and are re-read each time a sheet opens.",
|
|
20319
|
+
tokens: [
|
|
20320
|
+
{
|
|
20321
|
+
name: "sheet-size",
|
|
20322
|
+
kind: "length",
|
|
20323
|
+
description: "Default width of a left/right sheet, height of a top/bottom one"
|
|
20324
|
+
},
|
|
20325
|
+
{
|
|
20326
|
+
name: "sheet-padding",
|
|
20327
|
+
kind: "length",
|
|
20328
|
+
description: "Gutter that `<Sheet padded>` puts around its content"
|
|
20329
|
+
},
|
|
20330
|
+
{
|
|
20331
|
+
name: "sheet-in-duration",
|
|
20332
|
+
kind: "duration",
|
|
20333
|
+
description: "Default open animation; 0ms opens instantly"
|
|
20334
|
+
},
|
|
20335
|
+
{
|
|
20336
|
+
name: "sheet-out-duration",
|
|
20337
|
+
kind: "duration",
|
|
20338
|
+
description: "Default close animation; 0ms closes instantly"
|
|
20339
|
+
},
|
|
20340
|
+
{
|
|
20341
|
+
name: "sheet-footer-align",
|
|
20342
|
+
kind: "keyword",
|
|
20343
|
+
description: "How the footer slot lays its row out — any justify-content value"
|
|
20344
|
+
},
|
|
20345
|
+
{
|
|
20346
|
+
name: "sheet-footer-gap",
|
|
20347
|
+
kind: "length",
|
|
20348
|
+
description: "Space between items in a sheet footer"
|
|
20349
|
+
}
|
|
20350
|
+
]
|
|
20351
|
+
},
|
|
20352
|
+
{
|
|
20353
|
+
title: "Icons",
|
|
20354
|
+
tier: "semantic",
|
|
20355
|
+
description: "Two knobs an app sets once instead of passing props at every call site. Both defaults are what the library has always drawn, so setting either is opt-in and cannot silently move existing icons.",
|
|
20356
|
+
tokens: [{
|
|
20357
|
+
name: "icon-size",
|
|
20358
|
+
kind: "length",
|
|
20359
|
+
description: "Size of an Icon with no `size` prop. 1em follows the surrounding font"
|
|
20360
|
+
}, {
|
|
20361
|
+
name: "icon-valign",
|
|
20362
|
+
kind: "length",
|
|
20363
|
+
description: "Vertical alignment of every Icon; -0.125em suits icons inline with text"
|
|
20364
|
+
}]
|
|
20365
|
+
},
|
|
20208
20366
|
{
|
|
20209
20367
|
title: "Typography",
|
|
20210
20368
|
tier: "semantic",
|