@react-querybuilder/antd 6.2.0-alpha.0 → 6.2.0-alpha.2
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/cjs/react-querybuilder_antd.cjs.development.js +8 -554
- package/dist/cjs/react-querybuilder_antd.cjs.development.js.map +1 -1
- package/dist/cjs/react-querybuilder_antd.cjs.production.js +1 -1
- package/dist/cjs/react-querybuilder_antd.cjs.production.js.map +1 -1
- package/dist/react-querybuilder_antd.legacy-esm.js +20 -559
- package/dist/react-querybuilder_antd.legacy-esm.js.map +1 -1
- package/dist/react-querybuilder_antd.mjs +20 -559
- package/dist/react-querybuilder_antd.mjs.map +1 -1
- package/dist/react-querybuilder_antd.production.mjs +1 -1
- package/dist/react-querybuilder_antd.production.mjs.map +1 -1
- package/package.json +6 -5
|
@@ -21,6 +21,13 @@ var __spreadValues = (a, b) => {
|
|
|
21
21
|
return a;
|
|
22
22
|
};
|
|
23
23
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
24
|
+
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
25
|
+
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
26
|
+
}) : x)(function(x) {
|
|
27
|
+
if (typeof require !== "undefined")
|
|
28
|
+
return require.apply(this, arguments);
|
|
29
|
+
throw new Error('Dynamic require of "' + x + '" is not supported');
|
|
30
|
+
});
|
|
24
31
|
var __objRest = (source, exclude) => {
|
|
25
32
|
var target = {};
|
|
26
33
|
for (var prop in source)
|
|
@@ -33,7 +40,7 @@ var __objRest = (source, exclude) => {
|
|
|
33
40
|
}
|
|
34
41
|
return target;
|
|
35
42
|
};
|
|
36
|
-
var __commonJS = (cb, mod) => function
|
|
43
|
+
var __commonJS = (cb, mod) => function __require2() {
|
|
37
44
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
38
45
|
};
|
|
39
46
|
var __copyProps = (to, from, except, desc) => {
|
|
@@ -53,218 +60,6 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
53
60
|
mod
|
|
54
61
|
));
|
|
55
62
|
|
|
56
|
-
// ../../node_modules/dayjs/dayjs.min.js
|
|
57
|
-
var require_dayjs_min = __commonJS({
|
|
58
|
-
"../../node_modules/dayjs/dayjs.min.js"(exports, module) {
|
|
59
|
-
!function(t, e) {
|
|
60
|
-
"object" == typeof exports && "undefined" != typeof module ? module.exports = e() : "function" == typeof define && define.amd ? define(e) : (t = "undefined" != typeof globalThis ? globalThis : t || self).dayjs = e();
|
|
61
|
-
}(exports, function() {
|
|
62
|
-
"use strict";
|
|
63
|
-
var t = 1e3, e = 6e4, n = 36e5, r = "millisecond", i = "second", s = "minute", u = "hour", a = "day", o = "week", f = "month", h = "quarter", c = "year", d = "date", l = "Invalid Date", $ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, M = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(t2) {
|
|
64
|
-
var e2 = ["th", "st", "nd", "rd"], n2 = t2 % 100;
|
|
65
|
-
return "[" + t2 + (e2[(n2 - 20) % 10] || e2[n2] || e2[0]) + "]";
|
|
66
|
-
} }, m = function(t2, e2, n2) {
|
|
67
|
-
var r2 = String(t2);
|
|
68
|
-
return !r2 || r2.length >= e2 ? t2 : "" + Array(e2 + 1 - r2.length).join(n2) + t2;
|
|
69
|
-
}, v = { s: m, z: function(t2) {
|
|
70
|
-
var e2 = -t2.utcOffset(), n2 = Math.abs(e2), r2 = Math.floor(n2 / 60), i2 = n2 % 60;
|
|
71
|
-
return (e2 <= 0 ? "+" : "-") + m(r2, 2, "0") + ":" + m(i2, 2, "0");
|
|
72
|
-
}, m: function t2(e2, n2) {
|
|
73
|
-
if (e2.date() < n2.date())
|
|
74
|
-
return -t2(n2, e2);
|
|
75
|
-
var r2 = 12 * (n2.year() - e2.year()) + (n2.month() - e2.month()), i2 = e2.clone().add(r2, f), s2 = n2 - i2 < 0, u2 = e2.clone().add(r2 + (s2 ? -1 : 1), f);
|
|
76
|
-
return +(-(r2 + (n2 - i2) / (s2 ? i2 - u2 : u2 - i2)) || 0);
|
|
77
|
-
}, a: function(t2) {
|
|
78
|
-
return t2 < 0 ? Math.ceil(t2) || 0 : Math.floor(t2);
|
|
79
|
-
}, p: function(t2) {
|
|
80
|
-
return { M: f, y: c, w: o, d: a, D: d, h: u, m: s, s: i, ms: r, Q: h }[t2] || String(t2 || "").toLowerCase().replace(/s$/, "");
|
|
81
|
-
}, u: function(t2) {
|
|
82
|
-
return void 0 === t2;
|
|
83
|
-
} }, g = "en", D = {};
|
|
84
|
-
D[g] = M;
|
|
85
|
-
var p = function(t2) {
|
|
86
|
-
return t2 instanceof _;
|
|
87
|
-
}, S = function t2(e2, n2, r2) {
|
|
88
|
-
var i2;
|
|
89
|
-
if (!e2)
|
|
90
|
-
return g;
|
|
91
|
-
if ("string" == typeof e2) {
|
|
92
|
-
var s2 = e2.toLowerCase();
|
|
93
|
-
D[s2] && (i2 = s2), n2 && (D[s2] = n2, i2 = s2);
|
|
94
|
-
var u2 = e2.split("-");
|
|
95
|
-
if (!i2 && u2.length > 1)
|
|
96
|
-
return t2(u2[0]);
|
|
97
|
-
} else {
|
|
98
|
-
var a2 = e2.name;
|
|
99
|
-
D[a2] = e2, i2 = a2;
|
|
100
|
-
}
|
|
101
|
-
return !r2 && i2 && (g = i2), i2 || !r2 && g;
|
|
102
|
-
}, w = function(t2, e2) {
|
|
103
|
-
if (p(t2))
|
|
104
|
-
return t2.clone();
|
|
105
|
-
var n2 = "object" == typeof e2 ? e2 : {};
|
|
106
|
-
return n2.date = t2, n2.args = arguments, new _(n2);
|
|
107
|
-
}, O = v;
|
|
108
|
-
O.l = S, O.i = p, O.w = function(t2, e2) {
|
|
109
|
-
return w(t2, { locale: e2.$L, utc: e2.$u, x: e2.$x, $offset: e2.$offset });
|
|
110
|
-
};
|
|
111
|
-
var _ = function() {
|
|
112
|
-
function M2(t2) {
|
|
113
|
-
this.$L = S(t2.locale, null, true), this.parse(t2);
|
|
114
|
-
}
|
|
115
|
-
var m2 = M2.prototype;
|
|
116
|
-
return m2.parse = function(t2) {
|
|
117
|
-
this.$d = function(t3) {
|
|
118
|
-
var e2 = t3.date, n2 = t3.utc;
|
|
119
|
-
if (null === e2)
|
|
120
|
-
return /* @__PURE__ */ new Date(NaN);
|
|
121
|
-
if (O.u(e2))
|
|
122
|
-
return /* @__PURE__ */ new Date();
|
|
123
|
-
if (e2 instanceof Date)
|
|
124
|
-
return new Date(e2);
|
|
125
|
-
if ("string" == typeof e2 && !/Z$/i.test(e2)) {
|
|
126
|
-
var r2 = e2.match($);
|
|
127
|
-
if (r2) {
|
|
128
|
-
var i2 = r2[2] - 1 || 0, s2 = (r2[7] || "0").substring(0, 3);
|
|
129
|
-
return n2 ? new Date(Date.UTC(r2[1], i2, r2[3] || 1, r2[4] || 0, r2[5] || 0, r2[6] || 0, s2)) : new Date(r2[1], i2, r2[3] || 1, r2[4] || 0, r2[5] || 0, r2[6] || 0, s2);
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
return new Date(e2);
|
|
133
|
-
}(t2), this.$x = t2.x || {}, this.init();
|
|
134
|
-
}, m2.init = function() {
|
|
135
|
-
var t2 = this.$d;
|
|
136
|
-
this.$y = t2.getFullYear(), this.$M = t2.getMonth(), this.$D = t2.getDate(), this.$W = t2.getDay(), this.$H = t2.getHours(), this.$m = t2.getMinutes(), this.$s = t2.getSeconds(), this.$ms = t2.getMilliseconds();
|
|
137
|
-
}, m2.$utils = function() {
|
|
138
|
-
return O;
|
|
139
|
-
}, m2.isValid = function() {
|
|
140
|
-
return !(this.$d.toString() === l);
|
|
141
|
-
}, m2.isSame = function(t2, e2) {
|
|
142
|
-
var n2 = w(t2);
|
|
143
|
-
return this.startOf(e2) <= n2 && n2 <= this.endOf(e2);
|
|
144
|
-
}, m2.isAfter = function(t2, e2) {
|
|
145
|
-
return w(t2) < this.startOf(e2);
|
|
146
|
-
}, m2.isBefore = function(t2, e2) {
|
|
147
|
-
return this.endOf(e2) < w(t2);
|
|
148
|
-
}, m2.$g = function(t2, e2, n2) {
|
|
149
|
-
return O.u(t2) ? this[e2] : this.set(n2, t2);
|
|
150
|
-
}, m2.unix = function() {
|
|
151
|
-
return Math.floor(this.valueOf() / 1e3);
|
|
152
|
-
}, m2.valueOf = function() {
|
|
153
|
-
return this.$d.getTime();
|
|
154
|
-
}, m2.startOf = function(t2, e2) {
|
|
155
|
-
var n2 = this, r2 = !!O.u(e2) || e2, h2 = O.p(t2), l2 = function(t3, e3) {
|
|
156
|
-
var i2 = O.w(n2.$u ? Date.UTC(n2.$y, e3, t3) : new Date(n2.$y, e3, t3), n2);
|
|
157
|
-
return r2 ? i2 : i2.endOf(a);
|
|
158
|
-
}, $2 = function(t3, e3) {
|
|
159
|
-
return O.w(n2.toDate()[t3].apply(n2.toDate("s"), (r2 ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e3)), n2);
|
|
160
|
-
}, y2 = this.$W, M3 = this.$M, m3 = this.$D, v2 = "set" + (this.$u ? "UTC" : "");
|
|
161
|
-
switch (h2) {
|
|
162
|
-
case c:
|
|
163
|
-
return r2 ? l2(1, 0) : l2(31, 11);
|
|
164
|
-
case f:
|
|
165
|
-
return r2 ? l2(1, M3) : l2(0, M3 + 1);
|
|
166
|
-
case o:
|
|
167
|
-
var g2 = this.$locale().weekStart || 0, D2 = (y2 < g2 ? y2 + 7 : y2) - g2;
|
|
168
|
-
return l2(r2 ? m3 - D2 : m3 + (6 - D2), M3);
|
|
169
|
-
case a:
|
|
170
|
-
case d:
|
|
171
|
-
return $2(v2 + "Hours", 0);
|
|
172
|
-
case u:
|
|
173
|
-
return $2(v2 + "Minutes", 1);
|
|
174
|
-
case s:
|
|
175
|
-
return $2(v2 + "Seconds", 2);
|
|
176
|
-
case i:
|
|
177
|
-
return $2(v2 + "Milliseconds", 3);
|
|
178
|
-
default:
|
|
179
|
-
return this.clone();
|
|
180
|
-
}
|
|
181
|
-
}, m2.endOf = function(t2) {
|
|
182
|
-
return this.startOf(t2, false);
|
|
183
|
-
}, m2.$set = function(t2, e2) {
|
|
184
|
-
var n2, o2 = O.p(t2), h2 = "set" + (this.$u ? "UTC" : ""), l2 = (n2 = {}, n2[a] = h2 + "Date", n2[d] = h2 + "Date", n2[f] = h2 + "Month", n2[c] = h2 + "FullYear", n2[u] = h2 + "Hours", n2[s] = h2 + "Minutes", n2[i] = h2 + "Seconds", n2[r] = h2 + "Milliseconds", n2)[o2], $2 = o2 === a ? this.$D + (e2 - this.$W) : e2;
|
|
185
|
-
if (o2 === f || o2 === c) {
|
|
186
|
-
var y2 = this.clone().set(d, 1);
|
|
187
|
-
y2.$d[l2]($2), y2.init(), this.$d = y2.set(d, Math.min(this.$D, y2.daysInMonth())).$d;
|
|
188
|
-
} else
|
|
189
|
-
l2 && this.$d[l2]($2);
|
|
190
|
-
return this.init(), this;
|
|
191
|
-
}, m2.set = function(t2, e2) {
|
|
192
|
-
return this.clone().$set(t2, e2);
|
|
193
|
-
}, m2.get = function(t2) {
|
|
194
|
-
return this[O.p(t2)]();
|
|
195
|
-
}, m2.add = function(r2, h2) {
|
|
196
|
-
var d2, l2 = this;
|
|
197
|
-
r2 = Number(r2);
|
|
198
|
-
var $2 = O.p(h2), y2 = function(t2) {
|
|
199
|
-
var e2 = w(l2);
|
|
200
|
-
return O.w(e2.date(e2.date() + Math.round(t2 * r2)), l2);
|
|
201
|
-
};
|
|
202
|
-
if ($2 === f)
|
|
203
|
-
return this.set(f, this.$M + r2);
|
|
204
|
-
if ($2 === c)
|
|
205
|
-
return this.set(c, this.$y + r2);
|
|
206
|
-
if ($2 === a)
|
|
207
|
-
return y2(1);
|
|
208
|
-
if ($2 === o)
|
|
209
|
-
return y2(7);
|
|
210
|
-
var M3 = (d2 = {}, d2[s] = e, d2[u] = n, d2[i] = t, d2)[$2] || 1, m3 = this.$d.getTime() + r2 * M3;
|
|
211
|
-
return O.w(m3, this);
|
|
212
|
-
}, m2.subtract = function(t2, e2) {
|
|
213
|
-
return this.add(-1 * t2, e2);
|
|
214
|
-
}, m2.format = function(t2) {
|
|
215
|
-
var e2 = this, n2 = this.$locale();
|
|
216
|
-
if (!this.isValid())
|
|
217
|
-
return n2.invalidDate || l;
|
|
218
|
-
var r2 = t2 || "YYYY-MM-DDTHH:mm:ssZ", i2 = O.z(this), s2 = this.$H, u2 = this.$m, a2 = this.$M, o2 = n2.weekdays, f2 = n2.months, h2 = function(t3, n3, i3, s3) {
|
|
219
|
-
return t3 && (t3[n3] || t3(e2, r2)) || i3[n3].slice(0, s3);
|
|
220
|
-
}, c2 = function(t3) {
|
|
221
|
-
return O.s(s2 % 12 || 12, t3, "0");
|
|
222
|
-
}, d2 = n2.meridiem || function(t3, e3, n3) {
|
|
223
|
-
var r3 = t3 < 12 ? "AM" : "PM";
|
|
224
|
-
return n3 ? r3.toLowerCase() : r3;
|
|
225
|
-
}, $2 = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: a2 + 1, MM: O.s(a2 + 1, 2, "0"), MMM: h2(n2.monthsShort, a2, f2, 3), MMMM: h2(f2, a2), D: this.$D, DD: O.s(this.$D, 2, "0"), d: String(this.$W), dd: h2(n2.weekdaysMin, this.$W, o2, 2), ddd: h2(n2.weekdaysShort, this.$W, o2, 3), dddd: o2[this.$W], H: String(s2), HH: O.s(s2, 2, "0"), h: c2(1), hh: c2(2), a: d2(s2, u2, true), A: d2(s2, u2, false), m: String(u2), mm: O.s(u2, 2, "0"), s: String(this.$s), ss: O.s(this.$s, 2, "0"), SSS: O.s(this.$ms, 3, "0"), Z: i2 };
|
|
226
|
-
return r2.replace(y, function(t3, e3) {
|
|
227
|
-
return e3 || $2[t3] || i2.replace(":", "");
|
|
228
|
-
});
|
|
229
|
-
}, m2.utcOffset = function() {
|
|
230
|
-
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
231
|
-
}, m2.diff = function(r2, d2, l2) {
|
|
232
|
-
var $2, y2 = O.p(d2), M3 = w(r2), m3 = (M3.utcOffset() - this.utcOffset()) * e, v2 = this - M3, g2 = O.m(this, M3);
|
|
233
|
-
return g2 = ($2 = {}, $2[c] = g2 / 12, $2[f] = g2, $2[h] = g2 / 3, $2[o] = (v2 - m3) / 6048e5, $2[a] = (v2 - m3) / 864e5, $2[u] = v2 / n, $2[s] = v2 / e, $2[i] = v2 / t, $2)[y2] || v2, l2 ? g2 : O.a(g2);
|
|
234
|
-
}, m2.daysInMonth = function() {
|
|
235
|
-
return this.endOf(f).$D;
|
|
236
|
-
}, m2.$locale = function() {
|
|
237
|
-
return D[this.$L];
|
|
238
|
-
}, m2.locale = function(t2, e2) {
|
|
239
|
-
if (!t2)
|
|
240
|
-
return this.$L;
|
|
241
|
-
var n2 = this.clone(), r2 = S(t2, e2, true);
|
|
242
|
-
return r2 && (n2.$L = r2), n2;
|
|
243
|
-
}, m2.clone = function() {
|
|
244
|
-
return O.w(this.$d, this);
|
|
245
|
-
}, m2.toDate = function() {
|
|
246
|
-
return new Date(this.valueOf());
|
|
247
|
-
}, m2.toJSON = function() {
|
|
248
|
-
return this.isValid() ? this.toISOString() : null;
|
|
249
|
-
}, m2.toISOString = function() {
|
|
250
|
-
return this.$d.toISOString();
|
|
251
|
-
}, m2.toString = function() {
|
|
252
|
-
return this.$d.toUTCString();
|
|
253
|
-
}, M2;
|
|
254
|
-
}(), T = _.prototype;
|
|
255
|
-
return w.prototype = T, [["$ms", r], ["$s", i], ["$m", s], ["$H", u], ["$W", a], ["$M", f], ["$y", c], ["$D", d]].forEach(function(t2) {
|
|
256
|
-
T[t2[1]] = function(e2) {
|
|
257
|
-
return this.$g(e2, t2[0], t2[1]);
|
|
258
|
-
};
|
|
259
|
-
}), w.extend = function(t2, e2) {
|
|
260
|
-
return t2.$i || (t2(e2, _, w), t2.$i = true), w;
|
|
261
|
-
}, w.locale = S, w.isDayjs = p, w.unix = function(t2) {
|
|
262
|
-
return w(1e3 * t2);
|
|
263
|
-
}, w.en = D[g], w.Ls = D, w.p = {}, w;
|
|
264
|
-
});
|
|
265
|
-
}
|
|
266
|
-
});
|
|
267
|
-
|
|
268
63
|
// ../../node_modules/@babel/runtime/helpers/interopRequireDefault.js
|
|
269
64
|
var require_interopRequireDefault = __commonJS({
|
|
270
65
|
"../../node_modules/@babel/runtime/helpers/interopRequireDefault.js"(exports, module) {
|
|
@@ -322,340 +117,6 @@ var require_warning = __commonJS({
|
|
|
322
117
|
}
|
|
323
118
|
});
|
|
324
119
|
|
|
325
|
-
// ../../node_modules/dayjs/plugin/weekday.js
|
|
326
|
-
var require_weekday = __commonJS({
|
|
327
|
-
"../../node_modules/dayjs/plugin/weekday.js"(exports, module) {
|
|
328
|
-
!function(e, t) {
|
|
329
|
-
"object" == typeof exports && "undefined" != typeof module ? module.exports = t() : "function" == typeof define && define.amd ? define(t) : (e = "undefined" != typeof globalThis ? globalThis : e || self).dayjs_plugin_weekday = t();
|
|
330
|
-
}(exports, function() {
|
|
331
|
-
"use strict";
|
|
332
|
-
return function(e, t) {
|
|
333
|
-
t.prototype.weekday = function(e2) {
|
|
334
|
-
var t2 = this.$locale().weekStart || 0, i = this.$W, n = (i < t2 ? i + 7 : i) - t2;
|
|
335
|
-
return this.$utils().u(e2) ? n : this.subtract(n, "day").add(e2, "day");
|
|
336
|
-
};
|
|
337
|
-
};
|
|
338
|
-
});
|
|
339
|
-
}
|
|
340
|
-
});
|
|
341
|
-
|
|
342
|
-
// ../../node_modules/dayjs/plugin/localeData.js
|
|
343
|
-
var require_localeData = __commonJS({
|
|
344
|
-
"../../node_modules/dayjs/plugin/localeData.js"(exports, module) {
|
|
345
|
-
!function(n, e) {
|
|
346
|
-
"object" == typeof exports && "undefined" != typeof module ? module.exports = e() : "function" == typeof define && define.amd ? define(e) : (n = "undefined" != typeof globalThis ? globalThis : n || self).dayjs_plugin_localeData = e();
|
|
347
|
-
}(exports, function() {
|
|
348
|
-
"use strict";
|
|
349
|
-
return function(n, e, t) {
|
|
350
|
-
var r = e.prototype, o = function(n2) {
|
|
351
|
-
return n2 && (n2.indexOf ? n2 : n2.s);
|
|
352
|
-
}, u = function(n2, e2, t2, r2, u2) {
|
|
353
|
-
var i2 = n2.name ? n2 : n2.$locale(), a2 = o(i2[e2]), s2 = o(i2[t2]), f = a2 || s2.map(function(n3) {
|
|
354
|
-
return n3.slice(0, r2);
|
|
355
|
-
});
|
|
356
|
-
if (!u2)
|
|
357
|
-
return f;
|
|
358
|
-
var d = i2.weekStart;
|
|
359
|
-
return f.map(function(n3, e3) {
|
|
360
|
-
return f[(e3 + (d || 0)) % 7];
|
|
361
|
-
});
|
|
362
|
-
}, i = function() {
|
|
363
|
-
return t.Ls[t.locale()];
|
|
364
|
-
}, a = function(n2, e2) {
|
|
365
|
-
return n2.formats[e2] || function(n3) {
|
|
366
|
-
return n3.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(n4, e3, t2) {
|
|
367
|
-
return e3 || t2.slice(1);
|
|
368
|
-
});
|
|
369
|
-
}(n2.formats[e2.toUpperCase()]);
|
|
370
|
-
}, s = function() {
|
|
371
|
-
var n2 = this;
|
|
372
|
-
return { months: function(e2) {
|
|
373
|
-
return e2 ? e2.format("MMMM") : u(n2, "months");
|
|
374
|
-
}, monthsShort: function(e2) {
|
|
375
|
-
return e2 ? e2.format("MMM") : u(n2, "monthsShort", "months", 3);
|
|
376
|
-
}, firstDayOfWeek: function() {
|
|
377
|
-
return n2.$locale().weekStart || 0;
|
|
378
|
-
}, weekdays: function(e2) {
|
|
379
|
-
return e2 ? e2.format("dddd") : u(n2, "weekdays");
|
|
380
|
-
}, weekdaysMin: function(e2) {
|
|
381
|
-
return e2 ? e2.format("dd") : u(n2, "weekdaysMin", "weekdays", 2);
|
|
382
|
-
}, weekdaysShort: function(e2) {
|
|
383
|
-
return e2 ? e2.format("ddd") : u(n2, "weekdaysShort", "weekdays", 3);
|
|
384
|
-
}, longDateFormat: function(e2) {
|
|
385
|
-
return a(n2.$locale(), e2);
|
|
386
|
-
}, meridiem: this.$locale().meridiem, ordinal: this.$locale().ordinal };
|
|
387
|
-
};
|
|
388
|
-
r.localeData = function() {
|
|
389
|
-
return s.bind(this)();
|
|
390
|
-
}, t.localeData = function() {
|
|
391
|
-
var n2 = i();
|
|
392
|
-
return { firstDayOfWeek: function() {
|
|
393
|
-
return n2.weekStart || 0;
|
|
394
|
-
}, weekdays: function() {
|
|
395
|
-
return t.weekdays();
|
|
396
|
-
}, weekdaysShort: function() {
|
|
397
|
-
return t.weekdaysShort();
|
|
398
|
-
}, weekdaysMin: function() {
|
|
399
|
-
return t.weekdaysMin();
|
|
400
|
-
}, months: function() {
|
|
401
|
-
return t.months();
|
|
402
|
-
}, monthsShort: function() {
|
|
403
|
-
return t.monthsShort();
|
|
404
|
-
}, longDateFormat: function(e2) {
|
|
405
|
-
return a(n2, e2);
|
|
406
|
-
}, meridiem: n2.meridiem, ordinal: n2.ordinal };
|
|
407
|
-
}, t.months = function() {
|
|
408
|
-
return u(i(), "months");
|
|
409
|
-
}, t.monthsShort = function() {
|
|
410
|
-
return u(i(), "monthsShort", "months", 3);
|
|
411
|
-
}, t.weekdays = function(n2) {
|
|
412
|
-
return u(i(), "weekdays", null, null, n2);
|
|
413
|
-
}, t.weekdaysShort = function(n2) {
|
|
414
|
-
return u(i(), "weekdaysShort", "weekdays", 3, n2);
|
|
415
|
-
}, t.weekdaysMin = function(n2) {
|
|
416
|
-
return u(i(), "weekdaysMin", "weekdays", 2, n2);
|
|
417
|
-
};
|
|
418
|
-
};
|
|
419
|
-
});
|
|
420
|
-
}
|
|
421
|
-
});
|
|
422
|
-
|
|
423
|
-
// ../../node_modules/dayjs/plugin/weekOfYear.js
|
|
424
|
-
var require_weekOfYear = __commonJS({
|
|
425
|
-
"../../node_modules/dayjs/plugin/weekOfYear.js"(exports, module) {
|
|
426
|
-
!function(e, t) {
|
|
427
|
-
"object" == typeof exports && "undefined" != typeof module ? module.exports = t() : "function" == typeof define && define.amd ? define(t) : (e = "undefined" != typeof globalThis ? globalThis : e || self).dayjs_plugin_weekOfYear = t();
|
|
428
|
-
}(exports, function() {
|
|
429
|
-
"use strict";
|
|
430
|
-
var e = "week", t = "year";
|
|
431
|
-
return function(i, n, r) {
|
|
432
|
-
var f = n.prototype;
|
|
433
|
-
f.week = function(i2) {
|
|
434
|
-
if (void 0 === i2 && (i2 = null), null !== i2)
|
|
435
|
-
return this.add(7 * (i2 - this.week()), "day");
|
|
436
|
-
var n2 = this.$locale().yearStart || 1;
|
|
437
|
-
if (11 === this.month() && this.date() > 25) {
|
|
438
|
-
var f2 = r(this).startOf(t).add(1, t).date(n2), s = r(this).endOf(e);
|
|
439
|
-
if (f2.isBefore(s))
|
|
440
|
-
return 1;
|
|
441
|
-
}
|
|
442
|
-
var a = r(this).startOf(t).date(n2).startOf(e).subtract(1, "millisecond"), o = this.diff(a, e, true);
|
|
443
|
-
return o < 0 ? r(this).startOf("week").week() : Math.ceil(o);
|
|
444
|
-
}, f.weeks = function(e2) {
|
|
445
|
-
return void 0 === e2 && (e2 = null), this.week(e2);
|
|
446
|
-
};
|
|
447
|
-
};
|
|
448
|
-
});
|
|
449
|
-
}
|
|
450
|
-
});
|
|
451
|
-
|
|
452
|
-
// ../../node_modules/dayjs/plugin/weekYear.js
|
|
453
|
-
var require_weekYear = __commonJS({
|
|
454
|
-
"../../node_modules/dayjs/plugin/weekYear.js"(exports, module) {
|
|
455
|
-
!function(e, t) {
|
|
456
|
-
"object" == typeof exports && "undefined" != typeof module ? module.exports = t() : "function" == typeof define && define.amd ? define(t) : (e = "undefined" != typeof globalThis ? globalThis : e || self).dayjs_plugin_weekYear = t();
|
|
457
|
-
}(exports, function() {
|
|
458
|
-
"use strict";
|
|
459
|
-
return function(e, t) {
|
|
460
|
-
t.prototype.weekYear = function() {
|
|
461
|
-
var e2 = this.month(), t2 = this.week(), n = this.year();
|
|
462
|
-
return 1 === t2 && 11 === e2 ? n + 1 : 0 === e2 && t2 >= 52 ? n - 1 : n;
|
|
463
|
-
};
|
|
464
|
-
};
|
|
465
|
-
});
|
|
466
|
-
}
|
|
467
|
-
});
|
|
468
|
-
|
|
469
|
-
// ../../node_modules/dayjs/plugin/advancedFormat.js
|
|
470
|
-
var require_advancedFormat = __commonJS({
|
|
471
|
-
"../../node_modules/dayjs/plugin/advancedFormat.js"(exports, module) {
|
|
472
|
-
!function(e, t) {
|
|
473
|
-
"object" == typeof exports && "undefined" != typeof module ? module.exports = t() : "function" == typeof define && define.amd ? define(t) : (e = "undefined" != typeof globalThis ? globalThis : e || self).dayjs_plugin_advancedFormat = t();
|
|
474
|
-
}(exports, function() {
|
|
475
|
-
"use strict";
|
|
476
|
-
return function(e, t) {
|
|
477
|
-
var r = t.prototype, n = r.format;
|
|
478
|
-
r.format = function(e2) {
|
|
479
|
-
var t2 = this, r2 = this.$locale();
|
|
480
|
-
if (!this.isValid())
|
|
481
|
-
return n.bind(this)(e2);
|
|
482
|
-
var s = this.$utils(), a = (e2 || "YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g, function(e3) {
|
|
483
|
-
switch (e3) {
|
|
484
|
-
case "Q":
|
|
485
|
-
return Math.ceil((t2.$M + 1) / 3);
|
|
486
|
-
case "Do":
|
|
487
|
-
return r2.ordinal(t2.$D);
|
|
488
|
-
case "gggg":
|
|
489
|
-
return t2.weekYear();
|
|
490
|
-
case "GGGG":
|
|
491
|
-
return t2.isoWeekYear();
|
|
492
|
-
case "wo":
|
|
493
|
-
return r2.ordinal(t2.week(), "W");
|
|
494
|
-
case "w":
|
|
495
|
-
case "ww":
|
|
496
|
-
return s.s(t2.week(), "w" === e3 ? 1 : 2, "0");
|
|
497
|
-
case "W":
|
|
498
|
-
case "WW":
|
|
499
|
-
return s.s(t2.isoWeek(), "W" === e3 ? 1 : 2, "0");
|
|
500
|
-
case "k":
|
|
501
|
-
case "kk":
|
|
502
|
-
return s.s(String(0 === t2.$H ? 24 : t2.$H), "k" === e3 ? 1 : 2, "0");
|
|
503
|
-
case "X":
|
|
504
|
-
return Math.floor(t2.$d.getTime() / 1e3);
|
|
505
|
-
case "x":
|
|
506
|
-
return t2.$d.getTime();
|
|
507
|
-
case "z":
|
|
508
|
-
return "[" + t2.offsetName() + "]";
|
|
509
|
-
case "zzz":
|
|
510
|
-
return "[" + t2.offsetName("long") + "]";
|
|
511
|
-
default:
|
|
512
|
-
return e3;
|
|
513
|
-
}
|
|
514
|
-
});
|
|
515
|
-
return n.bind(this)(a);
|
|
516
|
-
};
|
|
517
|
-
};
|
|
518
|
-
});
|
|
519
|
-
}
|
|
520
|
-
});
|
|
521
|
-
|
|
522
|
-
// ../../node_modules/dayjs/plugin/customParseFormat.js
|
|
523
|
-
var require_customParseFormat = __commonJS({
|
|
524
|
-
"../../node_modules/dayjs/plugin/customParseFormat.js"(exports, module) {
|
|
525
|
-
!function(e, t) {
|
|
526
|
-
"object" == typeof exports && "undefined" != typeof module ? module.exports = t() : "function" == typeof define && define.amd ? define(t) : (e = "undefined" != typeof globalThis ? globalThis : e || self).dayjs_plugin_customParseFormat = t();
|
|
527
|
-
}(exports, function() {
|
|
528
|
-
"use strict";
|
|
529
|
-
var e = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, t = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, n = /\d\d/, r = /\d\d?/, i = /\d*[^-_:/,()\s\d]+/, o = {}, s = function(e2) {
|
|
530
|
-
return (e2 = +e2) + (e2 > 68 ? 1900 : 2e3);
|
|
531
|
-
};
|
|
532
|
-
var a = function(e2) {
|
|
533
|
-
return function(t2) {
|
|
534
|
-
this[e2] = +t2;
|
|
535
|
-
};
|
|
536
|
-
}, f = [/[+-]\d\d:?(\d\d)?|Z/, function(e2) {
|
|
537
|
-
(this.zone || (this.zone = {})).offset = function(e3) {
|
|
538
|
-
if (!e3)
|
|
539
|
-
return 0;
|
|
540
|
-
if ("Z" === e3)
|
|
541
|
-
return 0;
|
|
542
|
-
var t2 = e3.match(/([+-]|\d\d)/g), n2 = 60 * t2[1] + (+t2[2] || 0);
|
|
543
|
-
return 0 === n2 ? 0 : "+" === t2[0] ? -n2 : n2;
|
|
544
|
-
}(e2);
|
|
545
|
-
}], h = function(e2) {
|
|
546
|
-
var t2 = o[e2];
|
|
547
|
-
return t2 && (t2.indexOf ? t2 : t2.s.concat(t2.f));
|
|
548
|
-
}, u = function(e2, t2) {
|
|
549
|
-
var n2, r2 = o.meridiem;
|
|
550
|
-
if (r2) {
|
|
551
|
-
for (var i2 = 1; i2 <= 24; i2 += 1)
|
|
552
|
-
if (e2.indexOf(r2(i2, 0, t2)) > -1) {
|
|
553
|
-
n2 = i2 > 12;
|
|
554
|
-
break;
|
|
555
|
-
}
|
|
556
|
-
} else
|
|
557
|
-
n2 = e2 === (t2 ? "pm" : "PM");
|
|
558
|
-
return n2;
|
|
559
|
-
}, d = { A: [i, function(e2) {
|
|
560
|
-
this.afternoon = u(e2, false);
|
|
561
|
-
}], a: [i, function(e2) {
|
|
562
|
-
this.afternoon = u(e2, true);
|
|
563
|
-
}], S: [/\d/, function(e2) {
|
|
564
|
-
this.milliseconds = 100 * +e2;
|
|
565
|
-
}], SS: [n, function(e2) {
|
|
566
|
-
this.milliseconds = 10 * +e2;
|
|
567
|
-
}], SSS: [/\d{3}/, function(e2) {
|
|
568
|
-
this.milliseconds = +e2;
|
|
569
|
-
}], s: [r, a("seconds")], ss: [r, a("seconds")], m: [r, a("minutes")], mm: [r, a("minutes")], H: [r, a("hours")], h: [r, a("hours")], HH: [r, a("hours")], hh: [r, a("hours")], D: [r, a("day")], DD: [n, a("day")], Do: [i, function(e2) {
|
|
570
|
-
var t2 = o.ordinal, n2 = e2.match(/\d+/);
|
|
571
|
-
if (this.day = n2[0], t2)
|
|
572
|
-
for (var r2 = 1; r2 <= 31; r2 += 1)
|
|
573
|
-
t2(r2).replace(/\[|\]/g, "") === e2 && (this.day = r2);
|
|
574
|
-
}], M: [r, a("month")], MM: [n, a("month")], MMM: [i, function(e2) {
|
|
575
|
-
var t2 = h("months"), n2 = (h("monthsShort") || t2.map(function(e3) {
|
|
576
|
-
return e3.slice(0, 3);
|
|
577
|
-
})).indexOf(e2) + 1;
|
|
578
|
-
if (n2 < 1)
|
|
579
|
-
throw new Error();
|
|
580
|
-
this.month = n2 % 12 || n2;
|
|
581
|
-
}], MMMM: [i, function(e2) {
|
|
582
|
-
var t2 = h("months").indexOf(e2) + 1;
|
|
583
|
-
if (t2 < 1)
|
|
584
|
-
throw new Error();
|
|
585
|
-
this.month = t2 % 12 || t2;
|
|
586
|
-
}], Y: [/[+-]?\d+/, a("year")], YY: [n, function(e2) {
|
|
587
|
-
this.year = s(e2);
|
|
588
|
-
}], YYYY: [/\d{4}/, a("year")], Z: f, ZZ: f };
|
|
589
|
-
function c(n2) {
|
|
590
|
-
var r2, i2;
|
|
591
|
-
r2 = n2, i2 = o && o.formats;
|
|
592
|
-
for (var s2 = (n2 = r2.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(t2, n3, r3) {
|
|
593
|
-
var o2 = r3 && r3.toUpperCase();
|
|
594
|
-
return n3 || i2[r3] || e[r3] || i2[o2].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(e2, t3, n4) {
|
|
595
|
-
return t3 || n4.slice(1);
|
|
596
|
-
});
|
|
597
|
-
})).match(t), a2 = s2.length, f2 = 0; f2 < a2; f2 += 1) {
|
|
598
|
-
var h2 = s2[f2], u2 = d[h2], c2 = u2 && u2[0], l = u2 && u2[1];
|
|
599
|
-
s2[f2] = l ? { regex: c2, parser: l } : h2.replace(/^\[|\]$/g, "");
|
|
600
|
-
}
|
|
601
|
-
return function(e2) {
|
|
602
|
-
for (var t2 = {}, n3 = 0, r3 = 0; n3 < a2; n3 += 1) {
|
|
603
|
-
var i3 = s2[n3];
|
|
604
|
-
if ("string" == typeof i3)
|
|
605
|
-
r3 += i3.length;
|
|
606
|
-
else {
|
|
607
|
-
var o2 = i3.regex, f3 = i3.parser, h3 = e2.slice(r3), u3 = o2.exec(h3)[0];
|
|
608
|
-
f3.call(t2, u3), e2 = e2.replace(u3, "");
|
|
609
|
-
}
|
|
610
|
-
}
|
|
611
|
-
return function(e3) {
|
|
612
|
-
var t3 = e3.afternoon;
|
|
613
|
-
if (void 0 !== t3) {
|
|
614
|
-
var n4 = e3.hours;
|
|
615
|
-
t3 ? n4 < 12 && (e3.hours += 12) : 12 === n4 && (e3.hours = 0), delete e3.afternoon;
|
|
616
|
-
}
|
|
617
|
-
}(t2), t2;
|
|
618
|
-
};
|
|
619
|
-
}
|
|
620
|
-
return function(e2, t2, n2) {
|
|
621
|
-
n2.p.customParseFormat = true, e2 && e2.parseTwoDigitYear && (s = e2.parseTwoDigitYear);
|
|
622
|
-
var r2 = t2.prototype, i2 = r2.parse;
|
|
623
|
-
r2.parse = function(e3) {
|
|
624
|
-
var t3 = e3.date, r3 = e3.utc, s2 = e3.args;
|
|
625
|
-
this.$u = r3;
|
|
626
|
-
var a2 = s2[1];
|
|
627
|
-
if ("string" == typeof a2) {
|
|
628
|
-
var f2 = true === s2[2], h2 = true === s2[3], u2 = f2 || h2, d2 = s2[2];
|
|
629
|
-
h2 && (d2 = s2[2]), o = this.$locale(), !f2 && d2 && (o = n2.Ls[d2]), this.$d = function(e4, t4, n3) {
|
|
630
|
-
try {
|
|
631
|
-
if (["x", "X"].indexOf(t4) > -1)
|
|
632
|
-
return new Date(("X" === t4 ? 1e3 : 1) * e4);
|
|
633
|
-
var r4 = c(t4)(e4), i3 = r4.year, o2 = r4.month, s3 = r4.day, a3 = r4.hours, f3 = r4.minutes, h3 = r4.seconds, u3 = r4.milliseconds, d3 = r4.zone, l2 = /* @__PURE__ */ new Date(), m2 = s3 || (i3 || o2 ? 1 : l2.getDate()), M2 = i3 || l2.getFullYear(), Y = 0;
|
|
634
|
-
i3 && !o2 || (Y = o2 > 0 ? o2 - 1 : l2.getMonth());
|
|
635
|
-
var p = a3 || 0, v = f3 || 0, D = h3 || 0, g = u3 || 0;
|
|
636
|
-
return d3 ? new Date(Date.UTC(M2, Y, m2, p, v, D, g + 60 * d3.offset * 1e3)) : n3 ? new Date(Date.UTC(M2, Y, m2, p, v, D, g)) : new Date(M2, Y, m2, p, v, D, g);
|
|
637
|
-
} catch (e5) {
|
|
638
|
-
return /* @__PURE__ */ new Date("");
|
|
639
|
-
}
|
|
640
|
-
}(t3, a2, r3), this.init(), d2 && true !== d2 && (this.$L = this.locale(d2).$L), u2 && t3 != this.format(a2) && (this.$d = /* @__PURE__ */ new Date("")), o = {};
|
|
641
|
-
} else if (a2 instanceof Array)
|
|
642
|
-
for (var l = a2.length, m = 1; m <= l; m += 1) {
|
|
643
|
-
s2[1] = a2[m - 1];
|
|
644
|
-
var M = n2.apply(this, s2);
|
|
645
|
-
if (M.isValid()) {
|
|
646
|
-
this.$d = M.$d, this.$L = M.$L, this.init();
|
|
647
|
-
break;
|
|
648
|
-
}
|
|
649
|
-
m === l && (this.$d = /* @__PURE__ */ new Date(""));
|
|
650
|
-
}
|
|
651
|
-
else
|
|
652
|
-
i2.call(this, e3);
|
|
653
|
-
};
|
|
654
|
-
};
|
|
655
|
-
});
|
|
656
|
-
}
|
|
657
|
-
});
|
|
658
|
-
|
|
659
120
|
// ../../node_modules/rc-picker/lib/generate/dayjs.js
|
|
660
121
|
var require_dayjs = __commonJS({
|
|
661
122
|
"../../node_modules/rc-picker/lib/generate/dayjs.js"(exports) {
|
|
@@ -665,14 +126,14 @@ var require_dayjs = __commonJS({
|
|
|
665
126
|
value: true
|
|
666
127
|
});
|
|
667
128
|
exports.default = void 0;
|
|
668
|
-
var _dayjs = _interopRequireDefault(
|
|
129
|
+
var _dayjs = _interopRequireDefault(__require("dayjs"));
|
|
669
130
|
var _warning = require_warning();
|
|
670
|
-
var _weekday = _interopRequireDefault(
|
|
671
|
-
var _localeData = _interopRequireDefault(
|
|
672
|
-
var _weekOfYear = _interopRequireDefault(
|
|
673
|
-
var _weekYear = _interopRequireDefault(
|
|
674
|
-
var _advancedFormat = _interopRequireDefault(
|
|
675
|
-
var _customParseFormat = _interopRequireDefault(
|
|
131
|
+
var _weekday = _interopRequireDefault(__require("dayjs/plugin/weekday"));
|
|
132
|
+
var _localeData = _interopRequireDefault(__require("dayjs/plugin/localeData"));
|
|
133
|
+
var _weekOfYear = _interopRequireDefault(__require("dayjs/plugin/weekOfYear"));
|
|
134
|
+
var _weekYear = _interopRequireDefault(__require("dayjs/plugin/weekYear"));
|
|
135
|
+
var _advancedFormat = _interopRequireDefault(__require("dayjs/plugin/advancedFormat"));
|
|
136
|
+
var _customParseFormat = _interopRequireDefault(__require("dayjs/plugin/customParseFormat"));
|
|
676
137
|
_dayjs.default.extend(_customParseFormat.default);
|
|
677
138
|
_dayjs.default.extend(_advancedFormat.default);
|
|
678
139
|
_dayjs.default.extend(_weekday.default);
|
|
@@ -1019,10 +480,10 @@ var AntDNotToggle = (_a) => {
|
|
|
1019
480
|
AntDNotToggle.displayName = "AntDNotToggle";
|
|
1020
481
|
|
|
1021
482
|
// src/AntDValueEditor.tsx
|
|
1022
|
-
var import_dayjs = __toESM(require_dayjs_min());
|
|
1023
483
|
var import_dayjs2 = __toESM(require_dayjs());
|
|
1024
484
|
import { Checkbox, Input, Radio, Switch as Switch2, TimePicker } from "antd";
|
|
1025
485
|
import generatePicker from "antd/es/date-picker/generatePicker/index.js";
|
|
486
|
+
import dayjs from "dayjs";
|
|
1026
487
|
import {
|
|
1027
488
|
getFirstOption,
|
|
1028
489
|
standardClassnames,
|
|
@@ -1168,7 +629,7 @@ var AntDValueEditor = (_a) => {
|
|
|
1168
629
|
return /* @__PURE__ */ jsx6(
|
|
1169
630
|
TimePicker,
|
|
1170
631
|
{
|
|
1171
|
-
value: valueAsArray[i] ? (
|
|
632
|
+
value: valueAsArray[i] ? dayjs(valueAsArray[i], "HH:mm:ss") : null,
|
|
1172
633
|
className: standardClassnames.valueListItem,
|
|
1173
634
|
disabled,
|
|
1174
635
|
placeholder: placeHolderText,
|
|
@@ -1280,7 +741,7 @@ var AntDValueEditor = (_a) => {
|
|
|
1280
741
|
return operator === "between" || operator === "notBetween" ? /* @__PURE__ */ jsx6(
|
|
1281
742
|
DatePicker.RangePicker,
|
|
1282
743
|
{
|
|
1283
|
-
value: ((_b2 = toArray(value)) == null ? void 0 : _b2.length) >= 2 ? toArray(value).map((v) => (
|
|
744
|
+
value: ((_b2 = toArray(value)) == null ? void 0 : _b2.length) >= 2 ? toArray(value).map((v) => dayjs(v)) : void 0,
|
|
1284
745
|
showTime: inputTypeCoerced === "datetime-local",
|
|
1285
746
|
className,
|
|
1286
747
|
disabled,
|
|
@@ -1297,7 +758,7 @@ var AntDValueEditor = (_a) => {
|
|
|
1297
758
|
) : /* @__PURE__ */ jsx6(
|
|
1298
759
|
DatePicker,
|
|
1299
760
|
{
|
|
1300
|
-
value: value ? (
|
|
761
|
+
value: value ? dayjs(value) : null,
|
|
1301
762
|
showTime: inputTypeCoerced === "datetime-local",
|
|
1302
763
|
className,
|
|
1303
764
|
disabled,
|
|
@@ -1309,7 +770,7 @@ var AntDValueEditor = (_a) => {
|
|
|
1309
770
|
return /* @__PURE__ */ jsx6(
|
|
1310
771
|
TimePicker,
|
|
1311
772
|
{
|
|
1312
|
-
value: value ? (
|
|
773
|
+
value: value ? dayjs(value, "HH:mm:ss") : null,
|
|
1313
774
|
className,
|
|
1314
775
|
disabled,
|
|
1315
776
|
placeholder: placeHolderText,
|