sit-onyx 1.6.0-dev-20251216104923 → 1.6.0-dev-20251216122743
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/index.esm-bundler.js +35 -35
- package/dist/index.esm-bundler.js.map +1 -1
- package/dist/index.js +22 -22
- package/package.json +3 -3
|
@@ -6,8 +6,8 @@ const useDensity = (props) => ({
|
|
|
6
6
|
});
|
|
7
7
|
const USER_DEV = process.env.NODE_ENV === "development";
|
|
8
8
|
const userConsole = USER_DEV === true ? globalThis.console : void 0;
|
|
9
|
-
const SKELETON_INJECTION_KEY = Symbol();
|
|
10
|
-
const SKELETON_INJECTED_SYMBOL = Symbol("SKELETON_INJECTED_SYMBOL");
|
|
9
|
+
const SKELETON_INJECTION_KEY = /* @__PURE__ */ Symbol();
|
|
10
|
+
const SKELETON_INJECTED_SYMBOL = /* @__PURE__ */ Symbol("SKELETON_INJECTED_SYMBOL");
|
|
11
11
|
const createSkeletonInjectionContext = (parentElementProps) => (props) => computed(() => {
|
|
12
12
|
if (typeof props.skeleton !== "symbol") {
|
|
13
13
|
return props.skeleton;
|
|
@@ -47,7 +47,7 @@ const useVModel = (options) => {
|
|
|
47
47
|
});
|
|
48
48
|
return value;
|
|
49
49
|
};
|
|
50
|
-
const ACCORDION_INJECTION_KEY = Symbol();
|
|
50
|
+
const ACCORDION_INJECTION_KEY = /* @__PURE__ */ Symbol();
|
|
51
51
|
const ACCORDION_TYPES = ["default", "nested-large", "nested-small", "card"];
|
|
52
52
|
const _sfc_main$1Q = /* @__PURE__ */ defineComponent({
|
|
53
53
|
__name: "OnyxAccordion",
|
|
@@ -403,7 +403,7 @@ const enUS = {
|
|
|
403
403
|
const NUMBER_FORMATS = {
|
|
404
404
|
decimal: { style: "decimal" }
|
|
405
405
|
};
|
|
406
|
-
const I18N_INJECTION_KEY = Symbol();
|
|
406
|
+
const I18N_INJECTION_KEY = /* @__PURE__ */ Symbol();
|
|
407
407
|
const createI18n = (options = {}) => {
|
|
408
408
|
const locale = readonly(toRef(options?.locale ?? "en-US"));
|
|
409
409
|
const messages = computed(() => {
|
|
@@ -2053,7 +2053,7 @@ const normalizeHref = (href) => {
|
|
|
2053
2053
|
if (value === "/") return value;
|
|
2054
2054
|
return value.replace(/\/+$/, "");
|
|
2055
2055
|
};
|
|
2056
|
-
const ROUTER_INJECTION_KEY = Symbol();
|
|
2056
|
+
const ROUTER_INJECTION_KEY = /* @__PURE__ */ Symbol();
|
|
2057
2057
|
const _sfc_main$1L = /* @__PURE__ */ defineComponent({
|
|
2058
2058
|
__name: "OnyxVisuallyHidden",
|
|
2059
2059
|
props: {
|
|
@@ -2203,8 +2203,8 @@ const useAutofocus = (inputRef, props) => {
|
|
|
2203
2203
|
);
|
|
2204
2204
|
});
|
|
2205
2205
|
};
|
|
2206
|
-
const FORM_INJECTION_KEY = Symbol();
|
|
2207
|
-
const FORM_INJECTED_SYMBOL = Symbol("FORM_INJECTED_SYMBOL");
|
|
2206
|
+
const FORM_INJECTION_KEY = /* @__PURE__ */ Symbol();
|
|
2207
|
+
const FORM_INJECTED_SYMBOL = /* @__PURE__ */ Symbol("FORM_INJECTED_SYMBOL");
|
|
2208
2208
|
const createCompute = (formProps, props, key, defaultValue) => computed(() => {
|
|
2209
2209
|
const prop = props.value[key];
|
|
2210
2210
|
if (prop != void 0 && typeof prop !== "symbol") {
|
|
@@ -2450,7 +2450,7 @@ const useRootAttrs = () => {
|
|
|
2450
2450
|
restAttrs
|
|
2451
2451
|
};
|
|
2452
2452
|
};
|
|
2453
|
-
const MERGED_REFS_SYMBOL = Symbol("MERGED_REFS");
|
|
2453
|
+
const MERGED_REFS_SYMBOL = /* @__PURE__ */ Symbol("MERGED_REFS");
|
|
2454
2454
|
const createMergedRef = (...toMerge) => {
|
|
2455
2455
|
let value;
|
|
2456
2456
|
const _ref = customRef((track, trigger) => {
|
|
@@ -3254,7 +3254,7 @@ function _sfc_render$1B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3254
3254
|
);
|
|
3255
3255
|
}
|
|
3256
3256
|
const OnyxFABItem = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["render", _sfc_render$1B], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxFABItem/OnyxFABItem.vue"]]);
|
|
3257
|
-
const GLOBAL_FAB_PROVIDER_INJECTION_KEY = Symbol();
|
|
3257
|
+
const GLOBAL_FAB_PROVIDER_INJECTION_KEY = /* @__PURE__ */ Symbol();
|
|
3258
3258
|
const createGlobalFABProvider = () => {
|
|
3259
3259
|
const items = shallowRef([]);
|
|
3260
3260
|
const add = (item) => {
|
|
@@ -3727,7 +3727,7 @@ function _sfc_render$1t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3727
3727
|
]), 1032, ["class", "headline", "icon", "style", "aria-label"]);
|
|
3728
3728
|
}
|
|
3729
3729
|
const OnyxNotificationMessage = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["render", _sfc_render$1t], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxNotificationMessage/OnyxNotificationMessage.vue"]]);
|
|
3730
|
-
const NOTIFICATIONS_PROVIDER_INJECTION_KEY = Symbol();
|
|
3730
|
+
const NOTIFICATIONS_PROVIDER_INJECTION_KEY = /* @__PURE__ */ Symbol();
|
|
3731
3731
|
const createNotificationsProvider = () => {
|
|
3732
3732
|
let nextId = 1;
|
|
3733
3733
|
const notifications = ref([]);
|
|
@@ -3947,7 +3947,7 @@ function _sfc_render$1r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3947
3947
|
}, 8, ["class", "role", "aria-label"]);
|
|
3948
3948
|
}
|
|
3949
3949
|
const OnyxToastMessage = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["render", _sfc_render$1r], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxToastMessage/OnyxToastMessage.vue"]]);
|
|
3950
|
-
const TOAST_PROVIDER_INJECTION_KEY = Symbol();
|
|
3950
|
+
const TOAST_PROVIDER_INJECTION_KEY = /* @__PURE__ */ Symbol();
|
|
3951
3951
|
const createToastProvider = () => {
|
|
3952
3952
|
let nextId = 1;
|
|
3953
3953
|
const toasts = ref([]);
|
|
@@ -4347,8 +4347,8 @@ const useMoreListChild = (injectionKey) => {
|
|
|
4347
4347
|
isVisible
|
|
4348
4348
|
};
|
|
4349
4349
|
};
|
|
4350
|
-
const BREADCRUMB_MORE_LIST_INJECTION_KEY = Symbol();
|
|
4351
|
-
const BREADCRUMB_MORE_LIST_TARGET_INJECTION_KEY = Symbol();
|
|
4350
|
+
const BREADCRUMB_MORE_LIST_INJECTION_KEY = /* @__PURE__ */ Symbol();
|
|
4351
|
+
const BREADCRUMB_MORE_LIST_TARGET_INJECTION_KEY = /* @__PURE__ */ Symbol();
|
|
4352
4352
|
const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
4353
4353
|
__name: "OnyxExternalLinkIcon",
|
|
4354
4354
|
props: {
|
|
@@ -6347,8 +6347,8 @@ function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6347
6347
|
], 10, _hoisted_1$S);
|
|
6348
6348
|
}
|
|
6349
6349
|
const OnyxCheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["render", _sfc_render$15], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxCheckboxGroup/OnyxCheckboxGroup.vue"]]);
|
|
6350
|
-
const CODE_TABS_INJECTION_KEY = Symbol();
|
|
6351
|
-
const TABS_INJECTION_KEY = Symbol();
|
|
6350
|
+
const CODE_TABS_INJECTION_KEY = /* @__PURE__ */ Symbol();
|
|
6351
|
+
const TABS_INJECTION_KEY = /* @__PURE__ */ Symbol();
|
|
6352
6352
|
const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
6353
6353
|
...{ inheritAttrs: false },
|
|
6354
6354
|
__name: "OnyxTab",
|
|
@@ -7152,7 +7152,7 @@ function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7152
7152
|
const OnyxMiniSearch = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["render", _sfc_render$Z], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxMiniSearch/OnyxMiniSearch.vue"]]);
|
|
7153
7153
|
const prepareMapping = (features, key) => features.flatMap((f) => f[key]).filter((f) => f?.func).sort((a, b) => (a?.order ?? 0) - (b?.order ?? 0));
|
|
7154
7154
|
const applyMapping = (mapping, input2) => mapping.reduce((output, m) => m.func(output), input2);
|
|
7155
|
-
const DataGridRowOptionsSymbol = Symbol("RowOptions");
|
|
7155
|
+
const DataGridRowOptionsSymbol = /* @__PURE__ */ Symbol("RowOptions");
|
|
7156
7156
|
const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
7157
7157
|
__name: "HeaderCell",
|
|
7158
7158
|
props: {
|
|
@@ -7506,7 +7506,7 @@ const useFeatureContext = (ctx, options) => {
|
|
|
7506
7506
|
isAsync
|
|
7507
7507
|
};
|
|
7508
7508
|
};
|
|
7509
|
-
const FILTERING_FEATURE = Symbol("Filtering");
|
|
7509
|
+
const FILTERING_FEATURE = /* @__PURE__ */ Symbol("Filtering");
|
|
7510
7510
|
const FILTERING_MUTATION_ORDER = 0;
|
|
7511
7511
|
const useFiltering = (options) => createFeature((ctx) => {
|
|
7512
7512
|
const { i18n } = ctx;
|
|
@@ -9047,7 +9047,7 @@ function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9047
9047
|
));
|
|
9048
9048
|
}
|
|
9049
9049
|
const OnyxPagination = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["render", _sfc_render$P], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxPagination/OnyxPagination.vue"]]);
|
|
9050
|
-
const SELECTION_FEATURE = Symbol("Selection");
|
|
9050
|
+
const SELECTION_FEATURE = /* @__PURE__ */ Symbol("Selection");
|
|
9051
9051
|
const SELECTION_MUTATION_ORDER = 1e3;
|
|
9052
9052
|
const useSelection = (options) => createFeature((ctx) => {
|
|
9053
9053
|
const SELECTION_COLUMN = `selection-column-${useId()}`;
|
|
@@ -9145,11 +9145,11 @@ const useSelection = (options) => createFeature((ctx) => {
|
|
|
9145
9145
|
}
|
|
9146
9146
|
};
|
|
9147
9147
|
});
|
|
9148
|
-
const PAGINATION_FEATURE = Symbol("Pagination");
|
|
9149
|
-
const LAZY_LOADING_ROW_ID = Symbol("LazyLoadingRow");
|
|
9150
|
-
const LAZY_LOADING_TYPE_RENDERER = Symbol("LazyLoadingRenderer");
|
|
9151
|
-
const BUTTON_LOADING_ROW_ID = Symbol("ButtonLoadingRow");
|
|
9152
|
-
const BUTTON_LOADING_TYPE_RENDERER = Symbol("ButtonLoadingRenderer");
|
|
9148
|
+
const PAGINATION_FEATURE = /* @__PURE__ */ Symbol("Pagination");
|
|
9149
|
+
const LAZY_LOADING_ROW_ID = /* @__PURE__ */ Symbol("LazyLoadingRow");
|
|
9150
|
+
const LAZY_LOADING_TYPE_RENDERER = /* @__PURE__ */ Symbol("LazyLoadingRenderer");
|
|
9151
|
+
const BUTTON_LOADING_ROW_ID = /* @__PURE__ */ Symbol("ButtonLoadingRow");
|
|
9152
|
+
const BUTTON_LOADING_TYPE_RENDERER = /* @__PURE__ */ Symbol("ButtonLoadingRenderer");
|
|
9153
9153
|
const PAGINATION_MUTATION_ORDER = Math.min(FILTERING_MUTATION_ORDER, SELECTION_MUTATION_ORDER) - 1;
|
|
9154
9154
|
const usePagination = (options = {}) => createFeature((ctx) => {
|
|
9155
9155
|
const state = toRef(
|
|
@@ -9278,7 +9278,7 @@ const usePagination = (options = {}) => createFeature((ctx) => {
|
|
|
9278
9278
|
})
|
|
9279
9279
|
};
|
|
9280
9280
|
});
|
|
9281
|
-
const BASE_FEATURE_SYMBOL = Symbol("Base");
|
|
9281
|
+
const BASE_FEATURE_SYMBOL = /* @__PURE__ */ Symbol("Base");
|
|
9282
9282
|
const BASE_MUTATION_ORDER = Math.max(FILTERING_MUTATION_ORDER, PAGINATION_MUTATION_ORDER) + 1;
|
|
9283
9283
|
const BASE_FEATURE = (options) => createFeature(({ skeleton }) => {
|
|
9284
9284
|
const rowCount = ref(0);
|
|
@@ -9448,8 +9448,8 @@ function _sfc_render$O(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9448
9448
|
]), 1040, ["column-groups", "columns", "rows", "scroll-container-attrs"]);
|
|
9449
9449
|
}
|
|
9450
9450
|
const OnyxDataGrid = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["render", _sfc_render$O], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxDataGrid/OnyxDataGrid.vue"]]);
|
|
9451
|
-
const HIDE_COLUMNS_FEATURE = Symbol("HideColumnsFeature");
|
|
9452
|
-
const HIDDEN_COLUMN = Symbol("HiddenColumn");
|
|
9451
|
+
const HIDE_COLUMNS_FEATURE = /* @__PURE__ */ Symbol("HideColumnsFeature");
|
|
9452
|
+
const HIDDEN_COLUMN = /* @__PURE__ */ Symbol("HiddenColumn");
|
|
9453
9453
|
const useHideColumns = (options) => createFeature((ctx) => {
|
|
9454
9454
|
const { i18n } = ctx;
|
|
9455
9455
|
const { isEnabled } = useFeatureContext(ctx, options);
|
|
@@ -9663,8 +9663,8 @@ function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9663
9663
|
);
|
|
9664
9664
|
}
|
|
9665
9665
|
const OnyxResizeHandle = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$N], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxResizeHandle/OnyxResizeHandle.vue"]]);
|
|
9666
|
-
const RESIZING_FEATURE = Symbol("Resizing");
|
|
9667
|
-
const FILLER_COLUMN = Symbol("FILLER_COLUMN");
|
|
9666
|
+
const RESIZING_FEATURE = /* @__PURE__ */ Symbol("Resizing");
|
|
9667
|
+
const FILLER_COLUMN = /* @__PURE__ */ Symbol("FILLER_COLUMN");
|
|
9668
9668
|
const useResizing = (options) => createFeature((ctx) => {
|
|
9669
9669
|
const resizingCol = ref();
|
|
9670
9670
|
const MIN_COLUMN_WIDTH = 3 * 16;
|
|
@@ -9847,7 +9847,7 @@ const nextSortDirection = (current, skipNone) => {
|
|
|
9847
9847
|
return "asc";
|
|
9848
9848
|
}
|
|
9849
9849
|
};
|
|
9850
|
-
const SORTING_FEATURE = Symbol("Sorting");
|
|
9850
|
+
const SORTING_FEATURE = /* @__PURE__ */ Symbol("Sorting");
|
|
9851
9851
|
const useSorting = (options) => createFeature((ctx) => {
|
|
9852
9852
|
const sortState = toRef(
|
|
9853
9853
|
options?.sortState ?? {
|
|
@@ -9955,7 +9955,7 @@ const useSorting = (options) => createFeature((ctx) => {
|
|
|
9955
9955
|
}
|
|
9956
9956
|
};
|
|
9957
9957
|
});
|
|
9958
|
-
const STICKY_COLUMNS_FEATURE = Symbol("StickyColumns");
|
|
9958
|
+
const STICKY_COLUMNS_FEATURE = /* @__PURE__ */ Symbol("StickyColumns");
|
|
9959
9959
|
const useStickyColumns = (options) => createFeature(() => {
|
|
9960
9960
|
const stickyColumns = computed(() => toValue(options?.columns) ?? []);
|
|
9961
9961
|
const position = computed(() => toValue(options?.position) ?? "left");
|
|
@@ -10379,10 +10379,10 @@ const useLenientMaxLengthValidation = (options) => {
|
|
|
10379
10379
|
maxLength
|
|
10380
10380
|
};
|
|
10381
10381
|
};
|
|
10382
|
-
const MOBILE_NAV_BAR_INJECTION_KEY = Symbol();
|
|
10383
|
-
const NAV_BAR_IS_TOP_LEVEL_INJECTION_KEY = Symbol();
|
|
10384
|
-
const NAV_BAR_MORE_LIST_INJECTION_KEY = Symbol();
|
|
10385
|
-
const NAV_BAR_MORE_LIST_TARGET_INJECTION_KEY = Symbol();
|
|
10382
|
+
const MOBILE_NAV_BAR_INJECTION_KEY = /* @__PURE__ */ Symbol();
|
|
10383
|
+
const NAV_BAR_IS_TOP_LEVEL_INJECTION_KEY = /* @__PURE__ */ Symbol();
|
|
10384
|
+
const NAV_BAR_MORE_LIST_INJECTION_KEY = /* @__PURE__ */ Symbol();
|
|
10385
|
+
const NAV_BAR_MORE_LIST_TARGET_INJECTION_KEY = /* @__PURE__ */ Symbol();
|
|
10386
10386
|
const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
10387
10387
|
__name: "OnyxSeparator",
|
|
10388
10388
|
props: {
|
|
@@ -10608,7 +10608,7 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10608
10608
|
));
|
|
10609
10609
|
}
|
|
10610
10610
|
const OnyxInput = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_render$H], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxInput/OnyxInput.vue"]]);
|
|
10611
|
-
const GLOBAL_SEARCH_INJECTION_KEY = Symbol();
|
|
10611
|
+
const GLOBAL_SEARCH_INJECTION_KEY = /* @__PURE__ */ Symbol();
|
|
10612
10612
|
const __default__$4 = {};
|
|
10613
10613
|
const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
10614
10614
|
...__default__$4,
|