eco-vue-js 0.11.69 → 0.11.70

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":"WButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/WButton.vue"],"names":[],"mappings":"AA+EA;AAqLA,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,SAAS,CAAA;AASxC,OAAO,EAAC,YAAY,EAA4F,MAAM,sBAAsB,CAAA;AAwG5I,iBAAS,cAAc;WAmLT,OAAO,IAA6B;;yBAZrB,GAAG;yBACF,GAAG;;;;;;EAgBhC;AAsBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;OASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"WButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/WButton.vue"],"names":[],"mappings":"AA+EA;AAsLA,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,SAAS,CAAA;AASxC,OAAO,EAAC,YAAY,EAAgI,MAAM,sBAAsB,CAAA;AAyGhL,iBAAS,cAAc;WAmLT,OAAO,IAA6B;;yBAZrB,GAAG;yBACF,GAAG;;;;;;EAgBhC;AAuBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;OASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -3,7 +3,7 @@ import _sfc_main$2 from '../RouterLink/WRouterLink.vue.js';
3
3
  import _sfc_main$4 from '../Shine/WShine.vue.js';
4
4
  import WSpinner from '../Spinner/WSpinner.vue.js';
5
5
  import _sfc_main$3 from '../Tooltip/WTooltip.vue.js';
6
- import { SemanticType, useSemanticTypeBorderMap, useSemanticTypeBackgroundMap, useSemanticTypeBorderComponentMap } from '../../utils/SemanticType.js';
6
+ import { SemanticType, useSemanticTypeBorderMap, useSemanticTypeButtonBackgroundMap, useSemanticTypeBackgroundMap, useSemanticTypeBorderComponentMap } from '../../utils/SemanticType.js';
7
7
  import { useComponentStatesButton } from '../../utils/useComponentStates.js';
8
8
  import _sfc_main$1 from '../Skeleton/WSkeleton.vue.js';
9
9
  import { useTabActiveListener } from '../Tabs/use/useTabActiveListener.js';
@@ -37,6 +37,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
37
37
  const containerRef = useTemplateRef("container");
38
38
  const { isDisabled, isSkeleton } = useComponentStatesButton(props);
39
39
  const semanticTypeBackgroundMap = useSemanticTypeBackgroundMap();
40
+ const semanticTypeButtonBackgroundMap = useSemanticTypeButtonBackgroundMap();
40
41
  const semanticTypeBorderMap = useSemanticTypeBorderMap();
41
42
  const semanticTypeBorderComponentMap = useSemanticTypeBorderComponentMap();
42
43
  const emit = __emit;
@@ -94,7 +95,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
94
95
  }, {
95
96
  ref: "container",
96
97
  class: ["w-ripple-rounded-[calc(var(--w-button-rounded,1rem)-var(--w-button-border,1px))] -min-h--button-height relative isolate flex select-none items-center justify-center whitespace-nowrap rounded-[--w-button-rounded,1rem] px-[--w-button-rounded,1rem] font-medium outline-none [border-width:--w-button-border,1px]", {
97
- [unref(semanticTypeBackgroundMap)[__props.semanticType]]: !__props.outline,
98
+ [unref(semanticTypeButtonBackgroundMap)[__props.semanticType] ?? unref(semanticTypeBackgroundMap)[__props.semanticType]]: !__props.outline,
98
99
  [unref(semanticTypeBorderMap)[__props.semanticType]]: true,
99
100
  "w-ripple w-ripple-hover before:text-black-default w-ripple-opacity-20 dark:w-ripple-opacity-30 cursor-pointer": !__props.loading && !unref(isDisabled),
100
101
  "cursor-progress": __props.loading,
@@ -3,9 +3,9 @@ import { VNode } from 'vue';
3
3
  declare function __VLS_template(): {
4
4
  attrs: Partial<{}>;
5
5
  slots: Readonly<{
6
- title: () => VNode[];
6
+ title?: () => VNode[];
7
7
  subtitle: () => VNode[];
8
- right: () => VNode[];
8
+ right?: () => VNode[];
9
9
  bottom: () => VNode[];
10
10
  field: (props: {
11
11
  id: string;
@@ -20,9 +20,9 @@ declare function __VLS_template(): {
20
20
  isDragover: boolean;
21
21
  }) => VNode[];
22
22
  }> & {
23
- title: () => VNode[];
23
+ title?: () => VNode[];
24
24
  subtitle: () => VNode[];
25
- right: () => VNode[];
25
+ right?: () => VNode[];
26
26
  bottom: () => VNode[];
27
27
  field: (props: {
28
28
  id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"WFieldWrapper.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/FieldWrapper/WFieldWrapper.vue"],"names":[],"mappings":"AAqMA;AAAA,OA+TO,KAAK,EAAC,iBAAiB,EAAC,MAAM,SAAS,CAAA;AAE9C,OAAO,EAAkB,KAAK,KAAK,EAAgE,MAAM,KAAK,CAAA;AAiI9G,iBAAS,cAAc;WAuST,OAAO,IAA6B;;eAtTzC,MAAM,KAAK,EAAE;kBACV,MAAM,KAAK,EAAE;eAChB,MAAM,KAAK,EAAE;gBACZ,MAAM,KAAK,EAAE;eACd,CAAC,KAAK,EAAE;YAAC,EAAE,EAAE,MAAM,CAAC;YAAC,OAAO,EAAE,OAAO,CAAC;YAAC,UAAU,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,I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O,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;yBA1YO,MAAM,eAAc,MAAM;;;;;;;;;;;;;;OAoZpD,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -218,18 +218,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
218
218
  default: withCtx(() => [
219
219
  message.value ? withDirectives((openBlock(), createElementBlock("div", {
220
220
  key: 0,
221
- class: normalizeClass(["text-description absolute right-0 whitespace-nowrap my-0.5 bg-default dark:bg-default-dark text-xs font-normal", __props.topText ? "bottom-full" : "top-full"])
221
+ class: normalizeClass(["text-description bg-default dark:bg-default-dark absolute right-0 my-0.5 whitespace-nowrap text-xs font-normal", __props.topText ? "bottom-full" : "top-full"])
222
222
  }, toDisplayString(message.value), 3)), [
223
223
  [vShow, isMessageShown.value]
224
224
  ]) : __props.errorMessage ? (openBlock(), createElementBlock("div", {
225
225
  key: 1,
226
- class: normalizeClass(["text-negative dark:text-negative-dark absolute mt-0.5 bg-default dark:bg-default-dark text-xs font-normal", [
226
+ class: normalizeClass(["text-negative dark:text-negative-dark bg-default dark:bg-default-dark absolute mt-0.5 text-xs font-normal", [
227
227
  !__props.leftError || __props.topText ? "right-0 text-end" : "left-0 text-start",
228
228
  __props.topText ? "bottom-full" : "top-full"
229
229
  ]])
230
230
  }, toDisplayString(__props.errorMessage), 3)) : __props.maxLength !== void 0 && focused.value ? (openBlock(), createElementBlock("div", {
231
231
  key: 2,
232
- class: normalizeClass(["text-description absolute right-0 whitespace-nowrap mt-0.5 bg-default dark:bg-default-dark text-xs font-normal", __props.topText ? "bottom-full" : "top-full"])
232
+ class: normalizeClass(["text-description bg-default dark:bg-default-dark absolute right-0 mt-0.5 whitespace-nowrap text-xs font-normal", __props.topText ? "bottom-full" : "top-full"])
233
233
  }, toDisplayString(unref(numberFormatter).format(`${typeof __props.modelValue === "number" ? __props.modelValue : __props.modelValue || ""}`.length)) + " / " + toDisplayString(unref(numberFormatter).format(__props.maxLength)), 3)) : createCommentVNode("", true)
234
234
  ]),
235
235
  _: 1
@@ -1,6 +1,6 @@
1
1
  import { provide } from 'vue';
2
2
 
3
- const wFieldSetShowMessage = Symbol("wFieldSaved");
3
+ const wFieldSetShowMessage = /* @__PURE__ */ Symbol("wFieldSaved");
4
4
  const useFieldMessage = () => {
5
5
  let showMessageFn = null;
6
6
  const setShowMessage = (value) => {
@@ -1,11 +1,11 @@
1
- const wFormTitleUpdater = Symbol("wFormTitleUpdater");
2
- const wFormErrorMessageUpdater = Symbol("wFormErrorMessageUpdater");
3
- const wFormHasChangesUpdater = Symbol("wFormHasChangesUpdater");
4
- const wFormHasValueUpdater = Symbol("wFormHasValueUpdater");
5
- const wFormHasShownUpdater = Symbol("wFormHasShownUpdater");
6
- const wFormValidateUpdater = Symbol("wFormValidateUpdater");
7
- const wFormInvalidateUpdater = Symbol("wFormValidateUpdater");
8
- const wFormInitModelUpdater = Symbol("wFormInitModelUpdater");
9
- const wFormUnlistener = Symbol("wFormUnlistener");
1
+ const wFormTitleUpdater = /* @__PURE__ */ Symbol("wFormTitleUpdater");
2
+ const wFormErrorMessageUpdater = /* @__PURE__ */ Symbol("wFormErrorMessageUpdater");
3
+ const wFormHasChangesUpdater = /* @__PURE__ */ Symbol("wFormHasChangesUpdater");
4
+ const wFormHasValueUpdater = /* @__PURE__ */ Symbol("wFormHasValueUpdater");
5
+ const wFormHasShownUpdater = /* @__PURE__ */ Symbol("wFormHasShownUpdater");
6
+ const wFormValidateUpdater = /* @__PURE__ */ Symbol("wFormValidateUpdater");
7
+ const wFormInvalidateUpdater = /* @__PURE__ */ Symbol("wFormValidateUpdater");
8
+ const wFormInitModelUpdater = /* @__PURE__ */ Symbol("wFormInitModelUpdater");
9
+ const wFormUnlistener = /* @__PURE__ */ Symbol("wFormUnlistener");
10
10
 
11
11
  export { wFormErrorMessageUpdater, wFormHasChangesUpdater, wFormHasShownUpdater, wFormHasValueUpdater, wFormInitModelUpdater, wFormInvalidateUpdater, wFormTitleUpdater, wFormUnlistener, wFormValidateUpdater };
@@ -41,7 +41,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
41
41
  toRef(props, "queryParams"),
42
42
  {
43
43
  ...props.queryOptions ?? {},
44
- refetchInterval: props.refetchInterval ? () => isIntersecting.value ? props.refetchInterval : void 0 : void 0
44
+ refetchInterval: props.refetchInterval ? (() => isIntersecting.value ? props.refetchInterval : void 0) : void 0
45
45
  }
46
46
  );
47
47
  const nextPage = computed(() => data.value?.next);
@@ -1,3 +1,3 @@
1
- const wScrollingElement = Symbol("wScrollingElement");
1
+ const wScrollingElement = /* @__PURE__ */ Symbol("wScrollingElement");
2
2
 
3
3
  export { wScrollingElement };
@@ -1,4 +1,4 @@
1
- const wIsModal = Symbol("wIsModal");
2
- const wModalHeaderHeight = Symbol("wModalHeaderHeight");
1
+ const wIsModal = /* @__PURE__ */ Symbol("wIsModal");
2
+ const wModalHeaderHeight = /* @__PURE__ */ Symbol("wModalHeaderHeight");
3
3
 
4
4
  export { wIsModal, wModalHeaderHeight };
@@ -1,4 +1,4 @@
1
- const wTabItemListener = Symbol("wTabItemListener");
2
- const wTabItemUnlistener = Symbol("wTabItemUnlistener");
1
+ const wTabItemListener = /* @__PURE__ */ Symbol("wTabItemListener");
2
+ const wTabItemUnlistener = /* @__PURE__ */ Symbol("wTabItemUnlistener");
3
3
 
4
4
  export { wTabItemListener, wTabItemUnlistener };
package/dist/main.js CHANGED
@@ -113,7 +113,7 @@ export { DOMListenerContainer } from './utils/DOMListenerContainer.js';
113
113
  export { HorizontalAlign } from './utils/HorizontalAlign.js';
114
114
  export { Modal, initModal } from './utils/Modal.js';
115
115
  export { Notify, initNotify } from './utils/Notify.js';
116
- export { SemanticType, setSemanticTypeBackgroundMap, setSemanticTypeBorderComponentMap, setSemanticTypeBorderMap, setSemanticTypeChipMap, setSemanticTypeTextMap, useSemanticTypeBackgroundMap, useSemanticTypeBorderComponentMap, useSemanticTypeBorderMap, useSemanticTypeChipMap, useSemanticTypeTextMap } from './utils/SemanticType.js';
116
+ export { SemanticType, patchSemanticType, setSemanticTypeBackgroundMap, setSemanticTypeBorderComponentMap, setSemanticTypeBorderMap, setSemanticTypeButtonBackgroundMap, setSemanticTypeChipMap, setSemanticTypeTextMap, useSemanticTypeBackgroundMap, useSemanticTypeBorderComponentMap, useSemanticTypeBorderMap, useSemanticTypeButtonBackgroundMap, useSemanticTypeChipMap, useSemanticTypeTextMap } from './utils/SemanticType.js';
117
117
  export { ApiError, ApiErrorCancel, createUseQueryParams, encodeQueryParam, encodeQueryParams, encodeRouteParams, handleApiError } from './utils/api.js';
118
118
  export { Month, WeekDay, addDay, addMonth, addYear, dateFormat, dateFormatter, dateRegexp, dateToQueryString, datetimeFormat, durationHumanize, getDurationRound, getStartOfDay, getStartOfMonth, getStartOfNextDay, getStartOfWeek, isSameDate, isSameMonth, isSameWeek, isSameYear, monthShortFormatter, parseDate, timeFormat, timeFormatShort, weekdayShortFormatter } from './utils/dateTime.js';
119
119
  export { getIsMobile, getIsTablet, getIsTouchDevice, setIsTouchDeviceInit, useIsMobile } from './utils/mobile.js';
@@ -64,4 +64,14 @@ export declare const useSemanticTypeBorderComponentMap: () => {
64
64
  }> | undefined;
65
65
  };
66
66
  export declare const setSemanticTypeBorderComponentMap: (value: Partial<Record<SemanticType, VNode>>) => void;
67
+ export declare const useSemanticTypeButtonBackgroundMap: () => {
68
+ primary?: string | undefined;
69
+ secondary?: string | undefined;
70
+ negative?: string | undefined;
71
+ positive?: string | undefined;
72
+ warning?: string | undefined;
73
+ info?: string | undefined;
74
+ };
75
+ export declare const setSemanticTypeButtonBackgroundMap: (value: Partial<Record<SemanticType, string>>) => void;
76
+ export declare const patchSemanticType: (key: string, value: string) => void;
67
77
  //# sourceMappingURL=SemanticType.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SemanticType.d.ts","sourceRoot":"","sources":["../../../src/utils/SemanticType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,KAAK,EAAW,MAAM,KAAK,CAAA;AAExC,oBAAY,YAAY;IACtB,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,QAAQ,aAAa;IACrB,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,IAAI,SAAS;CACd;AAWD,eAAO,MAAM,4BAA4B;;;;;;;CAExC,CAAA;AAED,eAAO,MAAM,4BAA4B,GAAI,OAAO,OAAO,CAAC,MAAM,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC,SAExF,CAAA;AAOD,eAAO,MAAM,sBAAsB;;;;;;;CAElC,CAAA;AAED,eAAO,MAAM,sBAAsB,GAAI,OAAO,OAAO,CAAC,MAAM,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC,SAElF,CAAA;AAWD,eAAO,MAAM,wBAAwB;;;;;;;CAEpC,CAAA;AAED,eAAO,MAAM,wBAAwB,GAAI,OAAO,OAAO,CAAC,MAAM,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC,SAEpF,CAAA;AAWD,eAAO,MAAM,sBAAsB;;;;;;;CAElC,CAAA;AAED,eAAO,MAAM,sBAAsB,GAAI,OAAO,OAAO,CAAC,MAAM,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC,SAElF,CAAA;AAWD,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;CAE7C,CAAA;AAED,eAAO,MAAM,iCAAiC,GAAI,OAAO,OAAO,CAAC,MAAM,CAAC,YAAY,EAAE,KAAK,CAAC,CAAC,SAE5F,CAAA"}
1
+ {"version":3,"file":"SemanticType.d.ts","sourceRoot":"","sources":["../../../src/utils/SemanticType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,KAAK,EAAW,MAAM,KAAK,CAA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BorderComponentMap, value);
77
77
  };
78
+ const semanticTypeButtonBackgroundMap = reactive({
79
+ ["primary" /* PRIMARY */]: void 0,
80
+ ["secondary" /* SECONDARY */]: void 0,
81
+ ["negative" /* NEGATIVE */]: void 0,
82
+ ["positive" /* POSITIVE */]: void 0,
83
+ ["warning" /* WARNING */]: void 0,
84
+ ["info" /* INFO */]: void 0
85
+ });
86
+ const useSemanticTypeButtonBackgroundMap = () => {
87
+ return semanticTypeButtonBackgroundMap;
88
+ };
89
+ const setSemanticTypeButtonBackgroundMap = (value) => {
90
+ Object.assign(semanticTypeButtonBackgroundMap, value);
91
+ };
92
+ const patchSemanticType = (key, value) => {
93
+ SemanticType[key] = value;
94
+ SemanticType[value] = key;
95
+ };
78
96
 
79
- export { SemanticType, setSemanticTypeBackgroundMap, setSemanticTypeBorderComponentMap, setSemanticTypeBorderMap, setSemanticTypeChipMap, setSemanticTypeTextMap, useSemanticTypeBackgroundMap, useSemanticTypeBorderComponentMap, useSemanticTypeBorderMap, useSemanticTypeChipMap, useSemanticTypeTextMap };
97
+ export { SemanticType, patchSemanticType, setSemanticTypeBackgroundMap, setSemanticTypeBorderComponentMap, setSemanticTypeBorderMap, setSemanticTypeButtonBackgroundMap, setSemanticTypeChipMap, setSemanticTypeTextMap, useSemanticTypeBackgroundMap, useSemanticTypeBorderComponentMap, useSemanticTypeBorderMap, useSemanticTypeButtonBackgroundMap, useSemanticTypeChipMap, useSemanticTypeTextMap };
@@ -1,16 +1,16 @@
1
1
  import { inject, provide } from 'vue';
2
2
 
3
- const wReadonlyKey = Symbol("wReadonlyKey");
3
+ const wReadonlyKey = /* @__PURE__ */ Symbol("wReadonlyKey");
4
4
  const useProvideReadonly = (value) => {
5
5
  if (value !== void 0) provide(wReadonlyKey, value);
6
6
  return inject(wReadonlyKey, void 0);
7
7
  };
8
- const wDisabledKey = Symbol("wDisabledKey");
8
+ const wDisabledKey = /* @__PURE__ */ Symbol("wDisabledKey");
9
9
  const useProvideDisabled = (value) => {
10
10
  if (value !== void 0) provide(wDisabledKey, value);
11
11
  return inject(wDisabledKey, void 0);
12
12
  };
13
- const wSkeletonKey = Symbol("wSkeletonKey");
13
+ const wSkeletonKey = /* @__PURE__ */ Symbol("wSkeletonKey");
14
14
  const useProvideSkeleton = (value) => {
15
15
  if (value !== void 0) provide(wSkeletonKey, value);
16
16
  return inject(wSkeletonKey, void 0);
@@ -175,7 +175,7 @@ const unwrapSlots = (slots) => {
175
175
  else return [];
176
176
  });
177
177
  };
178
- const wBaseZIndex = Symbol("wBaseZIndex");
178
+ const wBaseZIndex = /* @__PURE__ */ Symbol("wBaseZIndex");
179
179
  const BASE_ZINDEX_MODAL = 1e3;
180
180
  const BASE_ZINDEX_BOTTOM_SHEET = 100;
181
181
  const BASE_ZINDEX_ACTIONS_BAR = 40;
package/package.json CHANGED
@@ -4,10 +4,10 @@
4
4
  "type": "git",
5
5
  "url": "https://github.com/rsmple/eco-vue-js.git"
6
6
  },
7
- "version": "0.11.69",
7
+ "version": "0.11.70",
8
8
  "dependencies": {
9
- "@stylistic/eslint-plugin": "5.6.1",
10
- "@tanstack/eslint-plugin-query": "5.91.2",
9
+ "@stylistic/eslint-plugin": "5.7.1",
10
+ "@tanstack/eslint-plugin-query": "5.91.3",
11
11
  "@vue/eslint-config-typescript": "14.6.0",
12
12
  "eslint-import-resolver-typescript": "4.4.4",
13
13
  "eslint-plugin-import": "2.32.0",
@@ -15,7 +15,7 @@
15
15
  "eslint-plugin-svgo": "0.11.3",
16
16
  "eslint-plugin-tailwindcss": "3.18.2",
17
17
  "eslint-plugin-unused-imports": "4.3.0",
18
- "eslint-plugin-vue": "10.6.2"
18
+ "eslint-plugin-vue": "10.7.0"
19
19
  },
20
20
  "peerDependencies": {
21
21
  "@tanstack/vue-query": ">=5.92.1",