eco-vue-js 0.11.63 → 0.11.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Button/WButton.vue.d.ts.map +1 -1
- package/dist/components/Button/WButton.vue.js +6 -2
- package/dist/components/Button/WButtonGroup.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonGroup.vue.js +3 -0
- package/dist/components/Button/types.d.ts +3 -1
- package/dist/components/Button/types.d.ts.map +1 -1
- package/dist/components/FormAsync/WFormAsyncButtonGroup.vue.js +2 -0
- package/dist/main.js +1 -1
- package/dist/utils/SemanticType.d.ts +22 -0
- package/dist/utils/SemanticType.d.ts.map +1 -1
- package/dist/utils/SemanticType.js +15 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/WButton.vue"],"names":[],"mappings":"
|
|
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"}
|
|
@@ -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 } from '../../utils/SemanticType.js';
|
|
6
|
+
import { SemanticType, useSemanticTypeBorderMap, 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';
|
|
@@ -27,6 +27,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
27
27
|
skeleton: { type: Boolean, default: void 0 },
|
|
28
28
|
autofocus: { type: Boolean },
|
|
29
29
|
outline: { type: Boolean },
|
|
30
|
+
borderComponent: {},
|
|
31
|
+
noBorderComponent: { type: Boolean },
|
|
30
32
|
to: { default: void 0 }
|
|
31
33
|
},
|
|
32
34
|
emits: ["click", "mousedown"],
|
|
@@ -36,6 +38,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
36
38
|
const { isDisabled, isSkeleton } = useComponentStatesButton(props);
|
|
37
39
|
const semanticTypeBackgroundMap = useSemanticTypeBackgroundMap();
|
|
38
40
|
const semanticTypeBorderMap = useSemanticTypeBorderMap();
|
|
41
|
+
const semanticTypeBorderComponentMap = useSemanticTypeBorderComponentMap();
|
|
39
42
|
const emit = __emit;
|
|
40
43
|
const click = (event) => {
|
|
41
44
|
if (isDisabled.value || props.loading) return;
|
|
@@ -131,7 +134,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
131
134
|
key: 0,
|
|
132
135
|
text: __props.tooltipText
|
|
133
136
|
}, null, 8, ["text"])) : createCommentVNode("", true),
|
|
134
|
-
!unref(isDisabled) && !__props.loading ? (openBlock(), createBlock(_sfc_main$4, { key: 1 })) : createCommentVNode("", true)
|
|
137
|
+
!unref(isDisabled) && !__props.loading ? (openBlock(), createBlock(_sfc_main$4, { key: 1 })) : createCommentVNode("", true),
|
|
138
|
+
!__props.noBorderComponent && (__props.borderComponent ?? unref(semanticTypeBorderComponentMap)[__props.semanticType]) ? (openBlock(), createBlock(resolveDynamicComponent(__props.borderComponent ?? unref(semanticTypeBorderComponentMap)[__props.semanticType]), { key: 2 })) : createCommentVNode("", true)
|
|
135
139
|
]),
|
|
136
140
|
_: 3
|
|
137
141
|
}, 16, ["class", "disabled", "download", "type", "onKeypress"]));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WButtonGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/WButtonGroup.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"WButtonGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/WButtonGroup.vue"],"names":[],"mappings":"AAiGA;AAuJA,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,SAAS,CAAA;yBAW5B,KAAK,SAAS,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,OAAO,EAAE,MAAM,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,WAAW,SAAS;IAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,CAAA;CAAC,CAAC,IAAI,CAAC,GAAG,SAAS,GAAG,SAAS,EACpL,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;WA4PO,mBAAmB,CAAC;;yMAAkE,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;uBA1CgB,GAAG;0BACA,GAAG;;;;YACL,GAAG;;;;YACF,GAAG;uBACJ,GAAG;;cA1MzB,oBAAoB,SAAS,KAAK,KAAG,IAAI;EAoP3C,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAvQzE,wBAuQ4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -45,6 +45,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
45
45
|
download: {},
|
|
46
46
|
autofocus: { type: Boolean },
|
|
47
47
|
outline: { type: Boolean },
|
|
48
|
+
borderComponent: {},
|
|
49
|
+
noBorderComponent: { type: Boolean },
|
|
48
50
|
to: {}
|
|
49
51
|
},
|
|
50
52
|
emits: ["update:model-value"],
|
|
@@ -121,6 +123,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
121
123
|
return openBlock(), createBlock(_sfc_main$2, mergeProps({ key: index }, { ref_for: true }, {
|
|
122
124
|
...props,
|
|
123
125
|
semanticType: getValue(item) === __props.modelValue ? __props.semanticType ?? unref(SemanticType).PRIMARY : unref(SemanticType).SECONDARY,
|
|
126
|
+
noBorderComponent: getValue(item) !== __props.modelValue,
|
|
124
127
|
loading: __props.loading && getValue(item) === loadingItem.value,
|
|
125
128
|
disabled: unref(isDisabled) || unref(isReadonly) || __props.loading && getValue(item) !== loadingItem.value,
|
|
126
129
|
join: !__props.wrap && !__props.col,
|
|
@@ -3,7 +3,7 @@ import { DropdownMenuProps } from '../DropdownMenu/types';
|
|
|
3
3
|
import { FieldWrapperProps } from '../FieldWrapper/types';
|
|
4
4
|
import { LinkProps } from '../../types/types';
|
|
5
5
|
import { SemanticType } from '../../utils/SemanticType';
|
|
6
|
-
import { Component } from 'vue';
|
|
6
|
+
import { Component, VNode } from 'vue';
|
|
7
7
|
export interface ButtonProps extends Partial<LinkProps> {
|
|
8
8
|
semanticType?: SemanticType;
|
|
9
9
|
disabled?: boolean;
|
|
@@ -19,6 +19,8 @@ export interface ButtonProps extends Partial<LinkProps> {
|
|
|
19
19
|
skeleton?: boolean;
|
|
20
20
|
autofocus?: boolean;
|
|
21
21
|
outline?: boolean;
|
|
22
|
+
borderComponent?: VNode;
|
|
23
|
+
noBorderComponent?: boolean;
|
|
22
24
|
}
|
|
23
25
|
export type ButtonGroupOptionComponent<Option> = Component<SelectOptionProps<Option>>;
|
|
24
26
|
interface ButtonGroupPropsBase<Model extends number | string | null | boolean> extends Omit<FieldWrapperProps, 'modelValue'>, Omit<ButtonProps, 'tag' | 'type' | 'replace' | 'href' | 'target' | 'join'> {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,iBAAiB,CAAA;AACtD,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,iCAAiC,CAAA;AACtE,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,iCAAiC,CAAA;AACtE,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,eAAe,CAAA;AAC5C,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,sBAAsB,CAAA;AACtD,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,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,MAAM,CAAC,CAAA;CACrD;AAED,MAAM,MAAM,gBAAgB,CAAC,KAAK,SAAS,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,OAAO,EAAE,MAAM,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,WAAW,SAAS;IAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,CAAA;CAAC,CAAC,IAAI,CAAC,GAAG,SAAS,GAAG,SAAS,IAAI,yBAAyB,CAAC,KAAK,EAAE,MAAM,EAAE,WAAW,CAAC,GAAG,wBAAwB,CAAC,KAAK,EAAE,MAAM,EAAE,WAAW,CAAC,CAAA;AAEjT,MAAM,WAAW,mBAAoB,SAAQ,IAAI,CAAC,iBAAiB,EAAE,QAAQ,GAAG,aAAa,GAAG,YAAY,GAAG,iBAAiB,CAAC,EAC/H,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,iBAAiB,CAAC,CAAC;IACnD,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB"}
|
package/dist/main.js
CHANGED
|
@@ -112,7 +112,7 @@ export { DOMListenerContainer } from './utils/DOMListenerContainer.js';
|
|
|
112
112
|
export { HorizontalAlign } from './utils/HorizontalAlign.js';
|
|
113
113
|
export { Modal, initModal } from './utils/Modal.js';
|
|
114
114
|
export { Notify, initNotify } from './utils/Notify.js';
|
|
115
|
-
export { SemanticType, setSemanticTypeBackgroundMap, setSemanticTypeBorderMap, setSemanticTypeChipMap, setSemanticTypeTextMap, useSemanticTypeBackgroundMap, useSemanticTypeBorderMap, useSemanticTypeChipMap, useSemanticTypeTextMap } from './utils/SemanticType.js';
|
|
115
|
+
export { SemanticType, setSemanticTypeBackgroundMap, setSemanticTypeBorderComponentMap, setSemanticTypeBorderMap, setSemanticTypeChipMap, setSemanticTypeTextMap, useSemanticTypeBackgroundMap, useSemanticTypeBorderComponentMap, useSemanticTypeBorderMap, useSemanticTypeChipMap, useSemanticTypeTextMap } from './utils/SemanticType.js';
|
|
116
116
|
export { ApiError, ApiErrorCancel, createUseQueryParams, encodeQueryParam, encodeQueryParams, encodeRouteParams, handleApiError } from './utils/api.js';
|
|
117
117
|
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';
|
|
118
118
|
export { getIsMobile, getIsTablet, getIsTouchDevice, setIsTouchDeviceInit, useIsMobile } from './utils/mobile.js';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { VNode } from 'vue';
|
|
1
2
|
export declare enum SemanticType {
|
|
2
3
|
PRIMARY = "primary",
|
|
3
4
|
SECONDARY = "secondary",
|
|
@@ -42,4 +43,25 @@ export declare const useSemanticTypeTextMap: () => {
|
|
|
42
43
|
info: string;
|
|
43
44
|
};
|
|
44
45
|
export declare const setSemanticTypeTextMap: (value: Partial<Record<SemanticType, string>>) => void;
|
|
46
|
+
export declare const useSemanticTypeBorderComponentMap: () => {
|
|
47
|
+
primary?: VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
48
|
+
[key: string]: any;
|
|
49
|
+
}> | undefined;
|
|
50
|
+
secondary?: VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
51
|
+
[key: string]: any;
|
|
52
|
+
}> | undefined;
|
|
53
|
+
negative?: VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
54
|
+
[key: string]: any;
|
|
55
|
+
}> | undefined;
|
|
56
|
+
positive?: VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
57
|
+
[key: string]: any;
|
|
58
|
+
}> | undefined;
|
|
59
|
+
warning?: VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
60
|
+
[key: string]: any;
|
|
61
|
+
}> | undefined;
|
|
62
|
+
info?: VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
63
|
+
[key: string]: any;
|
|
64
|
+
}> | undefined;
|
|
65
|
+
};
|
|
66
|
+
export declare const setSemanticTypeBorderComponentMap: (value: Partial<Record<SemanticType, VNode>>) => void;
|
|
45
67
|
//# sourceMappingURL=SemanticType.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SemanticType.d.ts","sourceRoot":"","sources":["../../../src/utils/SemanticType.ts"],"names":[],"mappings":"
|
|
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"}
|
|
@@ -61,5 +61,19 @@ const useSemanticTypeTextMap = () => {
|
|
|
61
61
|
const setSemanticTypeTextMap = (value) => {
|
|
62
62
|
Object.assign(semanticTypeTextStylesMap, value);
|
|
63
63
|
};
|
|
64
|
+
const semanticTypeBorderComponentMap = reactive({
|
|
65
|
+
["primary" /* PRIMARY */]: void 0,
|
|
66
|
+
["secondary" /* SECONDARY */]: void 0,
|
|
67
|
+
["negative" /* NEGATIVE */]: void 0,
|
|
68
|
+
["positive" /* POSITIVE */]: void 0,
|
|
69
|
+
["warning" /* WARNING */]: void 0,
|
|
70
|
+
["info" /* INFO */]: void 0
|
|
71
|
+
});
|
|
72
|
+
const useSemanticTypeBorderComponentMap = () => {
|
|
73
|
+
return semanticTypeBorderComponentMap;
|
|
74
|
+
};
|
|
75
|
+
const setSemanticTypeBorderComponentMap = (value) => {
|
|
76
|
+
Object.assign(semanticTypeBorderComponentMap, value);
|
|
77
|
+
};
|
|
64
78
|
|
|
65
|
-
export { SemanticType, setSemanticTypeBackgroundMap, setSemanticTypeBorderMap, setSemanticTypeChipMap, setSemanticTypeTextMap, useSemanticTypeBackgroundMap, useSemanticTypeBorderMap, useSemanticTypeChipMap, useSemanticTypeTextMap };
|
|
79
|
+
export { SemanticType, setSemanticTypeBackgroundMap, setSemanticTypeBorderComponentMap, setSemanticTypeBorderMap, setSemanticTypeChipMap, setSemanticTypeTextMap, useSemanticTypeBackgroundMap, useSemanticTypeBorderComponentMap, useSemanticTypeBorderMap, useSemanticTypeChipMap, useSemanticTypeTextMap };
|