@wirecore/wirelayer-vue 0.6.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Checkbox-D9f77jtl.js → Checkbox-D175nhKK.js} +26 -22
- package/dist/ContextMenu-BEOEyUa6.js +2235 -0
- package/dist/{Highlight-Cg8DvCfq.js → Highlight-uwptdaUw.js} +35 -32
- package/dist/{Input-BhnYMKjE.js → Input-Cn5q0yVE.js} +48 -35
- package/dist/{Select-DAuYpE1c.js → Select-Bd2Vpr7G.js} +173 -164
- package/dist/Slider-Cpv7Vj3B.js +143 -0
- package/dist/{Tree-DWxqSrO6.js → Tree-fd9LXqgZ.js} +183 -180
- package/dist/chart.js +1 -1
- package/dist/components/AngleSlider/AngleSlider.vue.d.ts +2 -0
- package/dist/components/AngleSlider/AngleSlider.vue.d.ts.map +1 -1
- package/dist/components/Autocomplete/Autocomplete.vue.d.ts +2 -0
- package/dist/components/Autocomplete/Autocomplete.vue.d.ts.map +1 -1
- package/dist/components/Carousel/Carousel.vue.d.ts +2 -0
- package/dist/components/Carousel/Carousel.vue.d.ts.map +1 -1
- package/dist/components/CascadeSelect/CascadeSelect.vue.d.ts +2 -0
- package/dist/components/CascadeSelect/CascadeSelect.vue.d.ts.map +1 -1
- package/dist/components/Checkbox/Checkbox.vue.d.ts +2 -0
- package/dist/components/Checkbox/Checkbox.vue.d.ts.map +1 -1
- package/dist/components/ColorInput/ColorInput.vue.d.ts.map +1 -1
- package/dist/components/ColorPicker/ColorPicker.vue.d.ts +2 -0
- package/dist/components/ColorPicker/ColorPicker.vue.d.ts.map +1 -1
- package/dist/components/Combobox/Combobox.vue.d.ts +2 -0
- package/dist/components/Combobox/Combobox.vue.d.ts.map +1 -1
- package/dist/components/Confirm/ConfirmDialog.vue.d.ts +5 -0
- package/dist/components/Confirm/ConfirmDialog.vue.d.ts.map +1 -1
- package/dist/components/Confirm/confirm.d.ts +7 -0
- package/dist/components/Confirm/confirm.d.ts.map +1 -1
- package/dist/components/DatePicker/DatePicker.vue.d.ts +2 -0
- package/dist/components/DatePicker/DatePicker.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/DatePickerBase.vue.d.ts +2 -0
- package/dist/components/DatePicker/DatePickerBase.vue.d.ts.map +1 -1
- package/dist/components/DateRangePicker/DateRangePicker.vue.d.ts +2 -0
- package/dist/components/DateRangePicker/DateRangePicker.vue.d.ts.map +1 -1
- package/dist/components/Dialog/DialogContent.vue.d.ts +2 -0
- package/dist/components/Dialog/DialogContent.vue.d.ts.map +1 -1
- package/dist/components/Drawer/DrawerContent.vue.d.ts +2 -0
- package/dist/components/Drawer/DrawerContent.vue.d.ts.map +1 -1
- package/dist/components/DurationInput/DurationInput.vue.d.ts +2 -0
- package/dist/components/DurationInput/DurationInput.vue.d.ts.map +1 -1
- package/dist/components/IconButton/IconButton.vue.d.ts +2 -0
- package/dist/components/IconButton/IconButton.vue.d.ts.map +1 -1
- package/dist/components/Knob/Knob.vue.d.ts +2 -0
- package/dist/components/Knob/Knob.vue.d.ts.map +1 -1
- package/dist/components/Listbox/Listbox.vue.d.ts +2 -0
- package/dist/components/Listbox/Listbox.vue.d.ts.map +1 -1
- package/dist/components/MonthPicker/MonthPicker.vue.d.ts +2 -0
- package/dist/components/MonthPicker/MonthPicker.vue.d.ts.map +1 -1
- package/dist/components/MultiSelect/MultiSelect.vue.d.ts +2 -0
- package/dist/components/MultiSelect/MultiSelect.vue.d.ts.map +1 -1
- package/dist/components/NumberInput/NumberInput.vue.d.ts +2 -0
- package/dist/components/NumberInput/NumberInput.vue.d.ts.map +1 -1
- package/dist/components/PasswordInput/PasswordInput.vue.d.ts +2 -0
- package/dist/components/PasswordInput/PasswordInput.vue.d.ts.map +1 -1
- package/dist/components/PinInput/PinInput.vue.d.ts +2 -0
- package/dist/components/PinInput/PinInput.vue.d.ts.map +1 -1
- package/dist/components/RadioGroup/RadioGroup.vue.d.ts.map +1 -1
- package/dist/components/Rating/Rating.vue.d.ts +2 -0
- package/dist/components/Rating/Rating.vue.d.ts.map +1 -1
- package/dist/components/SegmentedControl/SegmentedControl.vue.d.ts.map +1 -1
- package/dist/components/Select/Select.vue.d.ts +2 -0
- package/dist/components/Select/Select.vue.d.ts.map +1 -1
- package/dist/components/SelectionCard/CheckboxCard.vue.d.ts +2 -0
- package/dist/components/SelectionCard/CheckboxCard.vue.d.ts.map +1 -1
- package/dist/components/Slider/Slider.vue.d.ts +2 -0
- package/dist/components/Slider/Slider.vue.d.ts.map +1 -1
- package/dist/components/Switch/Switch.vue.d.ts +2 -0
- package/dist/components/Switch/Switch.vue.d.ts.map +1 -1
- package/dist/components/TagsInput/TagsInput.vue.d.ts +2 -0
- package/dist/components/TagsInput/TagsInput.vue.d.ts.map +1 -1
- package/dist/components/TimePicker/TimePicker.vue.d.ts +2 -0
- package/dist/components/TimePicker/TimePicker.vue.d.ts.map +1 -1
- package/dist/components/TimeRangePicker/TimeRangePicker.vue.d.ts +2 -0
- package/dist/components/TimeRangePicker/TimeRangePicker.vue.d.ts.map +1 -1
- package/dist/components/Tooltip/Tooltip.vue.d.ts +3 -0
- package/dist/components/Tooltip/Tooltip.vue.d.ts.map +1 -1
- package/dist/components/TreeSelect/TreeSelect.vue.d.ts +2 -0
- package/dist/components/TreeSelect/TreeSelect.vue.d.ts.map +1 -1
- package/dist/components/YearPicker/YearPicker.vue.d.ts +2 -0
- package/dist/components/YearPicker/YearPicker.vue.d.ts.map +1 -1
- package/dist/data-table/DataTable.vue.d.ts +9 -1
- package/dist/data-table/DataTable.vue.d.ts.map +1 -1
- package/dist/data-table.js +1007 -994
- package/dist/editor.js +1 -1
- package/dist/form/FormField.vue.d.ts +3 -0
- package/dist/form/FormField.vue.d.ts.map +1 -1
- package/dist/form.js +7 -4
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5674 -5521
- package/dist/label-for-eQvYjsM5.js +8 -0
- package/dist/pdf.js +2 -2
- package/dist/sources/ActionBar.css +1 -0
- package/dist/sources/AppShell.css +1 -0
- package/dist/sources/ChatPrompt.css +1 -0
- package/dist/sources/Gallery.css +1 -0
- package/dist/sources/IconButton.css +1 -0
- package/dist/sources/Image.css +1 -0
- package/dist/sources/ImageCropper.css +1 -0
- package/dist/sources/InlineEdit.css +1 -0
- package/dist/sources/Marquee.css +1 -0
- package/dist/sources/MegaMenu.css +1 -0
- package/dist/sources/Menubar.css +1 -0
- package/dist/sources/OrderList.css +1 -0
- package/dist/sources/PickList.css +1 -0
- package/dist/sources/ScrollTop.css +1 -0
- package/dist/{useTree-H8XsFHMk.js → useTree-UhG1TMeM.js} +1 -1
- package/dist/utils/label-for.d.ts +3 -0
- package/dist/utils/label-for.d.ts.map +1 -0
- package/dist/utils/list.d.ts +5 -0
- package/dist/utils/list.d.ts.map +1 -1
- package/dist/virtual/VirtualSelect.vue.d.ts +2 -0
- package/dist/virtual/VirtualSelect.vue.d.ts.map +1 -1
- package/dist/virtual.js +207 -197
- package/fonts.css +2 -0
- package/llms-full.txt +188 -3
- package/llms.txt +4 -1
- package/package.json +7 -3
- package/theme.css +14 -0
- package/dist/ContextMenu-C5JKyNlX.js +0 -2209
- package/dist/Slider-CyoZc5A8.js +0 -135
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { n as e } from "./recipes-BlM9aKyt.js";
|
|
2
2
|
import { t } from "./attrs-KNjeRUCf.js";
|
|
3
|
-
import { computed as n, createBlock as r, createCommentVNode as i, createVNode as a, defineComponent as o, guardReactiveProps as s,
|
|
3
|
+
import { computed as n, createBlock as r, createCommentVNode as i, createVNode as a, defineComponent as o, guardReactiveProps as s, mergeProps as c, normalizeClass as l, normalizeProps as u, openBlock as d, renderSlot as f, unref as p, useAttrs as m, withCtx as h } from "vue";
|
|
4
4
|
import { Check as g, Minus as _ } from "@lucide/vue";
|
|
5
|
-
import { checkbox as v } from "@wirecore/wirelayer-recipes";
|
|
6
|
-
import { Checkbox as
|
|
5
|
+
import { checkbox as v, controlIds as y } from "@wirecore/wirelayer-recipes";
|
|
6
|
+
import { Checkbox as b } from "@ark-ui/vue/checkbox";
|
|
7
|
+
import { useFieldContext as x } from "@ark-ui/vue/field";
|
|
7
8
|
//#endregion
|
|
8
9
|
//#region src/components/Checkbox/Checkbox.vue
|
|
9
|
-
var
|
|
10
|
+
var S = /* @__PURE__ */ o({
|
|
10
11
|
inheritAttrs: !1,
|
|
11
12
|
__name: "Checkbox",
|
|
12
13
|
props: {
|
|
@@ -32,51 +33,54 @@ var b = /* @__PURE__ */ o({
|
|
|
32
33
|
},
|
|
33
34
|
name: {},
|
|
34
35
|
value: {},
|
|
36
|
+
id: {},
|
|
35
37
|
classes: {}
|
|
36
38
|
},
|
|
37
39
|
emits: ["update:checked"],
|
|
38
|
-
setup(o, { emit:
|
|
39
|
-
let
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
40
|
+
setup(o, { emit: S }) {
|
|
41
|
+
let C = o, w = e("checkbox", v, () => C.classes), T = S, E = m(), D = n(() => t(E)), O = w(), k = x(), A = n(() => y(C.id, "hiddenInput", {
|
|
42
|
+
label: k?.value.ids.label,
|
|
43
|
+
hiddenInput: k?.value.ids.control
|
|
44
|
+
}));
|
|
45
|
+
return (e, t) => (d(), r(p(b).Root, c({
|
|
46
|
+
class: p(O).base({ class: D.value.className }),
|
|
47
|
+
style: D.value.style,
|
|
43
48
|
checked: o.checked,
|
|
44
49
|
"default-checked": o.defaultChecked,
|
|
45
50
|
disabled: o.disabled,
|
|
46
51
|
invalid: o.invalid,
|
|
47
52
|
required: o.required,
|
|
48
53
|
name: o.name,
|
|
49
|
-
value: o.value
|
|
50
|
-
|
|
51
|
-
}, {
|
|
54
|
+
value: o.value
|
|
55
|
+
}, A.value, { "onUpdate:checked": t[0] ||= (e) => T("update:checked", e) }), {
|
|
52
56
|
default: h(() => [
|
|
53
|
-
a(p(
|
|
54
|
-
default: h(() => [a(p(
|
|
57
|
+
a(p(b).Control, { class: l(p(O).control()) }, {
|
|
58
|
+
default: h(() => [a(p(b).Indicator, null, {
|
|
55
59
|
default: h(() => [a(p(g), {
|
|
56
|
-
class:
|
|
60
|
+
class: l(p(O).icon()),
|
|
57
61
|
"aria-hidden": "true"
|
|
58
62
|
}, null, 8, ["class"])]),
|
|
59
63
|
_: 1
|
|
60
|
-
}), a(p(
|
|
64
|
+
}), a(p(b).Indicator, { indeterminate: "" }, {
|
|
61
65
|
default: h(() => [a(p(_), {
|
|
62
|
-
class:
|
|
66
|
+
class: l(p(O).icon()),
|
|
63
67
|
"aria-hidden": "true"
|
|
64
68
|
}, null, 8, ["class"])]),
|
|
65
69
|
_: 1
|
|
66
70
|
})]),
|
|
67
71
|
_: 1
|
|
68
72
|
}, 8, ["class"]),
|
|
69
|
-
e.$slots.default ? (d(), r(p(
|
|
73
|
+
e.$slots.default ? (d(), r(p(b).Label, {
|
|
70
74
|
key: 0,
|
|
71
|
-
class:
|
|
75
|
+
class: l(p(O).label())
|
|
72
76
|
}, {
|
|
73
77
|
default: h(() => [f(e.$slots, "default")]),
|
|
74
78
|
_: 3
|
|
75
79
|
}, 8, ["class"])) : i("", !0),
|
|
76
|
-
a(p(
|
|
80
|
+
a(p(b).HiddenInput, u(s(D.value.rest)), null, 16)
|
|
77
81
|
]),
|
|
78
82
|
_: 3
|
|
79
|
-
},
|
|
83
|
+
}, 16, [
|
|
80
84
|
"class",
|
|
81
85
|
"style",
|
|
82
86
|
"checked",
|
|
@@ -90,4 +94,4 @@ var b = /* @__PURE__ */ o({
|
|
|
90
94
|
}
|
|
91
95
|
});
|
|
92
96
|
//#endregion
|
|
93
|
-
export {
|
|
97
|
+
export { S as t };
|