@enos5/enos-vue 0.1.3 → 0.2.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/README.md +27 -0
- package/dist/index.js +185 -185
- package/package.json +14 -7
package/README.md
CHANGED
|
@@ -21,6 +21,33 @@ Build the package:
|
|
|
21
21
|
npm run build
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
+
## Component Documentation Sandbox
|
|
25
|
+
|
|
26
|
+
This repository includes a dedicated docs playground for the component library. It renders each component with a live example and generates editable prop controls from the component prop definitions.
|
|
27
|
+
|
|
28
|
+
Run it locally:
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
npm install
|
|
32
|
+
npm run docs:dev
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Build the docs site:
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
npm run docs:build
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Run With Docker
|
|
42
|
+
|
|
43
|
+
Start the docs app with Docker Compose:
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
docker compose up --build
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
Then open `http://localhost:4173`.
|
|
50
|
+
|
|
24
51
|
## Use In Another Project
|
|
25
52
|
|
|
26
53
|
Install the published package:
|
package/dist/index.js
CHANGED
|
@@ -41,58 +41,58 @@ const Xe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
41
41
|
return Oe;
|
|
42
42
|
},
|
|
43
43
|
get ConfirmationModal() {
|
|
44
|
-
return
|
|
44
|
+
return bl;
|
|
45
45
|
},
|
|
46
46
|
get CustomSelect() {
|
|
47
47
|
return Be;
|
|
48
48
|
},
|
|
49
49
|
get DangerButton() {
|
|
50
|
-
return
|
|
50
|
+
return vl;
|
|
51
51
|
},
|
|
52
52
|
get DateInput() {
|
|
53
53
|
return Ae;
|
|
54
54
|
},
|
|
55
55
|
get DialogModal() {
|
|
56
|
-
return
|
|
56
|
+
return $l;
|
|
57
57
|
},
|
|
58
58
|
get Divider() {
|
|
59
59
|
return fe;
|
|
60
60
|
},
|
|
61
61
|
get Dropdown() {
|
|
62
|
-
return
|
|
62
|
+
return _l;
|
|
63
63
|
},
|
|
64
64
|
get DropdownLink() {
|
|
65
|
-
return
|
|
65
|
+
return Tl;
|
|
66
66
|
},
|
|
67
67
|
get EnosVue() {
|
|
68
|
-
return
|
|
68
|
+
return Zs;
|
|
69
69
|
},
|
|
70
70
|
get FormSection() {
|
|
71
|
-
return
|
|
71
|
+
return Dl;
|
|
72
72
|
},
|
|
73
73
|
get ImageInput() {
|
|
74
74
|
return je;
|
|
75
75
|
},
|
|
76
76
|
get InputError() {
|
|
77
|
-
return
|
|
77
|
+
return Ml;
|
|
78
78
|
},
|
|
79
79
|
get InputGroup() {
|
|
80
80
|
return re;
|
|
81
81
|
},
|
|
82
82
|
get InputLabel() {
|
|
83
|
-
return
|
|
83
|
+
return Nl;
|
|
84
84
|
},
|
|
85
85
|
get Modal() {
|
|
86
86
|
return me;
|
|
87
87
|
},
|
|
88
88
|
get NavLink() {
|
|
89
|
-
return
|
|
89
|
+
return El;
|
|
90
90
|
},
|
|
91
91
|
get NotationInput() {
|
|
92
92
|
return Ie;
|
|
93
93
|
},
|
|
94
94
|
get PrimaryButton() {
|
|
95
|
-
return
|
|
95
|
+
return Rl;
|
|
96
96
|
},
|
|
97
97
|
get PrimaryLinkButton() {
|
|
98
98
|
return ye;
|
|
@@ -104,16 +104,16 @@ const Xe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
104
104
|
return De;
|
|
105
105
|
},
|
|
106
106
|
get ResponsiveNavLink() {
|
|
107
|
-
return
|
|
107
|
+
return Wl;
|
|
108
108
|
},
|
|
109
109
|
get SecondaryButton() {
|
|
110
|
-
return
|
|
110
|
+
return Gl;
|
|
111
111
|
},
|
|
112
112
|
get SecondaryLinkButton() {
|
|
113
|
-
return
|
|
113
|
+
return Jl;
|
|
114
114
|
},
|
|
115
115
|
get SectionBorder() {
|
|
116
|
-
return
|
|
116
|
+
return Zl;
|
|
117
117
|
},
|
|
118
118
|
get SectionTitle() {
|
|
119
119
|
return pe;
|
|
@@ -122,19 +122,19 @@ const Xe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
122
122
|
return Te;
|
|
123
123
|
},
|
|
124
124
|
get SortControls() {
|
|
125
|
-
return
|
|
125
|
+
return rs;
|
|
126
126
|
},
|
|
127
127
|
get TableList() {
|
|
128
|
-
return
|
|
128
|
+
return _s;
|
|
129
129
|
},
|
|
130
130
|
get TableListForm() {
|
|
131
|
-
return
|
|
131
|
+
return Ws;
|
|
132
132
|
},
|
|
133
133
|
get TertiaryButton() {
|
|
134
|
-
return
|
|
134
|
+
return Gs;
|
|
135
135
|
},
|
|
136
136
|
get TertiaryLinkButton() {
|
|
137
|
-
return
|
|
137
|
+
return Js;
|
|
138
138
|
},
|
|
139
139
|
get TextArea() {
|
|
140
140
|
return Ve;
|
|
@@ -146,7 +146,7 @@ const Xe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
146
146
|
return be;
|
|
147
147
|
},
|
|
148
148
|
get WarningButton() {
|
|
149
|
-
return
|
|
149
|
+
return Ys;
|
|
150
150
|
}
|
|
151
151
|
}, Symbol.toStringTag, { value: "Module" })), Je = { class: "border-b border-gray-200/80 bg-gray-50/80 p-2" }, Qe = {
|
|
152
152
|
role: "tablist",
|
|
@@ -791,7 +791,7 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
791
791
|
], 8, Nt)) : O("", !0)
|
|
792
792
|
]));
|
|
793
793
|
}
|
|
794
|
-
}), Ht =
|
|
794
|
+
}), Ht = ["value", "disabled"], Pt = 1e3, Ve = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
795
795
|
__name: "TextArea",
|
|
796
796
|
props: {
|
|
797
797
|
modelValue: String,
|
|
@@ -812,7 +812,7 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
812
812
|
setup(e, { expose: a, emit: t }) {
|
|
813
813
|
const l = e, o = t, d = P(), i = z(null), u = f(() => {
|
|
814
814
|
const { class: h, ...b } = d;
|
|
815
|
-
return b.maxlength === void 0 && (b.maxlength =
|
|
815
|
+
return b.maxlength === void 0 && (b.maxlength = Pt), b;
|
|
816
816
|
}), k = f(() => [
|
|
817
817
|
"w-full min-w-0 max-w-full border-gray-300 focus:border-indigo-500 focus:ring-indigo-500 rounded-md shadow-sm",
|
|
818
818
|
l.autoResize ? "resize-none overflow-y-auto" : "resize-y",
|
|
@@ -830,7 +830,7 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
830
830
|
de(() => {
|
|
831
831
|
x();
|
|
832
832
|
});
|
|
833
|
-
}), a({ focus: () => i.value?.focus() }), (h, b) => (s(), n("div",
|
|
833
|
+
}), a({ focus: () => i.value?.focus() }), (h, b) => (s(), n("div", null, [
|
|
834
834
|
r("textarea", M({
|
|
835
835
|
ref_key: "textarea",
|
|
836
836
|
ref: i
|
|
@@ -839,10 +839,10 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
839
839
|
value: l.modelValue,
|
|
840
840
|
disabled: l.disabled,
|
|
841
841
|
onInput: T
|
|
842
|
-
}), null, 16,
|
|
842
|
+
}), null, 16, Ht)
|
|
843
843
|
]));
|
|
844
844
|
}
|
|
845
|
-
}),
|
|
845
|
+
}), Wt = ["onClick"], Be = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
846
846
|
__name: "CustomSelect",
|
|
847
847
|
props: {
|
|
848
848
|
modelValue: {
|
|
@@ -1034,7 +1034,7 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
1034
1034
|
}
|
|
1035
1035
|
]),
|
|
1036
1036
|
onClick: ue((c) => le(N), ["stop"])
|
|
1037
|
-
}, $(b(N)), 11,
|
|
1037
|
+
}, $(b(N)), 11, Wt))), 128))
|
|
1038
1038
|
], 6)) : O("", !0)
|
|
1039
1039
|
]))
|
|
1040
1040
|
]),
|
|
@@ -1153,7 +1153,7 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
1153
1153
|
"onUpdate:modelValue": o[0] || (o[0] = (d) => t("update:modelValue", d))
|
|
1154
1154
|
}, l.$attrs), null, 16, ["model-value", "model-modifiers", "options", "placeholder", "placeholder-disabled", "disabled", "soft-delete-aware", "label-key", "value-key", "deleted-key", "option-label", "base-class", "normal-text-class", "deleted-selected-class", "option-class", "deleted-option-class", "placeholder-class", "dropdown-class", "dropdown-option-class", "dropdown-selected-class"]));
|
|
1155
1155
|
}
|
|
1156
|
-
},
|
|
1156
|
+
}, qt = ["type", "max", "value", "disabled"], Ae = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
1157
1157
|
__name: "DateInput",
|
|
1158
1158
|
props: {
|
|
1159
1159
|
modelValue: {
|
|
@@ -1204,12 +1204,12 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
1204
1204
|
disabled: l.disabled,
|
|
1205
1205
|
onInput: C,
|
|
1206
1206
|
onChange: C
|
|
1207
|
-
}), null, 16,
|
|
1207
|
+
}), null, 16, qt));
|
|
1208
1208
|
}
|
|
1209
|
-
}),
|
|
1209
|
+
}), Gt = { class: "relative" }, Xt = { class: "absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none" }, Jt = ["accept"], Qt = {
|
|
1210
1210
|
key: 0,
|
|
1211
1211
|
class: "mt-4 p-4 bg-gray-50 rounded-lg border border-gray-200"
|
|
1212
|
-
},
|
|
1212
|
+
}, Yt = { class: "flex items-center space-x-4" }, Zt = ["src"], el = { class: "text-sm font-medium text-gray-900" }, tl = { class: "text-xs text-gray-500" }, je = {
|
|
1213
1213
|
__name: "ImageInput",
|
|
1214
1214
|
props: {
|
|
1215
1215
|
currentImageUrl: {
|
|
@@ -1240,8 +1240,8 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
1240
1240
|
t("update:modelValue", i);
|
|
1241
1241
|
};
|
|
1242
1242
|
return (d, i) => (s(), n("div", null, [
|
|
1243
|
-
r("div",
|
|
1244
|
-
r("div",
|
|
1243
|
+
r("div", Gt, [
|
|
1244
|
+
r("div", Xt, [
|
|
1245
1245
|
E(V(We), { class: "size-5 text-gray-400" })
|
|
1246
1246
|
]),
|
|
1247
1247
|
r("input", M(e.attrs, {
|
|
@@ -1249,24 +1249,24 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
1249
1249
|
accept: e.accept,
|
|
1250
1250
|
class: "block w-full pl-10 pr-4 py-3 border border-gray-300 rounded-lg bg-white text-sm file:mr-4 file:py-2 file:px-4 file:rounded-md file:border-0 file:text-sm file:font-medium file:bg-blue-50 file:text-blue-700 hover:file:bg-blue-100 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent transition-all duration-200 cursor-pointer",
|
|
1251
1251
|
onChange: o
|
|
1252
|
-
}), null, 16,
|
|
1252
|
+
}), null, 16, Jt)
|
|
1253
1253
|
]),
|
|
1254
|
-
l.currentImageUrl ? (s(), n("div",
|
|
1255
|
-
r("div",
|
|
1254
|
+
l.currentImageUrl ? (s(), n("div", Qt, [
|
|
1255
|
+
r("div", Yt, [
|
|
1256
1256
|
r("img", {
|
|
1257
1257
|
src: l.currentImageUrl,
|
|
1258
1258
|
alt: "Current logo",
|
|
1259
1259
|
class: "h-16 w-auto max-w-24 object-contain rounded-lg shadow-sm"
|
|
1260
|
-
}, null, 8,
|
|
1260
|
+
}, null, 8, Zt),
|
|
1261
1261
|
r("div", null, [
|
|
1262
|
-
r("p",
|
|
1263
|
-
r("p",
|
|
1262
|
+
r("p", el, $(l.currentLabel), 1),
|
|
1263
|
+
r("p", tl, $(l.currentSubtext), 1)
|
|
1264
1264
|
])
|
|
1265
1265
|
])
|
|
1266
1266
|
])) : O("", !0)
|
|
1267
1267
|
]));
|
|
1268
1268
|
}
|
|
1269
|
-
},
|
|
1269
|
+
}, ll = { class: "flex h-12 overflow-hidden rounded-lg border border-gray-300 text-sm" }, sl = ["disabled", "onClick"], Ie = {
|
|
1270
1270
|
__name: "NotationInput",
|
|
1271
1271
|
props: {
|
|
1272
1272
|
modelValue: {
|
|
@@ -1285,7 +1285,7 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
1285
1285
|
emits: ["update:modelValue"],
|
|
1286
1286
|
setup(e, { emit: a }) {
|
|
1287
1287
|
const t = a, l = e, o = f(() => l.options.map((u) => u == null ? "" : String(u).trim()).filter((u) => u !== "")), d = (u) => String(u) === String(l.modelValue ?? ""), i = (u) => t("update:modelValue", u);
|
|
1288
|
-
return (u, k) => (s(), n("div",
|
|
1288
|
+
return (u, k) => (s(), n("div", ll, [
|
|
1289
1289
|
(s(!0), n(H, null, W(o.value, (x, T) => (s(), n("button", {
|
|
1290
1290
|
key: `notation-${T}-${x}`,
|
|
1291
1291
|
type: "button",
|
|
@@ -1297,10 +1297,10 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
1297
1297
|
]]),
|
|
1298
1298
|
disabled: e.disabled,
|
|
1299
1299
|
onClick: (h) => i(x)
|
|
1300
|
-
}, $(x), 11,
|
|
1300
|
+
}, $(x), 11, sl))), 128))
|
|
1301
1301
|
]));
|
|
1302
1302
|
}
|
|
1303
|
-
},
|
|
1303
|
+
}, al = ["name", "value", "checked", "disabled"], Le = {
|
|
1304
1304
|
__name: "RadioInput",
|
|
1305
1305
|
props: {
|
|
1306
1306
|
modelValue: {
|
|
@@ -1348,11 +1348,11 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
1348
1348
|
onChange: k,
|
|
1349
1349
|
onFocus: i,
|
|
1350
1350
|
onBlur: u
|
|
1351
|
-
}, null, 40,
|
|
1351
|
+
}, null, 40, al),
|
|
1352
1352
|
r("span", null, $(o.value ? "✓" : "○") + " " + $(e.label), 1)
|
|
1353
1353
|
], 2));
|
|
1354
1354
|
}
|
|
1355
|
-
},
|
|
1355
|
+
}, nl = { class: "flex flex-wrap gap-3" }, De = {
|
|
1356
1356
|
__name: "RadioMultipleInput",
|
|
1357
1357
|
props: {
|
|
1358
1358
|
modelValue: {
|
|
@@ -1375,7 +1375,7 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
1375
1375
|
emits: ["update:modelValue"],
|
|
1376
1376
|
setup(e, { emit: a }) {
|
|
1377
1377
|
const t = a, l = e, o = f(() => l.options.map((i) => i == null ? "" : String(i).trim()).filter((i) => i !== "")), d = (i) => t("update:modelValue", i);
|
|
1378
|
-
return (i, u) => (s(), n("div",
|
|
1378
|
+
return (i, u) => (s(), n("div", nl, [
|
|
1379
1379
|
(s(!0), n(H, null, W(o.value, (k) => (s(), A(re, {
|
|
1380
1380
|
key: `radio-${e.name ?? "group"}-${k}`,
|
|
1381
1381
|
type: "radio-input",
|
|
@@ -1388,10 +1388,10 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
1388
1388
|
}, null, 8, ["model-value", "name", "value", "label", "disabled"]))), 128))
|
|
1389
1389
|
]));
|
|
1390
1390
|
}
|
|
1391
|
-
},
|
|
1391
|
+
}, ol = ["for"], rl = {
|
|
1392
1392
|
key: 1,
|
|
1393
1393
|
class: "text-xs text-gray-500 mb-1 block break-all"
|
|
1394
|
-
},
|
|
1394
|
+
}, il = {
|
|
1395
1395
|
key: 14,
|
|
1396
1396
|
class: "flex items-center mt-2 text-sm text-red-600"
|
|
1397
1397
|
}, ne = "block w-full px-4 py-3 rounded-lg bg-white text-sm placeholder-gray-500 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent transition-all duration-200", re = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
@@ -1604,8 +1604,8 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
1604
1604
|
key: 0,
|
|
1605
1605
|
for: k.value,
|
|
1606
1606
|
class: "text-base font-semibold text-gray-900 mb-1 block"
|
|
1607
|
-
}, $(e.label), 9,
|
|
1608
|
-
e.helperText && !u.value ? (s(), n("span",
|
|
1607
|
+
}, $(e.label), 9, ol)) : O("", !0),
|
|
1608
|
+
e.helperText && !u.value ? (s(), n("span", rl, $(e.helperText), 1)) : O("", !0),
|
|
1609
1609
|
K.value ? (s(), A(Ve, M({ key: 2 }, Q.value, {
|
|
1610
1610
|
"onUpdate:modelValue": w[0] || (w[0] = (B) => l("update:modelValue", B)),
|
|
1611
1611
|
onBlur: w[1] || (w[1] = (B) => l("blur", B))
|
|
@@ -1649,13 +1649,13 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
1649
1649
|
updateValue: d,
|
|
1650
1650
|
attrs: V(o)
|
|
1651
1651
|
}),
|
|
1652
|
-
i.value ? (s(), n("div",
|
|
1652
|
+
i.value ? (s(), n("div", il, [
|
|
1653
1653
|
E(V(qe), { class: "mr-1 h-4 w-4 flex-shrink-0" }),
|
|
1654
1654
|
r("span", null, $(e.errorMessage), 1)
|
|
1655
1655
|
])) : O("", !0)
|
|
1656
1656
|
]));
|
|
1657
1657
|
}
|
|
1658
|
-
}),
|
|
1658
|
+
}), dl = { class: "flex flex-wrap gap-3" }, Oe = {
|
|
1659
1659
|
__name: "CheckboxMultipleInput",
|
|
1660
1660
|
props: {
|
|
1661
1661
|
modelValue: {
|
|
@@ -1677,7 +1677,7 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
1677
1677
|
const x = Array.isArray(l.modelValue) ? [...l.modelValue] : [], T = x.indexOf(u);
|
|
1678
1678
|
k && T === -1 ? x.push(u) : !k && T !== -1 && x.splice(T, 1), t("update:modelValue", x);
|
|
1679
1679
|
};
|
|
1680
|
-
return (u, k) => (s(), n("div",
|
|
1680
|
+
return (u, k) => (s(), n("div", dl, [
|
|
1681
1681
|
(s(!0), n(H, null, W(o.value, (x) => (s(), A(re, {
|
|
1682
1682
|
key: `checkbox-${x}`,
|
|
1683
1683
|
type: "checkbox-input",
|
|
@@ -1793,7 +1793,7 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
1793
1793
|
], 2)
|
|
1794
1794
|
], 512));
|
|
1795
1795
|
}
|
|
1796
|
-
},
|
|
1796
|
+
}, ul = { class: "bg-white px-4 pt-5 pb-4 sm:p-6 sm:pb-4" }, cl = { class: "sm:flex sm:items-start" }, fl = { class: "mx-auto shrink-0 flex items-center justify-center size-12 rounded-full bg-red-100 sm:mx-0 sm:size-10" }, gl = { class: "mt-3 text-center sm:mt-0 sm:ms-4 sm:text-start" }, pl = { class: "text-lg font-medium text-gray-900" }, ml = { class: "mt-4 text-sm text-gray-600" }, yl = { class: "flex flex-col-reverse lg:flex-row lg:justify-end px-6 py-4 bg-gray-100 text-end gap-4 lg:gap-0" }, bl = {
|
|
1797
1797
|
__name: "ConfirmationModal",
|
|
1798
1798
|
props: {
|
|
1799
1799
|
show: {
|
|
@@ -1827,29 +1827,29 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
1827
1827
|
onClose: l
|
|
1828
1828
|
}, {
|
|
1829
1829
|
default: F(() => [
|
|
1830
|
-
r("div",
|
|
1831
|
-
r("div",
|
|
1832
|
-
r("div",
|
|
1830
|
+
r("div", ul, [
|
|
1831
|
+
r("div", cl, [
|
|
1832
|
+
r("div", fl, [
|
|
1833
1833
|
E(V(we), { class: "size-6 text-red-600" })
|
|
1834
1834
|
]),
|
|
1835
|
-
r("div",
|
|
1836
|
-
r("h3",
|
|
1835
|
+
r("div", gl, [
|
|
1836
|
+
r("h3", pl, [
|
|
1837
1837
|
g(o.$slots, "title")
|
|
1838
1838
|
]),
|
|
1839
|
-
r("div",
|
|
1839
|
+
r("div", ml, [
|
|
1840
1840
|
g(o.$slots, "content")
|
|
1841
1841
|
])
|
|
1842
1842
|
])
|
|
1843
1843
|
])
|
|
1844
1844
|
]),
|
|
1845
|
-
r("div",
|
|
1845
|
+
r("div", yl, [
|
|
1846
1846
|
g(o.$slots, "footer")
|
|
1847
1847
|
])
|
|
1848
1848
|
]),
|
|
1849
1849
|
_: 3
|
|
1850
1850
|
}, 8, ["show", "max-width", "closeable", "position"]));
|
|
1851
1851
|
}
|
|
1852
|
-
},
|
|
1852
|
+
}, hl = ["type", "disabled"], vl = /* @__PURE__ */ Object.assign({
|
|
1853
1853
|
inheritAttrs: !1
|
|
1854
1854
|
}, {
|
|
1855
1855
|
__name: "DangerButton",
|
|
@@ -1871,9 +1871,9 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
1871
1871
|
class: "min-w-[40px] min-h-[35px] inline-flex items-center justify-center rounded-lg border border-red-300 bg-red-50 p-3 py-2 text-sm font-medium text-red-700 transition-all duration-200 hover:bg-red-100 focus:outline-none focus:ring-2 focus:ring-red-500 focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 disabled:hover:bg-red-50"
|
|
1872
1872
|
}), [
|
|
1873
1873
|
g(t.$slots, "default")
|
|
1874
|
-
], 16,
|
|
1874
|
+
], 16, hl));
|
|
1875
1875
|
}
|
|
1876
|
-
}),
|
|
1876
|
+
}), xl = { class: "px-6 py-4" }, wl = { class: "text-lg font-medium text-gray-900" }, kl = { class: "mt-4 text-sm text-gray-600" }, Sl = { class: "flex flex-row justify-end px-6 py-4 bg-gray-100 text-end" }, $l = {
|
|
1877
1877
|
__name: "DialogModal",
|
|
1878
1878
|
props: {
|
|
1879
1879
|
show: {
|
|
@@ -1901,22 +1901,22 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
1901
1901
|
onClose: l
|
|
1902
1902
|
}, {
|
|
1903
1903
|
default: F(() => [
|
|
1904
|
-
r("div",
|
|
1905
|
-
r("div",
|
|
1904
|
+
r("div", xl, [
|
|
1905
|
+
r("div", wl, [
|
|
1906
1906
|
g(o.$slots, "title")
|
|
1907
1907
|
]),
|
|
1908
|
-
r("div",
|
|
1908
|
+
r("div", kl, [
|
|
1909
1909
|
g(o.$slots, "content")
|
|
1910
1910
|
])
|
|
1911
1911
|
]),
|
|
1912
|
-
r("div",
|
|
1912
|
+
r("div", Sl, [
|
|
1913
1913
|
g(o.$slots, "footer")
|
|
1914
1914
|
])
|
|
1915
1915
|
]),
|
|
1916
1916
|
_: 3
|
|
1917
1917
|
}, 8, ["show", "max-width", "closeable"]));
|
|
1918
1918
|
}
|
|
1919
|
-
},
|
|
1919
|
+
}, Cl = { class: "relative" }, _l = {
|
|
1920
1920
|
__name: "Dropdown",
|
|
1921
1921
|
props: {
|
|
1922
1922
|
align: {
|
|
@@ -1942,7 +1942,7 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
1942
1942
|
const o = f(() => ({
|
|
1943
1943
|
48: "w-48"
|
|
1944
1944
|
})[a.width.toString()]), d = f(() => a.align === "left" ? "ltr:origin-top-left rtl:origin-top-right start-0" : a.align === "right" ? "ltr:origin-top-right rtl:origin-top-left end-0" : "origin-top");
|
|
1945
|
-
return (i, u) => (s(), n("div",
|
|
1945
|
+
return (i, u) => (s(), n("div", Cl, [
|
|
1946
1946
|
r("div", {
|
|
1947
1947
|
onClick: u[0] || (u[0] = (k) => ie(t) ? t.value = !V(t) : t = !V(t))
|
|
1948
1948
|
}, [
|
|
@@ -1981,11 +1981,11 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
1981
1981
|
})
|
|
1982
1982
|
]));
|
|
1983
1983
|
}
|
|
1984
|
-
},
|
|
1984
|
+
}, Vl = {
|
|
1985
1985
|
key: 0,
|
|
1986
1986
|
type: "submit",
|
|
1987
1987
|
class: "block w-full px-4 py-2 text-start text-sm leading-5 text-gray-700 hover:bg-gray-100 focus:outline-none focus:bg-gray-100 transition duration-150 ease-in-out"
|
|
1988
|
-
},
|
|
1988
|
+
}, Bl = ["href"], Tl = {
|
|
1989
1989
|
__name: "DropdownLink",
|
|
1990
1990
|
props: {
|
|
1991
1991
|
href: String,
|
|
@@ -1993,7 +1993,7 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
1993
1993
|
},
|
|
1994
1994
|
setup(e) {
|
|
1995
1995
|
return (a, t) => (s(), n("div", null, [
|
|
1996
|
-
e.as == "button" ? (s(), n("button",
|
|
1996
|
+
e.as == "button" ? (s(), n("button", Vl, [
|
|
1997
1997
|
g(a.$slots, "default")
|
|
1998
1998
|
])) : e.as == "a" ? (s(), n("a", {
|
|
1999
1999
|
key: 1,
|
|
@@ -2001,7 +2001,7 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
2001
2001
|
class: "block px-4 py-2 text-sm leading-5 text-gray-700 hover:bg-gray-100 focus:outline-none focus:bg-gray-100 transition duration-150 ease-in-out"
|
|
2002
2002
|
}, [
|
|
2003
2003
|
g(a.$slots, "default")
|
|
2004
|
-
], 8,
|
|
2004
|
+
], 8, Bl)) : (s(), A(V(ee), {
|
|
2005
2005
|
key: 2,
|
|
2006
2006
|
href: e.href,
|
|
2007
2007
|
class: "block px-4 py-2 text-sm leading-5 text-gray-700 hover:bg-gray-100 focus:outline-none focus:bg-gray-100 transition duration-150 ease-in-out"
|
|
@@ -2013,15 +2013,15 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
2013
2013
|
}, 8, ["href"]))
|
|
2014
2014
|
]));
|
|
2015
2015
|
}
|
|
2016
|
-
},
|
|
2016
|
+
}, Al = { class: "md:grid md:grid-cols-3 md:gap-6" }, jl = { class: "mt-5 md:mt-0 md:col-span-2 shadow sm:rounded-lg" }, Il = { class: "grid grid-cols-6 gap-6" }, Ll = {
|
|
2017
2017
|
key: 0,
|
|
2018
2018
|
class: "flex items-center justify-start px-3 pb-6 bg-white text-end sm:rounded-bl-md sm:rounded-br-md"
|
|
2019
|
-
},
|
|
2019
|
+
}, Dl = {
|
|
2020
2020
|
__name: "FormSection",
|
|
2021
2021
|
emits: ["submitted"],
|
|
2022
2022
|
setup(e) {
|
|
2023
2023
|
const a = f(() => !!oe().actions);
|
|
2024
|
-
return (t, l) => (s(), n("div",
|
|
2024
|
+
return (t, l) => (s(), n("div", Al, [
|
|
2025
2025
|
E(pe, null, {
|
|
2026
2026
|
title: F(() => [
|
|
2027
2027
|
g(t.$slots, "title")
|
|
@@ -2031,49 +2031,49 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
2031
2031
|
]),
|
|
2032
2032
|
_: 3
|
|
2033
2033
|
}),
|
|
2034
|
-
r("div",
|
|
2034
|
+
r("div", jl, [
|
|
2035
2035
|
r("form", {
|
|
2036
2036
|
onSubmit: l[0] || (l[0] = ue((o) => t.$emit("submitted"), ["prevent"]))
|
|
2037
2037
|
}, [
|
|
2038
2038
|
r("div", {
|
|
2039
2039
|
class: _(["px-4 py-5 bg-white sm:p-6", a.value ? "sm:rounded-tl-md sm:rounded-tr-md" : "sm:rounded-md"])
|
|
2040
2040
|
}, [
|
|
2041
|
-
r("div",
|
|
2041
|
+
r("div", Il, [
|
|
2042
2042
|
g(t.$slots, "form")
|
|
2043
2043
|
])
|
|
2044
2044
|
], 2),
|
|
2045
|
-
a.value ? (s(), n("div",
|
|
2045
|
+
a.value ? (s(), n("div", Ll, [
|
|
2046
2046
|
g(t.$slots, "actions")
|
|
2047
2047
|
])) : O("", !0)
|
|
2048
2048
|
], 32)
|
|
2049
2049
|
])
|
|
2050
2050
|
]));
|
|
2051
2051
|
}
|
|
2052
|
-
},
|
|
2052
|
+
}, Ol = { class: "text-sm text-red-600" }, Ml = {
|
|
2053
2053
|
__name: "InputError",
|
|
2054
2054
|
props: {
|
|
2055
2055
|
message: String
|
|
2056
2056
|
},
|
|
2057
2057
|
setup(e) {
|
|
2058
2058
|
return (a, t) => G((s(), n("div", null, [
|
|
2059
|
-
r("p",
|
|
2059
|
+
r("p", Ol, $(e.message), 1)
|
|
2060
2060
|
], 512)), [
|
|
2061
2061
|
[Z, e.message]
|
|
2062
2062
|
]);
|
|
2063
2063
|
}
|
|
2064
|
-
},
|
|
2064
|
+
}, zl = { class: "block font-medium text-sm text-gray-700" }, Fl = { key: 0 }, Ul = { key: 1 }, Nl = {
|
|
2065
2065
|
__name: "InputLabel",
|
|
2066
2066
|
props: {
|
|
2067
2067
|
value: String
|
|
2068
2068
|
},
|
|
2069
2069
|
setup(e) {
|
|
2070
|
-
return (a, t) => (s(), n("label",
|
|
2071
|
-
e.value ? (s(), n("span",
|
|
2070
|
+
return (a, t) => (s(), n("label", zl, [
|
|
2071
|
+
e.value ? (s(), n("span", Fl, $(e.value), 1)) : (s(), n("span", Ul, [
|
|
2072
2072
|
g(a.$slots, "default")
|
|
2073
2073
|
]))
|
|
2074
2074
|
]));
|
|
2075
2075
|
}
|
|
2076
|
-
},
|
|
2076
|
+
}, El = {
|
|
2077
2077
|
__name: "NavLink",
|
|
2078
2078
|
props: {
|
|
2079
2079
|
href: String,
|
|
@@ -2091,7 +2091,7 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
2091
2091
|
_: 3
|
|
2092
2092
|
}, 8, ["href", "class"]));
|
|
2093
2093
|
}
|
|
2094
|
-
},
|
|
2094
|
+
}, Kl = ["type", "disabled"], Rl = /* @__PURE__ */ Object.assign({
|
|
2095
2095
|
inheritAttrs: !1
|
|
2096
2096
|
}, {
|
|
2097
2097
|
__name: "PrimaryButton",
|
|
@@ -2113,9 +2113,9 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
2113
2113
|
class: "min-w-[40px] min-h-[35px] inline-flex items-center justify-center rounded-lg bg-gradient-to-r from-blue-500 to-blue-600 p-3 py-2 text-sm font-medium text-white shadow-[0_1px_3px_rgba(0,0,0,0.1)] transition-all duration-200 hover:from-blue-600 hover:to-blue-700 hover:shadow-[0_2px_6px_rgba(0,0,0,0.15)] focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 disabled:hover:from-blue-500 disabled:hover:to-blue-600"
|
|
2114
2114
|
}), [
|
|
2115
2115
|
g(t.$slots, "default")
|
|
2116
|
-
], 16,
|
|
2116
|
+
], 16, Kl));
|
|
2117
2117
|
}
|
|
2118
|
-
}),
|
|
2118
|
+
}), Hl = ["href", "title", "target", "rel"], ye = /* @__PURE__ */ Object.assign({
|
|
2119
2119
|
inheritAttrs: !1
|
|
2120
2120
|
}, {
|
|
2121
2121
|
__name: "PrimaryLinkButton",
|
|
@@ -2151,7 +2151,7 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
2151
2151
|
class: "min-w-[40px] min-h-[35px] inline-flex items-center justify-center rounded-lg bg-gradient-to-r from-blue-500 to-blue-600 p-3 py-2 text-sm font-medium text-white shadow-[0_1px_3px_rgba(0,0,0,0.1)] transition-all duration-200 hover:from-blue-600 hover:to-blue-700 hover:shadow-[0_2px_6px_rgba(0,0,0,0.15)] focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2"
|
|
2152
2152
|
}), [
|
|
2153
2153
|
g(t.$slots, "default")
|
|
2154
|
-
], 16,
|
|
2154
|
+
], 16, Hl)) : (s(), A(V(ee), M({ key: 0 }, V(a), {
|
|
2155
2155
|
href: e.href,
|
|
2156
2156
|
title: e.title,
|
|
2157
2157
|
class: "min-w-[40px] min-h-[35px] inline-flex items-center justify-center rounded-lg bg-gradient-to-r from-blue-500 to-blue-600 p-3 py-2 text-sm font-medium text-white shadow-[0_1px_3px_rgba(0,0,0,0.1)] transition-all duration-200 hover:from-blue-600 hover:to-blue-700 hover:shadow-[0_2px_6px_rgba(0,0,0,0.15)] focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2"
|
|
@@ -2162,7 +2162,7 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
2162
2162
|
_: 3
|
|
2163
2163
|
}, 16, ["href", "title"]));
|
|
2164
2164
|
}
|
|
2165
|
-
}),
|
|
2165
|
+
}), Pl = ["href"], Wl = {
|
|
2166
2166
|
__name: "ResponsiveNavLink",
|
|
2167
2167
|
props: {
|
|
2168
2168
|
active: Boolean,
|
|
@@ -2183,7 +2183,7 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
2183
2183
|
href: e.href
|
|
2184
2184
|
}, [
|
|
2185
2185
|
g(l.$slots, "default")
|
|
2186
|
-
], 10,
|
|
2186
|
+
], 10, Pl)) : (s(), A(V(ee), {
|
|
2187
2187
|
key: 2,
|
|
2188
2188
|
href: e.href,
|
|
2189
2189
|
class: _(t.value)
|
|
@@ -2195,7 +2195,7 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
2195
2195
|
}, 8, ["href", "class"]))
|
|
2196
2196
|
]));
|
|
2197
2197
|
}
|
|
2198
|
-
},
|
|
2198
|
+
}, ql = ["type", "disabled"], Gl = /* @__PURE__ */ Object.assign({
|
|
2199
2199
|
inheritAttrs: !1
|
|
2200
2200
|
}, {
|
|
2201
2201
|
__name: "SecondaryButton",
|
|
@@ -2217,9 +2217,9 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
2217
2217
|
class: "min-w-[40px] min-h-[35px] inline-flex items-center justify-center rounded-lg bg-gradient-to-r from-green-500 to-green-600 p-3 py-2 text-sm font-medium text-white shadow-[0_1px_3px_rgba(0,0,0,0.1)] transition-all duration-200 hover:from-green-600 hover:to-green-700 hover:shadow-[0_2px_6px_rgba(0,0,0,0.15)] focus:outline-none focus:ring-2 focus:ring-green-500 focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 disabled:hover:from-green-500 disabled:hover:to-green-600"
|
|
2218
2218
|
}), [
|
|
2219
2219
|
g(t.$slots, "default")
|
|
2220
|
-
], 16,
|
|
2220
|
+
], 16, ql));
|
|
2221
2221
|
}
|
|
2222
|
-
}),
|
|
2222
|
+
}), Xl = ["href", "title", "target", "rel"], Jl = /* @__PURE__ */ Object.assign({
|
|
2223
2223
|
inheritAttrs: !1
|
|
2224
2224
|
}, {
|
|
2225
2225
|
__name: "SecondaryLinkButton",
|
|
@@ -2255,7 +2255,7 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
2255
2255
|
class: "min-w-[40px] min-h-[35px] inline-flex items-center justify-center rounded-lg bg-gradient-to-r from-green-500 to-green-600 p-3 py-2 text-sm font-medium text-white shadow-[0_1px_3px_rgba(0,0,0,0.1)] transition-all duration-200 hover:from-green-600 hover:to-green-700 hover:shadow-[0_2px_6px_rgba(0,0,0,0.15)] focus:outline-none focus:ring-2 focus:ring-green-500 focus:ring-offset-2"
|
|
2256
2256
|
}), [
|
|
2257
2257
|
g(t.$slots, "default")
|
|
2258
|
-
], 16,
|
|
2258
|
+
], 16, Xl)) : (s(), A(V(ee), M({ key: 0 }, V(a), {
|
|
2259
2259
|
href: e.href,
|
|
2260
2260
|
title: e.title,
|
|
2261
2261
|
class: "min-w-[40px] min-h-[35px] inline-flex items-center justify-center rounded-lg bg-gradient-to-r from-green-500 to-green-600 p-3 py-2 text-sm font-medium text-white shadow-[0_1px_3px_rgba(0,0,0,0.1)] transition-all duration-200 hover:from-green-600 hover:to-green-700 hover:shadow-[0_2px_6px_rgba(0,0,0,0.15)] focus:outline-none focus:ring-2 focus:ring-green-500 focus:ring-offset-2"
|
|
@@ -2266,16 +2266,16 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
2266
2266
|
_: 3
|
|
2267
2267
|
}, 16, ["href", "title"]));
|
|
2268
2268
|
}
|
|
2269
|
-
}),
|
|
2269
|
+
}), Ql = { class: "hidden sm:block" }, Yl = { class: "py-8" }, Zl = {
|
|
2270
2270
|
__name: "SectionBorder",
|
|
2271
2271
|
setup(e) {
|
|
2272
|
-
return (a, t) => (s(), n("div",
|
|
2273
|
-
r("div",
|
|
2272
|
+
return (a, t) => (s(), n("div", Ql, [
|
|
2273
|
+
r("div", Yl, [
|
|
2274
2274
|
E(fe)
|
|
2275
2275
|
])
|
|
2276
2276
|
]));
|
|
2277
2277
|
}
|
|
2278
|
-
},
|
|
2278
|
+
}, es = { class: "bg-white/80 backdrop-blur-sm border border-gray-200/60 rounded-xl px-6 py-4" }, ts = { class: "flex flex-col sm:flex-row items-start sm:items-center justify-between gap-4" }, ls = { class: "flex items-center gap-3" }, ss = { class: "text-sm font-medium text-gray-700" }, as = { class: "flex flex-wrap items-center gap-2" }, ns = ["onClick"], os = { class: "text-xs text-gray-500" }, rs = {
|
|
2279
2279
|
__name: "SortControls",
|
|
2280
2280
|
props: {
|
|
2281
2281
|
fields: {
|
|
@@ -2312,11 +2312,11 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
2312
2312
|
const t = a, l = (o) => {
|
|
2313
2313
|
t("sort", o);
|
|
2314
2314
|
};
|
|
2315
|
-
return (o, d) => (s(), n("div",
|
|
2316
|
-
r("div",
|
|
2317
|
-
r("div",
|
|
2318
|
-
r("label",
|
|
2319
|
-
r("div",
|
|
2315
|
+
return (o, d) => (s(), n("div", es, [
|
|
2316
|
+
r("div", ts, [
|
|
2317
|
+
r("div", ls, [
|
|
2318
|
+
r("label", ss, $(e.sortByLabel) + ":", 1),
|
|
2319
|
+
r("div", as, [
|
|
2320
2320
|
(s(!0), n(H, null, W(e.fields, (i) => (s(), n("button", {
|
|
2321
2321
|
key: i.key,
|
|
2322
2322
|
onClick: (u) => l(i.key),
|
|
@@ -2334,14 +2334,14 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
2334
2334
|
key: 1,
|
|
2335
2335
|
class: "w-3 h-3 ml-1 inline"
|
|
2336
2336
|
})) : O("", !0)
|
|
2337
|
-
], 10,
|
|
2337
|
+
], 10, ns))), 128))
|
|
2338
2338
|
])
|
|
2339
2339
|
]),
|
|
2340
|
-
r("div",
|
|
2340
|
+
r("div", os, $(e.count) + " " + $(e.countLabel), 1)
|
|
2341
2341
|
])
|
|
2342
2342
|
]));
|
|
2343
2343
|
}
|
|
2344
|
-
},
|
|
2344
|
+
}, is = { class: "flex items-center space-x-1" }, ds = { class: "flex flex-col" }, be = {
|
|
2345
2345
|
__name: "ThSortable",
|
|
2346
2346
|
props: {
|
|
2347
2347
|
field: {
|
|
@@ -2363,11 +2363,11 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
2363
2363
|
class: "px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider cursor-pointer hover:bg-gray-100 transition-colors duration-150",
|
|
2364
2364
|
onClick: d[0] || (d[0] = (i) => o.$emit("sort", e.field))
|
|
2365
2365
|
}, [
|
|
2366
|
-
r("div",
|
|
2366
|
+
r("div", is, [
|
|
2367
2367
|
r("span", null, [
|
|
2368
2368
|
g(o.$slots, "default")
|
|
2369
2369
|
]),
|
|
2370
|
-
r("div",
|
|
2370
|
+
r("div", ds, [
|
|
2371
2371
|
t.value && e.currentDirection === "asc" ? (s(), A(V(ke), {
|
|
2372
2372
|
key: 0,
|
|
2373
2373
|
class: _([l.value, "w-3 h-3"])
|
|
@@ -2380,22 +2380,22 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
2380
2380
|
])
|
|
2381
2381
|
]));
|
|
2382
2382
|
}
|
|
2383
|
-
},
|
|
2383
|
+
}, us = { class: "bg-white border border-gray-200/60 rounded-xl shadow-[0_1px_3px_rgba(0,0,0,0.1)] animate-fadeIn mx-4 md:mx-0" }, cs = { class: "overflow-x-auto rounded-xl" }, fs = { class: "min-w-full divide-y divide-gray-200" }, gs = { class: "bg-gray-50" }, ps = {
|
|
2384
2384
|
key: 0,
|
|
2385
2385
|
class: "px-6 py-3 text-right text-xs font-medium text-gray-500 uppercase tracking-wider"
|
|
2386
|
-
},
|
|
2386
|
+
}, ms = { class: "bg-white divide-y divide-gray-200" }, ys = {
|
|
2387
2387
|
key: 0,
|
|
2388
2388
|
class: "flex items-center"
|
|
2389
|
-
},
|
|
2389
|
+
}, bs = ["title"], hs = {
|
|
2390
2390
|
key: 0,
|
|
2391
2391
|
class: "ml-2 inline-flex items-center px-2 py-1 rounded-full text-xs font-medium bg-red-100 text-red-800"
|
|
2392
|
-
},
|
|
2392
|
+
}, vs = ["innerHTML"], xs = { key: 3 }, ws = {
|
|
2393
2393
|
key: 0,
|
|
2394
2394
|
class: "px-6 py-4 whitespace-nowrap text-right text-sm font-medium"
|
|
2395
|
-
},
|
|
2395
|
+
}, ks = {
|
|
2396
2396
|
key: 0,
|
|
2397
2397
|
class: "text-center py-12"
|
|
2398
|
-
},
|
|
2398
|
+
}, Ss = { class: "inline-flex items-center justify-center w-16 h-16 bg-gray-100 rounded-full mb-4" }, $s = { class: "text-lg font-medium text-gray-900 mb-2" }, Cs = { class: "text-gray-500 mb-4" }, _s = {
|
|
2399
2399
|
__name: "TableList",
|
|
2400
2400
|
props: {
|
|
2401
2401
|
data: {
|
|
@@ -2466,10 +2466,10 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
2466
2466
|
let C = "px-6 py-4 text-sm truncate";
|
|
2467
2467
|
return b.isSecondary || (C += " font-medium"), b.isSecondary && (C += " text-gray-600"), C;
|
|
2468
2468
|
}, h = (b) => b.sortable ? "" : "px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider";
|
|
2469
|
-
return (b, C) => (s(), n("div",
|
|
2470
|
-
r("div",
|
|
2471
|
-
r("table",
|
|
2472
|
-
r("thead",
|
|
2469
|
+
return (b, C) => (s(), n("div", us, [
|
|
2470
|
+
r("div", cs, [
|
|
2471
|
+
r("table", fs, [
|
|
2472
|
+
r("thead", gs, [
|
|
2473
2473
|
r("tr", null, [
|
|
2474
2474
|
(s(!0), n(H, null, W(e.columns, (p) => (s(), n(H, {
|
|
2475
2475
|
key: p.key
|
|
@@ -2490,10 +2490,10 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
2490
2490
|
class: _([h(p), { "text-right": p.align === "right" }])
|
|
2491
2491
|
}, $(p.label), 3))
|
|
2492
2492
|
], 64))), 128)),
|
|
2493
|
-
b.$slots.actions ? (s(), n("th",
|
|
2493
|
+
b.$slots.actions ? (s(), n("th", ps, $(e.actionsLabel), 1)) : O("", !0)
|
|
2494
2494
|
])
|
|
2495
2495
|
]),
|
|
2496
|
-
r("tbody",
|
|
2496
|
+
r("tbody", ms, [
|
|
2497
2497
|
(s(!0), n(H, null, W(e.data, (p, L) => (s(), n("tr", {
|
|
2498
2498
|
key: p.id,
|
|
2499
2499
|
class: _(e.rowClasses(p, L))
|
|
@@ -2502,12 +2502,12 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
2502
2502
|
key: j.key,
|
|
2503
2503
|
class: _(T(j))
|
|
2504
2504
|
}, [
|
|
2505
|
-
j.key === "name" && !j.slot ? (s(), n("div",
|
|
2505
|
+
j.key === "name" && !j.slot ? (s(), n("div", ys, [
|
|
2506
2506
|
r("div", {
|
|
2507
2507
|
class: "text-sm font-medium truncate",
|
|
2508
2508
|
title: k(p, j)
|
|
2509
|
-
}, $(k(p, j)), 9,
|
|
2510
|
-
x(p) ? (s(), n("span",
|
|
2509
|
+
}, $(k(p, j)), 9, bs),
|
|
2510
|
+
x(p) ? (s(), n("span", hs, $(e.deletedLabel), 1)) : O("", !0)
|
|
2511
2511
|
])) : j.slot ? g(b.$slots, j.slot, {
|
|
2512
2512
|
key: 1,
|
|
2513
2513
|
item: p,
|
|
@@ -2516,9 +2516,9 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
2516
2516
|
}) : j.render ? (s(), n("div", {
|
|
2517
2517
|
key: 2,
|
|
2518
2518
|
innerHTML: j.render(p)
|
|
2519
|
-
}, null, 8,
|
|
2519
|
+
}, null, 8, vs)) : (s(), n("div", xs, $(k(p, j)), 1))
|
|
2520
2520
|
], 2))), 128)),
|
|
2521
|
-
b.$slots.actions ? (s(), n("td",
|
|
2521
|
+
b.$slots.actions ? (s(), n("td", ws, [
|
|
2522
2522
|
g(b.$slots, "actions", {
|
|
2523
2523
|
item: p,
|
|
2524
2524
|
index: L
|
|
@@ -2528,12 +2528,12 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
2528
2528
|
])
|
|
2529
2529
|
])
|
|
2530
2530
|
]),
|
|
2531
|
-
d.value ? O("", !0) : (s(), n("div",
|
|
2532
|
-
r("div",
|
|
2531
|
+
d.value ? O("", !0) : (s(), n("div", ks, [
|
|
2532
|
+
r("div", Ss, [
|
|
2533
2533
|
(s(), A(xe(e.emptyState.icon), { class: "w-8 h-8 text-gray-400" }))
|
|
2534
2534
|
]),
|
|
2535
|
-
r("h3",
|
|
2536
|
-
r("p",
|
|
2535
|
+
r("h3", $s, $(e.emptyState.title), 1),
|
|
2536
|
+
r("p", Cs, $(e.emptyState.description), 1),
|
|
2537
2537
|
e.emptyState.actionText && e.emptyState.actionUrl ? (s(), A(ye, {
|
|
2538
2538
|
key: 0,
|
|
2539
2539
|
href: e.emptyState.actionUrl
|
|
@@ -2546,28 +2546,28 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
2546
2546
|
]))
|
|
2547
2547
|
]));
|
|
2548
2548
|
}
|
|
2549
|
-
},
|
|
2549
|
+
}, Vs = {
|
|
2550
2550
|
key: 0,
|
|
2551
2551
|
class: "bg-white/80 backdrop-blur-sm px-4 py-3 mx-4 md:mx-0 mb-4"
|
|
2552
|
-
},
|
|
2552
|
+
}, Bs = { class: "relative p-1" }, Ts = { class: "absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none" }, As = ["placeholder"], js = {
|
|
2553
2553
|
key: 1,
|
|
2554
2554
|
class: "overflow-x-auto rounded-xl"
|
|
2555
|
-
},
|
|
2555
|
+
}, Is = { class: "min-w-full divide-y divide-gray-200" }, Ls = { class: "bg-gray-50" }, Ds = {
|
|
2556
2556
|
key: 0,
|
|
2557
2557
|
class: "px-6 py-3 text-right text-xs font-medium text-gray-500 uppercase tracking-wider"
|
|
2558
|
-
},
|
|
2558
|
+
}, Os = { class: "bg-white divide-y divide-gray-200" }, Ms = {
|
|
2559
2559
|
key: 0,
|
|
2560
2560
|
class: "flex items-center"
|
|
2561
|
-
},
|
|
2561
|
+
}, zs = ["title"], Fs = {
|
|
2562
2562
|
key: 0,
|
|
2563
2563
|
class: "ml-2 inline-flex items-center px-2 py-1 rounded-full text-xs font-medium bg-red-100 text-red-800"
|
|
2564
|
-
},
|
|
2564
|
+
}, Us = { key: 3 }, Ns = { key: 4 }, Es = {
|
|
2565
2565
|
key: 0,
|
|
2566
2566
|
class: "px-6 py-4 whitespace-nowrap text-right text-sm font-medium"
|
|
2567
|
-
},
|
|
2567
|
+
}, Ks = {
|
|
2568
2568
|
key: 2,
|
|
2569
2569
|
class: "text-center py-12"
|
|
2570
|
-
},
|
|
2570
|
+
}, Rs = { class: "inline-flex items-center justify-center w-16 h-16 bg-gray-100 rounded-full mb-4" }, Hs = { class: "text-lg font-medium text-gray-900 mb-2" }, Ps = { class: "text-gray-500 mb-4" }, Ws = {
|
|
2571
2571
|
__name: "TableListForm",
|
|
2572
2572
|
props: {
|
|
2573
2573
|
data: {
|
|
@@ -2711,9 +2711,9 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
2711
2711
|
return (c, m) => (s(), n("div", {
|
|
2712
2712
|
class: _("bg-white mx-4 md:mx-0 " + (e.isCard ? "border border-gray-200/60 rounded-xl shadow-[0_1px_3px_rgba(0,0,0,0.1)] animate-fadeIn" : ""))
|
|
2713
2713
|
}, [
|
|
2714
|
-
e.search ? (s(), n("div",
|
|
2715
|
-
r("div",
|
|
2716
|
-
r("div",
|
|
2714
|
+
e.search ? (s(), n("div", Vs, [
|
|
2715
|
+
r("div", Bs, [
|
|
2716
|
+
r("div", Ts, [
|
|
2717
2717
|
E(V(Ge), { class: "h-5 w-5 text-gray-400" })
|
|
2718
2718
|
]),
|
|
2719
2719
|
G(r("input", {
|
|
@@ -2721,14 +2721,14 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
2721
2721
|
type: "text",
|
|
2722
2722
|
placeholder: e.searchPlaceholder,
|
|
2723
2723
|
class: "block w-full pl-10 pr-3 py-2 border border-gray-300 rounded-md text-sm placeholder-gray-500 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent transition-all duration-200"
|
|
2724
|
-
}, null, 8,
|
|
2724
|
+
}, null, 8, As), [
|
|
2725
2725
|
[Ne, u.value]
|
|
2726
2726
|
])
|
|
2727
2727
|
])
|
|
2728
2728
|
])) : O("", !0),
|
|
2729
|
-
T.value ? (s(), n("div",
|
|
2730
|
-
r("table",
|
|
2731
|
-
r("thead",
|
|
2729
|
+
T.value ? (s(), n("div", js, [
|
|
2730
|
+
r("table", Is, [
|
|
2731
|
+
r("thead", Ls, [
|
|
2732
2732
|
r("tr", null, [
|
|
2733
2733
|
(s(!0), n(H, null, W(e.columns, (y) => (s(), n(H, {
|
|
2734
2734
|
key: y.key
|
|
@@ -2749,10 +2749,10 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
2749
2749
|
class: _([te(y), { "text-right": y.align === "right" }])
|
|
2750
2750
|
}, $(y.label), 3))
|
|
2751
2751
|
], 64))), 128)),
|
|
2752
|
-
x.value ? (s(), n("th",
|
|
2752
|
+
x.value ? (s(), n("th", Ds, $(e.actionsLabel), 1)) : O("", !0)
|
|
2753
2753
|
])
|
|
2754
2754
|
]),
|
|
2755
|
-
r("tbody",
|
|
2755
|
+
r("tbody", Os, [
|
|
2756
2756
|
(s(!0), n(H, null, W(k.value, (y, D) => (s(), n("tr", {
|
|
2757
2757
|
key: L(y, D),
|
|
2758
2758
|
class: _(e.rowClasses(y, D))
|
|
@@ -2761,12 +2761,12 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
2761
2761
|
key: S.key,
|
|
2762
2762
|
class: _(K(S))
|
|
2763
2763
|
}, [
|
|
2764
|
-
S.key === "name" && !S.slot && !S.input ? (s(), n("div",
|
|
2764
|
+
S.key === "name" && !S.slot && !S.input ? (s(), n("div", Ms, [
|
|
2765
2765
|
r("div", {
|
|
2766
2766
|
class: "text-sm font-medium truncate",
|
|
2767
2767
|
title: j(y, S)
|
|
2768
|
-
}, $(j(y, S)), 9,
|
|
2769
|
-
U(y) ? (s(), n("span",
|
|
2768
|
+
}, $(j(y, S)), 9, zs),
|
|
2769
|
+
U(y) ? (s(), n("span", Fs, $(e.deletedLabel), 1)) : O("", !0)
|
|
2770
2770
|
])) : S.input ? (s(), A(re, {
|
|
2771
2771
|
key: 1,
|
|
2772
2772
|
type: le(S),
|
|
@@ -2784,9 +2784,9 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
2784
2784
|
item: y,
|
|
2785
2785
|
column: S,
|
|
2786
2786
|
index: D
|
|
2787
|
-
}) : S.render ? (s(), n("div",
|
|
2787
|
+
}) : S.render ? (s(), n("div", Us, $(S.render(y)), 1)) : (s(), n("div", Ns, $(j(y, S)), 1))
|
|
2788
2788
|
], 2))), 128)),
|
|
2789
|
-
x.value ? (s(), n("td",
|
|
2789
|
+
x.value ? (s(), n("td", Es, [
|
|
2790
2790
|
g(c.$slots, "actions", {
|
|
2791
2791
|
item: y,
|
|
2792
2792
|
index: D
|
|
@@ -2795,12 +2795,12 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
2795
2795
|
], 2))), 128))
|
|
2796
2796
|
])
|
|
2797
2797
|
])
|
|
2798
|
-
])) : (s(), n("div",
|
|
2799
|
-
r("div",
|
|
2798
|
+
])) : (s(), n("div", Ks, [
|
|
2799
|
+
r("div", Rs, [
|
|
2800
2800
|
(s(), A(xe(e.emptyState.icon), { class: "w-8 h-8 text-gray-400" }))
|
|
2801
2801
|
]),
|
|
2802
|
-
r("h3",
|
|
2803
|
-
r("p",
|
|
2802
|
+
r("h3", Hs, $(e.emptyState.title), 1),
|
|
2803
|
+
r("p", Ps, $(e.emptyState.description), 1),
|
|
2804
2804
|
e.emptyState.actionText && e.emptyState.actionUrl ? (s(), A(ye, {
|
|
2805
2805
|
key: 0,
|
|
2806
2806
|
href: e.emptyState.actionUrl
|
|
@@ -2813,7 +2813,7 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
2813
2813
|
]))
|
|
2814
2814
|
], 2));
|
|
2815
2815
|
}
|
|
2816
|
-
},
|
|
2816
|
+
}, qs = ["type", "disabled"], Gs = /* @__PURE__ */ Object.assign({
|
|
2817
2817
|
inheritAttrs: !1
|
|
2818
2818
|
}, {
|
|
2819
2819
|
__name: "TertiaryButton",
|
|
@@ -2835,9 +2835,9 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
2835
2835
|
class: "min-w-[40px] min-h-[35px] inline-flex items-center justify-center rounded-lg bg-gradient-to-r from-gray-500 to-gray-600 p-3 py-2 text-sm font-medium text-white shadow-[0_1px_3px_rgba(0,0,0,0.1)] transition-all duration-200 hover:from-gray-600 hover:to-gray-700 hover:shadow-[0_2px_6px_rgba(0,0,0,0.15)] focus:outline-none focus:ring-2 focus:ring-gray-500 focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 disabled:hover:from-gray-500 disabled:hover:to-gray-600"
|
|
2836
2836
|
}), [
|
|
2837
2837
|
g(t.$slots, "default")
|
|
2838
|
-
], 16,
|
|
2838
|
+
], 16, qs));
|
|
2839
2839
|
}
|
|
2840
|
-
}),
|
|
2840
|
+
}), Xs = ["href", "title", "target", "rel"], Js = /* @__PURE__ */ Object.assign({
|
|
2841
2841
|
inheritAttrs: !1
|
|
2842
2842
|
}, {
|
|
2843
2843
|
__name: "TertiaryLinkButton",
|
|
@@ -2873,7 +2873,7 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
2873
2873
|
class: "min-w-[40px] min-h-[35px] inline-flex items-center justify-center rounded-lg bg-gradient-to-r from-gray-500 to-gray-600 p-3 py-2 text-sm font-medium text-white shadow-[0_1px_3px_rgba(0,0,0,0.1)] transition-all duration-200 hover:from-gray-600 hover:to-gray-700 hover:shadow-[0_2px_6px_rgba(0,0,0,0.15)] focus:outline-none focus:ring-2 focus:ring-gray-500 focus:ring-offset-2"
|
|
2874
2874
|
}), [
|
|
2875
2875
|
g(t.$slots, "default")
|
|
2876
|
-
], 16,
|
|
2876
|
+
], 16, Xs)) : (s(), A(V(ee), M({ key: 0 }, V(a), {
|
|
2877
2877
|
href: e.href,
|
|
2878
2878
|
title: e.title,
|
|
2879
2879
|
class: "min-w-[40px] min-h-[35px] inline-flex items-center justify-center rounded-lg bg-gradient-to-r from-gray-500 to-gray-600 p-3 py-2 text-sm font-medium text-white shadow-[0_1px_3px_rgba(0,0,0,0.1)] transition-all duration-200 hover:from-gray-600 hover:to-gray-700 hover:shadow-[0_2px_6px_rgba(0,0,0,0.15)] focus:outline-none focus:ring-2 focus:ring-gray-500 focus:ring-offset-2"
|
|
@@ -2884,7 +2884,7 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
2884
2884
|
_: 3
|
|
2885
2885
|
}, 16, ["href", "title"]));
|
|
2886
2886
|
}
|
|
2887
|
-
}),
|
|
2887
|
+
}), Qs = ["type", "disabled"], Ys = /* @__PURE__ */ Object.assign({
|
|
2888
2888
|
inheritAttrs: !1
|
|
2889
2889
|
}, {
|
|
2890
2890
|
__name: "WarningButton",
|
|
@@ -2906,9 +2906,9 @@ const St = /* @__PURE__ */ ge(vt, [["render", kt]]), $t = { class: "sr-only" },
|
|
|
2906
2906
|
class: "min-w-[40px] min-h-[35px] inline-flex items-center justify-center rounded-lg border border-yellow-300 bg-yellow-50 p-3 py-2 text-sm font-medium text-yellow-700 transition-all duration-200 hover:bg-yellow-100 focus:outline-none focus:ring-2 focus:ring-yellow-500 focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 disabled:hover:bg-yellow-50"
|
|
2907
2907
|
}), [
|
|
2908
2908
|
g(t.$slots, "default")
|
|
2909
|
-
], 16,
|
|
2909
|
+
], 16, Qs));
|
|
2910
2910
|
}
|
|
2911
|
-
}),
|
|
2911
|
+
}), Zs = {
|
|
2912
2912
|
install(e) {
|
|
2913
2913
|
for (const [a, t] of Object.entries(Xe))
|
|
2914
2914
|
a !== "EnosVue" && e.component(a, t);
|
|
@@ -2927,40 +2927,40 @@ export {
|
|
|
2927
2927
|
Ot as Checkbox,
|
|
2928
2928
|
Ce as CheckboxInput,
|
|
2929
2929
|
Oe as CheckboxMultipleInput,
|
|
2930
|
-
|
|
2930
|
+
bl as ConfirmationModal,
|
|
2931
2931
|
Be as CustomSelect,
|
|
2932
|
-
|
|
2932
|
+
vl as DangerButton,
|
|
2933
2933
|
Ae as DateInput,
|
|
2934
|
-
|
|
2934
|
+
$l as DialogModal,
|
|
2935
2935
|
fe as Divider,
|
|
2936
|
-
|
|
2937
|
-
|
|
2938
|
-
|
|
2939
|
-
|
|
2936
|
+
_l as Dropdown,
|
|
2937
|
+
Tl as DropdownLink,
|
|
2938
|
+
Zs as EnosVue,
|
|
2939
|
+
Dl as FormSection,
|
|
2940
2940
|
je as ImageInput,
|
|
2941
|
-
|
|
2941
|
+
Ml as InputError,
|
|
2942
2942
|
re as InputGroup,
|
|
2943
|
-
|
|
2943
|
+
Nl as InputLabel,
|
|
2944
2944
|
me as Modal,
|
|
2945
|
-
|
|
2945
|
+
El as NavLink,
|
|
2946
2946
|
Ie as NotationInput,
|
|
2947
|
-
|
|
2947
|
+
Rl as PrimaryButton,
|
|
2948
2948
|
ye as PrimaryLinkButton,
|
|
2949
2949
|
Le as RadioInput,
|
|
2950
2950
|
De as RadioMultipleInput,
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
2951
|
+
Wl as ResponsiveNavLink,
|
|
2952
|
+
Gl as SecondaryButton,
|
|
2953
|
+
Jl as SecondaryLinkButton,
|
|
2954
|
+
Zl as SectionBorder,
|
|
2955
2955
|
pe as SectionTitle,
|
|
2956
2956
|
Te as SelectInput,
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
|
|
2960
|
-
|
|
2961
|
-
|
|
2957
|
+
rs as SortControls,
|
|
2958
|
+
_s as TableList,
|
|
2959
|
+
Ws as TableListForm,
|
|
2960
|
+
Gs as TertiaryButton,
|
|
2961
|
+
Js as TertiaryLinkButton,
|
|
2962
2962
|
Ve as TextArea,
|
|
2963
2963
|
_e as TextInput,
|
|
2964
2964
|
be as ThSortable,
|
|
2965
|
-
|
|
2965
|
+
Ys as WarningButton
|
|
2966
2966
|
};
|
package/package.json
CHANGED
|
@@ -1,27 +1,34 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@enos5/enos-vue",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"files": [
|
|
5
|
+
"files": [
|
|
6
|
+
"dist"
|
|
7
|
+
],
|
|
6
8
|
"main": "./dist/index.js",
|
|
7
9
|
"module": "./dist/index.js",
|
|
8
10
|
"exports": {
|
|
9
11
|
".": "./dist/index.js"
|
|
10
12
|
},
|
|
11
13
|
"scripts": {
|
|
12
|
-
"build": "vite build"
|
|
14
|
+
"build": "vite build",
|
|
15
|
+
"docs:dev": "vite --config vite.docs.config.ts",
|
|
16
|
+
"docs:build": "vite build --config vite.docs.config.ts",
|
|
17
|
+
"docs:preview": "vite preview --config vite.docs.config.ts --host 0.0.0.0 --port 4173"
|
|
13
18
|
},
|
|
14
19
|
"peerDependencies": {
|
|
15
|
-
"vue": "^3.4.0",
|
|
16
|
-
"@inertiajs/vue3": "^2.0.0",
|
|
17
20
|
"@heroicons/vue": "^2.0.0",
|
|
21
|
+
"@inertiajs/vue3": "^2.0.0",
|
|
22
|
+
"vue": "^3.4.0",
|
|
18
23
|
"vue-i18n": "^11.0.0"
|
|
19
24
|
},
|
|
20
25
|
"devDependencies": {
|
|
21
|
-
"vite": "^
|
|
26
|
+
"@tailwindcss/vite": "^4.2.2",
|
|
22
27
|
"@vitejs/plugin-vue": "^6.0.0",
|
|
23
|
-
"
|
|
28
|
+
"tailwindcss": "^4.2.2",
|
|
24
29
|
"typescript": "^5.0.0",
|
|
30
|
+
"vite": "^7.0.0",
|
|
31
|
+
"vue": "^3.4.0",
|
|
25
32
|
"vue-i18n": "^11.1.2"
|
|
26
33
|
}
|
|
27
34
|
}
|