@omnitend/dashboard-for-laravel 0.47.4 → 0.47.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/base/DInputGroup.vue.d.ts +18 -1
- package/dist/dashboard-for-laravel.js +14 -13
- package/dist/dashboard-for-laravel.js.map +1 -1
- package/dist/dashboard-for-laravel.umd.cjs +1 -1
- package/dist/dashboard-for-laravel.umd.cjs.map +1 -1
- package/dist/style.css +1 -1
- package/docs/public/api-reference.json +11 -3
- package/docs/public/docs-map.md +1 -1
- package/package.json +7 -7
- package/resources/css/theme.scss +6 -1
- package/resources/js/components/base/DInputGroup.vue +39 -1
|
@@ -1,8 +1,25 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
/**
|
|
3
|
+
* How a group with two or more controls behaves below md (768px).
|
|
4
|
+
*
|
|
5
|
+
* - `'narrow'` wraps it: a leading text label takes its own row and the
|
|
6
|
+
* controls sit beneath it as separate controls.
|
|
7
|
+
* - `'never'` keeps it one joined control at every width, for groups whose
|
|
8
|
+
* text is an affix or part of a sentence rather than a label. Renders the
|
|
9
|
+
* `dx-input-group--joined` class.
|
|
10
|
+
*
|
|
11
|
+
* A group with one control never wraps either way.
|
|
12
|
+
* @default 'narrow'
|
|
13
|
+
*/
|
|
14
|
+
wrap?: "narrow" | "never";
|
|
15
|
+
}
|
|
1
16
|
declare var __VLS_7: string | number, __VLS_8: any;
|
|
2
17
|
type __VLS_Slots = {} & {
|
|
3
18
|
[K in NonNullable<typeof __VLS_7>]?: (props: typeof __VLS_8) => any;
|
|
4
19
|
};
|
|
5
|
-
declare const __VLS_component: import("vue").DefineComponent<
|
|
20
|
+
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
21
|
+
wrap: "narrow" | "never";
|
|
22
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
23
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
7
24
|
export default _default;
|
|
8
25
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -29989,7 +29989,7 @@ const z$ = { class: "sidebar-header p-3" }, H$ = { class: "d-flex align-items-ce
|
|
|
29989
29989
|
}, null, 2)) : oe("", !0),
|
|
29990
29990
|
l.value && e.loadingText && !e.iconOnly ? (g(), L($e, { key: 1 }, [
|
|
29991
29991
|
be(ae(e.loadingText), 1)
|
|
29992
|
-
], 64)) : !e.iconOnly || !l.value ? P(f.$slots, "default", {
|
|
29992
|
+
], 64)) : !e.iconOnly || !l.value ? P(f.$slots, "default", {}, void 0, !0, 2) : oe("", !0),
|
|
29993
29993
|
l.value ? (g(), E(mu, {
|
|
29994
29994
|
key: 3,
|
|
29995
29995
|
small: ""
|
|
@@ -30558,15 +30558,20 @@ const z$ = { class: "sidebar-header p-3" }, H$ = { class: "d-flex align-items-ce
|
|
|
30558
30558
|
}), nc = /* @__PURE__ */ Ut(xS, [["__scopeId", "data-v-fdc15dad"]]), Or = /* @__PURE__ */ z({
|
|
30559
30559
|
inheritAttrs: !1,
|
|
30560
30560
|
__name: "DInputGroup",
|
|
30561
|
+
props: {
|
|
30562
|
+
wrap: { default: "narrow" }
|
|
30563
|
+
},
|
|
30561
30564
|
setup(e) {
|
|
30562
|
-
return (t, a) => (g(), E(r(Fi),
|
|
30565
|
+
return (t, a) => (g(), E(r(Fi), Y(t.$attrs, {
|
|
30566
|
+
class: { "dx-input-group--joined": e.wrap === "never" }
|
|
30567
|
+
}), Oe({ _: 2 }, [
|
|
30563
30568
|
we(t.$slots, (l, o) => ({
|
|
30564
30569
|
name: o,
|
|
30565
30570
|
fn: S((n) => [
|
|
30566
30571
|
P(t.$slots, o, J(te(n)))
|
|
30567
30572
|
])
|
|
30568
30573
|
}))
|
|
30569
|
-
]), 1040));
|
|
30574
|
+
]), 1040, ["class"]));
|
|
30570
30575
|
}
|
|
30571
30576
|
}), TS = {
|
|
30572
30577
|
viewBox: "0 0 24 24",
|
|
@@ -31648,12 +31653,11 @@ const tx = ["data-dx-field-key"], ax = {
|
|
|
31648
31653
|
update: A
|
|
31649
31654
|
}, void 0, !0)
|
|
31650
31655
|
])) : c.value && ge.$slots.value ? P(ge.$slots, "value", {
|
|
31651
|
-
key: 1,
|
|
31652
31656
|
field: e.field,
|
|
31653
31657
|
model: e.model,
|
|
31654
31658
|
value: C.value,
|
|
31655
31659
|
update: A
|
|
31656
|
-
}, void 0, !0) : (g(), L($e, { key: 2 }, [
|
|
31660
|
+
}, void 0, !0, 1) : (g(), L($e, { key: 2 }, [
|
|
31657
31661
|
e.field.type === "checkbox" && n.value ? (g(), E(On, Y({
|
|
31658
31662
|
key: 0,
|
|
31659
31663
|
modelValue: C.value,
|
|
@@ -31942,11 +31946,10 @@ const tx = ["data-dx-field-key"], ax = {
|
|
|
31942
31946
|
return s;
|
|
31943
31947
|
}
|
|
31944
31948
|
return (n, s) => n.$slots[`field(${e.field.key})`] ? P(n.$slots, `field(${e.field.key})`, {
|
|
31945
|
-
key: 0,
|
|
31946
31949
|
field: e.field,
|
|
31947
31950
|
model: e.model,
|
|
31948
31951
|
targetAttrs: l.value
|
|
31949
|
-
}) : (g(), L($e, { key: 1 }, [
|
|
31952
|
+
}, void 0, void 0, 0) : (g(), L($e, { key: 1 }, [
|
|
31950
31953
|
P(n.$slots, `field-before(${e.field.key})`, {
|
|
31951
31954
|
field: e.field,
|
|
31952
31955
|
model: e.model
|
|
@@ -31998,9 +32001,9 @@ const tx = ["data-dx-field-key"], ax = {
|
|
|
31998
32001
|
default: S(() => [
|
|
31999
32002
|
a.value ? (g(), L($e, { key: 0 }, [
|
|
32000
32003
|
be(ae(e.savedText), 1)
|
|
32001
|
-
], 64)) : P(l.$slots, "default", {
|
|
32004
|
+
], 64)) : P(l.$slots, "default", {}, () => [
|
|
32002
32005
|
o[0] || (o[0] = be("Save", -1))
|
|
32003
|
-
])
|
|
32006
|
+
], void 0, 1)
|
|
32004
32007
|
]),
|
|
32005
32008
|
_: 3
|
|
32006
32009
|
}, 16, ["variant", "icon", "loading", "loading-text", "disabled", "class"]));
|
|
@@ -33173,13 +33176,12 @@ const Kx = Yt({ name: "lucide-trash2", render: Wx }), Gx = { class: "dx-repeater
|
|
|
33173
33176
|
class: "dx-repeater-row"
|
|
33174
33177
|
}, [
|
|
33175
33178
|
t.$slots.row ? P(t.$slots, "row", {
|
|
33176
|
-
key: 0,
|
|
33177
33179
|
row: l.row,
|
|
33178
33180
|
index: o,
|
|
33179
33181
|
fields: e.subFields,
|
|
33180
33182
|
remove: () => e.removeRow(l.index),
|
|
33181
33183
|
path: e.rowPath(l.index)
|
|
33182
|
-
}, void 0, !0) : (g(), L($e, { key: 1 }, [
|
|
33184
|
+
}, void 0, !0, 0) : (g(), L($e, { key: 1 }, [
|
|
33183
33185
|
ne("div", Xx, [
|
|
33184
33186
|
e.field.showRowIndex ? (g(), L("span", Yx, ae(o + 1), 1)) : oe("", !0),
|
|
33185
33187
|
me(Mt, {
|
|
@@ -33333,13 +33335,12 @@ const Kx = Yt({ name: "lucide-trash2", render: Wx }), Gx = { class: "dx-repeater
|
|
|
33333
33335
|
key: F(A.row, V)
|
|
33334
33336
|
}, [
|
|
33335
33337
|
R.$slots.row ? P(R.$slots, "row", {
|
|
33336
|
-
key: 0,
|
|
33337
33338
|
row: A.row,
|
|
33338
33339
|
index: V,
|
|
33339
33340
|
fields: l.value,
|
|
33340
33341
|
remove: () => _(A.index),
|
|
33341
33342
|
path: k(A.index)
|
|
33342
|
-
}, void 0, !0) : (g(), L($e, { key: 1 }, [
|
|
33343
|
+
}, void 0, !0, 0) : (g(), L($e, { key: 1 }, [
|
|
33343
33344
|
(g(!0), L($e, null, we(l.value, (N) => (g(), L("td", {
|
|
33344
33345
|
key: N.key
|
|
33345
33346
|
}, [
|