@fewangsit/wangsvue-presets 1.0.102 → 1.0.103-alpha.1
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/fixedasset/breadcrumb/index.js +1 -1
- package/fixedasset/index.es.js +5 -3
- package/fixedasset/index.system.js +1 -1
- package/globalsettings/index.es.js +17 -15
- package/globalsettings/index.system.js +2 -2
- package/globalsettings/tabmenu/index.js +1 -1
- package/package.json +1 -1
- package/supplyasset/index.es.js +14 -12
- package/supplyasset/index.system.js +2 -2
- package/wangsvue/index.es.js +12 -10
- package/wangsvue/index.system.js +2 -2
|
@@ -1176,7 +1176,7 @@ const A = {
|
|
|
1176
1176
|
footer: {
|
|
1177
1177
|
class: ["inline-flex gap-1 text-xs items-center"]
|
|
1178
1178
|
}
|
|
1179
|
-
},
|
|
1179
|
+
}, U = {
|
|
1180
1180
|
root: {
|
|
1181
1181
|
class: [
|
|
1182
1182
|
// Flexbox
|
|
@@ -1290,7 +1290,7 @@ const A = {
|
|
|
1290
1290
|
}
|
|
1291
1291
|
]
|
|
1292
1292
|
})
|
|
1293
|
-
},
|
|
1293
|
+
}, B = {
|
|
1294
1294
|
button: ({ props: e, buttonClass: t }) => ({
|
|
1295
1295
|
class: [
|
|
1296
1296
|
t,
|
|
@@ -1459,7 +1459,7 @@ const A = {
|
|
|
1459
1459
|
"px-2 bg-primary-100 sticky left-0 text-right select-none"
|
|
1460
1460
|
]
|
|
1461
1461
|
}
|
|
1462
|
-
},
|
|
1462
|
+
}, L = {
|
|
1463
1463
|
menustart: {
|
|
1464
1464
|
class: ""
|
|
1465
1465
|
},
|
|
@@ -1483,7 +1483,7 @@ const A = {
|
|
|
1483
1483
|
{ invisible: e.dragable === !1 }
|
|
1484
1484
|
]
|
|
1485
1485
|
})
|
|
1486
|
-
},
|
|
1486
|
+
}, G = {
|
|
1487
1487
|
root: {
|
|
1488
1488
|
"data-wv-name": "datatable",
|
|
1489
1489
|
"data-wv-section": "root",
|
|
@@ -1892,7 +1892,7 @@ const A = {
|
|
|
1892
1892
|
leaveActiveClass: "transition-all duration-200 ease-out",
|
|
1893
1893
|
leaveToClass: "opacity-0 scale-75 mask-active"
|
|
1894
1894
|
}
|
|
1895
|
-
},
|
|
1895
|
+
}, R = {
|
|
1896
1896
|
root: {
|
|
1897
1897
|
class: ["!w-[clamp(360px,75vw,400px)]"],
|
|
1898
1898
|
"data-wv-name": (e) => e ?? "root",
|
|
@@ -1934,7 +1934,7 @@ const A = {
|
|
|
1934
1934
|
class: "flex items-end justify-end gap-1 !mt-0",
|
|
1935
1935
|
"data-wv-section": "dialog-confirm-footer"
|
|
1936
1936
|
}
|
|
1937
|
-
},
|
|
1937
|
+
}, M = {
|
|
1938
1938
|
root: {
|
|
1939
1939
|
class: ["max-w-[90vw]"],
|
|
1940
1940
|
style: (e) => `width: ${e}`,
|
|
@@ -4192,10 +4192,12 @@ const l = class l {
|
|
|
4192
4192
|
* @returns A fully normalized path prefixed with the base URL if applicable.
|
|
4193
4193
|
*/
|
|
4194
4194
|
normalizePath(t) {
|
|
4195
|
+
if (!t.startsWith("/"))
|
|
4196
|
+
return new URL(t, window.location.href).pathname;
|
|
4195
4197
|
const a = this.getNavigationBaseUrl();
|
|
4196
4198
|
if (!a)
|
|
4197
4199
|
return t;
|
|
4198
|
-
const r = t.
|
|
4200
|
+
const r = t.slice(1);
|
|
4199
4201
|
return `${a}${r}`;
|
|
4200
4202
|
}
|
|
4201
4203
|
/**
|
|
@@ -4303,7 +4305,7 @@ const l = class l {
|
|
|
4303
4305
|
* @example
|
|
4304
4306
|
* router.navigateToRoute('/about', 'push', { some: 'state' }, '',);
|
|
4305
4307
|
*/
|
|
4306
|
-
navigateToRoute(t, a = "push", r =
|
|
4308
|
+
navigateToRoute(t, a = "push", r = history.state, i = "") {
|
|
4307
4309
|
if (!t)
|
|
4308
4310
|
return;
|
|
4309
4311
|
const o = typeof t == "string" ? t : t.toString(), s = this.normalizePath(o);
|
|
@@ -4364,7 +4366,7 @@ const oe = x("WANGS-TAB-MENU", {
|
|
|
4364
4366
|
"border-primary-500": t.active,
|
|
4365
4367
|
"border-grayscale-400": !t.active,
|
|
4366
4368
|
"text-grayscale-600": !t.active,
|
|
4367
|
-
"text-primary-500": t.active,
|
|
4369
|
+
"text-primary-500": t.active && e.type === "tab",
|
|
4368
4370
|
"bg-primary-500 text-white": e.type === "pill" && t.active,
|
|
4369
4371
|
"bg-grayscale-200 text-grayscale-800": e.type === "pill" && !t.active,
|
|
4370
4372
|
"bg-primary-500 text-white shadow-[-2px_2px_2px_rgba(0,0,0,0.25)]": e.type === "segmented" && t.active,
|
|
@@ -5639,11 +5641,11 @@ const oe = x("WANGS-TAB-MENU", {
|
|
|
5639
5641
|
buttonfilter: F,
|
|
5640
5642
|
// Data
|
|
5641
5643
|
paginator: re,
|
|
5642
|
-
datatable:
|
|
5643
|
-
customcolumn:
|
|
5644
|
+
datatable: G,
|
|
5645
|
+
customcolumn: L,
|
|
5644
5646
|
tree: be,
|
|
5645
5647
|
timeline: ce,
|
|
5646
|
-
changelog:
|
|
5648
|
+
changelog: B,
|
|
5647
5649
|
// Panels
|
|
5648
5650
|
accordion: A,
|
|
5649
5651
|
card: E,
|
|
@@ -5654,15 +5656,15 @@ const oe = x("WANGS-TAB-MENU", {
|
|
|
5654
5656
|
tabmenu: oe,
|
|
5655
5657
|
// Overlays
|
|
5656
5658
|
dialog: C,
|
|
5657
|
-
dialogconfirm:
|
|
5658
|
-
dialogform:
|
|
5659
|
+
dialogconfirm: R,
|
|
5660
|
+
dialogform: M,
|
|
5659
5661
|
overlaypanel: ae,
|
|
5660
5662
|
// Messages
|
|
5661
5663
|
message: te,
|
|
5662
5664
|
inlinemessage: H,
|
|
5663
5665
|
toast: ue,
|
|
5664
5666
|
// Media
|
|
5665
|
-
carousel:
|
|
5667
|
+
carousel: U,
|
|
5666
5668
|
// Misc
|
|
5667
5669
|
badge: d,
|
|
5668
5670
|
badgegroup: ye,
|