@dcodegroup-au/dsg-vue 0.1.40 → 1.0.1-next.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/README.md +67 -8
- package/dist/DsgLabel.vue_vue_type_style_index_0_lang-CzkVjbOp.js +26 -0
- package/dist/DsgLabel.vue_vue_type_style_index_0_lang-WrIgmJyQ.cjs +1 -0
- package/dist/{DsgTablePerPage.vue_vue_type_style_index_0_lang-CmNG2Wig.cjs → DsgTablePerPage.vue_vue_type_style_index_0_lang-eTosSqko.cjs} +1217 -1197
- package/dist/{DsgTablePerPage.vue_vue_type_style_index_0_lang-BoJ6hpYL.js → DsgTablePerPage.vue_vue_type_style_index_0_lang-gN_n5gOu.js} +5742 -5750
- package/dist/components/Elements/DsgAccordion.vue.d.ts +0 -1
- package/dist/components/Elements/DsgAvatar.vue.d.ts +0 -1
- package/dist/components/Elements/DsgBadge.vue.d.ts +0 -1
- package/dist/components/Elements/DsgButton.vue.d.ts +0 -1
- package/dist/components/Elements/DsgCard.vue.d.ts +1 -2
- package/dist/components/Elements/DsgCardContainer.vue.d.ts +1 -1
- package/dist/components/Elements/DsgCheckbox.vue.d.ts +0 -1
- package/dist/components/Elements/DsgCheckboxGroup.vue.d.ts +2 -2
- package/dist/components/Elements/DsgDropdown.vue.d.ts +0 -5
- package/dist/components/Elements/DsgInput.vue.d.ts +0 -1
- package/dist/components/Elements/DsgLabel.vue.d.ts +1 -2
- package/dist/components/Elements/DsgProgress.vue.d.ts +1 -1
- package/dist/components/Elements/DsgTag.vue.d.ts +0 -1
- package/dist/components/Elements/DsgToggle.vue.d.ts +1 -2
- package/dist/components/Elements/ElementComponents.d.ts +1 -3
- package/dist/components/Icons/DsgCreditCardIcon.vue.d.ts +0 -1
- package/dist/components/Icons/DsgIcon.vue.d.ts +0 -2
- package/dist/components/Icons/DsgMiscIcon.vue.d.ts +0 -1
- package/dist/dsg-vue.cjs +32 -11
- package/dist/dsg-vue.css +2 -2
- package/dist/dsg-vue.editor.cjs +33 -33
- package/dist/dsg-vue.editor.esm.js +6 -7
- package/dist/dsg-vue.esm.js +2969 -3061
- package/dist/dsg-vue.table.cjs +2 -2
- package/dist/dsg-vue.table.esm.js +65 -62
- package/dist/main.d.ts +4 -82
- package/package.json +6 -3
- package/vite.config.ts +10 -7
- package/dist/DsgColoursConfig-BseFo6-R.js +0 -450
- package/dist/DsgColoursConfig-D7UiFGB5.cjs +0 -1
- package/dist/DsgLabel.vue_vue_type_style_index_0_lang-BYL1w85l.js +0 -28
- package/dist/DsgLabel.vue_vue_type_style_index_0_lang-DAM6oT0f.cjs +0 -1
- package/dist/_commonjsHelpers-C6fGbg64.js +0 -6
- package/dist/_commonjsHelpers-DwGv2jUC.cjs +0 -1
- package/dist/components/Elements/DsgInputDropdown.vue.d.ts +0 -30
- package/dist/components/Elements/DsgLink.vue.d.ts +0 -36
- package/dist/dsg-vue.tailwind.cjs +0 -1
- package/dist/dsg-vue.tailwind.esm.js +0 -610
- package/dist/tailwind/plugins/DsgBackdropBlurPlugin.d.ts +0 -15
- package/dist/tailwind/plugins/DsgColoursPlugin.d.ts +0 -15
- package/dist/tailwind/plugins/DsgContainerPlugin.d.ts +0 -15
- package/dist/tailwind/plugins/DsgFocusRingPlugin.d.ts +0 -28
- package/dist/tailwind/plugins/DsgFontFamilyPlugin.d.ts +0 -15
- package/dist/tailwind/plugins/DsgGradientPlugin.d.ts +0 -15
- package/dist/tailwind/plugins/DsgHeightPlugin.d.ts +0 -15
- package/dist/tailwind/plugins/DsgRadiusPlugin.d.ts +0 -15
- package/dist/tailwind/plugins/DsgScreenPlugin.d.ts +0 -15
- package/dist/tailwind/plugins/DsgShadowsPlugin.d.ts +0 -15
- package/dist/tailwind/plugins/DsgSpacingPlugin.d.ts +0 -15
- package/dist/tailwind/plugins/DsgTypographyPlugin.d.ts +0 -80
- package/dist/tailwind/plugins/DsgWidthPlugin.d.ts +0 -15
- package/dist/tailwind/plugins/PluginCore.d.ts +0 -17
- package/dist/tailwind.d.ts +0 -866
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as X, useModel as ae, computed as N, withDirectives as De, openBlock as s, createElementBlock as d, normalizeClass as B, createVNode as q, createCommentVNode as p, createElementVNode as D, Fragment as I, renderList as Y, vShow as rt, mergeModels as le, ref as k, useTemplateRef as Ie, useAttrs as ut, unref as K, withCtx as ne, renderSlot as M, toDisplayString as re, createBlock as W, resolveDynamicComponent as ct, onMounted as qe, normalizeStyle as te, mergeProps as Pe, watch as oe, onUnmounted as gt, withModifiers as vt, Transition as ft, createTextVNode as bt, useSlots as ht, createSlots as wt, normalizeProps as mt, nextTick as Le, vModelSelect as yt } from "vue";
|
|
2
|
-
import { _ as O, k as kt, v as pt, f as Pt, u as Dt, c as Ve, b as He, l as ze, e as Ue, i as Oe } from "./DsgTablePerPage.vue_vue_type_style_index_0_lang-
|
|
2
|
+
import { _ as O, k as kt, v as pt, f as Pt, u as Dt, c as Ve, b as He, l as ze, e as Ue, i as Oe } from "./DsgTablePerPage.vue_vue_type_style_index_0_lang-gN_n5gOu.js";
|
|
3
3
|
import { ucfirst as St, ucwords as Ae, toSnakeCase as Ct } from "./dsg-vue.helpers-string.esm.js";
|
|
4
4
|
import { data_get as pe } from "./dsg-vue.helpers-object.esm.js";
|
|
5
5
|
import { isEmpty as xt } from "./dsg-vue.helpers.esm.js";
|
|
6
|
-
const $t = { class: "dsg-table
|
|
6
|
+
const $t = { class: "dsg-table-pagination" }, Tt = ["disabled"], Rt = ["disabled"], Mt = ["onClick", "innerHTML"], Et = ["onClick", "innerHTML"], Bt = ["disabled"], Ft = ["disabled"], We = /* @__PURE__ */ X({
|
|
7
7
|
__name: "DsgTablePagination",
|
|
8
8
|
props: /* @__PURE__ */ le({
|
|
9
9
|
onEachSide: { default: 3 },
|
|
@@ -28,7 +28,7 @@ const $t = { class: "dsg-table--pagination" }, Tt = ["disabled"], Rt = ["disable
|
|
|
28
28
|
e.showFirstLast ? (s(), d("a", {
|
|
29
29
|
key: 0,
|
|
30
30
|
onClick: y[0] || (y[0] = (S) => l(e.firstPage)),
|
|
31
|
-
class: B([
|
|
31
|
+
class: B(["dsg-table-pagination__link", { "dsg-table-pagination__link--disabled": v.value }]),
|
|
32
32
|
disabled: v.value,
|
|
33
33
|
title: "First",
|
|
34
34
|
"aria-label": "First"
|
|
@@ -40,7 +40,7 @@ const $t = { class: "dsg-table--pagination" }, Tt = ["disabled"], Rt = ["disable
|
|
|
40
40
|
], 10, Tt)) : p("", !0),
|
|
41
41
|
D("a", {
|
|
42
42
|
onClick: y[1] || (y[1] = (S) => l("prev")),
|
|
43
|
-
class: B([
|
|
43
|
+
class: B(["dsg-table-pagination__link", { "dsg-table-pagination__link--disabled": v.value }]),
|
|
44
44
|
disabled: v.value,
|
|
45
45
|
title: "Previous",
|
|
46
46
|
"aria-label": "Previous"
|
|
@@ -53,17 +53,17 @@ const $t = { class: "dsg-table--pagination" }, Tt = ["disabled"], Rt = ["disable
|
|
|
53
53
|
H.value ? (s(!0), d(I, { key: 1 }, Y($.value, (S, V) => (s(), d("a", {
|
|
54
54
|
key: V,
|
|
55
55
|
onClick: (se) => l(V + e.firstPage),
|
|
56
|
-
class: B([
|
|
56
|
+
class: B(["dsg-table-pagination__link", { "dsg-table-pagination__link--active": g(V + e.firstPage) }]),
|
|
57
57
|
innerHTML: S
|
|
58
58
|
}, null, 10, Mt))), 128)) : (s(!0), d(I, { key: 2 }, Y(R.value, (S, V) => (s(), d("a", {
|
|
59
59
|
key: V,
|
|
60
60
|
onClick: (se) => l(T.value + V + e.firstPage - 1),
|
|
61
|
-
class: B([
|
|
61
|
+
class: B(["dsg-table-pagination__link", { "dsg-table-pagination__link--active": g(T.value + V + e.firstPage - 1) }]),
|
|
62
62
|
innerHTML: T.value + S - 1
|
|
63
63
|
}, null, 10, Et))), 128)),
|
|
64
64
|
D("a", {
|
|
65
65
|
onClick: y[2] || (y[2] = (S) => l("next")),
|
|
66
|
-
class: B([
|
|
66
|
+
class: B(["dsg-table-pagination__link", { "dsg-table-pagination__link--disabled": b.value }]),
|
|
67
67
|
disabled: b.value,
|
|
68
68
|
title: "Next",
|
|
69
69
|
"aria-label": "Next"
|
|
@@ -76,7 +76,7 @@ const $t = { class: "dsg-table--pagination" }, Tt = ["disabled"], Rt = ["disable
|
|
|
76
76
|
e.showFirstLast ? (s(), d("a", {
|
|
77
77
|
key: 3,
|
|
78
78
|
onClick: y[3] || (y[3] = (S) => l(L.value)),
|
|
79
|
-
class: B([
|
|
79
|
+
class: B(["dsg-table-pagination__link", { "dsg-table-pagination__link--disabled": b.value }]),
|
|
80
80
|
disabled: b.value,
|
|
81
81
|
title: "Last",
|
|
82
82
|
"aria-label": "Last"
|
|
@@ -103,16 +103,16 @@ const $t = { class: "dsg-table--pagination" }, Tt = ["disabled"], Rt = ["disable
|
|
|
103
103
|
setup(e) {
|
|
104
104
|
const F = ae(e, "pagination"), f = N(() => F.value == null || F.value.total == 0 ? e.noDataTemplate : e.infoTemplate.replace("{from}", (F.value?.from || 0).toString()).replace("{to}", (F.value?.to || 0).toString()).replace("{total}", (F.value?.total || 0).toString()));
|
|
105
105
|
return (c, $) => (s(), d("div", {
|
|
106
|
-
class: "dsg-table
|
|
106
|
+
class: "dsg-table-pagination-info",
|
|
107
107
|
innerHTML: f.value
|
|
108
108
|
}, null, 8, Lt));
|
|
109
109
|
}
|
|
110
110
|
}), Ht = {
|
|
111
|
-
class: "dsg-table
|
|
111
|
+
class: "dsg-table-actions",
|
|
112
112
|
ref: "dsgTableActions"
|
|
113
|
-
}, Ut = { class: "dsg-table
|
|
113
|
+
}, Ut = { class: "dsg-table-action__trigger" }, At = {
|
|
114
114
|
key: 0,
|
|
115
|
-
class: "dsg-table
|
|
115
|
+
class: "dsg-table-actions__menu-wrapper"
|
|
116
116
|
}, It = ["href", "target", "onClick"], qt = ["textContent"], Vt = { key: 0 }, zt = { key: 1 }, Ot = ["href", "target", "onClick"], Wt = { class: "flex-1" }, je = /* @__PURE__ */ X({
|
|
117
117
|
__name: "DsgTableActions",
|
|
118
118
|
props: {
|
|
@@ -161,7 +161,7 @@ const $t = { class: "dsg-table--pagination" }, Tt = ["disabled"], Rt = ["disable
|
|
|
161
161
|
"handle-resize": !0,
|
|
162
162
|
strategy: "absolute",
|
|
163
163
|
shown: f.value,
|
|
164
|
-
class: "dsg-table
|
|
164
|
+
class: "dsg-table-actions__popper",
|
|
165
165
|
onHide: l[1] || (l[1] = (g) => f.value = !1),
|
|
166
166
|
ref: "floatingVueFilterDropdown"
|
|
167
167
|
}, {
|
|
@@ -175,14 +175,14 @@ const $t = { class: "dsg-table--pagination" }, Tt = ["disabled"], Rt = ["disable
|
|
|
175
175
|
onClick: (y) => H(g, String(P), y)
|
|
176
176
|
}, [
|
|
177
177
|
D("div", {
|
|
178
|
-
class: B(["dsg-table
|
|
178
|
+
class: B(["dsg-table-actions__menu-item", `dsg-table-actions__menu-item--${String(P)}`])
|
|
179
179
|
}, [
|
|
180
180
|
q(O, {
|
|
181
181
|
icon: b(String(P)),
|
|
182
182
|
size: "sm"
|
|
183
183
|
}, null, 8, ["icon"]),
|
|
184
184
|
D("span", {
|
|
185
|
-
class: "
|
|
185
|
+
class: "dsg-table-actions__menu-item-id",
|
|
186
186
|
textContent: re(K(St)(String(P)))
|
|
187
187
|
}, null, 8, qt)
|
|
188
188
|
], 2)
|
|
@@ -200,7 +200,7 @@ const $t = { class: "dsg-table--pagination" }, Tt = ["disabled"], Rt = ["disable
|
|
|
200
200
|
key: 2,
|
|
201
201
|
href: g.link,
|
|
202
202
|
target: g.target || "_self",
|
|
203
|
-
class: B(["dsg-table
|
|
203
|
+
class: B(["dsg-table-actions__menu-item", g.class]),
|
|
204
204
|
onClick: (P) => R(g, P)
|
|
205
205
|
}, [
|
|
206
206
|
g.icon ? (s(), W(O, {
|
|
@@ -217,7 +217,7 @@ const $t = { class: "dsg-table--pagination" }, Tt = ["disabled"], Rt = ["disable
|
|
|
217
217
|
D("div", Ut, [
|
|
218
218
|
D("button", {
|
|
219
219
|
type: "button",
|
|
220
|
-
class: "dsg-table
|
|
220
|
+
class: "dsg-table-actions__button",
|
|
221
221
|
"aria-expanded": "false",
|
|
222
222
|
"aria-haspopup": "true",
|
|
223
223
|
onClick: l[0] || (l[0] = (g) => f.value = !f.value)
|
|
@@ -237,7 +237,7 @@ const $t = { class: "dsg-table--pagination" }, Tt = ["disabled"], Rt = ["disable
|
|
|
237
237
|
[K(pt), () => f.value = !1]
|
|
238
238
|
]);
|
|
239
239
|
}
|
|
240
|
-
}), Nt = { class: "dsg-table
|
|
240
|
+
}), Nt = { class: "dsg-table-search" }, Ke = /* @__PURE__ */ X({
|
|
241
241
|
__name: "DsgTableSearch",
|
|
242
242
|
props: {
|
|
243
243
|
name: {},
|
|
@@ -287,17 +287,17 @@ const $t = { class: "dsg-table--pagination" }, Tt = ["disabled"], Rt = ["disable
|
|
|
287
287
|
}, null, 8, ["modelValue", "name", "id", "placeholder", "disabled", "required", "readonly", "hidden"])
|
|
288
288
|
]));
|
|
289
289
|
}
|
|
290
|
-
}), jt = { class: "dsg-table
|
|
290
|
+
}), jt = { class: "dsg-table-row-header" }, Kt = {
|
|
291
291
|
key: 0,
|
|
292
|
-
class: "dsg-table
|
|
292
|
+
class: "dsg-table-row-header__row dsg-table-row-header__row--checkbox",
|
|
293
293
|
scope: "col"
|
|
294
294
|
}, Qt = {
|
|
295
295
|
key: 1,
|
|
296
|
-
class: "dsg-table
|
|
296
|
+
class: "dsg-table-row-header__row dsg-table-row-header__row--expand-detail",
|
|
297
297
|
scope: "col"
|
|
298
298
|
}, Yt = ["title", "id", "onClick"], Gt = {
|
|
299
299
|
key: 0,
|
|
300
|
-
class: "dsg-table
|
|
300
|
+
class: "dsg-table-row-header__sort-icon"
|
|
301
301
|
}, Jt = ["innerHTML"], Xt = ["innerHTML"], Zt = ["innerHTML"], _t = ["innerHTML"], Qe = /* @__PURE__ */ X({
|
|
302
302
|
__name: "DsgTableRowHeader",
|
|
303
303
|
props: /* @__PURE__ */ le({
|
|
@@ -322,8 +322,8 @@ const $t = { class: "dsg-table--pagination" }, Tt = ["disabled"], Rt = ["disable
|
|
|
322
322
|
T,
|
|
323
323
|
T + "-" + Ct(String(m?.name)),
|
|
324
324
|
m.titleClass || "",
|
|
325
|
-
{ sortable: m.sortable },
|
|
326
|
-
{ "sort-active": f.value?.name === m.name }
|
|
325
|
+
{ "dsg-table-row-header__row--sortable": m.sortable },
|
|
326
|
+
{ "dsg-table-row-header__row--sort-active": f.value?.name === m.name }
|
|
327
327
|
], R = (T) => {
|
|
328
328
|
T.sortable && (f.value = {
|
|
329
329
|
name: String(T?.name),
|
|
@@ -346,7 +346,7 @@ const $t = { class: "dsg-table--pagination" }, Tt = ["disabled"], Rt = ["disable
|
|
|
346
346
|
(s(!0), d(I, null, Y(e.fields, (l, g) => (s(), d(I, null, [
|
|
347
347
|
l?.visible ? (s(), d("th", {
|
|
348
348
|
key: g,
|
|
349
|
-
class: B(H("dsg-table
|
|
349
|
+
class: B(H("dsg-table-row-header__row", l)),
|
|
350
350
|
style: te([{ width: l.width || void 0 }, l.style]),
|
|
351
351
|
title: l.title + (l.sortable ? " Sort" : ""),
|
|
352
352
|
id: "_" + l.name,
|
|
@@ -357,11 +357,11 @@ const $t = { class: "dsg-table--pagination" }, Tt = ["disabled"], Rt = ["disable
|
|
|
357
357
|
l.tooltip ? (s(), W(He, Pe({
|
|
358
358
|
key: 0,
|
|
359
359
|
ref_for: !0
|
|
360
|
-
}, l.tooltip, { class: "dsg-table
|
|
360
|
+
}, l.tooltip, { class: "dsg-table-row-header__tooltip" }), {
|
|
361
361
|
"dsg-tooltip--trigger": ne(() => [
|
|
362
362
|
l.title ? (s(), d("span", {
|
|
363
363
|
key: 0,
|
|
364
|
-
class: "dsg-table
|
|
364
|
+
class: "dsg-table-row-header__title",
|
|
365
365
|
innerHTML: l.title
|
|
366
366
|
}, null, 8, Jt)) : p("", !0),
|
|
367
367
|
l.tooltip.icon ? (s(), W(O, {
|
|
@@ -374,7 +374,7 @@ const $t = { class: "dsg-table--pagination" }, Tt = ["disabled"], Rt = ["disable
|
|
|
374
374
|
_: 2
|
|
375
375
|
}, 1040)) : l.title ? (s(), d("span", {
|
|
376
376
|
key: 1,
|
|
377
|
-
class: "dsg-table
|
|
377
|
+
class: "dsg-table-row-header__title",
|
|
378
378
|
innerHTML: l.title
|
|
379
379
|
}, null, 8, Xt)) : p("", !0),
|
|
380
380
|
l.sortable && f.value?.name !== l.name ? (s(), W(O, {
|
|
@@ -399,10 +399,10 @@ const $t = { class: "dsg-table--pagination" }, Tt = ["disabled"], Rt = ["disable
|
|
|
399
399
|
l.tooltip ? (s(), W(He, Pe({
|
|
400
400
|
key: 0,
|
|
401
401
|
ref_for: !0
|
|
402
|
-
}, l.tooltip, { class: "dsg-table
|
|
402
|
+
}, l.tooltip, { class: "dsg-table-row-header__tooltip" }), {
|
|
403
403
|
"dsg-tooltip--trigger": ne(() => [
|
|
404
404
|
D("span", {
|
|
405
|
-
class: "dsg-table
|
|
405
|
+
class: "dsg-table-row-header__title",
|
|
406
406
|
innerHTML: K(Ae)(String(l?.title))
|
|
407
407
|
}, null, 8, Zt),
|
|
408
408
|
l.tooltip.icon ? (s(), W(O, {
|
|
@@ -415,7 +415,7 @@ const $t = { class: "dsg-table--pagination" }, Tt = ["disabled"], Rt = ["disable
|
|
|
415
415
|
_: 2
|
|
416
416
|
}, 1040)) : (s(), d("span", {
|
|
417
417
|
key: 1,
|
|
418
|
-
class: "dsg-table
|
|
418
|
+
class: "dsg-table-row-header__title",
|
|
419
419
|
innerHTML: K(Ae)(String(l?.title))
|
|
420
420
|
}, null, 8, _t))
|
|
421
421
|
], 64))
|
|
@@ -424,17 +424,17 @@ const $t = { class: "dsg-table--pagination" }, Tt = ["disabled"], Rt = ["disable
|
|
|
424
424
|
e.scrollVisible ? (s(), d("th", {
|
|
425
425
|
key: 2,
|
|
426
426
|
style: te({ width: L.value }),
|
|
427
|
-
class: "dsg-table
|
|
427
|
+
class: "dsg-table-row-header__col-gutter"
|
|
428
428
|
}, null, 4)) : p("", !0)
|
|
429
429
|
]));
|
|
430
430
|
}
|
|
431
431
|
}), ea = ["span"], ta = {
|
|
432
432
|
key: 0,
|
|
433
|
-
class: "dsg-table
|
|
433
|
+
class: "dsg-table-component__loading"
|
|
434
434
|
}, aa = ["colspan"], la = ["colspan"], na = ["onClick", "onDblclick", "onMouseover", "onMouseenter"], sa = ["onClickCapture"], oa = {
|
|
435
435
|
key: 1,
|
|
436
|
-
class: "dsg-table
|
|
437
|
-
}, ia = ["aria-expanded", "onClick"], da = ["onClick", "onDblclick", "onContextmenu"], ra = ["innerHTML"], ua = ["onClick"], ca = ["colspan"], ga = { key: 2 }, va = ["colspan"], fa = { class: "dsg-table
|
|
436
|
+
class: "dsg-table-component__cell dsg-table-component__cell--expand"
|
|
437
|
+
}, ia = ["aria-expanded", "onClick"], da = ["onClick", "onDblclick", "onContextmenu"], ra = ["innerHTML"], ua = ["onClick"], ca = ["colspan"], ga = { key: 2 }, va = ["colspan"], fa = { class: "dsg-table-component__footer" }, ba = /* @__PURE__ */ X({
|
|
438
438
|
__name: "DsgTableComponent",
|
|
439
439
|
props: /* @__PURE__ */ le({
|
|
440
440
|
fields: { default: () => [] },
|
|
@@ -519,9 +519,7 @@ const $t = { class: "dsg-table--pagination" }, Tt = ["disabled"], Rt = ["disable
|
|
|
519
519
|
if (!e.apiMode) return null;
|
|
520
520
|
const a = ze().find((n) => n.key === e.queryParams.sort);
|
|
521
521
|
if (a && a.value.length > 0) {
|
|
522
|
-
const n = a.value[0], h = n.startsWith("-"), u = h ? n.substring(1) : n, x = e.fields.find(
|
|
523
|
-
(j) => j.sortField === u || j.name === u || j.field === u
|
|
524
|
-
);
|
|
522
|
+
const n = a.value[0], h = n.startsWith("-"), u = h ? n.substring(1) : n, x = e.fields.find((j) => j.sortField === u || j.name === u || j.field === u);
|
|
525
523
|
return x ? {
|
|
526
524
|
name: String(x.name || x.field),
|
|
527
525
|
field: u,
|
|
@@ -589,7 +587,7 @@ const $t = { class: "dsg-table--pagination" }, Tt = ["disabled"], Rt = ["disable
|
|
|
589
587
|
const n = {
|
|
590
588
|
odd: a % 2 === 0,
|
|
591
589
|
even: a % 2 !== 0,
|
|
592
|
-
"
|
|
590
|
+
"dsg-table-component__row--selected": t.selected
|
|
593
591
|
};
|
|
594
592
|
if (!e.rowClass)
|
|
595
593
|
return n;
|
|
@@ -763,33 +761,38 @@ You can explicitly suppress this warning by setting pagination-path="".`
|
|
|
763
761
|
getExpandedRows: i,
|
|
764
762
|
isRowExpanded: J
|
|
765
763
|
}), (t, a) => (s(), d("div", {
|
|
766
|
-
class: B(["dsg-table
|
|
764
|
+
class: B(["dsg-table-component", { "dsg-table-component--shift-active": e.selectable && G.value }]),
|
|
767
765
|
style: te(fe.value)
|
|
768
766
|
}, [
|
|
769
767
|
D("div", {
|
|
770
768
|
ref: "dsgTableBodyWrapper",
|
|
771
|
-
class: B(["dsg-table-
|
|
769
|
+
class: B(["dsg-table-component__body-wrapper", { "dsg-table-component__body-wrapper--fixed-header": Z.value }]),
|
|
772
770
|
style: te({ height: e.tableHeight || void 0 })
|
|
773
771
|
}, [
|
|
774
772
|
D("table", {
|
|
775
|
-
class: B([
|
|
773
|
+
class: B([
|
|
774
|
+
"dsg-table-component__main",
|
|
775
|
+
Z.value ? "dsg-table-component__main--fixed-header" : "",
|
|
776
|
+
"dsg-table-component__main--" + e.tableLayout,
|
|
777
|
+
l.value.table
|
|
778
|
+
])
|
|
776
779
|
}, [
|
|
777
780
|
D("colgroup", { span: _.value }, [
|
|
778
781
|
(s(!0), d(I, null, Y(v.value, (n, h) => (s(), d(I, null, [
|
|
779
782
|
n?.visible ? (s(), d("col", {
|
|
780
783
|
key: h,
|
|
781
784
|
style: te({ width: n.width || void 0 }),
|
|
782
|
-
class: B("dsg-table
|
|
785
|
+
class: B("dsg-table-component__col-" + n.name + " " + n.titleClass)
|
|
783
786
|
}, null, 6)) : p("", !0)
|
|
784
787
|
], 64))), 256)),
|
|
785
788
|
!Z.value && m.value ? (s(), d("col", {
|
|
786
789
|
key: 0,
|
|
787
790
|
style: te({ width: T.value }),
|
|
788
|
-
class: "dsg-table
|
|
791
|
+
class: "dsg-table-component__col-gutter"
|
|
789
792
|
}, null, 4)) : p("", !0)
|
|
790
793
|
], 8, ea),
|
|
791
794
|
D("thead", {
|
|
792
|
-
class: B([[l.value.thead, { sticky: Z.value, "top-0": Z.value }], "dsg-table
|
|
795
|
+
class: B([[l.value.thead, { sticky: Z.value, "top-0": Z.value }], "dsg-table-component__head"])
|
|
793
796
|
}, [
|
|
794
797
|
M(t.$slots, "tableHeader", { fields: v.value }, () => [
|
|
795
798
|
q(Qe, {
|
|
@@ -811,7 +814,7 @@ You can explicitly suppress this warning by setting pagination-path="".`
|
|
|
811
814
|
])
|
|
812
815
|
], 2),
|
|
813
816
|
D("tbody", {
|
|
814
|
-
class: B(["dsg-table
|
|
817
|
+
class: B(["dsg-table-component__body", l.value.tbody])
|
|
815
818
|
}, [
|
|
816
819
|
P.value ? (s(), d("tr", ta, [
|
|
817
820
|
D("td", { colspan: _.value }, [
|
|
@@ -832,7 +835,7 @@ You can explicitly suppress this warning by setting pagination-path="".`
|
|
|
832
835
|
], 8, aa)
|
|
833
836
|
])) : (s(!0), d(I, { key: 1 }, Y(b.value, (n, h) => (s(), d(I, { key: h }, [
|
|
834
837
|
D("tr", {
|
|
835
|
-
class: B(["dsg-table
|
|
838
|
+
class: B(["dsg-table-component__row", [we(n, h), { "dsg-table-component__row--shift-range": e.selectable && it(h) }]]),
|
|
836
839
|
onClick: (u) => Ze(u, h, n),
|
|
837
840
|
onDblclick: (u) => _e(u, h, n),
|
|
838
841
|
onMouseover: (u) => et(),
|
|
@@ -841,7 +844,7 @@ You can explicitly suppress this warning by setting pagination-path="".`
|
|
|
841
844
|
}, [
|
|
842
845
|
e.selectable ? (s(), d("td", {
|
|
843
846
|
key: 0,
|
|
844
|
-
class: "dsg-table
|
|
847
|
+
class: "dsg-table-component__cell dsg-table-component__cell--checkbox",
|
|
845
848
|
onClickCapture: (u) => w(u, n, h)
|
|
846
849
|
}, [
|
|
847
850
|
q(Ve, {
|
|
@@ -852,7 +855,7 @@ You can explicitly suppress this warning by setting pagination-path="".`
|
|
|
852
855
|
e.hasDetailRow && e.expandableRows ? (s(), d("td", oa, [
|
|
853
856
|
D("button", {
|
|
854
857
|
type: "button",
|
|
855
|
-
class: B(["dsg-table
|
|
858
|
+
class: B(["dsg-table-component__expand-toggle", { "dsg-table-component__expand-toggle--expanded": J(n) }]),
|
|
856
859
|
"aria-expanded": J(n),
|
|
857
860
|
"aria-label": "Toggle row details",
|
|
858
861
|
onClick: vt((u) => ce(n, h), ["stop"])
|
|
@@ -860,14 +863,14 @@ You can explicitly suppress this warning by setting pagination-path="".`
|
|
|
860
863
|
q(O, {
|
|
861
864
|
icon: "chevron-right",
|
|
862
865
|
size: "sm",
|
|
863
|
-
class: "dsg-table
|
|
866
|
+
class: "dsg-table-component__expand-icon"
|
|
864
867
|
})
|
|
865
868
|
], 10, ia)
|
|
866
869
|
])) : p("", !0),
|
|
867
870
|
(s(!0), d(I, null, Y(v.value, (u, x) => (s(), d(I, { key: x }, [
|
|
868
871
|
u.visible ? (s(), d("td", {
|
|
869
872
|
key: 0,
|
|
870
|
-
class: B(["dsg-table
|
|
873
|
+
class: B(["dsg-table-component__cell", u.dataClass]),
|
|
871
874
|
style: te({ width: u.width || void 0 }),
|
|
872
875
|
onClick: (j) => tt(),
|
|
873
876
|
onDblclick: (j) => at(),
|
|
@@ -891,7 +894,7 @@ You can explicitly suppress this warning by setting pagination-path="".`
|
|
|
891
894
|
}, {
|
|
892
895
|
default: ne(() => [
|
|
893
896
|
D("tr", {
|
|
894
|
-
class: B(["dsg-table
|
|
897
|
+
class: B(["dsg-table-component__detail", { "dsg-table-component__detail--expanded": e.expandableRows && J(n) }]),
|
|
895
898
|
onClick: (u) => nt()
|
|
896
899
|
}, [
|
|
897
900
|
D("td", { colspan: _.value }, [
|
|
@@ -910,7 +913,7 @@ You can explicitly suppress this warning by setting pagination-path="".`
|
|
|
910
913
|
!P.value && !b.value?.length && e.noDataTemplate.length ? (s(), d("tr", ga, [
|
|
911
914
|
D("td", {
|
|
912
915
|
colspan: _.value,
|
|
913
|
-
class: "dsg-table
|
|
916
|
+
class: "dsg-table-component__empty-result"
|
|
914
917
|
}, [
|
|
915
918
|
M(t.$slots, "dsg-table-empty-result", {}, () => [
|
|
916
919
|
bt(re(e.noDataTemplate), 1)
|
|
@@ -930,16 +933,16 @@ You can explicitly suppress this warning by setting pagination-path="".`
|
|
|
930
933
|
}
|
|
931
934
|
}), ha = { class: "dsg-table" }, wa = {
|
|
932
935
|
key: 0,
|
|
933
|
-
class: "dsg-
|
|
934
|
-
}, ma = { class: "dsg-table--pre-header-left" }, ya = ["textContent"], ka = { class: "dsg-
|
|
936
|
+
class: "dsg-table__pre-header"
|
|
937
|
+
}, ma = { class: "dsg-table--pre-header-left" }, ya = ["textContent"], ka = { class: "dsg-table__pre-header-right" }, pa = {
|
|
935
938
|
key: 1,
|
|
936
|
-
class: "dsg-
|
|
939
|
+
class: "dsg-table__search-header",
|
|
937
940
|
ref: "dsgTableSearchHeaderEl"
|
|
938
|
-
}, Pa = { class: "dsg-
|
|
941
|
+
}, Pa = { class: "dsg-table__search-top" }, Da = {
|
|
939
942
|
key: 2,
|
|
940
|
-
class: "dsg-
|
|
943
|
+
class: "dsg-table__footer",
|
|
941
944
|
ref: "dsgTableFooterEl"
|
|
942
|
-
}, Sa = { class: "dsg-
|
|
945
|
+
}, Sa = { class: "dsg-table__footer-left" }, Ca = { class: "dsg-table__footer-center" }, xa = { class: "dsg-table__footer-right" }, $a = /* @__PURE__ */ X({
|
|
943
946
|
__name: "DsgTable",
|
|
944
947
|
props: {
|
|
945
948
|
getUrl: {},
|
|
@@ -1076,7 +1079,7 @@ You can explicitly suppress this warning by setting pagination-path="".`
|
|
|
1076
1079
|
}, () => [
|
|
1077
1080
|
e.title.length > 0 ? (s(), d("h1", {
|
|
1078
1081
|
key: 0,
|
|
1079
|
-
class: "dsg-
|
|
1082
|
+
class: "dsg-table__title",
|
|
1080
1083
|
textContent: re(e.title)
|
|
1081
1084
|
}, null, 8, ya)) : p("", !0)
|
|
1082
1085
|
])
|
|
@@ -1217,7 +1220,7 @@ You can explicitly suppress this warning by setting pagination-path="".`
|
|
|
1217
1220
|
], 512)) : p("", !0)
|
|
1218
1221
|
]));
|
|
1219
1222
|
}
|
|
1220
|
-
}), Ta = { class: "dsg-table
|
|
1223
|
+
}), Ta = { class: "dsg-table-per-page" }, Ra = ["value", "textContent"], Ma = /* @__PURE__ */ X({
|
|
1221
1224
|
__name: "DsgTablePerPage",
|
|
1222
1225
|
props: {
|
|
1223
1226
|
perPageOptions: { default: () => [10, 20, 30, 50, 100] },
|
|
@@ -1227,7 +1230,7 @@ You can explicitly suppress this warning by setting pagination-path="".`
|
|
|
1227
1230
|
return (F, f) => (s(), d("div", Ta, [
|
|
1228
1231
|
De(D("select", {
|
|
1229
1232
|
"onUpdate:modelValue": f[0] || (f[0] = (c) => e.perPage.perPage = c),
|
|
1230
|
-
class: "dsg-table
|
|
1233
|
+
class: "dsg-table-per-page__select",
|
|
1231
1234
|
onChange: f[1] || (f[1] = (c) => e.perPage.change(e.perPage.perPage))
|
|
1232
1235
|
}, [
|
|
1233
1236
|
(s(!0), d(I, null, Y(e.perPageOptions, (c) => (s(), d("option", {
|
package/dist/main.d.ts
CHANGED
|
@@ -345,9 +345,9 @@ export declare const DsgCheckboxGroup: {
|
|
|
345
345
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
346
346
|
"update:modelValue": (value: import('./main').DsgCheckboxModelType) => any;
|
|
347
347
|
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
348
|
-
$slots: Partial<Record<`dsg-checkbox-
|
|
348
|
+
$slots: Partial<Record<`dsg-checkbox-group__panel-title--${string}`, (_: {
|
|
349
349
|
data: import('./main').DsgCheckboxGroupOption;
|
|
350
|
-
}) => any>> & Partial<Record<`dsg-checkbox-
|
|
350
|
+
}) => any>> & Partial<Record<`dsg-checkbox-group__panel-subtext--${string}`, (_: {}) => any>> & {
|
|
351
351
|
'dsg-checkbox-group--header'?(_: {}): any;
|
|
352
352
|
};
|
|
353
353
|
});
|
|
@@ -855,7 +855,6 @@ export declare const DsgDropdown: {
|
|
|
855
855
|
readonly theme?: import('./main').DsgAvatarTheme | undefined;
|
|
856
856
|
readonly isOnline?: boolean | undefined;
|
|
857
857
|
readonly uri?: string | undefined | undefined;
|
|
858
|
-
readonly classes?: string | undefined;
|
|
859
858
|
readonly companyLogoUri?: string | undefined | undefined;
|
|
860
859
|
readonly preventDefault?: boolean | undefined;
|
|
861
860
|
readonly title?: string | undefined;
|
|
@@ -937,7 +936,6 @@ export declare const DsgDropdown: {
|
|
|
937
936
|
readonly disabled?: boolean | undefined;
|
|
938
937
|
readonly iconBefore?: string | null | undefined;
|
|
939
938
|
readonly iconAfter?: string | null | undefined;
|
|
940
|
-
readonly classes?: string | undefined;
|
|
941
939
|
readonly width?: import('./main').DsgButtonWidth | undefined;
|
|
942
940
|
readonly uri?: string | null | undefined;
|
|
943
941
|
readonly targetUri?: import('./main').DsgButtonTargetUri | undefined;
|
|
@@ -1315,15 +1313,6 @@ export declare const DsgInputSelect: {
|
|
|
1315
1313
|
};
|
|
1316
1314
|
};
|
|
1317
1315
|
});
|
|
1318
|
-
export declare const DsgInputDropdown: import('vue').DefineComponent<{
|
|
1319
|
-
modelValue?: string;
|
|
1320
|
-
} & import('./main').DsgInputDropdownProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1321
|
-
"update:modelValue": (value: string) => any;
|
|
1322
|
-
}, string, import('vue').PublicProps, Readonly<{
|
|
1323
|
-
modelValue?: string;
|
|
1324
|
-
} & import('./main').DsgInputDropdownProps> & Readonly<{
|
|
1325
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
1326
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSelectElement>;
|
|
1327
1316
|
export declare const DsgDatepicker: import('vue').DefineComponent<{
|
|
1328
1317
|
modelValue?: import('./main').DsgDatepickerValue;
|
|
1329
1318
|
} & import('./main').DsgDatepickerProps, {
|
|
@@ -1797,33 +1786,6 @@ export declare const DsgLabel: {
|
|
|
1797
1786
|
'dsg-label-text'?(_: {}): any;
|
|
1798
1787
|
};
|
|
1799
1788
|
});
|
|
1800
|
-
export declare const DsgLink: {
|
|
1801
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./main').DsgLinkProps> & Readonly<{
|
|
1802
|
-
"onLink-clicked"?: ((clickEvent: Event) => any) | undefined;
|
|
1803
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
1804
|
-
"link-clicked": (clickEvent: Event) => any;
|
|
1805
|
-
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLAnchorElement, import('vue').ComponentProvideOptions, {
|
|
1806
|
-
P: {};
|
|
1807
|
-
B: {};
|
|
1808
|
-
D: {};
|
|
1809
|
-
C: {};
|
|
1810
|
-
M: {};
|
|
1811
|
-
Defaults: {};
|
|
1812
|
-
}, Readonly<import('./main').DsgLinkProps> & Readonly<{
|
|
1813
|
-
"onLink-clicked"?: ((clickEvent: Event) => any) | undefined;
|
|
1814
|
-
}>, {}, {}, {}, {}, {}>;
|
|
1815
|
-
__isFragment?: never;
|
|
1816
|
-
__isTeleport?: never;
|
|
1817
|
-
__isSuspense?: never;
|
|
1818
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('./main').DsgLinkProps> & Readonly<{
|
|
1819
|
-
"onLink-clicked"?: ((clickEvent: Event) => any) | undefined;
|
|
1820
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
1821
|
-
"link-clicked": (clickEvent: Event) => any;
|
|
1822
|
-
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
1823
|
-
$slots: {
|
|
1824
|
-
'dsg-link-content'?(_: {}): any;
|
|
1825
|
-
};
|
|
1826
|
-
});
|
|
1827
1789
|
export declare const DsgModal: {
|
|
1828
1790
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./main').DsgModalProps> & Readonly<{
|
|
1829
1791
|
"onBefore-open"?: (() => any) | undefined;
|
|
@@ -2854,11 +2816,9 @@ export type { DsgCheckboxGroupProps, DsgCheckboxGroupOption, DsgCheckboxGroupSiz
|
|
|
2854
2816
|
export type { DsgDropdownType, DsgDropdownHeaderType, DsgDropdownAvatar, DsgDropdownMenuItem, DsgDropdownProps } from './components/Elements/DsgDropdown.vue';
|
|
2855
2817
|
export type { DsgInputProps, DsgInputCurrencyPair, DsgInputPhoneFormat, DsgInputValidationPattern, DsgInputSize, DsgInputTheme, DsgInputTooltipTheme, DsgInputType, DsgInputWidth, } from './components/Elements/DsgInput.vue';
|
|
2856
2818
|
export type { DsgInputSelectOption, DsgInputSelectProps } from './components/Elements/DsgInputSelect.vue';
|
|
2857
|
-
export type { DsgInputDropdownProps } from './components/Elements/DsgInputDropdown.vue';
|
|
2858
2819
|
export type { DsgDatepickerType, DsgDatepickerValue, DsgDatepickerRangeConfig, DsgDatepickerSize, DsgDatepickerModelType, DsgDatepickerProps, DsgDatepickerFloatingConfig, DsgDatepickerTimeConfig, DsgDatepickerFormatsConfig, DsgUiClasses, } from './components/Elements/DsgDatepicker.vue';
|
|
2859
2820
|
export type { DsgSliderProps, DsgSliderType, DsgSliderLabelPosition, DsgSliderValue } from './components/Elements/DsgSlider.vue';
|
|
2860
2821
|
export type { DsgLabelProps, DsgLabelSize } from './components/Elements/DsgLabel.vue';
|
|
2861
|
-
export type { DsgLinkProps, DsgLinkSize, DsgLinkTargetUri } from './components/Elements/DsgLink.vue';
|
|
2862
2822
|
export type { DsgModalProps, DsgModalType, DsgModalFooterType } from './components/Elements/DsgModal.vue';
|
|
2863
2823
|
export type { DsgTagProps, DsgTagSize } from './components/Elements/DsgTag.vue';
|
|
2864
2824
|
export type { DsgToggleProps, DsgToggleSize } from './components/Elements/DsgToggle.vue';
|
|
@@ -3146,9 +3106,9 @@ declare const _default: {
|
|
|
3146
3106
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
3147
3107
|
"update:modelValue": (value: import('./main').DsgCheckboxModelType) => any;
|
|
3148
3108
|
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
3149
|
-
$slots: Partial<Record<`dsg-checkbox-
|
|
3109
|
+
$slots: Partial<Record<`dsg-checkbox-group__panel-title--${string}`, (_: {
|
|
3150
3110
|
data: import('./main').DsgCheckboxGroupOption;
|
|
3151
|
-
}) => any>> & Partial<Record<`dsg-checkbox-
|
|
3111
|
+
}) => any>> & Partial<Record<`dsg-checkbox-group__panel-subtext--${string}`, (_: {}) => any>> & {
|
|
3152
3112
|
'dsg-checkbox-group--header'?(_: {}): any;
|
|
3153
3113
|
};
|
|
3154
3114
|
});
|
|
@@ -3656,7 +3616,6 @@ declare const _default: {
|
|
|
3656
3616
|
readonly theme?: import('./main').DsgAvatarTheme | undefined;
|
|
3657
3617
|
readonly isOnline?: boolean | undefined;
|
|
3658
3618
|
readonly uri?: string | undefined | undefined;
|
|
3659
|
-
readonly classes?: string | undefined;
|
|
3660
3619
|
readonly companyLogoUri?: string | undefined | undefined;
|
|
3661
3620
|
readonly preventDefault?: boolean | undefined;
|
|
3662
3621
|
readonly title?: string | undefined;
|
|
@@ -3738,7 +3697,6 @@ declare const _default: {
|
|
|
3738
3697
|
readonly disabled?: boolean | undefined;
|
|
3739
3698
|
readonly iconBefore?: string | null | undefined;
|
|
3740
3699
|
readonly iconAfter?: string | null | undefined;
|
|
3741
|
-
readonly classes?: string | undefined;
|
|
3742
3700
|
readonly width?: import('./main').DsgButtonWidth | undefined;
|
|
3743
3701
|
readonly uri?: string | null | undefined;
|
|
3744
3702
|
readonly targetUri?: import('./main').DsgButtonTargetUri | undefined;
|
|
@@ -4116,15 +4074,6 @@ declare const _default: {
|
|
|
4116
4074
|
};
|
|
4117
4075
|
};
|
|
4118
4076
|
});
|
|
4119
|
-
DsgInputDropdown: import('vue').DefineComponent<{
|
|
4120
|
-
modelValue?: string;
|
|
4121
|
-
} & import('./main').DsgInputDropdownProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
4122
|
-
"update:modelValue": (value: string) => any;
|
|
4123
|
-
}, string, import('vue').PublicProps, Readonly<{
|
|
4124
|
-
modelValue?: string;
|
|
4125
|
-
} & import('./main').DsgInputDropdownProps> & Readonly<{
|
|
4126
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
4127
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSelectElement>;
|
|
4128
4077
|
DsgDatepicker: import('vue').DefineComponent<{
|
|
4129
4078
|
modelValue?: import('./main').DsgDatepickerValue;
|
|
4130
4079
|
} & import('./main').DsgDatepickerProps, {
|
|
@@ -4598,33 +4547,6 @@ declare const _default: {
|
|
|
4598
4547
|
'dsg-label-text'?(_: {}): any;
|
|
4599
4548
|
};
|
|
4600
4549
|
});
|
|
4601
|
-
DsgLink: {
|
|
4602
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./main').DsgLinkProps> & Readonly<{
|
|
4603
|
-
"onLink-clicked"?: ((clickEvent: Event) => any) | undefined;
|
|
4604
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
4605
|
-
"link-clicked": (clickEvent: Event) => any;
|
|
4606
|
-
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLAnchorElement, import('vue').ComponentProvideOptions, {
|
|
4607
|
-
P: {};
|
|
4608
|
-
B: {};
|
|
4609
|
-
D: {};
|
|
4610
|
-
C: {};
|
|
4611
|
-
M: {};
|
|
4612
|
-
Defaults: {};
|
|
4613
|
-
}, Readonly<import('./main').DsgLinkProps> & Readonly<{
|
|
4614
|
-
"onLink-clicked"?: ((clickEvent: Event) => any) | undefined;
|
|
4615
|
-
}>, {}, {}, {}, {}, {}>;
|
|
4616
|
-
__isFragment?: never;
|
|
4617
|
-
__isTeleport?: never;
|
|
4618
|
-
__isSuspense?: never;
|
|
4619
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('./main').DsgLinkProps> & Readonly<{
|
|
4620
|
-
"onLink-clicked"?: ((clickEvent: Event) => any) | undefined;
|
|
4621
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
4622
|
-
"link-clicked": (clickEvent: Event) => any;
|
|
4623
|
-
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
4624
|
-
$slots: {
|
|
4625
|
-
'dsg-link-content'?(_: {}): any;
|
|
4626
|
-
};
|
|
4627
|
-
});
|
|
4628
4550
|
DsgModal: {
|
|
4629
4551
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./main').DsgModalProps> & Readonly<{
|
|
4630
4552
|
"onBefore-open"?: (() => any) | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcodegroup-au/dsg-vue",
|
|
3
3
|
"description": "Front-end Vue/Tailwind DSG for UntitledUI.",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "1.0.1-next.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"preinstall": "npx only-allow pnpm",
|
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
"sass": "^1.99.0",
|
|
136
136
|
"semantic-release": "^24.2.9",
|
|
137
137
|
"storybook": "^8.6.18",
|
|
138
|
-
"tailwindcss": "^
|
|
138
|
+
"tailwindcss": "^4.2.2",
|
|
139
139
|
"typescript": "^5.9.3",
|
|
140
140
|
"typescript-eslint": "^8.59.2",
|
|
141
141
|
"ua-parser-js": "^2.0.9",
|
|
@@ -166,5 +166,8 @@
|
|
|
166
166
|
"overrides": {
|
|
167
167
|
"axios": "1.13.6"
|
|
168
168
|
}
|
|
169
|
+
},
|
|
170
|
+
"dependencies": {
|
|
171
|
+
"@tailwindcss/vite": "^4.2.2"
|
|
169
172
|
}
|
|
170
|
-
}
|
|
173
|
+
}
|