@astryx-vue/core 0.1.0 → 0.1.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 +1 -1
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Button/index.d.ts +1 -1
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/Calendar/index.js +1 -1
- package/dist/{Calendar-DpYFXwgb.js → Calendar-BEyrkUtr.js} +2 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-Bfd-YPAK.js → Chat-CO3mCs9A.js} +2 -2
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxList/index.d.ts +2 -0
- package/dist/CheckboxList/index.js +2 -0
- package/dist/CheckboxList-BL2sDOWK.js +174 -0
- package/dist/Citation/index.js +1 -1
- package/dist/{Citation-DaDd1teb.js → Citation-BqwJvw7o.js} +2 -2
- package/dist/Code/index.js +1 -1
- package/dist/{CodeBlock-CK-NWM_1.js → CodeBlock-BQdooQy2.js} +1 -1
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-ByXCGhT8.js → Collapsible-BYg9soTk.js} +1 -1
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +1 -1
- package/dist/{ContextMenu-BJh99Exj.js → ContextMenu-dA-ppaRQ.js} +284 -12
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-zJAdXByM.js → DateInput-BOIb0zAp.js} +18 -10
- package/dist/DateRangeInput/index.d.ts +2 -0
- package/dist/DateRangeInput/index.js +2 -0
- package/dist/DateRangeInput-DLcbgUBi.js +385 -0
- package/dist/DateTimeInput/index.d.ts +2 -0
- package/dist/DateTimeInput/index.js +2 -0
- package/dist/DateTimeInput-RitYX_Yx.js +196 -0
- package/dist/Divider/index.d.ts +1 -1
- package/dist/DropdownMenu/index.d.ts +1 -1
- package/dist/DropdownMenu/index.js +1 -1
- package/dist/{DropdownMenu-C3j2zaEn.js → DropdownMenu-B0gogrvG.js} +2 -2
- package/dist/Field/index.d.ts +2 -2
- package/dist/Field/index.js +1 -2
- package/dist/FieldStatus/index.d.ts +2 -0
- package/dist/FieldStatus/index.js +2 -0
- package/dist/FileInput/index.d.ts +2 -0
- package/dist/FileInput/index.js +2 -0
- package/dist/FileInput-CYvEV503.js +238 -0
- package/dist/{Icon-B6qNgBP9.js → Icon-5MdZQ18k.js} +10 -2
- package/dist/List/index.d.ts +1 -1
- package/dist/Markdown/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-DyKIwAL_.js → Markdown-Dnlp8cVx.js} +2 -2
- package/dist/MetadataList/index.d.ts +2 -0
- package/dist/MetadataList/index.js +2 -0
- package/dist/MetadataList-DIsqS1Qb.js +124 -0
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-BK2iRJF-.js → MobileNavToggle-aUZiDwHm.js} +1 -1
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-BjUsVWWk.js → MoreMenu-BXL6Dqsu.js} +2 -2
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-CKTbTj1A.js → MultiSelector-Bh8or2S6.js} +2 -2
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NavMenu/index.d.ts +1 -1
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-DU3_rw7z.js → NumberInput-C3S-4dIu.js} +1 -1
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-B2T5UtiQ.js → OverflowList-Kr4iJrNV.js} +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-qCgNwwhr.js → Pagination-BRStpeSB.js} +2 -2
- package/dist/Popover/index.d.ts +1 -1
- package/dist/Radio/index.d.ts +2 -2
- package/dist/Radio/index.js +2 -2
- package/dist/{Radio-BioQfwHQ.js → RadioGroup-DS6oTV_j.js} +21 -88
- package/dist/RadioList/index.d.ts +2 -0
- package/dist/RadioList/index.js +2 -0
- package/dist/RadioList-pwr93I-z.js +122 -0
- package/dist/SegmentedControl/index.d.ts +1 -1
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-C6sPJMtH.js → Selector-DvEUIVEC.js} +1 -1
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-D9lnn-sM.js → SideNav-B7LX4RcP.js} +2 -2
- package/dist/Stack/index.d.ts +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Table/index.d.ts +2 -0
- package/dist/Table/index.js +2 -0
- package/dist/Table-D5zWaITo.js +967 -0
- package/dist/Text/index.d.ts +1 -1
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/Thumbnail/index.d.ts +2 -0
- package/dist/Thumbnail/index.js +2 -0
- package/dist/Thumbnail-DMOgWncm.js +163 -0
- package/dist/TimeField-DeQ1ukHl.js +214 -0
- package/dist/TimeInput/index.d.ts +2 -0
- package/dist/TimeInput/index.js +2 -0
- package/dist/TimeInput-jb1nLqZk.js +121 -0
- package/dist/Timestamp/index.d.ts +2 -0
- package/dist/Timestamp/index.js +2 -0
- package/dist/Timestamp-DrWwVQBL.js +465 -0
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/Token/index.d.ts +1 -1
- package/dist/Token/index.js +1 -1
- package/dist/{Token-Ctf9jekS.js → Token-CV2J94bn.js} +1 -1
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-D5MPgau0.js → Tokenizer-DF9r4hTW.js} +2 -2
- package/dist/Toolbar/index.d.ts +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-CjbMCbkC.js → TopNav-BH_s3uap.js} +3 -3
- package/dist/TreeList/index.d.ts +2 -0
- package/dist/TreeList/index.js +2 -0
- package/dist/TreeList-D9cR-w7r.js +506 -0
- package/dist/Typeahead/index.d.ts +1 -1
- package/dist/Typeahead/index.js +1 -1
- package/dist/{Typeahead-BMoU3hfx.js → Typeahead-s4DC1Qem.js} +2 -2
- package/dist/composables/index.d.ts +2 -2
- package/dist/composables/index.js +4 -1
- package/dist/{locale-56lkR7OK.js → context-BshXcNYX.js} +183 -18
- package/dist/{index-DjOdQv5B.d.ts → index--dh0s8Li.d.ts} +1 -1
- package/dist/{index-Cdi82rTW.d.ts → index-12ObcW99.d.ts} +6 -2
- package/dist/{index-JeZ0YTyd.d.ts → index-5R_pi3eT.d.ts} +2 -2
- package/dist/{index-Cc2HGODZ.d.ts → index-AkMWQ97a.d.ts} +3 -3
- package/dist/{index-CvLlWLIZ.d.ts → index-B4OOtNP8.d.ts} +4 -4
- package/dist/{index-_1-uvr27.d.ts → index-B8MbfMwV.d.ts} +1 -1
- package/dist/{index-MPcg1Pm4.d.ts → index-BKr7yvVv.d.ts} +1 -1
- package/dist/{index-CxspvLBl.d.ts → index-Bc0dgVM5.d.ts} +5 -5
- package/dist/{index-4FM5lQdV.d.ts → index-BlWLperN.d.ts} +1 -1
- package/dist/{index-DBcbfStA.d.ts → index-BnNh5Iml.d.ts} +84 -1
- package/dist/{index-Cp0NlzQv.d.ts → index-Bovw9_8d.d.ts} +1 -1
- package/dist/{index-CnVbMebA.d.ts → index-Bqb_Fyju.d.ts} +3 -3
- package/dist/{index-HV6W3xCx.d.ts → index-Byar3h1e.d.ts} +1 -1
- package/dist/{index-BQuN_dWR.d.ts → index-BzqRns96.d.ts} +1 -1
- package/dist/{index-C0S2Xzoi.d.ts → index-CNcQmDrK.d.ts} +93 -0
- package/dist/{index-CaHXYQ_E.d.ts → index-CQ9F1f_F.d.ts} +535 -137
- package/dist/index-CR6sUmRT.d.ts +356 -0
- package/dist/index-C_2Z65Rp.d.ts +67 -0
- package/dist/{index-Dw21t7Uf.d.ts → index-CsJpQElv.d.ts} +1 -1
- package/dist/index-CtlkhQ55.d.ts +36 -0
- package/dist/{index-C8NW9xre.d.ts → index-D3V7yRUP.d.ts} +7 -7
- package/dist/index-Da7Jm8Ht.d.ts +10 -0
- package/dist/{index-CPhDtlv-.d.ts → index-FEy8qFSD.d.ts} +3 -3
- package/dist/{index-BeJqhW4l.d.ts → index-Q4gqBSIZ.d.ts} +2 -2
- package/dist/{index-Cz9ZHVf6.d.ts → index-g03bmR4K.d.ts} +3 -3
- package/dist/{index-COxy6LEW.d.ts → index-gW0HW02U.d.ts} +1 -1
- package/dist/{index-BQa836Vz.d.ts → index-iBLzInje.d.ts} +6 -14
- package/dist/index-utZGF4GR.d.ts +79 -0
- package/dist/index.d.ts +54 -49
- package/dist/index.js +86 -64
- package/dist/locale/index.d.ts +1 -1
- package/dist/locale/index.js +2 -1
- package/dist/locale-Cpk_nrLA.js +18 -0
- package/dist/useFileSelection-BPtaegqK.js +58 -0
- package/dist/useMonthGrid-CmJsZTcB.js +139 -0
- package/dist/useTimeValue-DWk6oTAZ.js +113 -0
- package/package.json +49 -1
- package/styles/bordered-control.css +87 -0
- package/styles/calendar.css +8 -2
- package/styles/checkbox-list.css +15 -0
- package/styles/date-range-input.css +163 -0
- package/styles/date-time-input.css +40 -0
- package/styles/field.css +2 -3
- package/styles/file-input.css +87 -0
- package/styles/icon.css +32 -0
- package/styles/metadata-list.css +107 -0
- package/styles/number-input.css +6 -0
- package/styles/radio.css +32 -0
- package/styles/selector.css +10 -0
- package/styles/table.css +256 -0
- package/styles/text-area.css +6 -1
- package/styles/text-input.css +6 -0
- package/styles/thumbnail.css +151 -0
- package/styles/time-input.css +51 -0
- package/styles/timestamp.css +93 -0
- package/styles/tree-list.css +229 -0
- package/styles.css +11 -0
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
import { t as _sfc_main$1 } from "./VisuallyHidden-C7NN3VEP.js";
|
|
2
|
+
import { t as useAnnounce } from "./announce-Cnio10Wk.js";
|
|
3
|
+
import { n as selectFiles, t as formatFileSize } from "./useFileSelection-BPtaegqK.js";
|
|
4
|
+
import { t as _sfc_main$2 } from "./FieldIcon--NTgW5IU.js";
|
|
5
|
+
import { t as _sfc_main$3 } from "./IconButton-BNQuz9W_.js";
|
|
6
|
+
import { a as useAstryxMessages } from "./context-BshXcNYX.js";
|
|
7
|
+
import { t as _sfc_main$4 } from "./Icon-5MdZQ18k.js";
|
|
8
|
+
import { t as _sfc_main$5 } from "./Spinner-9cYUCnDy.js";
|
|
9
|
+
import { t as _sfc_main$6 } from "./Field-VlTBsIEo.js";
|
|
10
|
+
import { computed, createBlock, createCommentVNode, createElementVNode, createTextVNode, createVNode, defineComponent, mergeModels, openBlock, shallowRef, toDisplayString, unref, useId, useModel, useTemplateRef, withCtx } from "vue";
|
|
11
|
+
import "../styles/bordered-control.css";
|
|
12
|
+
import "../styles/file-input.css";
|
|
13
|
+
//#region src/FileInput/FileInput.vue
|
|
14
|
+
const _hoisted_1 = [
|
|
15
|
+
"data-mode",
|
|
16
|
+
"data-size",
|
|
17
|
+
"data-status",
|
|
18
|
+
"data-disabled",
|
|
19
|
+
"data-drag"
|
|
20
|
+
];
|
|
21
|
+
const _hoisted_2 = [
|
|
22
|
+
"id",
|
|
23
|
+
"accept",
|
|
24
|
+
"multiple",
|
|
25
|
+
"disabled"
|
|
26
|
+
];
|
|
27
|
+
const _hoisted_3 = [
|
|
28
|
+
"id",
|
|
29
|
+
"disabled",
|
|
30
|
+
"aria-invalid",
|
|
31
|
+
"aria-describedby"
|
|
32
|
+
];
|
|
33
|
+
const _hoisted_4 = ["data-placeholder"];
|
|
34
|
+
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
35
|
+
name: "AstryxFileInput",
|
|
36
|
+
inheritAttrs: false,
|
|
37
|
+
__name: "FileInput",
|
|
38
|
+
props: /*@__PURE__*/ mergeModels({
|
|
39
|
+
label: {},
|
|
40
|
+
id: {},
|
|
41
|
+
accept: {},
|
|
42
|
+
description: {},
|
|
43
|
+
placeholder: {},
|
|
44
|
+
mode: { default: "input" },
|
|
45
|
+
size: { default: "md" },
|
|
46
|
+
isMultiple: {
|
|
47
|
+
type: Boolean,
|
|
48
|
+
default: false
|
|
49
|
+
},
|
|
50
|
+
maxSize: {},
|
|
51
|
+
maxFiles: {},
|
|
52
|
+
isDisabled: { type: Boolean },
|
|
53
|
+
isRequired: { type: Boolean },
|
|
54
|
+
isOptional: { type: Boolean },
|
|
55
|
+
isLabelHidden: { type: Boolean },
|
|
56
|
+
isLoading: { type: Boolean },
|
|
57
|
+
status: {},
|
|
58
|
+
statusVariant: { default: "attached" },
|
|
59
|
+
width: {},
|
|
60
|
+
clearLabel: {}
|
|
61
|
+
}, {
|
|
62
|
+
"modelValue": { default: null },
|
|
63
|
+
"modelModifiers": {}
|
|
64
|
+
}),
|
|
65
|
+
emits: /*@__PURE__*/ mergeModels(["update:modelValue", "change"], ["update:modelValue"]),
|
|
66
|
+
setup(__props, { emit: __emit }) {
|
|
67
|
+
const props = __props;
|
|
68
|
+
const emit = __emit;
|
|
69
|
+
const model = useModel(__props, "modelValue");
|
|
70
|
+
const messages = useAstryxMessages();
|
|
71
|
+
const announce = useAnnounce();
|
|
72
|
+
const generatedId = `astryx-file-input-${useId()}`;
|
|
73
|
+
const inputId = computed(() => props.id ?? generatedId);
|
|
74
|
+
const requiredId = `${generatedId}-required`;
|
|
75
|
+
const fileInput = useTemplateRef("file");
|
|
76
|
+
const validationError = shallowRef(null);
|
|
77
|
+
const dragOver = shallowRef(false);
|
|
78
|
+
const placeholder = computed(() => props.placeholder ?? (props.isMultiple ? messages.value.fileInput.placeholderMultiple : messages.value.fileInput.placeholder));
|
|
79
|
+
const clearLabel = computed(() => props.clearLabel ?? messages.value.fileInput.clear);
|
|
80
|
+
const status = computed(() => props.status ?? (validationError.value ? {
|
|
81
|
+
type: "error",
|
|
82
|
+
message: validationError.value
|
|
83
|
+
} : void 0));
|
|
84
|
+
const fileLabel = computed(() => {
|
|
85
|
+
const value = model.value;
|
|
86
|
+
if (value == null) return "";
|
|
87
|
+
const files = Array.isArray(value) ? value : [value];
|
|
88
|
+
if (files.length === 0) return "";
|
|
89
|
+
if (files.length === 1) return files[0]?.name ?? "";
|
|
90
|
+
return files.map((file) => file.name).join(", ");
|
|
91
|
+
});
|
|
92
|
+
const conveysRequired = computed(() => props.isRequired && !props.isOptional);
|
|
93
|
+
function commit(value) {
|
|
94
|
+
model.value = value;
|
|
95
|
+
emit("change", value);
|
|
96
|
+
}
|
|
97
|
+
function applyFiles(list) {
|
|
98
|
+
if (props.isDisabled) return;
|
|
99
|
+
const result = selectFiles(list, {
|
|
100
|
+
accept: props.accept,
|
|
101
|
+
maxSize: props.maxSize,
|
|
102
|
+
maxFiles: props.maxFiles,
|
|
103
|
+
isMultiple: props.isMultiple
|
|
104
|
+
});
|
|
105
|
+
const first = result.rejections[0];
|
|
106
|
+
if (first?.code === "type" && first.fileName) validationError.value = messages.value.fileInput.errorType(first.fileName);
|
|
107
|
+
else if (first?.code === "size" && first.fileName) validationError.value = messages.value.fileInput.errorSize(first.fileName, formatFileSize(first.maxSize ?? 0));
|
|
108
|
+
else if (first?.code === "count") validationError.value = messages.value.fileInput.errorCount(first.maxFiles ?? 0);
|
|
109
|
+
else validationError.value = null;
|
|
110
|
+
const files = result.files;
|
|
111
|
+
commit(files);
|
|
112
|
+
if (validationError.value == null && files != null) {
|
|
113
|
+
const selected = Array.isArray(files) ? files : [files];
|
|
114
|
+
if (selected.length === 1 && selected[0]) announce(messages.value.fileInput.fileSelected(selected[0].name));
|
|
115
|
+
else if (selected.length > 1) announce(messages.value.fileInput.filesSelected(selected.length));
|
|
116
|
+
}
|
|
117
|
+
if (fileInput.value) fileInput.value.value = "";
|
|
118
|
+
}
|
|
119
|
+
function openPicker() {
|
|
120
|
+
if (!props.isDisabled) fileInput.value?.click();
|
|
121
|
+
}
|
|
122
|
+
function onChange(event) {
|
|
123
|
+
applyFiles(event.target.files);
|
|
124
|
+
}
|
|
125
|
+
function clear() {
|
|
126
|
+
if (props.isDisabled) return;
|
|
127
|
+
validationError.value = null;
|
|
128
|
+
commit(null);
|
|
129
|
+
if (fileInput.value) fileInput.value.value = "";
|
|
130
|
+
}
|
|
131
|
+
function onDragOver(event) {
|
|
132
|
+
if (props.mode !== "dropzone" || props.isDisabled) return;
|
|
133
|
+
event.preventDefault();
|
|
134
|
+
dragOver.value = true;
|
|
135
|
+
}
|
|
136
|
+
function onDragLeave() {
|
|
137
|
+
dragOver.value = false;
|
|
138
|
+
}
|
|
139
|
+
function onDrop(event) {
|
|
140
|
+
if (props.mode !== "dropzone" || props.isDisabled) return;
|
|
141
|
+
event.preventDefault();
|
|
142
|
+
dragOver.value = false;
|
|
143
|
+
applyFiles(event.dataTransfer?.files);
|
|
144
|
+
}
|
|
145
|
+
return (_ctx, _cache) => {
|
|
146
|
+
return openBlock(), createBlock(_sfc_main$6, {
|
|
147
|
+
label: __props.label,
|
|
148
|
+
"input-id": inputId.value,
|
|
149
|
+
description: __props.description,
|
|
150
|
+
width: __props.width,
|
|
151
|
+
"is-label-hidden": __props.isLabelHidden,
|
|
152
|
+
"is-disabled": __props.isDisabled,
|
|
153
|
+
"is-optional": __props.isOptional,
|
|
154
|
+
"is-required": __props.isRequired,
|
|
155
|
+
status: status.value,
|
|
156
|
+
"status-variant": __props.statusVariant
|
|
157
|
+
}, {
|
|
158
|
+
default: withCtx((field) => [createElementVNode("div", {
|
|
159
|
+
class: "astryx-file-input astryx-bordered-control",
|
|
160
|
+
"data-mode": __props.mode,
|
|
161
|
+
"data-size": __props.size,
|
|
162
|
+
"data-status": status.value?.type,
|
|
163
|
+
"data-disabled": __props.isDisabled || void 0,
|
|
164
|
+
"data-drag": dragOver.value || void 0
|
|
165
|
+
}, [
|
|
166
|
+
createElementVNode("input", {
|
|
167
|
+
id: `${inputId.value}-file`,
|
|
168
|
+
ref: "file",
|
|
169
|
+
class: "astryx-file-input-native",
|
|
170
|
+
type: "file",
|
|
171
|
+
accept: __props.accept,
|
|
172
|
+
multiple: __props.isMultiple || void 0,
|
|
173
|
+
disabled: __props.isDisabled,
|
|
174
|
+
tabindex: "-1",
|
|
175
|
+
onChange
|
|
176
|
+
}, null, 40, _hoisted_2),
|
|
177
|
+
createElementVNode("button", {
|
|
178
|
+
id: inputId.value,
|
|
179
|
+
type: "button",
|
|
180
|
+
class: "astryx-file-input-trigger",
|
|
181
|
+
disabled: __props.isDisabled,
|
|
182
|
+
"aria-invalid": status.value?.type === "error" || void 0,
|
|
183
|
+
"aria-describedby": [field.describedBy, conveysRequired.value ? requiredId : void 0].filter(Boolean).join(" ") || void 0,
|
|
184
|
+
onClick: openPicker,
|
|
185
|
+
onDragover: onDragOver,
|
|
186
|
+
onDragleave: onDragLeave,
|
|
187
|
+
onDrop
|
|
188
|
+
}, [createVNode(_sfc_main$4, {
|
|
189
|
+
class: "astryx-file-input-icon",
|
|
190
|
+
icon: "upload",
|
|
191
|
+
size: "sm"
|
|
192
|
+
}), createElementVNode("span", {
|
|
193
|
+
class: "astryx-file-input-text",
|
|
194
|
+
"data-placeholder": !fileLabel.value || void 0
|
|
195
|
+
}, toDisplayString(fileLabel.value || placeholder.value), 9, _hoisted_4)], 40, _hoisted_3),
|
|
196
|
+
fileLabel.value && !__props.isDisabled ? (openBlock(), createBlock(_sfc_main$3, {
|
|
197
|
+
key: 0,
|
|
198
|
+
class: "astryx-input-clear-button",
|
|
199
|
+
variant: "ghost",
|
|
200
|
+
size: "sm",
|
|
201
|
+
label: clearLabel.value,
|
|
202
|
+
onClick: clear
|
|
203
|
+
}, {
|
|
204
|
+
default: withCtx(() => [createVNode(_sfc_main$2, { type: "clear" })]),
|
|
205
|
+
_: 1
|
|
206
|
+
}, 8, ["label"])) : createCommentVNode("v-if", true),
|
|
207
|
+
__props.isLoading ? (openBlock(), createBlock(_sfc_main$5, {
|
|
208
|
+
key: 1,
|
|
209
|
+
size: "sm"
|
|
210
|
+
})) : status.value ? (openBlock(), createBlock(_sfc_main$2, {
|
|
211
|
+
key: 2,
|
|
212
|
+
type: status.value.type
|
|
213
|
+
}, null, 8, ["type"])) : createCommentVNode("v-if", true)
|
|
214
|
+
], 8, _hoisted_1), conveysRequired.value ? (openBlock(), createBlock(_sfc_main$1, {
|
|
215
|
+
key: 0,
|
|
216
|
+
id: requiredId
|
|
217
|
+
}, {
|
|
218
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(messages).fileInput.required), 1)]),
|
|
219
|
+
_: 1
|
|
220
|
+
})) : createCommentVNode("v-if", true)]),
|
|
221
|
+
_: 1
|
|
222
|
+
}, 8, [
|
|
223
|
+
"label",
|
|
224
|
+
"input-id",
|
|
225
|
+
"description",
|
|
226
|
+
"width",
|
|
227
|
+
"is-label-hidden",
|
|
228
|
+
"is-disabled",
|
|
229
|
+
"is-optional",
|
|
230
|
+
"is-required",
|
|
231
|
+
"status",
|
|
232
|
+
"status-variant"
|
|
233
|
+
]);
|
|
234
|
+
};
|
|
235
|
+
}
|
|
236
|
+
});
|
|
237
|
+
//#endregion
|
|
238
|
+
export { _sfc_main as t };
|
|
@@ -27,7 +27,15 @@ const ICON_GLYPHS = [
|
|
|
27
27
|
"chevronRight",
|
|
28
28
|
"check",
|
|
29
29
|
"moreHorizontal",
|
|
30
|
-
"copy"
|
|
30
|
+
"copy",
|
|
31
|
+
"calendar",
|
|
32
|
+
"clock",
|
|
33
|
+
"upload",
|
|
34
|
+
"arrowUp",
|
|
35
|
+
"arrowDown",
|
|
36
|
+
"close",
|
|
37
|
+
"funnel",
|
|
38
|
+
"image"
|
|
31
39
|
];
|
|
32
40
|
function isIconGlyph(value) {
|
|
33
41
|
return ICON_GLYPHS.includes(value);
|
|
@@ -75,4 +83,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
75
83
|
}
|
|
76
84
|
});
|
|
77
85
|
//#endregion
|
|
78
|
-
export { _sfc_main as t };
|
|
86
|
+
export { isIconGlyph as n, _sfc_main as t };
|
package/dist/List/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as ItemLayout, c as ItemTarget, d as ListEdgeCompensation, f as ListItemProps, g as ListSlots, h as ListProps, i as ItemLabel, l as ItemText, m as ListMarkerStyle, n as ItemDensity, o as ItemProps, p as ListItemSlots, r as ItemElement, s as ItemSlots, t as ItemAlign, u as ListDensity } from "../types-CAZY4Xua.js";
|
|
2
|
-
import { a as useListContext, i as useItemDescriptionId, n as _default$1, r as _default, t as _default$2 } from "../index-
|
|
2
|
+
import { a as useListContext, i as useItemDescriptionId, n as _default$1, r as _default, t as _default$2 } from "../index-5R_pi3eT.js";
|
|
3
3
|
export { _default as Item, type ItemAlign, type ItemDensity, type ItemElement, type ItemLabel, type ItemLayout, type ItemProps, type ItemSlots, type ItemTarget, type ItemText, _default$1 as List, type ListDensity, type ListEdgeCompensation, _default$2 as ListItem, type ListItemProps, type ListItemSlots, type ListMarkerStyle, type ListProps, type ListSlots, useItemDescriptionId, useListContext };
|
package/dist/Markdown/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as MarkdownSlots, a as MarkdownAlign, c as MarkdownDensity, d as MarkdownHeadingProps, f as MarkdownImageProps, g as MarkdownProps, h as MarkdownListProps, i as _default, l as MarkdownDisplay, m as MarkdownLinkProps, n as uniqueSlug, o as MarkdownCodeProps, p as MarkdownInlineCodeProps, r as parseMarkdown, s as MarkdownComponents, t as slugify, u as MarkdownHeadingLevel } from "../index
|
|
1
|
+
import { _ as MarkdownSlots, a as MarkdownAlign, c as MarkdownDensity, d as MarkdownHeadingProps, f as MarkdownImageProps, g as MarkdownProps, h as MarkdownListProps, i as _default, l as MarkdownDisplay, m as MarkdownLinkProps, n as uniqueSlug, o as MarkdownCodeProps, p as MarkdownInlineCodeProps, r as parseMarkdown, s as MarkdownComponents, t as slugify, u as MarkdownHeadingLevel } from "../index--dh0s8Li.js";
|
|
2
2
|
export { _default as Markdown, type MarkdownAlign, type MarkdownCodeProps, type MarkdownComponents, type MarkdownDensity, type MarkdownDisplay, type MarkdownHeadingLevel, type MarkdownHeadingProps, type MarkdownImageProps, type MarkdownInlineCodeProps, type MarkdownLinkProps, type MarkdownListProps, type MarkdownProps, type MarkdownSlots, parseMarkdown, slugify, uniqueSlug };
|
package/dist/Markdown/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as parseMarkdown, n as slugify, r as uniqueSlug, t as _sfc_main } from "../Markdown-
|
|
1
|
+
import { i as parseMarkdown, n as slugify, r as uniqueSlug, t as _sfc_main } from "../Markdown-Dnlp8cVx.js";
|
|
2
2
|
export { _sfc_main as Markdown, parseMarkdown, slugify, uniqueSlug };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as _sfc_main$1 } from "./VisuallyHidden-C7NN3VEP.js";
|
|
2
2
|
import { t as _sfc_main$2 } from "./Heading-Dugosn6j.js";
|
|
3
3
|
import { t as _sfc_main$3 } from "./Blockquote-DFqBv_oJ.js";
|
|
4
|
-
import { a as useAstryxMessages } from "./
|
|
4
|
+
import { a as useAstryxMessages } from "./context-BshXcNYX.js";
|
|
5
5
|
import { t as _sfc_main$4 } from "./CheckboxIndicator-DdJmksHt.js";
|
|
6
|
-
import { c as _sfc_main$5, t as _sfc_main$6 } from "./CodeBlock-
|
|
6
|
+
import { c as _sfc_main$5, t as _sfc_main$6 } from "./CodeBlock-BQdooQy2.js";
|
|
7
7
|
import { t as _sfc_main$7 } from "./Link-CprjOuTI.js";
|
|
8
8
|
import { Fragment, computed, defineComponent, h, ref } from "vue";
|
|
9
9
|
import { fromMarkdown } from "mdast-util-from-markdown";
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { a as MetadataListItemSlots, c as MetadataListOrientation, i as MetadataListItemProps, l as MetadataListProps, n as _default, o as MetadataListLabelConfig, r as MetadataListColumns, s as MetadataListLabelPosition, t as _default$1, u as MetadataListSlots } from "../index-utZGF4GR.js";
|
|
2
|
+
export { _default as MetadataList, type MetadataListColumns, _default$1 as MetadataListItem, type MetadataListItemProps, type MetadataListItemSlots, type MetadataListLabelConfig, type MetadataListLabelPosition, type MetadataListOrientation, type MetadataListProps, type MetadataListSlots };
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { a as useAstryxMessages } from "./context-BshXcNYX.js";
|
|
2
|
+
import { Comment, Fragment, computed, defineComponent, h, inject, provide, ref, useId, useSlots } from "vue";
|
|
3
|
+
import "../styles/metadata-list.css";
|
|
4
|
+
//#region src/MetadataList/context.ts
|
|
5
|
+
const metadataListKey = Symbol("astryx-metadata-list");
|
|
6
|
+
function useMetadataListContext() {
|
|
7
|
+
return inject(metadataListKey, null);
|
|
8
|
+
}
|
|
9
|
+
//#endregion
|
|
10
|
+
//#region src/MetadataList/MetadataList.vue
|
|
11
|
+
function itemNodes(nodes) {
|
|
12
|
+
const result = [];
|
|
13
|
+
for (const node of nodes) {
|
|
14
|
+
if (node.type === Comment) continue;
|
|
15
|
+
if (node.type === Fragment && Array.isArray(node.children)) result.push(...itemNodes(node.children));
|
|
16
|
+
else result.push(node);
|
|
17
|
+
}
|
|
18
|
+
return result;
|
|
19
|
+
}
|
|
20
|
+
const _sfc_main$1 = defineComponent({
|
|
21
|
+
name: "AstryxMetadataList",
|
|
22
|
+
inheritAttrs: false,
|
|
23
|
+
props: {
|
|
24
|
+
columns: {
|
|
25
|
+
type: [String, Number],
|
|
26
|
+
default: "single"
|
|
27
|
+
},
|
|
28
|
+
label: {
|
|
29
|
+
type: Object,
|
|
30
|
+
default: void 0
|
|
31
|
+
},
|
|
32
|
+
maxNumOfItems: {
|
|
33
|
+
type: Number,
|
|
34
|
+
default: void 0
|
|
35
|
+
},
|
|
36
|
+
orientation: {
|
|
37
|
+
type: String,
|
|
38
|
+
default: "vertical"
|
|
39
|
+
},
|
|
40
|
+
title: {
|
|
41
|
+
type: String,
|
|
42
|
+
default: void 0
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
setup(props, { slots, attrs }) {
|
|
46
|
+
const messages = useAstryxMessages();
|
|
47
|
+
const expanded = ref(false);
|
|
48
|
+
const contentId = `astryx-metadata-list-${useId()}`;
|
|
49
|
+
const isMultiColumn = computed(() => props.columns === "multi" || typeof props.columns === "number" && props.columns > 1);
|
|
50
|
+
const labelPosition = computed(() => {
|
|
51
|
+
if (props.orientation === "horizontal") return "top";
|
|
52
|
+
return props.label?.position ?? (isMultiColumn.value ? "top" : "start");
|
|
53
|
+
});
|
|
54
|
+
provide(metadataListKey, {
|
|
55
|
+
get labelPosition() {
|
|
56
|
+
return labelPosition.value;
|
|
57
|
+
},
|
|
58
|
+
get orientation() {
|
|
59
|
+
return props.orientation ?? "vertical";
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
return () => {
|
|
63
|
+
const orientation = props.orientation ?? "vertical";
|
|
64
|
+
const stacked = labelPosition.value === "top";
|
|
65
|
+
const horizontal = orientation === "horizontal";
|
|
66
|
+
const layout = horizontal ? "horizontal" : stacked ? props.columns === "single" || props.columns === 1 ? "stacked-single" : "stacked-multi" : props.columns === "single" || props.columns === 1 ? "single" : "multi";
|
|
67
|
+
let gridTemplateColumns;
|
|
68
|
+
if (!horizontal && typeof props.columns === "number" && props.columns > 1) gridTemplateColumns = stacked ? `repeat(${props.columns}, 1fr)` : `repeat(${props.columns}, auto minmax(0, 1fr))`;
|
|
69
|
+
else if (!horizontal && !stacked && props.label?.width != null) gridTemplateColumns = `${typeof props.label.width === "number" ? `${props.label.width}px` : props.label.width} minmax(0, 1fr)`;
|
|
70
|
+
const nodes = itemNodes(slots.default?.() ?? []);
|
|
71
|
+
const limit = horizontal ? void 0 : props.maxNumOfItems;
|
|
72
|
+
const visible = limit != null && nodes.length > limit && !expanded.value ? nodes.slice(0, limit) : nodes;
|
|
73
|
+
const title = slots.title || props.title ? h("div", { class: "astryx-metadata-list__title" }, slots.title ? slots.title() : props.title) : null;
|
|
74
|
+
const list = h("dl", {
|
|
75
|
+
"id": contentId,
|
|
76
|
+
"class": "astryx-metadata-list__dl",
|
|
77
|
+
"data-layout": layout,
|
|
78
|
+
"style": gridTemplateColumns ? { gridTemplateColumns } : void 0
|
|
79
|
+
}, visible);
|
|
80
|
+
const toggle = limit != null && nodes.length > limit ? h("button", {
|
|
81
|
+
"type": "button",
|
|
82
|
+
"class": "astryx-metadata-list__toggle",
|
|
83
|
+
"aria-controls": contentId,
|
|
84
|
+
"aria-expanded": expanded.value ? "true" : "false",
|
|
85
|
+
"onClick": () => {
|
|
86
|
+
expanded.value = !expanded.value;
|
|
87
|
+
}
|
|
88
|
+
}, expanded.value ? messages.value.metadataList.showLess : messages.value.metadataList.showMore) : null;
|
|
89
|
+
return h("div", {
|
|
90
|
+
...attrs,
|
|
91
|
+
"class": ["astryx-metadata-list", attrs.class],
|
|
92
|
+
"data-columns": String(props.columns),
|
|
93
|
+
"data-orientation": orientation
|
|
94
|
+
}, [
|
|
95
|
+
title,
|
|
96
|
+
list,
|
|
97
|
+
toggle
|
|
98
|
+
]);
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
//#endregion
|
|
103
|
+
//#region src/MetadataList/MetadataListItem.vue
|
|
104
|
+
const _sfc_main = defineComponent({
|
|
105
|
+
name: "AstryxMetadataListItem",
|
|
106
|
+
props: { label: {
|
|
107
|
+
type: String,
|
|
108
|
+
required: true
|
|
109
|
+
} },
|
|
110
|
+
setup(props) {
|
|
111
|
+
const context = useMetadataListContext();
|
|
112
|
+
const slots = useSlots();
|
|
113
|
+
const stacked = computed(() => {
|
|
114
|
+
return (context?.labelPosition ?? "start") === "top" || context?.orientation === "horizontal";
|
|
115
|
+
});
|
|
116
|
+
return () => {
|
|
117
|
+
const icon = slots.icon ? h("span", { class: "astryx-metadata-list__icon" }, slots.icon()) : null;
|
|
118
|
+
if (stacked.value) return h("div", { class: "astryx-metadata-list__item" }, [h("dt", { class: "astryx-metadata-list__item-label" }, [icon, props.label]), h("dd", { class: "astryx-metadata-list__item-value" }, slots.default?.())]);
|
|
119
|
+
return [h("dt", { class: "astryx-metadata-list__label" }, [icon, props.label]), h("dd", { class: "astryx-metadata-list__value" }, slots.default?.())];
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
});
|
|
123
|
+
//#endregion
|
|
124
|
+
export { _sfc_main$1 as n, _sfc_main as t };
|
package/dist/MobileNav/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, r as mobileNavKey, t as _sfc_main$1 } from "../MobileNavToggle-
|
|
1
|
+
import { n as _sfc_main, r as mobileNavKey, t as _sfc_main$1 } from "../MobileNavToggle-aUZiDwHm.js";
|
|
2
2
|
export { _sfc_main as MobileNav, _sfc_main$1 as MobileNavToggle, mobileNavKey };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as useFocusTrap, t as useRestoreFocus } from "./useRestoreFocus-BvMdXVX9.js";
|
|
2
|
-
import { a as useAstryxMessages } from "./
|
|
2
|
+
import { a as useAstryxMessages } from "./context-BshXcNYX.js";
|
|
3
3
|
import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, mergeModels, nextTick, normalizeClass, normalizeStyle, onMounted, openBlock, provide, ref, renderSlot, toDisplayString, unref, useId, useModel, watch } from "vue";
|
|
4
4
|
import "../styles/mobile-nav.css";
|
|
5
5
|
//#region src/MobileNav/context.ts
|
package/dist/MoreMenu/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { An as MoreMenuResolvedPresentation, Cn as MoreMenuIcon, Dn as MoreMenuOption, En as MoreMenuItemVariant, Mn as MoreMenuSlots, On as MoreMenuPresentation, Sn as MoreMenuEmits, Tn as MoreMenuItem, bn as _default, jn as MoreMenuSection, kn as MoreMenuProps, wn as MoreMenuInitialFocus, xn as MoreMenuDivider } from "../index-CQ9F1f_F.js";
|
|
2
2
|
export { _default as MoreMenu, type MoreMenuDivider, type MoreMenuEmits, type MoreMenuIcon, type MoreMenuInitialFocus, type MoreMenuItem, type MoreMenuItemVariant, type MoreMenuOption, type MoreMenuPresentation, type MoreMenuProps, type MoreMenuResolvedPresentation, type MoreMenuSection, type MoreMenuSlots };
|
package/dist/MoreMenu/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../MoreMenu-
|
|
1
|
+
import { t as _sfc_main } from "../MoreMenu-BXL6Dqsu.js";
|
|
2
2
|
export { _sfc_main as MoreMenu };
|
|
@@ -2,10 +2,10 @@ import { n as getFocusables, t as focusElement } from "./focus-CpficIgf.js";
|
|
|
2
2
|
import { n as useOverflow } from "./useOverflow-VrwF5oek.js";
|
|
3
3
|
import { t as _sfc_main$5 } from "./Heading-Dugosn6j.js";
|
|
4
4
|
import { t as _sfc_main$6 } from "./IconButton-BNQuz9W_.js";
|
|
5
|
-
import { t as _sfc_main$7 } from "./Icon-
|
|
5
|
+
import { t as _sfc_main$7 } from "./Icon-5MdZQ18k.js";
|
|
6
6
|
import { t as _sfc_main$8 } from "./Divider-BtwnL18I.js";
|
|
7
|
-
import { t as usePositionedLayer } from "./usePositionedLayer-C1NBOsVT.js";
|
|
8
7
|
import { n as _sfc_main$10, t as _sfc_main$9 } from "./ListItem-pGxvn6QJ.js";
|
|
8
|
+
import { t as usePositionedLayer } from "./usePositionedLayer-C1NBOsVT.js";
|
|
9
9
|
import { Fragment, Teleport, Transition, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, inject, mergeModels, mergeProps, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, openBlock, provide, ref, renderList, renderSlot, resolveComponent, resolveDynamicComponent, shallowRef, toDisplayString, unref, useId, useModel, useTemplateRef, watch, withCtx } from "vue";
|
|
10
10
|
import "../styles/more-menu.css";
|
|
11
11
|
//#region src/MoreMenu/context.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as MultiSelectorDivider, c as MultiSelectorOptionData, d as MultiSelectorSection, f as MultiSelectorSize, g as MultiSelectorVariant, h as MultiSelectorTriggerDisplay, i as MultiSelectorCheckboxPosition, l as MultiSelectorPresentation, m as MultiSelectorStatus, n as flattenOptions, o as MultiSelectorEmits, p as MultiSelectorSlots, r as _default, s as MultiSelectorOption, t as SELECT_ALL_VALUE, u as MultiSelectorProps } from "../index-
|
|
1
|
+
import { a as MultiSelectorDivider, c as MultiSelectorOptionData, d as MultiSelectorSection, f as MultiSelectorSize, g as MultiSelectorVariant, h as MultiSelectorTriggerDisplay, i as MultiSelectorCheckboxPosition, l as MultiSelectorPresentation, m as MultiSelectorStatus, n as flattenOptions, o as MultiSelectorEmits, p as MultiSelectorSlots, r as _default, s as MultiSelectorOption, t as SELECT_ALL_VALUE, u as MultiSelectorProps } from "../index-D3V7yRUP.js";
|
|
2
2
|
export { _default as MultiSelector, type MultiSelectorCheckboxPosition, type MultiSelectorDivider, type MultiSelectorEmits, type MultiSelectorOption, type MultiSelectorOptionData, type MultiSelectorPresentation, type MultiSelectorProps, type MultiSelectorSection, type MultiSelectorSize, type MultiSelectorSlots, type MultiSelectorStatus, type MultiSelectorTriggerDisplay, type MultiSelectorVariant, SELECT_ALL_VALUE, flattenOptions };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as SELECT_ALL_VALUE, r as flattenOptions, t as _sfc_main } from "../MultiSelector-
|
|
1
|
+
import { n as SELECT_ALL_VALUE, r as flattenOptions, t as _sfc_main } from "../MultiSelector-Bh8or2S6.js";
|
|
2
2
|
export { _sfc_main as MultiSelector, SELECT_ALL_VALUE, flattenOptions };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as useCombobox } from "./useCombobox-CTo5C-gc.js";
|
|
2
2
|
import { n as useOverflow } from "./useOverflow-VrwF5oek.js";
|
|
3
3
|
import { t as _sfc_main$1 } from "./BottomSheet-Dg95HB1s.js";
|
|
4
|
-
import { a as useAstryxMessages } from "./
|
|
4
|
+
import { a as useAstryxMessages } from "./context-BshXcNYX.js";
|
|
5
5
|
import { t as _sfc_main$2 } from "./CheckboxIndicator-DdJmksHt.js";
|
|
6
6
|
import { t as _sfc_main$3 } from "./Field-VlTBsIEo.js";
|
|
7
|
-
import { t as _sfc_main$4 } from "./Token-
|
|
7
|
+
import { t as _sfc_main$4 } from "./Token-CV2J94bn.js";
|
|
8
8
|
import { n as useAnchoredListbox, t as scrollOptionIntoView } from "./useAnchoredListbox-7W90Ny-9.js";
|
|
9
9
|
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, nextTick, normalizeClass, normalizeStyle, openBlock, ref, renderList, renderSlot, toDisplayString, unref, useId, useTemplateRef, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
|
|
10
10
|
import "../styles/visually-hidden-utility.css";
|
package/dist/NavItem/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as NavItemSize, i as NavItemProps, n as NavIconSlots, o as NavItemSlots, r as NavItemEmits, s as NavLinkComponent, t as NavIconProps } from "../types-BG23kC3S.js";
|
|
2
|
-
import { n as _default, r as resolveNavRoot, t as _default$1 } from "../index-
|
|
2
|
+
import { n as _default, r as resolveNavRoot, t as _default$1 } from "../index-Q4gqBSIZ.js";
|
|
3
3
|
export { _default as NavIcon, type NavIconProps, type NavIconSlots, _default$1 as NavItem, type NavItemEmits, type NavItemProps, type NavItemSize, type NavItemSlots, type NavLinkComponent, resolveNavRoot };
|
package/dist/NavMenu/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as NavMenuEmits, c as NavMenuProps, i as NavDisclosureProps, l as NavMenuFocusRequest, n as _default$1, o as NavMenuItemEmits, r as _default, s as NavMenuItemProps, t as _default$2, u as NavMenuSize } from "../index-
|
|
1
|
+
import { a as NavMenuEmits, c as NavMenuProps, i as NavDisclosureProps, l as NavMenuFocusRequest, n as _default$1, o as NavMenuItemEmits, r as _default, s as NavMenuItemProps, t as _default$2, u as NavMenuSize } from "../index-g03bmR4K.js";
|
|
2
2
|
export { _default as NavDisclosure, type NavDisclosureProps, _default$1 as NavMenu, type NavMenuEmits, type NavMenuFocusRequest, _default$2 as NavMenuItem, type NavMenuItemEmits, type NavMenuItemProps, type NavMenuProps, type NavMenuSize };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as NumberInputEmits, r as NumberInputProps, t as _default } from "../index-
|
|
1
|
+
import { n as NumberInputEmits, r as NumberInputProps, t as _default } from "../index-CsJpQElv.js";
|
|
2
2
|
export { _default as NumberInput, type NumberInputEmits, type NumberInputProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../NumberInput-
|
|
1
|
+
import { t as _sfc_main } from "../NumberInput-C3S-4dIu.js";
|
|
2
2
|
export { _sfc_main as NumberInput };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as useNumberField } from "./useNumberField-DL-Radsp.js";
|
|
2
|
-
import { a as useAstryxMessages } from "./
|
|
2
|
+
import { a as useAstryxMessages } from "./context-BshXcNYX.js";
|
|
3
3
|
import { computed, createCommentVNode, createElementBlock, createElementVNode, defineComponent, normalizeClass, openBlock, ref, unref, useId } from "vue";
|
|
4
4
|
import "../styles/number-input.css";
|
|
5
5
|
//#region src/NumberInput/NumberInput.vue
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _n as OverflowListEmits, gn as _default, vn as OverflowListItem, yn as OverflowListProps } from "../index-CQ9F1f_F.js";
|
|
2
2
|
export { _default as OverflowList, type OverflowListEmits, type OverflowListItem, type OverflowListProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../OverflowList-
|
|
1
|
+
import { t as _sfc_main } from "../OverflowList-Kr4iJrNV.js";
|
|
2
2
|
export { _sfc_main as OverflowList };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as useOverflow } from "./useOverflow-VrwF5oek.js";
|
|
2
|
-
import { a as useAstryxMessages } from "./
|
|
2
|
+
import { a as useAstryxMessages } from "./context-BshXcNYX.js";
|
|
3
3
|
import { n as resolveNavRoot } from "./link-CdcUSxAj.js";
|
|
4
4
|
import { t as _sfc_main$2 } from "./NavDisclosure-DHrSNRDR.js";
|
|
5
5
|
import { n as _sfc_main$3, t as _sfc_main$4 } from "./NavMenuItem-mzNQESpB.js";
|
package/dist/Pagination/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Pagination-
|
|
1
|
+
import { t as _sfc_main } from "../Pagination-BRStpeSB.js";
|
|
2
2
|
export { _sfc_main as Pagination };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as useAstryxMessages } from "./
|
|
2
|
-
import { t as _sfc_main$1 } from "./Selector-
|
|
1
|
+
import { a as useAstryxMessages } from "./context-BshXcNYX.js";
|
|
2
|
+
import { t as _sfc_main$1 } from "./Selector-DvEUIVEC.js";
|
|
3
3
|
import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, normalizeClass, onBeforeUnmount, onMounted, openBlock, ref, renderList, renderSlot, toDisplayString, toValue, unref, vShow, withDirectives } from "vue";
|
|
4
4
|
import "../styles/pagination.css";
|
|
5
5
|
/**
|
package/dist/Popover/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as PopoverProps, i as PopoverPlacement, n as PopoverAlignment, o as PopoverRole, r as PopoverPadding, t as _default } from "../index-
|
|
1
|
+
import { a as PopoverProps, i as PopoverPlacement, n as PopoverAlignment, o as PopoverRole, r as PopoverPadding, t as _default } from "../index-Bovw9_8d.js";
|
|
2
2
|
export { _default as Popover, type PopoverAlignment, type PopoverPadding, type PopoverPlacement, type PopoverProps, type PopoverRole };
|
package/dist/Radio/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { _default as Radio, type RadioChangeEvent, _default$1 as RadioGroup, type RadioGroupEmits, type RadioGroupProps, type RadioGroupSlots,
|
|
1
|
+
import { an as RadioGroupProps, cn as RadioOption, dn as RadioSize, fn as RadioSlots, hn as RadioValue, in as RadioGroupEmits, ln as RadioOrientation, mn as RadioStatusType, nn as _default, on as RadioGroupSlots, pn as RadioStatus, rn as RadioChangeEvent, tn as _default$1, un as RadioProps } from "../index-CQ9F1f_F.js";
|
|
2
|
+
export { _default as Radio, type RadioChangeEvent, _default$1 as RadioGroup, type RadioGroupEmits, type RadioGroupProps, type RadioGroupSlots, type RadioOption, type RadioOrientation, type RadioProps, type RadioSize, type RadioSlots, type RadioStatus, type RadioStatusType, type RadioValue };
|
package/dist/Radio/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main
|
|
2
|
-
export { _sfc_main as Radio, _sfc_main$1 as RadioGroup
|
|
1
|
+
import { n as _sfc_main, t as _sfc_main$1 } from "../RadioGroup-DS6oTV_j.js";
|
|
2
|
+
export { _sfc_main as Radio, _sfc_main$1 as RadioGroup };
|