@webitel/ui-sdk 26.8.16 → 26.8.18
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-C7jH_1i9.js → components-BdV7NKIV.js} +3 -3
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +1 -1
- package/dist/ui-sdk.umd.cjs +1 -1
- package/dist/{wt-chat-emoji-D3UxQcHT.js → wt-chat-emoji-BhOuFDXy.js} +1 -1
- package/dist/{wt-datepicker-BMyxdXw4.js → wt-datepicker-DTUMTWJK.js} +52 -50
- package/dist/{wt-display-chip-items-Df29r-JZ.js → wt-display-chip-items-CPmxn62Y.js} +1 -1
- package/dist/{wt-send-message-popup-BePv9v32.js → wt-send-message-popup-BMa5RC6U.js} +1 -1
- package/dist/{wt-type-extension-value-input-CnEz_ua5.js → wt-type-extension-value-input-DUC_QNa_.js} +1 -1
- package/dist/{wt-vidstack-player-B7FViYdW.js → wt-vidstack-player-CsR4A8Ob.js} +1 -1
- package/package.json +1 -1
- package/src/components/wt-datepicker/wt-datepicker.vue +1 -0
- package/src/locale/en/en.js +2 -2
- package/src/locale/es/es.js +2 -2
- package/src/locale/kz/kz.js +2 -2
- package/src/locale/pl/pl.js +2 -2
- package/src/locale/ro/ro.js +2 -2
- package/src/locale/ru/ru.js +2 -2
- package/src/locale/uk/uk.js +2 -2
- package/src/locale/uz/uz.js +2 -2
- package/src/locale/vi/vi.js +2 -2
- package/types/.tsbuildinfo +1 -1
|
@@ -3,10 +3,10 @@ import { d as t, f as n, l as r, r as i } from "./enums-De8CDKZ1.js";
|
|
|
3
3
|
import { a, i as o, n as s, r as c, t as l } from "./toZonedTime-B8L5kbse.js";
|
|
4
4
|
import { t as u } from "./vue-i18n-Db_oYfO8.js";
|
|
5
5
|
import { t as d } from "./useValidation-DgSm80YX.js";
|
|
6
|
-
import { computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createTextVNode as _, createVNode as v, defineComponent as y, guardReactiveProps as b, mergeModels as x, mergeProps as S, nextTick as C, normalizeProps as w, onMounted as T, onUnmounted as E, openBlock as D, renderSlot as O, resolveComponent as k, toDisplayString as A, toRefs as j, unref as M, useModel as N, useTemplateRef as ee, vShow as
|
|
7
|
-
import
|
|
6
|
+
import { computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createTextVNode as _, createVNode as v, defineComponent as y, guardReactiveProps as b, mergeModels as x, mergeProps as S, nextTick as C, normalizeProps as w, onMounted as T, onUnmounted as E, openBlock as D, renderSlot as O, resolveComponent as k, toDisplayString as A, toRefs as j, unref as M, useModel as N, useTemplateRef as ee, vShow as te, withCtx as P, withDirectives as F } from "vue";
|
|
7
|
+
import I from "primevue/datepicker";
|
|
8
8
|
//#region node_modules/date-fns-tz/dist/esm/fromZonedTime/index.js
|
|
9
|
-
function
|
|
9
|
+
function L(e, t, n) {
|
|
10
10
|
if (typeof e == "string" && !e.match(c)) return s(e, {
|
|
11
11
|
...n,
|
|
12
12
|
timeZone: t
|
|
@@ -17,7 +17,7 @@ function R(e, t, n) {
|
|
|
17
17
|
}
|
|
18
18
|
//#endregion
|
|
19
19
|
//#region src/components/wt-datepicker/_internals/composables/useAutoSeparator.ts
|
|
20
|
-
function
|
|
20
|
+
function R(e) {
|
|
21
21
|
let t = [{
|
|
22
22
|
afterPos: 2,
|
|
23
23
|
sep: "/"
|
|
@@ -56,7 +56,7 @@ function z(e) {
|
|
|
56
56
|
}
|
|
57
57
|
//#endregion
|
|
58
58
|
//#region src/components/wt-datepicker/_internals/composables/useOverlayAnchor.ts
|
|
59
|
-
function
|
|
59
|
+
function z() {
|
|
60
60
|
let e = null;
|
|
61
61
|
function t(e, t) {
|
|
62
62
|
e.style.width !== t && (e.style.width = t, e.style.minWidth = "");
|
|
@@ -84,7 +84,7 @@ function B() {
|
|
|
84
84
|
}
|
|
85
85
|
//#endregion
|
|
86
86
|
//#region src/components/wt-datepicker/_internals/composables/usePreventZeroPad.ts
|
|
87
|
-
function
|
|
87
|
+
function B() {
|
|
88
88
|
let e = null;
|
|
89
89
|
function t(t) {
|
|
90
90
|
let n = t.target, r = n.value, i = n.selectionStart ?? 0, a = r.split("/"), o = 0;
|
|
@@ -112,7 +112,7 @@ function V() {
|
|
|
112
112
|
}
|
|
113
113
|
//#endregion
|
|
114
114
|
//#region src/components/wt-datepicker/_internals/composables/useRestoreOnBlur.ts
|
|
115
|
-
function
|
|
115
|
+
function V(e, t) {
|
|
116
116
|
function n() {
|
|
117
117
|
if (t()) return;
|
|
118
118
|
let n = e();
|
|
@@ -124,7 +124,7 @@ function H(e, t) {
|
|
|
124
124
|
}
|
|
125
125
|
//#endregion
|
|
126
126
|
//#region src/components/wt-datepicker/_internals/composables/useStrictInput.ts
|
|
127
|
-
function
|
|
127
|
+
function H(e) {
|
|
128
128
|
let t = /^[0-9]$/, n = /* @__PURE__ */ new Set([
|
|
129
129
|
"Backspace",
|
|
130
130
|
"Delete",
|
|
@@ -151,8 +151,8 @@ function U(e) {
|
|
|
151
151
|
}
|
|
152
152
|
//#endregion
|
|
153
153
|
//#region src/components/wt-datepicker/_internals/composables/useDatepicker.ts
|
|
154
|
-
function
|
|
155
|
-
let { onInputCapture: i, onInputBubble: a } =
|
|
154
|
+
function U(e, t, n, r) {
|
|
155
|
+
let { onInputCapture: i, onInputBubble: a } = B(), { onInputBubble: o, resetLength: s } = R(n), { onKeydown: c } = H(n), { lock: l, unlock: u } = z(), { onBlur: d } = V(t, r);
|
|
156
156
|
function f(e) {
|
|
157
157
|
i(e);
|
|
158
158
|
}
|
|
@@ -173,23 +173,23 @@ function W(e, t, n, r) {
|
|
|
173
173
|
}
|
|
174
174
|
//#endregion
|
|
175
175
|
//#region src/components/wt-datepicker/wt-datepicker.vue?vue&type=script&setup=true&lang.ts
|
|
176
|
-
var
|
|
176
|
+
var W = { class: "wt-datepicker" }, G = { class: "wt-datepicker__button-bar" }, K = [
|
|
177
177
|
"onMousedown",
|
|
178
178
|
"onMouseup",
|
|
179
179
|
"onMouseleave"
|
|
180
|
-
],
|
|
180
|
+
], q = [
|
|
181
181
|
"onMousedown",
|
|
182
182
|
"onMouseup",
|
|
183
183
|
"onMouseleave"
|
|
184
|
-
],
|
|
184
|
+
], J = [
|
|
185
185
|
"onMousedown",
|
|
186
186
|
"onMouseup",
|
|
187
187
|
"onMouseleave"
|
|
188
|
-
],
|
|
188
|
+
], Y = [
|
|
189
189
|
"onMousedown",
|
|
190
190
|
"onMouseup",
|
|
191
191
|
"onMouseleave"
|
|
192
|
-
],
|
|
192
|
+
], X = /*#__PURE__*/ e(/* @__PURE__ */ y({
|
|
193
193
|
__name: "wt-datepicker",
|
|
194
194
|
props: /*@__PURE__*/ x({
|
|
195
195
|
showTime: { type: Boolean },
|
|
@@ -299,10 +299,10 @@ var G = { class: "wt-datepicker" }, K = { class: "wt-datepicker__button-bar" },
|
|
|
299
299
|
s.value = null;
|
|
300
300
|
return;
|
|
301
301
|
}
|
|
302
|
-
let t = o.timezone ?
|
|
302
|
+
let t = o.timezone ? L(e, o.timezone) : e;
|
|
303
303
|
s.value = t.getTime();
|
|
304
304
|
}
|
|
305
|
-
}), x = ee("datepicker"), T = `datepicker-${Math.random().toString(36).slice(2, 11)}`, { onBlur: E, lockOverlay:
|
|
305
|
+
}), x = ee("datepicker"), T = `datepicker-${Math.random().toString(36).slice(2, 11)}`, { onBlur: E, lockOverlay: R, unlockOverlay: z } = U(() => x.value?.$el?.querySelector("input"), () => x.value, () => !!o.showTime, () => !!o.clearable), B = f(() => o.placholder || `dd/mm/yyyy ${o.showTime ? "hh:mm" : ""}`), V = () => {
|
|
306
306
|
if (o.showTime && y.value) {
|
|
307
307
|
let e = y.value;
|
|
308
308
|
C(() => {
|
|
@@ -312,25 +312,25 @@ var G = { class: "wt-datepicker" }, K = { class: "wt-datepicker__button-bar" },
|
|
|
312
312
|
setTimeout(() => {
|
|
313
313
|
x.value?.alignOverlay();
|
|
314
314
|
let e = x.value?.overlay;
|
|
315
|
-
e && (e.style.minWidth = "",
|
|
315
|
+
e && (e.style.minWidth = "", R(e));
|
|
316
316
|
}, 0);
|
|
317
|
-
},
|
|
318
|
-
|
|
319
|
-
},
|
|
320
|
-
v:
|
|
321
|
-
customValidators:
|
|
317
|
+
}, H = () => {
|
|
318
|
+
z();
|
|
319
|
+
}, X = f(() => o.required ? `${o.label}*` : o.label), { v: Z, customValidators: ne } = j(o), { isValidation: re, invalid: Q, validationText: $, validationTextColor: ie } = d({
|
|
320
|
+
v: Z,
|
|
321
|
+
customValidators: ne
|
|
322
322
|
});
|
|
323
323
|
return (a, o) => {
|
|
324
324
|
let s = k("wt-label"), l = k("wt-button"), u = k("wt-icon-btn"), d = k("wt-message");
|
|
325
|
-
return D(), h("div",
|
|
325
|
+
return D(), h("div", W, [
|
|
326
326
|
v(s, S(e.labelProps, { disabled: e.disabled }, {
|
|
327
327
|
for: T,
|
|
328
|
-
invalid: M(
|
|
328
|
+
invalid: M(Q)
|
|
329
329
|
}), {
|
|
330
|
-
default:
|
|
330
|
+
default: P(() => [O(a.$slots, "label", w(b({ label: e.label })), () => [_(A(X.value), 1)], !0)], void 0, !0),
|
|
331
331
|
_: 3
|
|
332
332
|
}, 16, ["disabled", "invalid"]),
|
|
333
|
-
v(M(
|
|
333
|
+
v(M(I), {
|
|
334
334
|
ref_key: "datepicker",
|
|
335
335
|
ref: x,
|
|
336
336
|
id: T,
|
|
@@ -340,10 +340,11 @@ var G = { class: "wt-datepicker" }, K = { class: "wt-datepicker__button-bar" },
|
|
|
340
340
|
"input-class": "typo-body-1",
|
|
341
341
|
required: e.required,
|
|
342
342
|
disabled: e.disabled,
|
|
343
|
+
invalid: M(Q),
|
|
343
344
|
"show-time": e.showTime,
|
|
344
345
|
"min-date": e.minDate,
|
|
345
346
|
"max-date": e.maxDate,
|
|
346
|
-
placeholder:
|
|
347
|
+
placeholder: B.value,
|
|
347
348
|
"show-clear": e.clearable && y.value,
|
|
348
349
|
"show-button-bar": "",
|
|
349
350
|
fluid: "",
|
|
@@ -356,75 +357,76 @@ var G = { class: "wt-datepicker" }, K = { class: "wt-datepicker__button-bar" },
|
|
|
356
357
|
minute: { class: "typo-body-2" },
|
|
357
358
|
panel: { style: { maxWidth: "380px" } }
|
|
358
359
|
},
|
|
359
|
-
onShow:
|
|
360
|
-
onHide:
|
|
360
|
+
onShow: V,
|
|
361
|
+
onHide: H,
|
|
361
362
|
onBlur: M(E)
|
|
362
363
|
}, {
|
|
363
|
-
buttonbar:
|
|
364
|
+
buttonbar: P(({ todayCallback: i, clearCallback: a }) => [g("div", G, [v(l, {
|
|
364
365
|
color: M(n).SECONDARY,
|
|
365
366
|
variant: M(t).OUTLINED,
|
|
366
367
|
size: M(r).SM,
|
|
367
368
|
onClick: i
|
|
368
369
|
}, {
|
|
369
|
-
default:
|
|
370
|
+
default: P(() => [_(A(M(c)("reusable.today")), 1)], void 0, !0),
|
|
370
371
|
_: 1
|
|
371
372
|
}, 8, [
|
|
372
373
|
"color",
|
|
373
374
|
"variant",
|
|
374
375
|
"size",
|
|
375
376
|
"onClick"
|
|
376
|
-
]),
|
|
377
|
+
]), F(v(l, {
|
|
377
378
|
color: M(n).SECONDARY,
|
|
378
379
|
variant: M(t).OUTLINED,
|
|
379
380
|
size: M(r).SM,
|
|
380
381
|
onClick: a
|
|
381
382
|
}, {
|
|
382
|
-
default:
|
|
383
|
+
default: P(() => [_(A(M(c)("reusable.clear")), 1)], void 0, !0),
|
|
383
384
|
_: 1
|
|
384
385
|
}, 8, [
|
|
385
386
|
"color",
|
|
386
387
|
"variant",
|
|
387
388
|
"size",
|
|
388
389
|
"onClick"
|
|
389
|
-
]), [[
|
|
390
|
-
prevbutton:
|
|
390
|
+
]), [[te, e.clearable && y.value]])])]),
|
|
391
|
+
prevbutton: P(({ actionCallback: e }) => [v(u, {
|
|
391
392
|
icon: "arrow-left",
|
|
392
393
|
onClick: e
|
|
393
394
|
}, null, 8, ["onClick"])]),
|
|
394
|
-
nextbutton:
|
|
395
|
+
nextbutton: P(({ actionCallback: e }) => [v(u, {
|
|
395
396
|
icon: "arrow-right",
|
|
396
397
|
onClick: e
|
|
397
398
|
}, null, 8, ["onClick"])]),
|
|
398
|
-
clearicon:
|
|
399
|
+
clearicon: P(({ clearCallback: e }) => [v(u, {
|
|
399
400
|
icon: "close",
|
|
400
401
|
class: "wt-datepicker__clear-icon",
|
|
401
402
|
onClick: e
|
|
402
403
|
}, null, 8, ["onClick"])]),
|
|
403
|
-
hourincrementbutton:
|
|
404
|
+
hourincrementbutton: P(({ callbacks: e }) => [g("span", {
|
|
404
405
|
onMousedown: e.mousedown,
|
|
405
406
|
onMouseup: e.mouseup,
|
|
406
407
|
onMouseleave: e.mouseleave
|
|
407
|
-
}, [v(u, { icon: "arrow-up" })], 40,
|
|
408
|
-
hourdecrementbutton:
|
|
408
|
+
}, [v(u, { icon: "arrow-up" })], 40, K)]),
|
|
409
|
+
hourdecrementbutton: P(({ callbacks: e }) => [g("span", {
|
|
409
410
|
onMousedown: e.mousedown,
|
|
410
411
|
onMouseup: e.mouseup,
|
|
411
412
|
onMouseleave: e.mouseleave
|
|
412
|
-
}, [v(u, { icon: "arrow-down" })], 40,
|
|
413
|
-
minuteincrementbutton:
|
|
413
|
+
}, [v(u, { icon: "arrow-down" })], 40, q)]),
|
|
414
|
+
minuteincrementbutton: P(({ callbacks: e }) => [g("span", {
|
|
414
415
|
onMousedown: e.mousedown,
|
|
415
416
|
onMouseup: e.mouseup,
|
|
416
417
|
onMouseleave: e.mouseleave
|
|
417
|
-
}, [v(u, { icon: "arrow-up" })], 40,
|
|
418
|
-
minutedecrementbutton:
|
|
418
|
+
}, [v(u, { icon: "arrow-up" })], 40, J)]),
|
|
419
|
+
minutedecrementbutton: P(({ callbacks: e }) => [g("span", {
|
|
419
420
|
onMousedown: e.mousedown,
|
|
420
421
|
onMouseup: e.mouseup,
|
|
421
422
|
onMouseleave: e.mouseleave
|
|
422
|
-
}, [v(u, { icon: "arrow-down" })], 40,
|
|
423
|
+
}, [v(u, { icon: "arrow-down" })], 40, Y)]),
|
|
423
424
|
_: 1
|
|
424
425
|
}, 8, [
|
|
425
426
|
"modelValue",
|
|
426
427
|
"required",
|
|
427
428
|
"disabled",
|
|
429
|
+
"invalid",
|
|
428
430
|
"show-time",
|
|
429
431
|
"min-date",
|
|
430
432
|
"max-date",
|
|
@@ -432,13 +434,13 @@ var G = { class: "wt-datepicker" }, K = { class: "wt-datepicker__button-bar" },
|
|
|
432
434
|
"show-clear",
|
|
433
435
|
"onBlur"
|
|
434
436
|
]),
|
|
435
|
-
M(
|
|
437
|
+
M(re) && M($) ? (D(), p(d, {
|
|
436
438
|
key: 0,
|
|
437
439
|
color: M(ie),
|
|
438
440
|
variant: M(i).SIMPLE,
|
|
439
441
|
size: M(r).SM
|
|
440
442
|
}, {
|
|
441
|
-
default:
|
|
443
|
+
default: P(() => [_(A(M($)), 1)], void 0, !0),
|
|
442
444
|
_: 1
|
|
443
445
|
}, 8, [
|
|
444
446
|
"color",
|
|
@@ -448,6 +450,6 @@ var G = { class: "wt-datepicker" }, K = { class: "wt-datepicker__button-bar" },
|
|
|
448
450
|
]);
|
|
449
451
|
};
|
|
450
452
|
}
|
|
451
|
-
}), [["__scopeId", "data-v-
|
|
453
|
+
}), [["__scopeId", "data-v-9074dc97"]]);
|
|
452
454
|
//#endregion
|
|
453
|
-
export {
|
|
455
|
+
export { X as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as e, i as t } from "./components-
|
|
1
|
+
import { C as e, i as t } from "./components-BdV7NKIV.js";
|
|
2
2
|
import { t as n } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
3
|
import { t as r } from "./displayText-CtaxzaBz.js";
|
|
4
4
|
import { Fragment as i, computed as a, createCommentVNode as o, createElementBlock as s, createTextVNode as c, createVNode as l, defineComponent as u, openBlock as d, renderList as f, renderSlot as p, toDisplayString as m, unref as h, withCtx as g } from "vue";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as e, r as t } from "./clients-Ba7VhTMH.js";
|
|
2
|
-
import { n } from "./components-
|
|
2
|
+
import { n } from "./components-BdV7NKIV.js";
|
|
3
3
|
import { t as r } from "./vue-i18n-Db_oYfO8.js";
|
|
4
4
|
import { createBlock as i, createTextVNode as a, createVNode as o, defineComponent as s, inject as c, mergeProps as l, onMounted as u, openBlock as d, ref as f, resolveComponent as p, toDisplayString as m, unref as h, withCtx as g } from "vue";
|
|
5
5
|
//#endregion
|
package/dist/{wt-type-extension-value-input-CnEz_ua5.js → wt-type-extension-value-input-DUC_QNa_.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./clients-Ba7VhTMH.js";
|
|
2
|
-
import { a as t, o as n, r, s as i } from "./components-
|
|
2
|
+
import { a as t, o as n, r, s as i } from "./components-BdV7NKIV.js";
|
|
3
3
|
import { t as a } from "./enums-De8CDKZ1.js";
|
|
4
4
|
import { t as o } from "./vue-i18n-Db_oYfO8.js";
|
|
5
5
|
import { computed as s, createBlock as c, createCommentVNode as l, createVNode as u, defineComponent as d, mergeModels as f, mergeProps as p, openBlock as m, renderSlot as h, resolveComponent as g, unref as _, useModel as v } from "vue";
|
package/package.json
CHANGED
package/src/locale/en/en.js
CHANGED
|
@@ -449,7 +449,7 @@ export default deepmerge(
|
|
|
449
449
|
requiredArrayValue: 'Array should not be empty',
|
|
450
450
|
minValue: ({ named }) => {
|
|
451
451
|
let text = 'Value cannot be less than';
|
|
452
|
-
if (named('min')) {
|
|
452
|
+
if (named('min') != null) {
|
|
453
453
|
text += ` ${named('min')}`;
|
|
454
454
|
}
|
|
455
455
|
|
|
@@ -457,7 +457,7 @@ export default deepmerge(
|
|
|
457
457
|
},
|
|
458
458
|
maxValue: ({ named }) => {
|
|
459
459
|
let text = 'Value cannot be greater than';
|
|
460
|
-
if (named('max')) {
|
|
460
|
+
if (named('max') != null) {
|
|
461
461
|
text += ` ${named('max')}`;
|
|
462
462
|
}
|
|
463
463
|
return text;
|
package/src/locale/es/es.js
CHANGED
|
@@ -437,14 +437,14 @@ export default {
|
|
|
437
437
|
macValidator: 'Debe parecer una MAC',
|
|
438
438
|
minValue: ({ named }) => {
|
|
439
439
|
let text = 'El valor no debe ser menor que';
|
|
440
|
-
if (named('min')) {
|
|
440
|
+
if (named('min') != null) {
|
|
441
441
|
text += ` ${named('min')}`;
|
|
442
442
|
}
|
|
443
443
|
return text;
|
|
444
444
|
},
|
|
445
445
|
maxValue: ({ named }) => {
|
|
446
446
|
let text = 'El valor no debe ser mayor que';
|
|
447
|
-
if (named('max')) {
|
|
447
|
+
if (named('max') != null) {
|
|
448
448
|
text += ` ${named('max')}`;
|
|
449
449
|
}
|
|
450
450
|
return text;
|
package/src/locale/kz/kz.js
CHANGED
|
@@ -442,14 +442,14 @@ export default {
|
|
|
442
442
|
requiredArrayValue: 'Массив бос болмауы керек',
|
|
443
443
|
minValue: ({ named }) => {
|
|
444
444
|
let text = 'Мәні кем болмауы керек';
|
|
445
|
-
if (named('min')) {
|
|
445
|
+
if (named('min') != null) {
|
|
446
446
|
text += ` ${named('min')}`;
|
|
447
447
|
}
|
|
448
448
|
return text;
|
|
449
449
|
},
|
|
450
450
|
maxValue: ({ named }) => {
|
|
451
451
|
let text = 'Мәні артық болмауы керек';
|
|
452
|
-
if (named('max')) {
|
|
452
|
+
if (named('max') != null) {
|
|
453
453
|
text += ` ${named('max')}`;
|
|
454
454
|
}
|
|
455
455
|
return text;
|
package/src/locale/pl/pl.js
CHANGED
|
@@ -440,14 +440,14 @@ export default {
|
|
|
440
440
|
macValidator: 'Powinno wyglądać jak MAC',
|
|
441
441
|
minValue: ({ named }) => {
|
|
442
442
|
let text = 'Wartość nie powinna być mniejsza niż';
|
|
443
|
-
if (named('min')) {
|
|
443
|
+
if (named('min') != null) {
|
|
444
444
|
text += ` ${named('min')}`;
|
|
445
445
|
}
|
|
446
446
|
return text;
|
|
447
447
|
},
|
|
448
448
|
maxValue: ({ named }) => {
|
|
449
449
|
let text = 'Wartość nie powinna być większa niż';
|
|
450
|
-
if (named('max')) {
|
|
450
|
+
if (named('max') != null) {
|
|
451
451
|
text += ` ${named('max')}`;
|
|
452
452
|
}
|
|
453
453
|
return text;
|
package/src/locale/ro/ro.js
CHANGED
|
@@ -444,14 +444,14 @@ export default {
|
|
|
444
444
|
macValidator: 'Trebuie să arate ca un MAC',
|
|
445
445
|
minValue: ({ named }) => {
|
|
446
446
|
let text = 'Valoarea nu trebuie să fie mai mică decât';
|
|
447
|
-
if (named('min')) {
|
|
447
|
+
if (named('min') != null) {
|
|
448
448
|
text += ` ${named('min')}`;
|
|
449
449
|
}
|
|
450
450
|
return text;
|
|
451
451
|
},
|
|
452
452
|
maxValue: ({ named }) => {
|
|
453
453
|
let text = 'Valoarea nu trebuie să fie mai mare decât';
|
|
454
|
-
if (named('max')) {
|
|
454
|
+
if (named('max') != null) {
|
|
455
455
|
text += ` ${named('max')}`;
|
|
456
456
|
}
|
|
457
457
|
return text;
|
package/src/locale/ru/ru.js
CHANGED
|
@@ -439,14 +439,14 @@ export default {
|
|
|
439
439
|
macValidator: 'Необходимо ввести MAC-адрес',
|
|
440
440
|
minValue: ({ named }) => {
|
|
441
441
|
let text = 'Значение должно быть не меньше';
|
|
442
|
-
if (named('min')) {
|
|
442
|
+
if (named('min') != null) {
|
|
443
443
|
text += ` ${named('min')}`;
|
|
444
444
|
}
|
|
445
445
|
return text;
|
|
446
446
|
},
|
|
447
447
|
maxValue: ({ named }) => {
|
|
448
448
|
let text = 'Значение должно быть не больше';
|
|
449
|
-
if (named('max')) {
|
|
449
|
+
if (named('max') != null) {
|
|
450
450
|
text += ` ${named('max')}`;
|
|
451
451
|
}
|
|
452
452
|
return text;
|
package/src/locale/uk/uk.js
CHANGED
|
@@ -438,14 +438,14 @@ export default {
|
|
|
438
438
|
macValidator: 'Необхідно ввести MAC-адрес',
|
|
439
439
|
minValue: ({ named }) => {
|
|
440
440
|
let text = 'Значення повинно бути не менше';
|
|
441
|
-
if (named('min')) {
|
|
441
|
+
if (named('min') != null) {
|
|
442
442
|
text += ` ${named('min')}`;
|
|
443
443
|
}
|
|
444
444
|
return text;
|
|
445
445
|
},
|
|
446
446
|
maxValue: ({ named }) => {
|
|
447
447
|
let text = 'Значення повинно бути не більше';
|
|
448
|
-
if (named('max')) {
|
|
448
|
+
if (named('max') != null) {
|
|
449
449
|
text += ` ${named('max')}`;
|
|
450
450
|
}
|
|
451
451
|
return text;
|
package/src/locale/uz/uz.js
CHANGED
|
@@ -444,14 +444,14 @@ export default {
|
|
|
444
444
|
macValidator: "MAC ko'rinishida bo'lishi kerak",
|
|
445
445
|
minValue: ({ named }) => {
|
|
446
446
|
let text = "Qiymat dan kam bo'lmasligi kerak";
|
|
447
|
-
if (named('min')) {
|
|
447
|
+
if (named('min') != null) {
|
|
448
448
|
text += ` ${named('min')}`;
|
|
449
449
|
}
|
|
450
450
|
return text;
|
|
451
451
|
},
|
|
452
452
|
maxValue: ({ named }) => {
|
|
453
453
|
let text = "Qiymat dan ko'p bo'lmasligi kerak";
|
|
454
|
-
if (named('max')) {
|
|
454
|
+
if (named('max') != null) {
|
|
455
455
|
text += ` ${named('max')}`;
|
|
456
456
|
}
|
|
457
457
|
return text;
|
package/src/locale/vi/vi.js
CHANGED
|
@@ -444,14 +444,14 @@ export default {
|
|
|
444
444
|
macValidator: 'Phải là MAC',
|
|
445
445
|
minValue: ({ named }) => {
|
|
446
446
|
let text = 'Giá trị không được nhỏ hơn';
|
|
447
|
-
if (named('min')) {
|
|
447
|
+
if (named('min') != null) {
|
|
448
448
|
text += ` ${named('min')}`;
|
|
449
449
|
}
|
|
450
450
|
return text;
|
|
451
451
|
},
|
|
452
452
|
maxValue: ({ named }) => {
|
|
453
453
|
let text = 'Giá trị không được lớn hơn';
|
|
454
|
-
if (named('max')) {
|
|
454
|
+
if (named('max') != null) {
|
|
455
455
|
text += ` ${named('max')}`;
|
|
456
456
|
}
|
|
457
457
|
return text;
|