eco-vue-js 0.11.33 → 0.11.35

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.
@@ -1 +1 @@
1
- {"version":3,"file":"WInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/WInput.vue"],"names":[],"mappings":"AA2PA;AA2iBA,OAAO,KAAK,EAAC,UAAU,EAAE,aAAa,EAAC,MAAM,SAAS,CAAA;AAatD,OAAO,EAAC,KAAK,WAAW,EAAC,MAAM,gBAAgB,CAAA;yBAE9B,IAAI,SAAS,SAAS,GAAG,MAAM,EAC/C,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EACjE;WAqyBO,mBAAmB,CAAC,oCAAkE,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB;qBA3mB7B,IAAI;oBAOL,IAAI;+BAkCS,aAAa;0BA1KlB,MAAM,QAAQ,MAAM,KAAG,IAAI;wBAN/B,WAAW;;;oBAyBf,IAAI;oBAgBJ,IAAI;MAysBgD,GAAG,IAAI;WACpE,GAAG;;uBAhEgB,GAAG;0BACA,GAAG;wBACJ,GAAG;;;YAGH,GAAG;;;YAFH,GAAG;;;YAGH,GAAG;;mCAzgBF,aAAa;YAugBb,GAAG;uBAGL,GAAG;;;;YACF,GAAG;uBACJ,GAAG;uBACH,GAAG;wBACF,GAAG;;;YAxtB1B,oBAAoB,SAAS,4CAAa,SAAS,GAAG,IAAI;YAC1D,gBAAgB,SAAS,aAAa,GAAG,IAAI;YAC7C,aAAa,SAAS,aAAa,GAAG,IAAI;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value) inputRef.value.setCaret(start, end);
88
- else inputRef.value.setSelectionRange(start, end ?? null);
88
+ else inputRef.value.setSelectionRange(start, end ?? start);
89
89
  };
90
- const addToHistory = debounce((value) => {
90
+ const addToHistory = (value) => {
91
+ if (history.value.length === 0) {
92
+ history.value.push({ value: props.modelValue, caret: getCaret() });
93
+ historyPosition.value = 0;
94
+ }
95
+ addToHistoryDebounced(value);
96
+ };
97
+ const addToHistoryDebounced = debounce((value) => {
91
98
  const entry = { value, caret: getCaret() };
92
99
  if (historyPosition.value < history.value.length - 1) history.value = history.value.slice(0, historyPosition.value + 1);
93
100
  history.value.push(entry);
@@ -187,7 +194,23 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
187
194
  else inputRef.value?.focus();
188
195
  };
189
196
  const blur = () => inputRef.value?.blur();
197
+ const onPaste = async (e) => {
198
+ if (props.loading || isDisabled.value || isReadonly.value || props.unclickable) return;
199
+ navigator.clipboard.readText();
200
+ const text = (e.clipboardData?.getData("text/plain") || await navigator.clipboard.readText()).replace(/\r\n?/g, "\n");
201
+ if (!text) {
202
+ fieldWrapperRef.value?.showMessage("Nothing to paste");
203
+ return;
204
+ }
205
+ const caret = getCaret();
206
+ const value = props.modelValue?.toString() ?? "";
207
+ const newValue = value.slice(0, caret.start) + text + value.slice(caret.end);
208
+ updateModelValue(newValue);
209
+ await nextTick();
210
+ setCaret(Math.min(caret.start + text.length, props.modelValue?.toString().length ?? 0));
211
+ };
190
212
  const paste = async () => {
213
+ if (props.loading || isDisabled.value || isReadonly.value || props.unclickable) return;
191
214
  try {
192
215
  await checkPermissionPaste();
193
216
  await navigator.clipboard.readText().then((value) => {
@@ -429,7 +452,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
429
452
  onClick: _cache[4] || (_cache[4] = ($event) => _ctx.$emit("click", $event)),
430
453
  onMousedown: _cache[5] || (_cache[5] = withModifiers(($event) => _ctx.$emit("mousedown", $event), ["stop"])),
431
454
  onSelect: _cache[6] || (_cache[6] = withModifiers(($event) => _ctx.$emit("select:input", $event), ["stop"])),
432
- "onUpdate:modelValue": updateModelValue
455
+ "onUpdate:modelValue": updateModelValue,
456
+ onPaste: withModifiers(onPaste, ["prevent"])
433
457
  }, null, 40, ["id", "class", "value", "placeholder", "type", "name", "disabled", "readonly", "autocomplete", "size", "step", "min", "max", "spellcheck", "max-length", "text-parts", "onFocus", "onBlur"])),
434
458
  renderSlot(_ctx.$slots, "after")
435
459
  ])
@@ -30,8 +30,8 @@ declare const __VLS_component: import('vue').DefineComponent<InputDateProps, {},
30
30
  skeleton: boolean;
31
31
  readonly: boolean;
32
32
  disabled: boolean;
33
- modelValue: Date;
34
33
  horizontalAlign: HorizontalAlign;
34
+ modelValue: Date;
35
35
  minDate: Date;
36
36
  maxDate: Date;
37
37
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
@@ -1 +1 @@
1
- {"version":3,"file":"ContentEditable.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/components/ContentEditable.vue"],"names":[],"mappings":"AAiBA;AA0UA,OAAO,KAAK,EAAC,QAAQ,EAAG,aAAa,EAAC,MAAM,UAAU,CAAA;AAStD,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,QAAQ,EAAE,GAAG,SAAS,CAAA;IACjC,QAAQ,EAAE,OAAO,GAAG,SAAS,CAAA;IAC7B,QAAQ,EAAE,OAAO,GAAG,SAAS,CAAA;CAC9B,CAAC;;;;2BAqK4B,aAAa,KAAG,IAAI;2BATpB,MAAM,aAAa,MAAM;;;;;;;;;;;;;;;;;;AAsNvD,wBAUG"}
1
+ {"version":3,"file":"ContentEditable.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/components/ContentEditable.vue"],"names":[],"mappings":"AAiBA;AAwUA,OAAO,KAAK,EAAC,QAAQ,EAAG,aAAa,EAAC,MAAM,UAAU,CAAA;AAStD,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,QAAQ,EAAE,GAAG,SAAS,CAAA;IACjC,QAAQ,EAAE,OAAO,GAAG,SAAS,CAAA;IAC7B,QAAQ,EAAE,OAAO,GAAG,SAAS,CAAA;CAC9B,CAAC;;;;2BAmK4B,aAAa,KAAG,IAAI;2BATpB,MAAM,aAAa,MAAM;;;;;;;;;;;;;;;;;;AAsNvD,wBAUG"}
@@ -1,4 +1,4 @@
1
- import { defineComponent, useTemplateRef, ref, watch, onMounted, createElementBlock, openBlock, nextTick } from 'vue';
1
+ import { defineComponent, useTemplateRef, ref, watch, onMounted, createElementBlock, openBlock, withModifiers, nextTick } from 'vue';
2
2
  import { WrapSelectionType } from '../../../utils/utils.js';
3
3
  import { preserveIndentation } from '../models/toolbarActions.js';
4
4
  import { getCaretOffset, setCaretOffset } from '../models/utils.js';
@@ -104,7 +104,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
104
104
  }
105
105
  };
106
106
  const onPaste = async (e) => {
107
- e.preventDefault();
108
107
  navigator.clipboard.readText();
109
108
  const text = (e.clipboardData?.getData("text/plain") || await navigator.clipboard.readText()).replace(/\r\n?/g, "\n");
110
109
  insertPlain(text);
@@ -246,7 +245,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
246
245
  class: "relative whitespace-pre",
247
246
  onInput,
248
247
  onBeforeinput: _cache[0] || (_cache[0] = ($event) => insertParagraph($event)),
249
- onPaste,
248
+ onPaste: withModifiers(onPaste, ["prevent"]),
250
249
  onKeydown: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("keydown", $event)),
251
250
  onFocus: _cache[2] || (_cache[2] = ($event) => {
252
251
  _ctx.$emit("focus", $event);
@@ -128,7 +128,7 @@ declare function __VLS_template(): {
128
128
  "onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
129
129
  "onUpdate:has-value"?: ((value: boolean | null) => any) | undefined;
130
130
  "onUpdate:has-shown"?: ((value: boolean) => any) | undefined;
131
- }>, "isValid" | "hasChanges" | "hasChangesMap" | "hasValue" | "hasValueMap" | "hasShown" | "hasShownMap" | "validate" | "validateMap" | "invalidate" | "invalidateMap" | "initModel" | "initModelMap" | "errorMessage" | "errorMessageMap"> & import('vue').ShallowUnwrapRef<{
131
+ }>, "errorMessage" | "hasChanges" | "validate" | "isValid" | "hasChangesMap" | "hasValue" | "hasValueMap" | "hasShown" | "hasShownMap" | "validateMap" | "invalidate" | "invalidateMap" | "initModel" | "initModelMap" | "errorMessageMap"> & import('vue').ShallowUnwrapRef<{
132
132
  isValid: import('vue').ComputedRef<boolean>;
133
133
  hasChanges: import('vue').Ref<boolean, boolean>;
134
134
  hasChangesMap: import('vue').Ref<Record<string, boolean>, Record<string, boolean>>;
@@ -383,7 +383,7 @@ declare function __VLS_template(): {
383
383
  "onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
384
384
  "onUpdate:has-value"?: ((value: boolean | null) => any) | undefined;
385
385
  "onUpdate:has-shown"?: ((value: boolean) => any) | undefined;
386
- }>, "isValid" | "hasChanges" | "hasChangesMap" | "hasValue" | "hasValueMap" | "hasShown" | "hasShownMap" | "validate" | "validateMap" | "invalidate" | "invalidateMap" | "initModel" | "initModelMap" | "errorMessage" | "errorMessageMap"> & import('vue').ShallowUnwrapRef<{
386
+ }>, "errorMessage" | "hasChanges" | "validate" | "isValid" | "hasChangesMap" | "hasValue" | "hasValueMap" | "hasShown" | "hasShownMap" | "validateMap" | "invalidate" | "invalidateMap" | "initModel" | "initModelMap" | "errorMessageMap"> & import('vue').ShallowUnwrapRef<{
387
387
  isValid: import('vue').ComputedRef<boolean>;
388
388
  hasChanges: import('vue').Ref<boolean, boolean>;
389
389
  hasChangesMap: import('vue').Ref<Record<string, boolean>, Record<string, boolean>>;
@@ -683,7 +683,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
683
683
  "onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
684
684
  "onUpdate:has-value"?: ((value: boolean | null) => any) | undefined;
685
685
  "onUpdate:has-shown"?: ((value: boolean) => any) | undefined;
686
- }>, "isValid" | "hasChanges" | "hasChangesMap" | "hasValue" | "hasValueMap" | "hasShown" | "hasShownMap" | "validate" | "validateMap" | "invalidate" | "invalidateMap" | "initModel" | "initModelMap" | "errorMessage" | "errorMessageMap"> & import('vue').ShallowUnwrapRef<{
686
+ }>, "errorMessage" | "hasChanges" | "validate" | "isValid" | "hasChangesMap" | "hasValue" | "hasValueMap" | "hasShown" | "hasShownMap" | "validateMap" | "invalidate" | "invalidateMap" | "initModel" | "initModelMap" | "errorMessageMap"> & import('vue').ShallowUnwrapRef<{
687
687
  isValid: import('vue').ComputedRef<boolean>;
688
688
  hasChanges: import('vue').Ref<boolean, boolean>;
689
689
  hasChangesMap: import('vue').Ref<Record<string, boolean>, Record<string, boolean>>;
@@ -938,7 +938,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
938
938
  "onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
939
939
  "onUpdate:has-value"?: ((value: boolean | null) => any) | undefined;
940
940
  "onUpdate:has-shown"?: ((value: boolean) => any) | undefined;
941
- }>, "isValid" | "hasChanges" | "hasChangesMap" | "hasValue" | "hasValueMap" | "hasShown" | "hasShownMap" | "validate" | "validateMap" | "invalidate" | "invalidateMap" | "initModel" | "initModelMap" | "errorMessage" | "errorMessageMap"> & import('vue').ShallowUnwrapRef<{
941
+ }>, "errorMessage" | "hasChanges" | "validate" | "isValid" | "hasChangesMap" | "hasValue" | "hasValueMap" | "hasShown" | "hasShownMap" | "validateMap" | "invalidate" | "invalidateMap" | "initModel" | "initModelMap" | "errorMessageMap"> & import('vue').ShallowUnwrapRef<{
942
942
  isValid: import('vue').ComputedRef<boolean>;
943
943
  hasChanges: import('vue').Ref<boolean, boolean>;
944
944
  hasChangesMap: import('vue').Ref<Record<string, boolean>, Record<string, boolean>>;
@@ -93,7 +93,7 @@ declare function __VLS_template(): {
93
93
  "onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
94
94
  "onUpdate:has-value"?: ((value: boolean | null) => any) | undefined;
95
95
  "onUpdate:has-shown"?: ((value: boolean) => any) | undefined;
96
- }>, "isValid" | "hasChanges" | "hasChangesMap" | "hasValue" | "hasValueMap" | "hasShown" | "hasShownMap" | "validate" | "validateMap" | "invalidate" | "invalidateMap" | "initModel" | "initModelMap" | "errorMessage" | "errorMessageMap"> & import('vue').ShallowUnwrapRef<{
96
+ }>, "errorMessage" | "hasChanges" | "validate" | "isValid" | "hasChangesMap" | "hasValue" | "hasValueMap" | "hasShown" | "hasShownMap" | "validateMap" | "invalidate" | "invalidateMap" | "initModel" | "initModelMap" | "errorMessageMap"> & import('vue').ShallowUnwrapRef<{
97
97
  isValid: import('vue').ComputedRef<boolean>;
98
98
  hasChanges: import('vue').Ref<boolean, boolean>;
99
99
  hasChangesMap: import('vue').Ref<Record<string, boolean>, Record<string, boolean>>;
@@ -348,7 +348,7 @@ declare function __VLS_template(): {
348
348
  "onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
349
349
  "onUpdate:has-value"?: ((value: boolean | null) => any) | undefined;
350
350
  "onUpdate:has-shown"?: ((value: boolean) => any) | undefined;
351
- }>, "isValid" | "hasChanges" | "hasChangesMap" | "hasValue" | "hasValueMap" | "hasShown" | "hasShownMap" | "validate" | "validateMap" | "invalidate" | "invalidateMap" | "initModel" | "initModelMap" | "errorMessage" | "errorMessageMap"> & import('vue').ShallowUnwrapRef<{
351
+ }>, "errorMessage" | "hasChanges" | "validate" | "isValid" | "hasChangesMap" | "hasValue" | "hasValueMap" | "hasShown" | "hasShownMap" | "validateMap" | "invalidate" | "invalidateMap" | "initModel" | "initModelMap" | "errorMessageMap"> & import('vue').ShallowUnwrapRef<{
352
352
  isValid: import('vue').ComputedRef<boolean>;
353
353
  hasChanges: import('vue').Ref<boolean, boolean>;
354
354
  hasChangesMap: import('vue').Ref<Record<string, boolean>, Record<string, boolean>>;
@@ -549,7 +549,7 @@ declare const __VLS_component: import('vue').DefineComponent<TabsProps, {
549
549
  "onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
550
550
  "onUpdate:has-value"?: ((value: boolean | null) => any) | undefined;
551
551
  "onUpdate:has-shown"?: ((value: boolean) => any) | undefined;
552
- }>, "isValid" | "hasChanges" | "hasChangesMap" | "hasValue" | "hasValueMap" | "hasShown" | "hasShownMap" | "validate" | "validateMap" | "invalidate" | "invalidateMap" | "initModel" | "initModelMap" | "errorMessage" | "errorMessageMap"> & import('vue').ShallowUnwrapRef<{
552
+ }>, "errorMessage" | "hasChanges" | "validate" | "isValid" | "hasChangesMap" | "hasValue" | "hasValueMap" | "hasShown" | "hasShownMap" | "validateMap" | "invalidate" | "invalidateMap" | "initModel" | "initModelMap" | "errorMessageMap"> & import('vue').ShallowUnwrapRef<{
553
553
  isValid: import('vue').ComputedRef<boolean>;
554
554
  hasChanges: import('vue').Ref<boolean, boolean>;
555
555
  hasChangesMap: import('vue').Ref<Record<string, boolean>, Record<string, boolean>>;
@@ -804,7 +804,7 @@ declare const __VLS_component: import('vue').DefineComponent<TabsProps, {
804
804
  "onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
805
805
  "onUpdate:has-value"?: ((value: boolean | null) => any) | undefined;
806
806
  "onUpdate:has-shown"?: ((value: boolean) => any) | undefined;
807
- }>, "isValid" | "hasChanges" | "hasChangesMap" | "hasValue" | "hasValueMap" | "hasShown" | "hasShownMap" | "validate" | "validateMap" | "invalidate" | "invalidateMap" | "initModel" | "initModelMap" | "errorMessage" | "errorMessageMap"> & import('vue').ShallowUnwrapRef<{
807
+ }>, "errorMessage" | "hasChanges" | "validate" | "isValid" | "hasChangesMap" | "hasValue" | "hasValueMap" | "hasShown" | "hasShownMap" | "validateMap" | "invalidate" | "invalidateMap" | "initModel" | "initModelMap" | "errorMessageMap"> & import('vue').ShallowUnwrapRef<{
808
808
  isValid: import('vue').ComputedRef<boolean>;
809
809
  hasChanges: import('vue').Ref<boolean, boolean>;
810
810
  hasChangesMap: import('vue').Ref<Record<string, boolean>, Record<string, boolean>>;
@@ -96,7 +96,7 @@ declare function __VLS_template(): {
96
96
  "onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
97
97
  "onUpdate:has-value"?: ((value: boolean | null) => any) | undefined;
98
98
  "onUpdate:has-shown"?: ((value: boolean) => any) | undefined;
99
- }>, "isValid" | "hasChanges" | "hasChangesMap" | "hasValue" | "hasValueMap" | "hasShown" | "hasShownMap" | "validate" | "validateMap" | "invalidate" | "invalidateMap" | "initModel" | "initModelMap" | "errorMessage" | "errorMessageMap"> & import('vue').ShallowUnwrapRef<{
99
+ }>, "errorMessage" | "hasChanges" | "validate" | "isValid" | "hasChangesMap" | "hasValue" | "hasValueMap" | "hasShown" | "hasShownMap" | "validateMap" | "invalidate" | "invalidateMap" | "initModel" | "initModelMap" | "errorMessageMap"> & import('vue').ShallowUnwrapRef<{
100
100
  isValid: import('vue').ComputedRef<boolean>;
101
101
  hasChanges: import('vue').Ref<boolean, boolean>;
102
102
  hasChangesMap: import('vue').Ref<Record<string, boolean>, Record<string, boolean>>;
@@ -218,7 +218,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
218
218
  "onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
219
219
  "onUpdate:has-value"?: ((value: boolean | null) => any) | undefined;
220
220
  "onUpdate:has-shown"?: ((value: boolean) => any) | undefined;
221
- }>, "isValid" | "hasChanges" | "hasChangesMap" | "hasValue" | "hasValueMap" | "hasShown" | "hasShownMap" | "validate" | "validateMap" | "invalidate" | "invalidateMap" | "initModel" | "initModelMap" | "errorMessage" | "errorMessageMap"> & import('vue').ShallowUnwrapRef<{
221
+ }>, "errorMessage" | "hasChanges" | "validate" | "isValid" | "hasChangesMap" | "hasValue" | "hasValueMap" | "hasShown" | "hasShownMap" | "validateMap" | "invalidate" | "invalidateMap" | "initModel" | "initModelMap" | "errorMessageMap"> & import('vue').ShallowUnwrapRef<{
222
222
  isValid: import('vue').ComputedRef<boolean>;
223
223
  hasChanges: import('vue').Ref<boolean, boolean>;
224
224
  hasChangesMap: import('vue').Ref<Record<string, boolean>, Record<string, boolean>>;
package/dist/main.d.ts CHANGED
@@ -1,8 +1,6 @@
1
1
  import { App } from 'vue';
2
2
  import { default as WActionsBar } from './components/ActionsBar/WActionsBar.vue';
3
3
  import { default as WActionsBarFilter } from './components/ActionsBar/WActionsBarFilter.vue';
4
- import { default as WRouteAuth } from './components/Auth/WRouteAuth.vue';
5
- import { default as WRouteAuthNo } from './components/Auth/WRouteAuthNo.vue';
6
4
  import { default as WBottomSheet } from './components/BottomSheet/WBottomSheet.vue';
7
5
  import { default as WButton } from './components/Button/WButton.vue';
8
6
  import { default as WButtonAction } from './components/Button/WButtonAction.vue';
@@ -222,5 +220,5 @@ declare const _default: {
222
220
  install: (app: App | any) => void;
223
221
  };
224
222
  export default _default;
225
- export { WActionsBar, WActionsBarFilter, WRouteAuth, WRouteAuthNo, WBottomSheet, WButton, WButtonAction, WButtonCopy, WButtonDropdown, WButtonGroup, WButtonInput, WButtonMore, WButtonMoreItem, WButtonSelection, WButtonSelectionAction, WButtonSelectionState, WButtonTab, WButtonUnselect, WChartLine, WChartLinear, WCheckbox, WCheckboxGroup, WCheckboxGroupMultiple, WChip, WClickOutside, WCounter, WDatePicker, WDatePickerSingle, WDismissable, WDragContainer, WDropdown, WDropdownMenu, WEmptyComponent, WExpansion, WExpansionItem, WFieldWrapper, WFilePicker, WFilterWrapper, WForm, WFormValidator, WFormAsyncButtonGroup, WFormAsyncCheckboxGroup, WFormAsyncInput, WFormAsyncSelect, WFormAsyncSelectInfiniteSingle, WFormAsyncSelectSingle, WFormAsyncSelectStringified, WFormAsyncToggle, WHeaderBar, WHeaderBarSearch, WImageViewer, WInfiniteList, WInfiniteListScrollingElement, WInfiniteListWrapper, WInfoCard, WInfoCardNegative, WInput, WInputAsync, WInputDate, WInputOptions, WInputSuggest, WInputToolbarButton, WLink, WLinkArrow, WList, WListCard, WListCardField, WListFilter, WListHeader, WListHeaderItem, WMenuItem, WModal, WModalExport, WModalExportSimple, WModalImport, WModalStepper, WModalWrapper, WNavBar, WNavItem, WNavItemExpand, WNavItemTransition, WNotify, WNumberFormatter, WPage, WPageBreadcrumbs, WPageNumerator, WPageTitle, WProgress, WProgressStriped, WRouterLink, WSelect, WSelectAsync, WSelectAsyncList, WSelectAsyncSingle, WSelectSingle, WSelectStringified, WShine, WShineEffect, WSkeleton, WSpinner, WStatusIcon, WTabs, WTabsColumns, WTabsItem, WToggle, WToggleTheme, WTooltip, WTooltipContainer, };
223
+ export { WActionsBar, WActionsBarFilter, WBottomSheet, WButton, WButtonAction, WButtonCopy, WButtonDropdown, WButtonGroup, WButtonInput, WButtonMore, WButtonMoreItem, WButtonSelection, WButtonSelectionAction, WButtonSelectionState, WButtonTab, WButtonUnselect, WChartLine, WChartLinear, WCheckbox, WCheckboxGroup, WCheckboxGroupMultiple, WChip, WClickOutside, WCounter, WDatePicker, WDatePickerSingle, WDismissable, WDragContainer, WDropdown, WDropdownMenu, WEmptyComponent, WExpansion, WExpansionItem, WFieldWrapper, WFilePicker, WFilterWrapper, WForm, WFormValidator, WFormAsyncButtonGroup, WFormAsyncCheckboxGroup, WFormAsyncInput, WFormAsyncSelect, WFormAsyncSelectInfiniteSingle, WFormAsyncSelectSingle, WFormAsyncSelectStringified, WFormAsyncToggle, WHeaderBar, WHeaderBarSearch, WImageViewer, WInfiniteList, WInfiniteListScrollingElement, WInfiniteListWrapper, WInfoCard, WInfoCardNegative, WInput, WInputAsync, WInputDate, WInputOptions, WInputSuggest, WInputToolbarButton, WLink, WLinkArrow, WList, WListCard, WListCardField, WListFilter, WListHeader, WListHeaderItem, WMenuItem, WModal, WModalExport, WModalExportSimple, WModalImport, WModalStepper, WModalWrapper, WNavBar, WNavItem, WNavItemExpand, WNavItemTransition, WNotify, WNumberFormatter, WPage, WPageBreadcrumbs, WPageNumerator, WPageTitle, WProgress, WProgressStriped, WRouterLink, WSelect, WSelectAsync, WSelectAsyncList, WSelectAsyncSingle, WSelectSingle, WSelectStringified, WShine, WShineEffect, WSkeleton, WSpinner, WStatusIcon, WTabs, WTabsColumns, WTabsItem, WToggle, WToggleTheme, WTooltip, WTooltipContainer, };
226
224
  //# sourceMappingURL=main.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../src/main.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,GAAG,EAAC,MAAM,KAAK,CAAA;AAE5B,OAAO,WAAW,MAAM,yCAAyC,CAAA;AACjE,OAAO,iBAAiB,MAAM,+CAA+C,CAAA;AAC7E,OAAO,UAAU,MAAM,kCAAkC,CAAA;AACzD,OAAO,YAAY,MAAM,oCAAoC,CAAA;AAC7D,OAAO,YAAY,MAAM,2CAA2C,CAAA;AACpE,OAAO,OAAO,MAAM,iCAAiC,CAAA;AACrD,OAAO,aAAa,MAAM,uCAAuC,CAAA;AACjE,OAAO,WAAW,MAAM,qCAAqC,CAAA;AAC7D,OAAO,eAAe,MAAM,yCAAyC,CAAA;AACrE,OAAO,YAAY,MAAM,sCAAsC,CAAA;AAC/D,OAAO,YAAY,MAAM,sCAAsC,CAAA;AAC/D,OAAO,WAAW,MAAM,qCAAqC,CAAA;AAC7D,OAAO,eAAe,MAAM,yCAAyC,CAAA;AACrE,OAAO,gBAAgB,MAAM,0CAA0C,CAAA;AACvE,OAAO,sBAAsB,MAAM,gDAAgD,CAAA;AACnF,OAAO,qBAAqB,MAAM,+CAA+C,CAAA;AACjF,OAAO,UAAU,MAAM,oCAAoC,CAAA;AAC3D,OAAO,eAAe,MAAM,yCAAyC,CAAA;AACrE,OAAO,UAAU,MAAM,mCAAmC,CAAA;AAC1D,OAAO,YAAY,MAAM,qCAAqC,CAAA;AAC9D,OAAO,SAAS,MAAM,qCAAqC,CAAA;AAC3D,OAAO,cAAc,MAAM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Q,EACR,WAAW,EACX,iBAAiB,EACjB,YAAY,EACZ,cAAc,EACd,SAAS,EACT,aAAa,EACb,eAAe,EACf,UAAU,EACV,cAAc,EACd,aAAa,EACb,WAAW,EACX,cAAc,EACd,KAAK,EACL,cAAc,EACd,qBAAqB,EACrB,uBAAuB,EACvB,eAAe,EACf,gBAAgB,EAChB,8BAA8B,EAC9B,sBAAsB,EACtB,2BAA2B,EAC3B,gBAAgB,EAChB,UAAU,EACV,gBAAgB,EAChB,YAAY,EACZ,aAAa,EACb,6BAA6B,EAC7B,oBAAoB,EACpB,SAAS,EACT,iBAAiB,EACjB,MAAM,EACN,WAAW,EACX,UAAU,EACV,aAAa,EACb,aAAa,EACb,mBAAmB,EACnB,KAAK,EACL,UAAU,EACV,KAAK,EACL,SAAS,EACT,cAAc,EACd,WAAW,EACX,WAAW,EACX,eAAe,EACf,SAAS,EACT,MAAM,EACN,YAAY,EACZ,kBAAkB,EAClB,YAAY,EACZ,aAAa,EACb,aAAa,EACb,OAAO,EACP,QAAQ,EACR,cAAc,EACd,kBAAkB,EAClB,OAAO,EACP,gBAAgB,EAChB,KAAK,EACL,gBAAgB,EAChB,cAAc,EACd,UAAU,EACV,SAAS,EACT,gBAAgB,EAChB,WAAW,EACX,OAAO,EACP,YAAY,EACZ,gBAAgB,EAChB,kBAAkB,EAClB,aAAa,EACb,kBAAkB,EAClB,MAAM,EACN,YAAY,EACZ,SAAS,EACT,QAAQ,EACR,WAAW,EACX,KAAK,EACL,YAAY,EACZ,SAAS,EACT,OAAO,EACP,YAAY,EACZ,QAAQ,EACR,iBAAiB,GAClB,CAAA"}
package/dist/main.js CHANGED
@@ -1,111 +1,109 @@
1
1
  import _sfc_main from './components/ActionsBar/WActionsBar.vue.js';
2
2
  import _sfc_main$1 from './components/ActionsBar/WActionsBarFilter.vue.js';
3
- import _sfc_main$2 from './components/Auth/WRouteAuth.vue.js';
4
- import _sfc_main$3 from './components/Auth/WRouteAuthNo.vue.js';
5
- import _sfc_main$4 from './components/BottomSheet/WBottomSheet.vue.js';
6
- import _sfc_main$5 from './components/Button/WButton.vue.js';
7
- import _sfc_main$6 from './components/Button/WButtonAction.vue.js';
8
- import _sfc_main$7 from './components/Button/WButtonCopy.vue.js';
9
- import _sfc_main$8 from './components/Button/WButtonDropdown.vue.js';
10
- import _sfc_main$9 from './components/Button/WButtonGroup.vue.js';
11
- import _sfc_main$a from './components/Button/WButtonInput.vue.js';
12
- import _sfc_main$b from './components/Button/WButtonMore.vue.js';
13
- import _sfc_main$c from './components/Button/WButtonMoreItem.vue.js';
14
- import _sfc_main$d from './components/Button/WButtonSelection.vue.js';
15
- import _sfc_main$e from './components/Button/WButtonSelectionAction.vue.js';
16
- import _sfc_main$f from './components/Button/WButtonSelectionState.vue.js';
17
- import _sfc_main$g from './components/Button/WButtonTab.vue.js';
18
- import _sfc_main$h from './components/Button/WButtonUnselect.vue.js';
19
- import _sfc_main$i from './components/Chart/WChartLine.vue.js';
20
- import _sfc_main$j from './components/Chart/WChartLinear.vue.js';
21
- import _sfc_main$k from './components/Checkbox/WCheckbox.vue.js';
22
- import _sfc_main$l from './components/Checkbox/WCheckboxGroup.vue.js';
23
- import _sfc_main$m from './components/Checkbox/WCheckboxGroupMultiple.vue.js';
24
- import _sfc_main$n from './components/Chip/WChip.vue.js';
25
- import _sfc_main$o from './components/ClickOutside/WClickOutside.vue.js';
26
- import _sfc_main$p from './components/Counter/WCounter.vue.js';
27
- import _sfc_main$q from './components/DatePicker/WDatePicker.vue.js';
28
- import _sfc_main$r from './components/DatePicker/WDatePickerSingle.vue.js';
29
- import _sfc_main$s from './components/Dismissable/WDismissable.vue.js';
30
- import _sfc_main$t from './components/DragContainer/WDragContainer.vue.js';
31
- import _sfc_main$u from './components/Dropdown/WDropdown.vue.js';
32
- import _sfc_main$v from './components/DropdownMenu/WDropdownMenu.vue.js';
33
- import _sfc_main$w from './components/EmptyComponent/WEmptyComponent.vue.js';
34
- import _sfc_main$x from './components/Expansion/WExpansion.vue.js';
35
- import _sfc_main$y from './components/Expansion/WExpansionItem.vue.js';
36
- import _sfc_main$z from './components/FieldWrapper/WFieldWrapper.vue.js';
37
- import _sfc_main$A from './components/FilePicker/WFilePicker.vue.js';
38
- import _sfc_main$B from './components/FilterWrapper/WFilterWrapper.vue.js';
39
- import _sfc_main$C from './components/Form/WForm.vue.js';
40
- import _sfc_main$D from './components/Form/WFormValidator.vue.js';
41
- import _sfc_main$E from './components/FormAsync/WFormAsyncButtonGroup.vue.js';
42
- import _sfc_main$F from './components/FormAsync/WFormAsyncCheckboxGroup.vue.js';
43
- import _sfc_main$G from './components/FormAsync/WFormAsyncInput.vue.js';
44
- import _sfc_main$H from './components/FormAsync/WFormAsyncSelect.vue.js';
45
- import _sfc_main$I from './components/FormAsync/WFormAsyncSelectInfiniteSingle.vue.js';
46
- import _sfc_main$J from './components/FormAsync/WFormAsyncSelectSingle.vue.js';
47
- import _sfc_main$K from './components/FormAsync/WFormAsyncSelectStringified.vue.js';
48
- import _sfc_main$L from './components/FormAsync/WFormAsyncToggle.vue.js';
49
- import _sfc_main$M from './components/HeaderBar/WHeaderBar.vue.js';
50
- import _sfc_main$N from './components/HeaderBar/WHeaderBarSearch.vue.js';
51
- import _sfc_main$O from './components/ImageViewer/WImageViewer.vue.js';
52
- import _sfc_main$P from './components/InfiniteList/WInfiniteList.vue.js';
53
- import _sfc_main$Q from './components/InfiniteList/WInfiniteListScrollingElement.vue.js';
54
- import _sfc_main$R from './components/InfiniteList/WInfiniteListWrapper.vue.js';
55
- import _sfc_main$S from './components/InfoCard/WInfoCard.vue.js';
56
- import _sfc_main$T from './components/InfoCard/WInfoCardNegative.vue.js';
57
- import _sfc_main$U from './components/Input/WInput.vue.js';
58
- import _sfc_main$V from './components/Input/WInputAsync.vue.js';
59
- import _sfc_main$W from './components/Input/WInputDate.vue.js';
60
- import _sfc_main$X from './components/Input/WInputOptions.vue.js';
61
- import _sfc_main$Y from './components/Input/WInputSuggest.vue.js';
62
- import _sfc_main$Z from './components/Input/WInputToolbarButton.vue.js';
63
- import _sfc_main$_ from './components/Link/WLink.vue.js';
64
- import _sfc_main$$ from './components/Link/WLinkArrow.vue.js';
65
- import _sfc_main$10 from './components/List/WList.vue.js';
66
- import _sfc_main$11 from './components/List/WListCard.vue.js';
67
- import _sfc_main$12 from './components/List/WListCardField.vue.js';
68
- import _sfc_main$13 from './components/List/WListFilter.vue.js';
69
- import _sfc_main$14 from './components/List/WListHeader.vue.js';
70
- import _sfc_main$15 from './components/List/WListHeaderItem.vue.js';
71
- import _sfc_main$16 from './components/MenuItem/WMenuItem.vue.js';
72
- import _sfc_main$17 from './components/Modal/WModal.vue.js';
73
- import _sfc_main$18 from './components/Modal/WModalExport.vue.js';
74
- import _sfc_main$19 from './components/Modal/WModalExportSimple.vue.js';
75
- import _sfc_main$1a from './components/Modal/WModalImport.vue.js';
76
- import _sfc_main$1b from './components/Modal/WModalStepper.vue.js';
77
- import _sfc_main$1c from './components/Modal/WModalWrapper.vue.js';
78
- import _sfc_main$1d from './components/Nav/WNavBar.vue.js';
79
- import _sfc_main$1e from './components/Nav/WNavItem.vue.js';
80
- import _sfc_main$1f from './components/Nav/WNavItemExpand.vue.js';
3
+ import _sfc_main$2 from './components/BottomSheet/WBottomSheet.vue.js';
4
+ import _sfc_main$3 from './components/Button/WButton.vue.js';
5
+ import _sfc_main$4 from './components/Button/WButtonAction.vue.js';
6
+ import _sfc_main$5 from './components/Button/WButtonCopy.vue.js';
7
+ import _sfc_main$6 from './components/Button/WButtonDropdown.vue.js';
8
+ import _sfc_main$7 from './components/Button/WButtonGroup.vue.js';
9
+ import _sfc_main$8 from './components/Button/WButtonInput.vue.js';
10
+ import _sfc_main$9 from './components/Button/WButtonMore.vue.js';
11
+ import _sfc_main$a from './components/Button/WButtonMoreItem.vue.js';
12
+ import _sfc_main$b from './components/Button/WButtonSelection.vue.js';
13
+ import _sfc_main$c from './components/Button/WButtonSelectionAction.vue.js';
14
+ import _sfc_main$d from './components/Button/WButtonSelectionState.vue.js';
15
+ import _sfc_main$e from './components/Button/WButtonTab.vue.js';
16
+ import _sfc_main$f from './components/Button/WButtonUnselect.vue.js';
17
+ import _sfc_main$g from './components/Chart/WChartLine.vue.js';
18
+ import _sfc_main$h from './components/Chart/WChartLinear.vue.js';
19
+ import _sfc_main$i from './components/Checkbox/WCheckbox.vue.js';
20
+ import _sfc_main$j from './components/Checkbox/WCheckboxGroup.vue.js';
21
+ import _sfc_main$k from './components/Checkbox/WCheckboxGroupMultiple.vue.js';
22
+ import _sfc_main$l from './components/Chip/WChip.vue.js';
23
+ import _sfc_main$m from './components/ClickOutside/WClickOutside.vue.js';
24
+ import _sfc_main$n from './components/Counter/WCounter.vue.js';
25
+ import _sfc_main$o from './components/DatePicker/WDatePicker.vue.js';
26
+ import _sfc_main$p from './components/DatePicker/WDatePickerSingle.vue.js';
27
+ import _sfc_main$q from './components/Dismissable/WDismissable.vue.js';
28
+ import _sfc_main$r from './components/DragContainer/WDragContainer.vue.js';
29
+ import _sfc_main$s from './components/Dropdown/WDropdown.vue.js';
30
+ import _sfc_main$t from './components/DropdownMenu/WDropdownMenu.vue.js';
31
+ import _sfc_main$u from './components/EmptyComponent/WEmptyComponent.vue.js';
32
+ import _sfc_main$v from './components/Expansion/WExpansion.vue.js';
33
+ import _sfc_main$w from './components/Expansion/WExpansionItem.vue.js';
34
+ import _sfc_main$x from './components/FieldWrapper/WFieldWrapper.vue.js';
35
+ import _sfc_main$y from './components/FilePicker/WFilePicker.vue.js';
36
+ import _sfc_main$z from './components/FilterWrapper/WFilterWrapper.vue.js';
37
+ import _sfc_main$A from './components/Form/WForm.vue.js';
38
+ import _sfc_main$B from './components/Form/WFormValidator.vue.js';
39
+ import _sfc_main$C from './components/FormAsync/WFormAsyncButtonGroup.vue.js';
40
+ import _sfc_main$D from './components/FormAsync/WFormAsyncCheckboxGroup.vue.js';
41
+ import _sfc_main$E from './components/FormAsync/WFormAsyncInput.vue.js';
42
+ import _sfc_main$F from './components/FormAsync/WFormAsyncSelect.vue.js';
43
+ import _sfc_main$G from './components/FormAsync/WFormAsyncSelectInfiniteSingle.vue.js';
44
+ import _sfc_main$H from './components/FormAsync/WFormAsyncSelectSingle.vue.js';
45
+ import _sfc_main$I from './components/FormAsync/WFormAsyncSelectStringified.vue.js';
46
+ import _sfc_main$J from './components/FormAsync/WFormAsyncToggle.vue.js';
47
+ import _sfc_main$K from './components/HeaderBar/WHeaderBar.vue.js';
48
+ import _sfc_main$L from './components/HeaderBar/WHeaderBarSearch.vue.js';
49
+ import _sfc_main$M from './components/ImageViewer/WImageViewer.vue.js';
50
+ import _sfc_main$N from './components/InfiniteList/WInfiniteList.vue.js';
51
+ import _sfc_main$O from './components/InfiniteList/WInfiniteListScrollingElement.vue.js';
52
+ import _sfc_main$P from './components/InfiniteList/WInfiniteListWrapper.vue.js';
53
+ import _sfc_main$Q from './components/InfoCard/WInfoCard.vue.js';
54
+ import _sfc_main$R from './components/InfoCard/WInfoCardNegative.vue.js';
55
+ import _sfc_main$S from './components/Input/WInput.vue.js';
56
+ import _sfc_main$T from './components/Input/WInputAsync.vue.js';
57
+ import _sfc_main$U from './components/Input/WInputDate.vue.js';
58
+ import _sfc_main$V from './components/Input/WInputOptions.vue.js';
59
+ import _sfc_main$W from './components/Input/WInputSuggest.vue.js';
60
+ import _sfc_main$X from './components/Input/WInputToolbarButton.vue.js';
61
+ import _sfc_main$Y from './components/Link/WLink.vue.js';
62
+ import _sfc_main$Z from './components/Link/WLinkArrow.vue.js';
63
+ import _sfc_main$_ from './components/List/WList.vue.js';
64
+ import _sfc_main$$ from './components/List/WListCard.vue.js';
65
+ import _sfc_main$10 from './components/List/WListCardField.vue.js';
66
+ import _sfc_main$11 from './components/List/WListFilter.vue.js';
67
+ import _sfc_main$12 from './components/List/WListHeader.vue.js';
68
+ import _sfc_main$13 from './components/List/WListHeaderItem.vue.js';
69
+ import _sfc_main$14 from './components/MenuItem/WMenuItem.vue.js';
70
+ import _sfc_main$15 from './components/Modal/WModal.vue.js';
71
+ import _sfc_main$16 from './components/Modal/WModalExport.vue.js';
72
+ import _sfc_main$17 from './components/Modal/WModalExportSimple.vue.js';
73
+ import _sfc_main$18 from './components/Modal/WModalImport.vue.js';
74
+ import _sfc_main$19 from './components/Modal/WModalStepper.vue.js';
75
+ import _sfc_main$1a from './components/Modal/WModalWrapper.vue.js';
76
+ import _sfc_main$1b from './components/Nav/WNavBar.vue.js';
77
+ import _sfc_main$1c from './components/Nav/WNavItem.vue.js';
78
+ import _sfc_main$1d from './components/Nav/WNavItemExpand.vue.js';
81
79
  import WNavItemTransition from './components/Nav/WNavItemTransition.vue.js';
82
- import _sfc_main$1g from './components/Notify/WNotify.vue.js';
83
- import _sfc_main$1h from './components/NumberFormatter/WNumberFormatter.vue.js';
84
- import _sfc_main$1i from './components/Page/WPage.vue.js';
85
- import _sfc_main$1j from './components/Page/WPageBreadcrumbs.vue.js';
80
+ import _sfc_main$1e from './components/Notify/WNotify.vue.js';
81
+ import _sfc_main$1f from './components/NumberFormatter/WNumberFormatter.vue.js';
82
+ import _sfc_main$1g from './components/Page/WPage.vue.js';
83
+ import _sfc_main$1h from './components/Page/WPageBreadcrumbs.vue.js';
86
84
  import WPageNumerator from './components/Page/WPageNumerator.vue.js';
87
- import _sfc_main$1k from './components/Page/WPageTitle.vue.js';
88
- import _sfc_main$1l from './components/Progress/WProgress.vue.js';
89
- import _sfc_main$1m from './components/Progress/WProgressStriped.vue.js';
90
- import _sfc_main$1n from './components/RouterLink/WRouterLink.vue.js';
91
- import _sfc_main$1o from './components/Select/WSelect.vue.js';
92
- import _sfc_main$1p from './components/Select/WSelectAsync.vue.js';
93
- import _sfc_main$1q from './components/Select/WSelectAsyncList.vue.js';
94
- import _sfc_main$1r from './components/Select/WSelectAsyncSingle.vue.js';
95
- import _sfc_main$1s from './components/Select/WSelectSingle.vue.js';
96
- import _sfc_main$1t from './components/Select/WSelectStringified.vue.js';
97
- import _sfc_main$1u from './components/Shine/WShine.vue.js';
98
- import _sfc_main$1v from './components/Shine/WShineEffect.vue.js';
99
- import _sfc_main$1w from './components/Skeleton/WSkeleton.vue.js';
85
+ import _sfc_main$1i from './components/Page/WPageTitle.vue.js';
86
+ import _sfc_main$1j from './components/Progress/WProgress.vue.js';
87
+ import _sfc_main$1k from './components/Progress/WProgressStriped.vue.js';
88
+ import _sfc_main$1l from './components/RouterLink/WRouterLink.vue.js';
89
+ import _sfc_main$1m from './components/Select/WSelect.vue.js';
90
+ import _sfc_main$1n from './components/Select/WSelectAsync.vue.js';
91
+ import _sfc_main$1o from './components/Select/WSelectAsyncList.vue.js';
92
+ import _sfc_main$1p from './components/Select/WSelectAsyncSingle.vue.js';
93
+ import _sfc_main$1q from './components/Select/WSelectSingle.vue.js';
94
+ import _sfc_main$1r from './components/Select/WSelectStringified.vue.js';
95
+ import _sfc_main$1s from './components/Shine/WShine.vue.js';
96
+ import _sfc_main$1t from './components/Shine/WShineEffect.vue.js';
97
+ import _sfc_main$1u from './components/Skeleton/WSkeleton.vue.js';
100
98
  import WSpinner from './components/Spinner/WSpinner.vue.js';
101
- import _sfc_main$1x from './components/Status/WStatusIcon.vue.js';
102
- import _sfc_main$1y from './components/Tabs/WTabs.vue.js';
103
- import _sfc_main$1z from './components/Tabs/WTabsColumns.vue.js';
104
- import _sfc_main$1A from './components/Tabs/WTabsItem.vue.js';
105
- import _sfc_main$1B from './components/Toggle/WToggle.vue.js';
106
- import _sfc_main$1C from './components/Toggle/WToggleTheme.vue.js';
107
- import _sfc_main$1D from './components/Tooltip/WTooltip.vue.js';
108
- import _sfc_main$1E from './components/Tooltip/WTooltipContainer.vue.js';
99
+ import _sfc_main$1v from './components/Status/WStatusIcon.vue.js';
100
+ import _sfc_main$1w from './components/Tabs/WTabs.vue.js';
101
+ import _sfc_main$1x from './components/Tabs/WTabsColumns.vue.js';
102
+ import _sfc_main$1y from './components/Tabs/WTabsItem.vue.js';
103
+ import _sfc_main$1z from './components/Toggle/WToggle.vue.js';
104
+ import _sfc_main$1A from './components/Toggle/WToggleTheme.vue.js';
105
+ import _sfc_main$1B from './components/Tooltip/WTooltip.vue.js';
106
+ import _sfc_main$1C from './components/Tooltip/WTooltipContainer.vue.js';
109
107
  export { ApiClientInstance, getURLParams } from './utils/ApiClient.js';
110
108
  export { DOMListenerContainer } from './utils/DOMListenerContainer.js';
111
109
  export { HorizontalAlign } from './utils/HorizontalAlign.js';
@@ -224,113 +222,111 @@ const main = {
224
222
  install: (app) => {
225
223
  app.component("WActionsBar", _sfc_main);
226
224
  app.component("WActionsBarFilter", _sfc_main$1);
227
- app.component("WRouteAuth", _sfc_main$2);
228
- app.component("WRouteAuthNo", _sfc_main$3);
229
- app.component("WBottomSheet", _sfc_main$4);
230
- app.component("WButton", _sfc_main$5);
231
- app.component("WButtonAction", _sfc_main$6);
232
- app.component("WButtonCopy", _sfc_main$7);
233
- app.component("WButtonDropdown", _sfc_main$8);
234
- app.component("WButtonGroup", _sfc_main$9);
235
- app.component("WButtonInput", _sfc_main$a);
236
- app.component("WButtonMore", _sfc_main$b);
237
- app.component("WButtonMoreItem", _sfc_main$c);
238
- app.component("WButtonSelection", _sfc_main$d);
239
- app.component("WButtonSelectionAction", _sfc_main$e);
240
- app.component("WButtonSelectionState", _sfc_main$f);
241
- app.component("WButtonTab", _sfc_main$g);
242
- app.component("WButtonUnselect", _sfc_main$h);
243
- app.component("WChartLine", _sfc_main$i);
244
- app.component("WChartLinear", _sfc_main$j);
245
- app.component("WCheckbox", _sfc_main$k);
246
- app.component("WCheckboxGroup", _sfc_main$l);
247
- app.component("WCheckboxGroupMultiple", _sfc_main$m);
248
- app.component("WChip", _sfc_main$n);
249
- app.component("WClickOutside", _sfc_main$o);
250
- app.component("WCounter", _sfc_main$p);
251
- app.component("WDatePicker", _sfc_main$q);
252
- app.component("WDatePickerSingle", _sfc_main$r);
253
- app.component("WDismissable", _sfc_main$s);
254
- app.component("WDragContainer", _sfc_main$t);
255
- app.component("WDropdown", _sfc_main$u);
256
- app.component("WDropdownMenu", _sfc_main$v);
257
- app.component("WEmptyComponent", _sfc_main$w);
258
- app.component("WExpansion", _sfc_main$x);
259
- app.component("WExpansionItem", _sfc_main$y);
260
- app.component("WFieldWrapper", _sfc_main$z);
261
- app.component("WFilePicker", _sfc_main$A);
262
- app.component("WFilterWrapper", _sfc_main$B);
263
- app.component("WForm", _sfc_main$C);
264
- app.component("WFormValidator", _sfc_main$D);
265
- app.component("WFormAsyncButtonGroup", _sfc_main$E);
266
- app.component("WFormAsyncCheckboxGroup", _sfc_main$F);
267
- app.component("WFormAsyncInput", _sfc_main$G);
268
- app.component("WFormAsyncSelect", _sfc_main$H);
269
- app.component("WFormAsyncSelectInfiniteSingle", _sfc_main$I);
270
- app.component("WFormAsyncSelectSingle", _sfc_main$J);
271
- app.component("WFormAsyncSelectStringified", _sfc_main$K);
272
- app.component("WFormAsyncToggle", _sfc_main$L);
273
- app.component("WHeaderBar", _sfc_main$M);
274
- app.component("WHeaderBarSearch", _sfc_main$N);
275
- app.component("WImageViewer", _sfc_main$O);
276
- app.component("WInfiniteList", _sfc_main$P);
277
- app.component("WInfiniteListScrollingElement", _sfc_main$Q);
278
- app.component("WInfiniteListWrapper", _sfc_main$R);
279
- app.component("WInfoCard", _sfc_main$S);
280
- app.component("WInfoCardNegative", _sfc_main$T);
281
- app.component("WInput", _sfc_main$U);
282
- app.component("WInputAsync", _sfc_main$V);
283
- app.component("WInputDate", _sfc_main$W);
284
- app.component("WInputOptions", _sfc_main$X);
285
- app.component("WInputSuggest", _sfc_main$Y);
286
- app.component("WInputToolbarButton", _sfc_main$Z);
287
- app.component("WLink", _sfc_main$_);
288
- app.component("WLinkArrow", _sfc_main$$);
289
- app.component("WList", _sfc_main$10);
290
- app.component("WListCard", _sfc_main$11);
291
- app.component("WListCardField", _sfc_main$12);
292
- app.component("WListFilter", _sfc_main$13);
293
- app.component("WListHeader", _sfc_main$14);
294
- app.component("WListHeaderItem", _sfc_main$15);
295
- app.component("WMenuItem", _sfc_main$16);
296
- app.component("WModal", _sfc_main$17);
297
- app.component("WModalExport", _sfc_main$18);
298
- app.component("WModalExportSimple", _sfc_main$19);
299
- app.component("WModalImport", _sfc_main$1a);
300
- app.component("WModalStepper", _sfc_main$1b);
301
- app.component("WModalWrapper", _sfc_main$1c);
302
- app.component("WNavBar", _sfc_main$1d);
303
- app.component("WNavItem", _sfc_main$1e);
304
- app.component("WNavItemExpand", _sfc_main$1f);
225
+ app.component("WBottomSheet", _sfc_main$2);
226
+ app.component("WButton", _sfc_main$3);
227
+ app.component("WButtonAction", _sfc_main$4);
228
+ app.component("WButtonCopy", _sfc_main$5);
229
+ app.component("WButtonDropdown", _sfc_main$6);
230
+ app.component("WButtonGroup", _sfc_main$7);
231
+ app.component("WButtonInput", _sfc_main$8);
232
+ app.component("WButtonMore", _sfc_main$9);
233
+ app.component("WButtonMoreItem", _sfc_main$a);
234
+ app.component("WButtonSelection", _sfc_main$b);
235
+ app.component("WButtonSelectionAction", _sfc_main$c);
236
+ app.component("WButtonSelectionState", _sfc_main$d);
237
+ app.component("WButtonTab", _sfc_main$e);
238
+ app.component("WButtonUnselect", _sfc_main$f);
239
+ app.component("WChartLine", _sfc_main$g);
240
+ app.component("WChartLinear", _sfc_main$h);
241
+ app.component("WCheckbox", _sfc_main$i);
242
+ app.component("WCheckboxGroup", _sfc_main$j);
243
+ app.component("WCheckboxGroupMultiple", _sfc_main$k);
244
+ app.component("WChip", _sfc_main$l);
245
+ app.component("WClickOutside", _sfc_main$m);
246
+ app.component("WCounter", _sfc_main$n);
247
+ app.component("WDatePicker", _sfc_main$o);
248
+ app.component("WDatePickerSingle", _sfc_main$p);
249
+ app.component("WDismissable", _sfc_main$q);
250
+ app.component("WDragContainer", _sfc_main$r);
251
+ app.component("WDropdown", _sfc_main$s);
252
+ app.component("WDropdownMenu", _sfc_main$t);
253
+ app.component("WEmptyComponent", _sfc_main$u);
254
+ app.component("WExpansion", _sfc_main$v);
255
+ app.component("WExpansionItem", _sfc_main$w);
256
+ app.component("WFieldWrapper", _sfc_main$x);
257
+ app.component("WFilePicker", _sfc_main$y);
258
+ app.component("WFilterWrapper", _sfc_main$z);
259
+ app.component("WForm", _sfc_main$A);
260
+ app.component("WFormValidator", _sfc_main$B);
261
+ app.component("WFormAsyncButtonGroup", _sfc_main$C);
262
+ app.component("WFormAsyncCheckboxGroup", _sfc_main$D);
263
+ app.component("WFormAsyncInput", _sfc_main$E);
264
+ app.component("WFormAsyncSelect", _sfc_main$F);
265
+ app.component("WFormAsyncSelectInfiniteSingle", _sfc_main$G);
266
+ app.component("WFormAsyncSelectSingle", _sfc_main$H);
267
+ app.component("WFormAsyncSelectStringified", _sfc_main$I);
268
+ app.component("WFormAsyncToggle", _sfc_main$J);
269
+ app.component("WHeaderBar", _sfc_main$K);
270
+ app.component("WHeaderBarSearch", _sfc_main$L);
271
+ app.component("WImageViewer", _sfc_main$M);
272
+ app.component("WInfiniteList", _sfc_main$N);
273
+ app.component("WInfiniteListScrollingElement", _sfc_main$O);
274
+ app.component("WInfiniteListWrapper", _sfc_main$P);
275
+ app.component("WInfoCard", _sfc_main$Q);
276
+ app.component("WInfoCardNegative", _sfc_main$R);
277
+ app.component("WInput", _sfc_main$S);
278
+ app.component("WInputAsync", _sfc_main$T);
279
+ app.component("WInputDate", _sfc_main$U);
280
+ app.component("WInputOptions", _sfc_main$V);
281
+ app.component("WInputSuggest", _sfc_main$W);
282
+ app.component("WInputToolbarButton", _sfc_main$X);
283
+ app.component("WLink", _sfc_main$Y);
284
+ app.component("WLinkArrow", _sfc_main$Z);
285
+ app.component("WList", _sfc_main$_);
286
+ app.component("WListCard", _sfc_main$$);
287
+ app.component("WListCardField", _sfc_main$10);
288
+ app.component("WListFilter", _sfc_main$11);
289
+ app.component("WListHeader", _sfc_main$12);
290
+ app.component("WListHeaderItem", _sfc_main$13);
291
+ app.component("WMenuItem", _sfc_main$14);
292
+ app.component("WModal", _sfc_main$15);
293
+ app.component("WModalExport", _sfc_main$16);
294
+ app.component("WModalExportSimple", _sfc_main$17);
295
+ app.component("WModalImport", _sfc_main$18);
296
+ app.component("WModalStepper", _sfc_main$19);
297
+ app.component("WModalWrapper", _sfc_main$1a);
298
+ app.component("WNavBar", _sfc_main$1b);
299
+ app.component("WNavItem", _sfc_main$1c);
300
+ app.component("WNavItemExpand", _sfc_main$1d);
305
301
  app.component("WNavItemTransition", WNavItemTransition);
306
- app.component("WNotify", _sfc_main$1g);
307
- app.component("WNumberFormatter", _sfc_main$1h);
308
- app.component("WPage", _sfc_main$1i);
309
- app.component("WPageBreadcrumbs", _sfc_main$1j);
302
+ app.component("WNotify", _sfc_main$1e);
303
+ app.component("WNumberFormatter", _sfc_main$1f);
304
+ app.component("WPage", _sfc_main$1g);
305
+ app.component("WPageBreadcrumbs", _sfc_main$1h);
310
306
  app.component("WPageNumerator", WPageNumerator);
311
- app.component("WPageTitle", _sfc_main$1k);
312
- app.component("WProgress", _sfc_main$1l);
313
- app.component("WProgressStriped", _sfc_main$1m);
314
- app.component("WRouterLink", _sfc_main$1n);
315
- app.component("WSelect", _sfc_main$1o);
316
- app.component("WSelectAsync", _sfc_main$1p);
317
- app.component("WSelectAsyncList", _sfc_main$1q);
318
- app.component("WSelectAsyncSingle", _sfc_main$1r);
319
- app.component("WSelectSingle", _sfc_main$1s);
320
- app.component("WSelectStringified", _sfc_main$1t);
321
- app.component("WShine", _sfc_main$1u);
322
- app.component("WShineEffect", _sfc_main$1v);
323
- app.component("WSkeleton", _sfc_main$1w);
307
+ app.component("WPageTitle", _sfc_main$1i);
308
+ app.component("WProgress", _sfc_main$1j);
309
+ app.component("WProgressStriped", _sfc_main$1k);
310
+ app.component("WRouterLink", _sfc_main$1l);
311
+ app.component("WSelect", _sfc_main$1m);
312
+ app.component("WSelectAsync", _sfc_main$1n);
313
+ app.component("WSelectAsyncList", _sfc_main$1o);
314
+ app.component("WSelectAsyncSingle", _sfc_main$1p);
315
+ app.component("WSelectSingle", _sfc_main$1q);
316
+ app.component("WSelectStringified", _sfc_main$1r);
317
+ app.component("WShine", _sfc_main$1s);
318
+ app.component("WShineEffect", _sfc_main$1t);
319
+ app.component("WSkeleton", _sfc_main$1u);
324
320
  app.component("WSpinner", WSpinner);
325
- app.component("WStatusIcon", _sfc_main$1x);
326
- app.component("WTabs", _sfc_main$1y);
327
- app.component("WTabsColumns", _sfc_main$1z);
328
- app.component("WTabsItem", _sfc_main$1A);
329
- app.component("WToggle", _sfc_main$1B);
330
- app.component("WToggleTheme", _sfc_main$1C);
331
- app.component("WTooltip", _sfc_main$1D);
332
- app.component("WTooltipContainer", _sfc_main$1E);
321
+ app.component("WStatusIcon", _sfc_main$1v);
322
+ app.component("WTabs", _sfc_main$1w);
323
+ app.component("WTabsColumns", _sfc_main$1x);
324
+ app.component("WTabsItem", _sfc_main$1y);
325
+ app.component("WToggle", _sfc_main$1z);
326
+ app.component("WToggleTheme", _sfc_main$1A);
327
+ app.component("WTooltip", _sfc_main$1B);
328
+ app.component("WTooltipContainer", _sfc_main$1C);
333
329
  }
334
330
  };
335
331
 
336
- export { _sfc_main as WActionsBar, _sfc_main$1 as WActionsBarFilter, _sfc_main$4 as WBottomSheet, _sfc_main$5 as WButton, _sfc_main$6 as WButtonAction, _sfc_main$7 as WButtonCopy, _sfc_main$8 as WButtonDropdown, _sfc_main$9 as WButtonGroup, _sfc_main$a as WButtonInput, _sfc_main$b as WButtonMore, _sfc_main$c as WButtonMoreItem, _sfc_main$d as WButtonSelection, _sfc_main$e as WButtonSelectionAction, _sfc_main$f as WButtonSelectionState, _sfc_main$g as WButtonTab, _sfc_main$h as WButtonUnselect, _sfc_main$i as WChartLine, _sfc_main$j as WChartLinear, _sfc_main$k as WCheckbox, _sfc_main$l as WCheckboxGroup, _sfc_main$m as WCheckboxGroupMultiple, _sfc_main$n as WChip, _sfc_main$o as WClickOutside, _sfc_main$p as WCounter, _sfc_main$q as WDatePicker, _sfc_main$r as WDatePickerSingle, _sfc_main$s as WDismissable, _sfc_main$t as WDragContainer, _sfc_main$u as WDropdown, _sfc_main$v as WDropdownMenu, _sfc_main$w as WEmptyComponent, _sfc_main$x as WExpansion, _sfc_main$y as WExpansionItem, _sfc_main$z as WFieldWrapper, _sfc_main$A as WFilePicker, _sfc_main$B as WFilterWrapper, _sfc_main$C as WForm, _sfc_main$E as WFormAsyncButtonGroup, _sfc_main$F as WFormAsyncCheckboxGroup, _sfc_main$G as WFormAsyncInput, _sfc_main$H as WFormAsyncSelect, _sfc_main$I as WFormAsyncSelectInfiniteSingle, _sfc_main$J as WFormAsyncSelectSingle, _sfc_main$K as WFormAsyncSelectStringified, _sfc_main$L as WFormAsyncToggle, _sfc_main$D as WFormValidator, _sfc_main$M as WHeaderBar, _sfc_main$N as WHeaderBarSearch, _sfc_main$O as WImageViewer, _sfc_main$P as WInfiniteList, _sfc_main$Q as WInfiniteListScrollingElement, _sfc_main$R as WInfiniteListWrapper, _sfc_main$S as WInfoCard, _sfc_main$T as WInfoCardNegative, _sfc_main$U as WInput, _sfc_main$V as WInputAsync, _sfc_main$W as WInputDate, _sfc_main$X as WInputOptions, _sfc_main$Y as WInputSuggest, _sfc_main$Z as WInputToolbarButton, _sfc_main$_ as WLink, _sfc_main$$ as WLinkArrow, _sfc_main$10 as WList, _sfc_main$11 as WListCard, _sfc_main$12 as WListCardField, _sfc_main$13 as WListFilter, _sfc_main$14 as WListHeader, _sfc_main$15 as WListHeaderItem, _sfc_main$16 as WMenuItem, _sfc_main$17 as WModal, _sfc_main$18 as WModalExport, _sfc_main$19 as WModalExportSimple, _sfc_main$1a as WModalImport, _sfc_main$1b as WModalStepper, _sfc_main$1c as WModalWrapper, _sfc_main$1d as WNavBar, _sfc_main$1e as WNavItem, _sfc_main$1f as WNavItemExpand, WNavItemTransition, _sfc_main$1g as WNotify, _sfc_main$1h as WNumberFormatter, _sfc_main$1i as WPage, _sfc_main$1j as WPageBreadcrumbs, WPageNumerator, _sfc_main$1k as WPageTitle, _sfc_main$1l as WProgress, _sfc_main$1m as WProgressStriped, _sfc_main$2 as WRouteAuth, _sfc_main$3 as WRouteAuthNo, _sfc_main$1n as WRouterLink, _sfc_main$1o as WSelect, _sfc_main$1p as WSelectAsync, _sfc_main$1q as WSelectAsyncList, _sfc_main$1r as WSelectAsyncSingle, _sfc_main$1s as WSelectSingle, _sfc_main$1t as WSelectStringified, _sfc_main$1u as WShine, _sfc_main$1v as WShineEffect, _sfc_main$1w as WSkeleton, WSpinner, _sfc_main$1x as WStatusIcon, _sfc_main$1y as WTabs, _sfc_main$1z as WTabsColumns, _sfc_main$1A as WTabsItem, _sfc_main$1B as WToggle, _sfc_main$1C as WToggleTheme, _sfc_main$1D as WTooltip, _sfc_main$1E as WTooltipContainer, main as default };
332
+ export { _sfc_main as WActionsBar, _sfc_main$1 as WActionsBarFilter, _sfc_main$2 as WBottomSheet, _sfc_main$3 as WButton, _sfc_main$4 as WButtonAction, _sfc_main$5 as WButtonCopy, _sfc_main$6 as WButtonDropdown, _sfc_main$7 as WButtonGroup, _sfc_main$8 as WButtonInput, _sfc_main$9 as WButtonMore, _sfc_main$a as WButtonMoreItem, _sfc_main$b as WButtonSelection, _sfc_main$c as WButtonSelectionAction, _sfc_main$d as WButtonSelectionState, _sfc_main$e as WButtonTab, _sfc_main$f as WButtonUnselect, _sfc_main$g as WChartLine, _sfc_main$h as WChartLinear, _sfc_main$i as WCheckbox, _sfc_main$j as WCheckboxGroup, _sfc_main$k as WCheckboxGroupMultiple, _sfc_main$l as WChip, _sfc_main$m as WClickOutside, _sfc_main$n as WCounter, _sfc_main$o as WDatePicker, _sfc_main$p as WDatePickerSingle, _sfc_main$q as WDismissable, _sfc_main$r as WDragContainer, _sfc_main$s as WDropdown, _sfc_main$t as WDropdownMenu, _sfc_main$u as WEmptyComponent, _sfc_main$v as WExpansion, _sfc_main$w as WExpansionItem, _sfc_main$x as WFieldWrapper, _sfc_main$y as WFilePicker, _sfc_main$z as WFilterWrapper, _sfc_main$A as WForm, _sfc_main$C as WFormAsyncButtonGroup, _sfc_main$D as WFormAsyncCheckboxGroup, _sfc_main$E as WFormAsyncInput, _sfc_main$F as WFormAsyncSelect, _sfc_main$G as WFormAsyncSelectInfiniteSingle, _sfc_main$H as WFormAsyncSelectSingle, _sfc_main$I as WFormAsyncSelectStringified, _sfc_main$J as WFormAsyncToggle, _sfc_main$B as WFormValidator, _sfc_main$K as WHeaderBar, _sfc_main$L as WHeaderBarSearch, _sfc_main$M as WImageViewer, _sfc_main$N as WInfiniteList, _sfc_main$O as WInfiniteListScrollingElement, _sfc_main$P as WInfiniteListWrapper, _sfc_main$Q as WInfoCard, _sfc_main$R as WInfoCardNegative, _sfc_main$S as WInput, _sfc_main$T as WInputAsync, _sfc_main$U as WInputDate, _sfc_main$V as WInputOptions, _sfc_main$W as WInputSuggest, _sfc_main$X as WInputToolbarButton, _sfc_main$Y as WLink, _sfc_main$Z as WLinkArrow, _sfc_main$_ as WList, _sfc_main$$ as WListCard, _sfc_main$10 as WListCardField, _sfc_main$11 as WListFilter, _sfc_main$12 as WListHeader, _sfc_main$13 as WListHeaderItem, _sfc_main$14 as WMenuItem, _sfc_main$15 as WModal, _sfc_main$16 as WModalExport, _sfc_main$17 as WModalExportSimple, _sfc_main$18 as WModalImport, _sfc_main$19 as WModalStepper, _sfc_main$1a as WModalWrapper, _sfc_main$1b as WNavBar, _sfc_main$1c as WNavItem, _sfc_main$1d as WNavItemExpand, WNavItemTransition, _sfc_main$1e as WNotify, _sfc_main$1f as WNumberFormatter, _sfc_main$1g as WPage, _sfc_main$1h as WPageBreadcrumbs, WPageNumerator, _sfc_main$1i as WPageTitle, _sfc_main$1j as WProgress, _sfc_main$1k as WProgressStriped, _sfc_main$1l as WRouterLink, _sfc_main$1m as WSelect, _sfc_main$1n as WSelectAsync, _sfc_main$1o as WSelectAsyncList, _sfc_main$1p as WSelectAsyncSingle, _sfc_main$1q as WSelectSingle, _sfc_main$1r as WSelectStringified, _sfc_main$1s as WShine, _sfc_main$1t as WShineEffect, _sfc_main$1u as WSkeleton, WSpinner, _sfc_main$1v as WStatusIcon, _sfc_main$1w as WTabs, _sfc_main$1x as WTabsColumns, _sfc_main$1y as WTabsItem, _sfc_main$1z as WToggle, _sfc_main$1A as WToggleTheme, _sfc_main$1B as WTooltip, _sfc_main$1C as WTooltipContainer, main as default };
@@ -1,4 +1,5 @@
1
1
  import { LocationQuery } from 'vue-router';
2
+ import { Ref } from 'vue';
2
3
  export { updateExpirationDate } from '../components/Auth/utils/utils';
3
4
  export declare const getURLParams: (params: RequestConfig["params"] | LocationQuery) => string;
4
5
  type ApiUrl = `/${string}/`;
@@ -13,7 +14,8 @@ export interface ApiClient {
13
14
  export declare class ApiClientInstance implements ApiClient {
14
15
  private config;
15
16
  refreshPromise: Promise<void> | null;
16
- isAuthFailed: import('vue').Ref<boolean, boolean>;
17
+ private readonly auth;
18
+ readonly useAuth: () => Ref<boolean>;
17
19
  constructor(config: {
18
20
  tokenGetter?: () => string | null;
19
21
  tokenRefresh?: () => Promise<void>;
@@ -21,11 +23,7 @@ export declare class ApiClientInstance implements ApiClient {
21
23
  onFailure?: (response: Response) => void;
22
24
  credentials?: RequestCredentials;
23
25
  baseUrl?: BaseUrl;
24
- routeNameAuth: string;
25
- routeNameAuthNo: string;
26
26
  });
27
- get routeNameAuth(): string;
28
- get routeNameAuthNo(): string;
29
27
  setOnFailure(value: (response: Response) => void): void;
30
28
  logout(): void;
31
29
  private retry;
@@ -37,91 +35,6 @@ export declare class ApiClientInstance implements ApiClient {
37
35
  post<R, D extends RequestData = RequestData>(url: ApiUrl, data?: Required<RequestConfig<D>>['data'], config?: Omit<RequestConfig<D>, 'data'>): Promise<RequestResponse<R, D>>;
38
36
  patch<R, D extends RequestData = RequestData>(url: ApiUrl, data?: Required<RequestConfig<D>>['data'], config?: Omit<RequestConfig<D>, 'data'>): Promise<RequestResponse<R, D>>;
39
37
  delete<R>(url: ApiUrl, config?: RequestConfig<never>): Promise<RequestResponse<R, {}>>;
40
- getRouteAuth(this: ApiClientInstance): {
41
- path: string;
42
- props: {
43
- apiClientInstance: ApiClientInstance;
44
- };
45
- component: {
46
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
47
- apiClientInstance: ApiClientInstance;
48
- }> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
49
- P: {};
50
- B: {};
51
- D: {};
52
- C: {};
53
- M: {};
54
- Defaults: {};
55
- }, Readonly<{
56
- apiClientInstance: ApiClientInstance;
57
- }> & Readonly<{}>, {}, {}, {}, {}, {}>;
58
- __isFragment?: never;
59
- __isTeleport?: never;
60
- __isSuspense?: never;
61
- } & import('vue').ComponentOptionsBase<Readonly<{
62
- apiClientInstance: ApiClientInstance;
63
- }> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
64
- $slots: {
65
- default?(_: {}): any;
66
- };
67
- });
68
- beforeEnter: (this: undefined, to: import('vue-router').RouteLocationNormalizedGeneric) => Promise<void | {
69
- name: string;
70
- query: {
71
- hash: string;
72
- } | undefined;
73
- }>;
74
- meta: {
75
- noAuth: boolean;
76
- };
77
- };
78
- getRouteAuthNo(this: ApiClientInstance): {
79
- path: string;
80
- props: {
81
- apiClientInstance: ApiClientInstance;
82
- };
83
- component: {
84
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
85
- apiClientInstance: ApiClientInstance;
86
- }> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
87
- P: {};
88
- B: {};
89
- D: {};
90
- C: {};
91
- M: {};
92
- Defaults: {};
93
- }, Readonly<{
94
- apiClientInstance: ApiClientInstance;
95
- }> & Readonly<{}>, {}, {}, {}, {}, {}>;
96
- __isFragment?: never;
97
- __isTeleport?: never;
98
- __isSuspense?: never;
99
- } & import('vue').ComponentOptionsBase<Readonly<{
100
- apiClientInstance: ApiClientInstance;
101
- }> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
102
- $slots: {
103
- default?(_: {}): any;
104
- };
105
- });
106
- beforeEnter: (this: undefined, to: import('vue-router').RouteLocationNormalizedGeneric, from: import('vue-router').RouteLocationNormalizedLoadedGeneric) => string | {
107
- query: {
108
- hash: string;
109
- };
110
- name: import('vue-router').RouteRecordNameGeneric;
111
- params: import('vue-router').RouteParamsGeneric;
112
- matched: import('vue-router').RouteRecordNormalized[];
113
- fullPath: string;
114
- hash: string;
115
- redirectedFrom: import('vue-router').RouteLocation | undefined;
116
- meta: import('vue-router').RouteMeta;
117
- path: string;
118
- } | {
119
- name: string;
120
- } | undefined;
121
- meta: {
122
- noAuth: boolean;
123
- };
124
- };
125
38
  addInstance(baseUrl: BaseUrl): ApiClient;
126
39
  }
127
40
  //# sourceMappingURL=ApiClient.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ApiClient.d.ts","sourceRoot":"","sources":["../../../src/utils/ApiClient.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,aAAa,EAAiB,MAAM,YAAY,CAAA;AAW7D,OAAO,EAAC,oBAAoB,EAAC,MAAM,+BAA+B,CAAA;AAElE,eAAO,MAAM,YAAY,GAAI,QAAQ,aAAa,CAAC,QAAQ,CAAC,GAAG,aAAa,KAAG,MA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OAAO,CAAC,EAAE,OAAO,CAAA;KAClB;IAQD,YAAY,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE,QAAQ,KAAK,IAAI;IAIhD,MAAM;YAMQ,KAAK;YAYL,OAAO;IAqDrB,SAAS;IAWT,OAAO,CAAC,KAAK;IAiGb,IAAW,OAAO,iBAEjB;IAED,GAAG,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,aAAa,CAAC,KAAK,CAAC;IAIjD,IAAI,CAAC,CAAC,EAAE,CAAC,SAAS,WAAW,GAAG,WAAW,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,EAAE,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC;IAI5I,KAAK,CAAC,CAAC,EAAE,CAAC,SAAS,WAAW,GAAG,WAAW,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,EAAE,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC;IAI7I,MAAM,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,aAAa,CAAC,KAAK,CAAC;IAIpD,WAAW,CAAC,OAAO,EAAE,OAAO,GAAG,SAAS;CAqBzC"}
@@ -1,6 +1,4 @@
1
1
  import { ref } from 'vue';
2
- import _sfc_main from '../components/Auth/WRouteAuth.vue.js';
3
- import _sfc_main$1 from '../components/Auth/WRouteAuthNo.vue.js';
4
2
  import { removeExpirationDate, getLastRefreshPromise, setRefreshTimestamp, removeRefreshTimestamp, checkExpirationDate, setExpirationDate } from '../components/Auth/utils/utils.js';
5
3
  export { updateExpirationDate } from '../components/Auth/utils/utils.js';
6
4
  import { encodeQueryParams, ApiError, ApiErrorCancel } from './api.js';
@@ -18,20 +16,20 @@ const HEADERS_FORMDATA = {
18
16
  class ApiClientInstance {
19
17
  constructor(config) {
20
18
  this.config = config;
19
+ if (typeof window !== "undefined") window.addEventListener("storage", this.checkAuth);
20
+ this.useAuth = () => {
21
+ return this.auth;
22
+ };
21
23
  }
22
24
  refreshPromise = null;
23
- isAuthFailed = ref(false);
24
- get routeNameAuth() {
25
- return this.config.routeNameAuth;
26
- }
27
- get routeNameAuthNo() {
28
- return this.config.routeNameAuthNo;
29
- }
25
+ auth = ref(true);
26
+ useAuth;
30
27
  setOnFailure(value) {
31
28
  this.config.onFailure = value;
32
29
  }
33
30
  logout() {
34
31
  removeExpirationDate();
32
+ this.auth.value = false;
35
33
  }
36
34
  async retry(request) {
37
35
  const newRequest = request.clone();
@@ -48,14 +46,14 @@ class ApiClientInstance {
48
46
  if (refreshTimeoutPromise) {
49
47
  this.refreshPromise = refreshTimeoutPromise.then(() => {
50
48
  this.refreshPromise = null;
51
- this.isAuthFailed.value = false;
49
+ this.auth.value = true;
52
50
  }).catch(async () => {
53
51
  this.refreshPromise = null;
54
52
  const check = this.checkAuth();
55
53
  if (!check) {
56
54
  if (this.refreshPromise) return this.refreshPromise;
57
55
  if (check === null) {
58
- this.isAuthFailed.value = true;
56
+ this.auth.value = false;
59
57
  return Promise.reject();
60
58
  }
61
59
  return this.refresh();
@@ -66,9 +64,10 @@ class ApiClientInstance {
66
64
  const promise = this.config.tokenRefresh ? this.config.tokenRefresh() : this.fetch("GET", this.config.refreshUrl, { updateToken: true });
67
65
  this.refreshPromise = promise.then(() => {
68
66
  this.refreshPromise = null;
67
+ this.auth.value = true;
69
68
  }).catch((error) => {
70
69
  this.refreshPromise = null;
71
- this.isAuthFailed.value = true;
70
+ this.auth.value = false;
72
71
  return Promise.reject(error);
73
72
  }).finally(removeRefreshTimestamp);
74
73
  }
@@ -79,7 +78,7 @@ class ApiClientInstance {
79
78
  let result;
80
79
  if (this.config.tokenGetter && !this.config.tokenRefresh) result = !!this.config.tokenGetter?.();
81
80
  else result = checkExpirationDate();
82
- if (result) this.isAuthFailed.value = false;
81
+ if (result !== false) this.auth.value = result !== null;
83
82
  return result;
84
83
  }
85
84
  fetch(method, url, config, baseUrl) {
@@ -91,7 +90,7 @@ class ApiClientInstance {
91
90
  if (!check) {
92
91
  if (check !== null && (this.config.refreshUrl || this.config.tokenRefresh)) await this.refresh();
93
92
  if (!this.checkAuth()) {
94
- this.isAuthFailed.value = true;
93
+ this.auth.value = false;
95
94
  reject();
96
95
  return;
97
96
  }
@@ -100,6 +99,7 @@ class ApiClientInstance {
100
99
  const token = this.config.tokenGetter();
101
100
  if (token) headers.append("Authorization", "Bearer " + token);
102
101
  else {
102
+ this.auth.value = false;
103
103
  reject();
104
104
  return;
105
105
  }
@@ -132,7 +132,7 @@ class ApiClientInstance {
132
132
  } else {
133
133
  if (response.status === 401) {
134
134
  if (this.config.refreshUrl || this.config.tokenRefresh) return this.refresh().then(() => this.retry(request));
135
- this.isAuthFailed.value = true;
135
+ this.auth.value = false;
136
136
  }
137
137
  this.config.onFailure?.(response);
138
138
  reject(new ApiError({
@@ -172,47 +172,6 @@ class ApiClientInstance {
172
172
  delete(url, config) {
173
173
  return this.fetch("DELETE", url, config);
174
174
  }
175
- getRouteAuth() {
176
- return {
177
- path: "",
178
- props: { apiClientInstance: this },
179
- component: _sfc_main,
180
- beforeEnter: async (to) => {
181
- if (to.meta.noAuth) return;
182
- if (this.refreshPromise) await this.refreshPromise;
183
- if (!this.checkAuth()) {
184
- if (this.config.refreshUrl || this.config.tokenRefresh) return this.refresh().catch(() => ({
185
- name: this.routeNameAuthNo,
186
- query: to.fullPath !== "/" ? { hash: to.fullPath } : void 0
187
- }));
188
- return { name: this.routeNameAuthNo, query: to.fullPath !== "/" ? { hash: to.fullPath } : void 0 };
189
- }
190
- },
191
- meta: {
192
- noAuth: false
193
- }
194
- };
195
- }
196
- getRouteAuthNo() {
197
- return {
198
- path: "",
199
- props: { apiClientInstance: this },
200
- component: _sfc_main$1,
201
- beforeEnter: (to, from) => {
202
- if (!this.checkAuth()) {
203
- if (!to.query.hash && !from.meta.noAuth && from.fullPath !== "/") {
204
- return { ...to, query: { hash: from.fullPath } };
205
- }
206
- return;
207
- }
208
- if (typeof to.query.hash === "string") return to.query.hash;
209
- else return { name: this.routeNameAuth };
210
- },
211
- meta: {
212
- noAuth: true
213
- }
214
- };
215
- }
216
175
  addInstance(baseUrl) {
217
176
  return {
218
177
  baseUrl,
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "type": "git",
5
5
  "url": "https://github.com/rsmple/eco-vue-js.git"
6
6
  },
7
- "version": "0.11.33",
7
+ "version": "0.11.35",
8
8
  "dependencies": {
9
9
  "@stylistic/eslint-plugin": "5.2.3",
10
10
  "@tanstack/eslint-plugin-query": "5.83.1",
@@ -123,12 +123,6 @@
123
123
  "./dist/components/ActionsBar/WActionsBarFilter.vue": {
124
124
  "import": "./dist/components/ActionsBar/WActionsBarFilter.vue.js"
125
125
  },
126
- "./dist/components/Auth/WRouteAuth.vue": {
127
- "import": "./dist/components/Auth/WRouteAuth.vue.js"
128
- },
129
- "./dist/components/Auth/WRouteAuthNo.vue": {
130
- "import": "./dist/components/Auth/WRouteAuthNo.vue.js"
131
- },
132
126
  "./dist/components/BottomSheet/WBottomSheet.vue": {
133
127
  "import": "./dist/components/BottomSheet/WBottomSheet.vue.js"
134
128
  },
@@ -1,22 +0,0 @@
1
- import { ApiClientInstance } from '../../utils/ApiClient';
2
- type __VLS_Props = {
3
- apiClientInstance: ApiClientInstance;
4
- };
5
- declare function __VLS_template(): {
6
- attrs: Partial<{}>;
7
- slots: {
8
- default?(_: {}): any;
9
- };
10
- refs: {};
11
- rootEl: any;
12
- };
13
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
15
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
16
- export default _default;
17
- type __VLS_WithTemplateSlots<T, S> = T & {
18
- new (): {
19
- $slots: S;
20
- };
21
- };
22
- //# sourceMappingURL=WRouteAuth.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WRouteAuth.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Auth/WRouteAuth.vue"],"names":[],"mappings":"AAQA;AAgEA,OAAO,EAAC,KAAK,iBAAiB,EAAC,MAAM,mBAAmB,CAAA;AAExD,KAAK,WAAW,GAAG;IACjB,iBAAiB,EAAE,iBAAiB,CAAA;CACrC,CAAC;AAyCF,iBAAS,cAAc;WA8BT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,kSAMnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,44 +0,0 @@
1
- import { defineComponent, resolveComponent, watch, onBeforeUnmount, createBlock, renderSlot, unref, openBlock, resolveDynamicComponent } from 'vue';
2
- import { useOptionalRouter, useOptionalRoute } from '../../composables/useOptionalRouter.js';
3
- import '@tanstack/vue-query';
4
-
5
- const _sfc_main = /* @__PURE__ */ defineComponent({
6
- __name: "WRouteAuth",
7
- props: {
8
- apiClientInstance: {}
9
- },
10
- setup(__props) {
11
- const props = __props;
12
- let RouterViewComponent = null;
13
- try {
14
- RouterViewComponent = resolveComponent("RouterView");
15
- } catch {
16
- RouterViewComponent = null;
17
- }
18
- const router = useOptionalRouter();
19
- const route = useOptionalRoute();
20
- const redirect = () => {
21
- router.push({ name: props.apiClientInstance.routeNameAuthNo, query: route.fullPath !== "/" ? { hash: route.fullPath } : void 0 });
22
- };
23
- const checkAuth = () => {
24
- if (props.apiClientInstance.checkAuth()) return;
25
- {
26
- if (props.apiClientInstance.refreshPromise) {
27
- redirect();
28
- }
29
- }
30
- };
31
- watch(() => props.apiClientInstance.isAuthFailed.value, (value) => {
32
- if (value) redirect();
33
- });
34
- window.addEventListener("storage", checkAuth);
35
- onBeforeUnmount(() => {
36
- window.removeEventListener("storage", checkAuth);
37
- });
38
- return (_ctx, _cache) => {
39
- return unref(RouterViewComponent) ? (openBlock(), createBlock(resolveDynamicComponent(unref(RouterViewComponent)), { key: 0 })) : renderSlot(_ctx.$slots, "default", { key: 1 });
40
- };
41
- }
42
- });
43
-
44
- export { _sfc_main as default };
@@ -1,5 +0,0 @@
1
- import _sfc_main from './WRouteAuth.vue.js';
2
-
3
-
4
-
5
- export { _sfc_main as default };
@@ -1,22 +0,0 @@
1
- import { ApiClientInstance } from '../../utils/ApiClient';
2
- type __VLS_Props = {
3
- apiClientInstance: ApiClientInstance;
4
- };
5
- declare function __VLS_template(): {
6
- attrs: Partial<{}>;
7
- slots: {
8
- default?(_: {}): any;
9
- };
10
- refs: {};
11
- rootEl: any;
12
- };
13
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
15
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
16
- export default _default;
17
- type __VLS_WithTemplateSlots<T, S> = T & {
18
- new (): {
19
- $slots: S;
20
- };
21
- };
22
- //# sourceMappingURL=WRouteAuthNo.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WRouteAuthNo.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Auth/WRouteAuthNo.vue"],"names":[],"mappings":"AAQA;AA2EA,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,mBAAmB,CAAA;AAexD,KAAK,WAAW,GAAG;IACjB,iBAAiB,EAAE,iBAAiB,CAAA;CACrC,CAAC;AAiDF,iBAAS,cAAc;WA8BT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,kSAMnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,56 +0,0 @@
1
- import { defineComponent, resolveComponent, ref, watch, onBeforeMount, onBeforeUnmount, createBlock, renderSlot, unref, openBlock, resolveDynamicComponent } from 'vue';
2
- import { useQueryClient } from '@tanstack/vue-query';
3
- import { useOptionalRouter, useOptionalRoute } from '../../composables/useOptionalRouter.js';
4
-
5
- const _sfc_main = /* @__PURE__ */ defineComponent({
6
- __name: "WRouteAuthNo",
7
- props: {
8
- apiClientInstance: {}
9
- },
10
- setup(__props) {
11
- let RouterViewComponent = null;
12
- try {
13
- RouterViewComponent = resolveComponent("RouterView");
14
- } catch {
15
- RouterViewComponent = null;
16
- }
17
- const props = __props;
18
- const router = useOptionalRouter();
19
- const route = useOptionalRoute();
20
- const queryClient = useQueryClient();
21
- const queryEnabled = ref(false);
22
- const redirect = async () => {
23
- if (typeof route.query.hash === "string" && route.query.hash && route.query.hash !== "/") {
24
- const resolved = router.resolve(route.query.hash);
25
- if (!resolved.matched.length) {
26
- await router.replace({ name: props.apiClientInstance.routeNameAuth });
27
- } else {
28
- await router.replace(resolved);
29
- }
30
- } else {
31
- await router.replace({ name: props.apiClientInstance.routeNameAuth });
32
- }
33
- };
34
- const checkLogin = () => {
35
- if (!props.apiClientInstance.checkAuth()) return;
36
- redirect();
37
- };
38
- watch(() => props.apiClientInstance.isAuthFailed.value, (value) => {
39
- if (value) return;
40
- redirect();
41
- });
42
- onBeforeMount(() => {
43
- window.addEventListener("storage", checkLogin);
44
- queryClient.clear();
45
- queryEnabled.value = true;
46
- });
47
- onBeforeUnmount(() => {
48
- window.removeEventListener("storage", checkLogin);
49
- });
50
- return (_ctx, _cache) => {
51
- return unref(RouterViewComponent) ? (openBlock(), createBlock(resolveDynamicComponent(unref(RouterViewComponent)), { key: 0 })) : renderSlot(_ctx.$slots, "default", { key: 1 });
52
- };
53
- }
54
- });
55
-
56
- export { _sfc_main as default };
@@ -1,5 +0,0 @@
1
- import _sfc_main from './WRouteAuthNo.vue.js';
2
-
3
-
4
-
5
- export { _sfc_main as default };