eco-vue-js 0.3.76 → 0.3.77
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/Button/WButtonGroup.vue.d.ts +6 -0
- package/dist/components/Button/WButtonGroup.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonGroup.vue.js +3 -2
- package/dist/components/Form/WFormValidator.vue.d.ts +2 -0
- package/dist/components/Form/WFormValidator.vue.d.ts.map +1 -1
- package/dist/components/Form/WFormValidator.vue.js +3 -2
- package/package.json +1 -1
@@ -11,6 +11,7 @@ declare const _default: <Model extends string | number | boolean | null, Entity
|
|
11
11
|
valueGetter: ValueGetter | ((value: Entity) => Model);
|
12
12
|
wrap?: boolean | undefined;
|
13
13
|
stretch?: boolean | undefined;
|
14
|
+
alwaysEmit?: boolean | undefined;
|
14
15
|
} | {
|
15
16
|
title?: string | undefined;
|
16
17
|
semanticType?: SemanticType | undefined;
|
@@ -23,6 +24,7 @@ declare const _default: <Model extends string | number | boolean | null, Entity
|
|
23
24
|
valueGetter?: ValueGetter | undefined;
|
24
25
|
wrap?: boolean | undefined;
|
25
26
|
stretch?: boolean | undefined;
|
27
|
+
alwaysEmit?: boolean | undefined;
|
26
28
|
}) & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
27
29
|
attrs: any;
|
28
30
|
slots: {
|
@@ -45,6 +47,7 @@ declare const _default: <Model extends string | number | boolean | null, Entity
|
|
45
47
|
valueGetter: ValueGetter | ((value: Entity) => Model);
|
46
48
|
wrap?: boolean | undefined;
|
47
49
|
stretch?: boolean | undefined;
|
50
|
+
alwaysEmit?: boolean | undefined;
|
48
51
|
} | {
|
49
52
|
title?: string | undefined;
|
50
53
|
semanticType?: SemanticType | undefined;
|
@@ -57,6 +60,7 @@ declare const _default: <Model extends string | number | boolean | null, Entity
|
|
57
60
|
valueGetter?: ValueGetter | undefined;
|
58
61
|
wrap?: boolean | undefined;
|
59
62
|
stretch?: boolean | undefined;
|
63
|
+
alwaysEmit?: boolean | undefined;
|
60
64
|
}) & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
61
65
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
62
66
|
attrs: any;
|
@@ -83,6 +87,7 @@ declare const _default: <Model extends string | number | boolean | null, Entity
|
|
83
87
|
valueGetter: ValueGetter | ((value: Entity) => Model);
|
84
88
|
wrap?: boolean | undefined;
|
85
89
|
stretch?: boolean | undefined;
|
90
|
+
alwaysEmit?: boolean | undefined;
|
86
91
|
} | {
|
87
92
|
title?: string | undefined;
|
88
93
|
semanticType?: SemanticType | undefined;
|
@@ -95,6 +100,7 @@ declare const _default: <Model extends string | number | boolean | null, Entity
|
|
95
100
|
valueGetter?: ValueGetter | undefined;
|
96
101
|
wrap?: boolean | undefined;
|
97
102
|
stretch?: boolean | undefined;
|
103
|
+
alwaysEmit?: boolean | undefined;
|
98
104
|
}) & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
99
105
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
100
106
|
attrs: any;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WButtonGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Button/WButtonGroup.vue"],"names":[],"mappings":"AAuCA;AAGA,OAAO,EAAC,YAAY,EAAC,MAAM,sBAAsB,CAAA
|
1
|
+
{"version":3,"file":"WButtonGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Button/WButtonGroup.vue"],"names":[],"mappings":"AAuCA;AAGA,OAAO,EAAC,YAAY,EAAC,MAAM,sBAAsB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAoM1C,GAAG;;uBA1BkB,GAAG;;;YACD,GAAG;;cAnI3B,mBAAmB,mBAAiB,IAAI;yCA2J9B,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,KAAG,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAAzC,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;uBA1BkB,GAAG;;;YACD,GAAG;;cAnI3B,mBAAmB,mBAAiB,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBA2J9B,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;eAClD,GAAG;;2BA1BkB,GAAG;;;gBACD,GAAG;;kBAnI3B,mBAAmB,mBAAiB,IAAI;;;AArC9C,wBAsM2E"}
|
@@ -14,7 +14,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
14
14
|
minimize: { type: Boolean },
|
15
15
|
wrap: { type: Boolean },
|
16
16
|
semanticType: {},
|
17
|
-
stretch: { type: Boolean }
|
17
|
+
stretch: { type: Boolean },
|
18
|
+
alwaysEmit: { type: Boolean }
|
18
19
|
},
|
19
20
|
emits: ["update:modelValue"],
|
20
21
|
setup(__props) {
|
@@ -55,7 +56,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
55
56
|
index !== 0 ? "rounded-l-none border-l-0" : getValue(item) !== _ctx.modelValue && "-ml-px",
|
56
57
|
_ctx.stretch ? "flex-1" : void 0
|
57
58
|
]),
|
58
|
-
onClick: ($event) => getValue(item) !== _ctx.modelValue && _ctx.$emit("update:modelValue", getValue(item))
|
59
|
+
onClick: ($event) => (_ctx.alwaysEmit || getValue(item) !== _ctx.modelValue) && _ctx.$emit("update:modelValue", getValue(item))
|
59
60
|
}, {
|
60
61
|
default: withCtx(() => [
|
61
62
|
renderSlot(_ctx.$slots, "default", {
|
@@ -4,6 +4,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
4
4
|
validate?: ValidateFn | ValidateFn[] | undefined;
|
5
5
|
forbiddenRegexp?: RegExp | undefined;
|
6
6
|
requiredSymbols?: string | undefined;
|
7
|
+
noChanges?: boolean | undefined;
|
7
8
|
}>, {
|
8
9
|
validateOnUpdate(): string | undefined;
|
9
10
|
invalidate(message: string): void;
|
@@ -16,6 +17,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
16
17
|
validate?: ValidateFn | ValidateFn[] | undefined;
|
17
18
|
forbiddenRegexp?: RegExp | undefined;
|
18
19
|
requiredSymbols?: string | undefined;
|
20
|
+
noChanges?: boolean | undefined;
|
19
21
|
}>>> & {
|
20
22
|
"onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
|
21
23
|
}, {}, {}>, Readonly<{
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WFormValidator.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Form/WFormValidator.vue"],"names":[],"mappings":"AAUA
|
1
|
+
{"version":3,"file":"WFormValidator.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Form/WFormValidator.vue"],"names":[],"mappings":"AAUA;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoUA,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
@@ -8,7 +8,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
8
|
title: {},
|
9
9
|
validate: {},
|
10
10
|
forbiddenRegexp: {},
|
11
|
-
requiredSymbols: {}
|
11
|
+
requiredSymbols: {},
|
12
|
+
noChanges: { type: Boolean }
|
12
13
|
},
|
13
14
|
emits: ["update:has-changes"],
|
14
15
|
setup(__props, { expose: __expose, emit: __emit }) {
|
@@ -188,7 +189,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
188
189
|
return (_ctx, _cache) => {
|
189
190
|
return openBlock(), createBlock(resolveDynamicComponent(component.value), {
|
190
191
|
"error-message": errorMessage.value,
|
191
|
-
"has-changes": hasChanges.value,
|
192
|
+
"has-changes": _ctx.noChanges ? void 0 : hasChanges.value,
|
192
193
|
"onUpdate:modelValue": _validateOnUpdate,
|
193
194
|
onSelect: _validateOnSelect,
|
194
195
|
onUnselect: _validateOnUnselect
|