@quoreadmin/ui 1.10.16 → 1.10.17
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/index.css +1 -1
- package/dist/index186.js +4 -4
- package/dist/index193.js +8 -8
- package/dist/index195.js +8 -8
- package/dist/index198.js +17 -17
- package/dist/index201.js +26 -26
- package/dist/index202.js +1 -1
- package/dist/index203.js +1 -1
- package/dist/index206.js +2 -2
- package/dist/index208.js +14 -14
- package/dist/index209.js +1 -1
- package/dist/index210.js +1 -1
- package/dist/index211.js +3 -3
- package/dist/index212.js +6 -6
- package/dist/index216.js +2 -2
- package/dist/index217.js +1 -1
- package/dist/index219.js +4 -4
- package/dist/index221.js +1 -1
- package/dist/index222.js +1 -1
- package/dist/index223.js +1 -1
- package/dist/index224.js +4 -4
- package/dist/index226.js +1 -1
- package/dist/index230.js +122 -156
- package/dist/index231.js +35 -225
- package/dist/index232.js +80 -37
- package/dist/index233.js +20 -10
- package/dist/index234.js +19 -160
- package/dist/index235.js +11 -11
- package/dist/index236.js +12 -12
- package/dist/index237.js +13 -15
- package/dist/index238.js +129 -167
- package/dist/index239.js +19 -69
- package/dist/index240.js +21 -33
- package/dist/index241.js +184 -25
- package/dist/index242.js +63 -3629
- package/dist/index243.js +31 -52
- package/dist/index244.js +36 -73
- package/dist/index245.js +160 -51
- package/dist/index246.js +225 -212
- package/dist/index247.js +37 -10
- package/dist/index248.js +10 -57
- package/dist/index249.js +22 -61
- package/dist/index250.js +22 -54
- package/dist/index251.js +20 -75
- package/dist/index252.js +791 -681
- package/dist/index253.js +693 -33
- package/dist/index254.js +168 -56
- package/dist/index255.js +22 -11
- package/dist/index256.js +20 -705
- package/dist/index257.js +20 -820
- package/dist/index258.js +3 -22
- package/dist/index259.js +186 -21
- package/dist/index260.js +132 -19
- package/dist/index261.js +1131 -744
- package/dist/index262.js +19 -701
- package/dist/index263.js +22 -176
- package/dist/index264.js +15 -13
- package/dist/index265.js +22 -13
- package/dist/index266.js +13 -15
- package/dist/index267.js +12 -12
- package/dist/index268.js +2 -20
- package/dist/index269.js +1 -2
- package/dist/index270.js +3615 -166
- package/dist/index271.js +50 -128
- package/dist/index272.js +68 -1214
- package/dist/index273.js +47 -122
- package/dist/index274.js +215 -20
- package/dist/index275.js +10 -22
- package/dist/index276.js +57 -22
- package/dist/index277.js +55 -32
- package/dist/index278.js +54 -29
- package/dist/index279.js +75 -20
- package/dist/index280.js +725 -19
- package/dist/index281.js +42 -2
- package/dist/index282.js +64 -2
- package/dist/index283.js +10 -79
- package/dist/index284.js +705 -20
- package/dist/index285.js +820 -20
- package/dist/index290.js +2 -3
- package/dist/index291.js +77 -25
- package/dist/index293.js +25 -78
- package/dist/index294.js +15 -19
- package/dist/index295.js +10 -10
- package/dist/index296.js +16 -22
- package/dist/index297.js +15 -14
- package/dist/index298.js +21 -15
- package/dist/index299.js +261 -22
- package/dist/index300.js +5 -1533
- package/dist/index301.js +125 -371
- package/dist/index302.js +70 -2728
- package/dist/index303.js +85 -84
- package/dist/index304.js +26 -3789
- package/dist/index305.js +14 -58
- package/dist/index306.js +75 -15
- package/dist/index307.js +3 -83
- package/dist/index308.js +2 -202
- package/dist/index309.js +74 -237
- package/dist/index310.js +53 -2
- package/dist/index311.js +5 -78
- package/dist/index312.js +4 -21
- package/dist/index313.js +164 -920
- package/dist/index314.js +62 -21
- package/dist/index315.js +75 -20
- package/dist/index316.js +3 -20
- package/dist/index317.js +26 -68
- package/dist/index318.js +1534 -19
- package/dist/index319.js +386 -19
- package/dist/index320.js +2731 -22
- package/dist/index321.js +85 -21
- package/dist/index322.js +3792 -63
- package/dist/index323.js +52 -254
- package/dist/index324.js +78 -5
- package/dist/index325.js +21 -139
- package/dist/index326.js +928 -66
- package/dist/index327.js +21 -86
- package/dist/index328.js +19 -28
- package/dist/index329.js +19 -15
- package/dist/index330.js +67 -73
- package/dist/index331.js +19 -4
- package/dist/index332.js +19 -2
- package/dist/index333.js +21 -82
- package/dist/index334.js +21 -52
- package/dist/index335.js +63 -6
- package/dist/index336.js +15 -5
- package/dist/index337.js +71 -166
- package/dist/index338.js +196 -57
- package/dist/index339.js +246 -75
- package/dist/index340.js +36 -8
- package/dist/index341.js +18 -12
- package/dist/index342.js +55 -53
- package/dist/index343.js +27 -10
- package/dist/index344.js +6 -13
- package/dist/index345.js +48 -54
- package/dist/index346.js +7 -52
- package/dist/index347.js +11 -30
- package/dist/index348.js +7 -2
- package/dist/index349.js +27 -4
- package/dist/index350.js +2 -2
- package/dist/index351.js +69 -22
- package/dist/index352.js +164 -38
- package/dist/index353.js +9 -2
- package/dist/index354.js +13 -11
- package/dist/index355.js +51 -16
- package/dist/index356.js +12 -10
- package/dist/index357.js +14 -10
- package/dist/index358.js +56 -15
- package/dist/index359.js +52 -2
- package/dist/index360.js +31 -9
- package/dist/index361.js +2 -10
- package/dist/index362.js +4 -13
- package/dist/index363.js +2 -37
- package/dist/index364.js +23 -20
- package/dist/index365.js +40 -19
- package/dist/index366.js +2 -64
- package/dist/index367.js +10 -36
- package/dist/index368.js +17 -16
- package/dist/index369.js +10 -57
- package/dist/index370.js +10 -29
- package/dist/index371.js +16 -6
- package/dist/index372.js +2 -52
- package/dist/index373.js +8 -6
- package/dist/index374.js +9 -11
- package/dist/index375.js +13 -6
- package/dist/index376.js +20 -28
- package/dist/index377.js +20 -2
- package/dist/index378.js +61 -67
- package/dist/index379.js +36 -166
- package/dist/index380.js +30 -97
- package/dist/index381.js +10 -100
- package/dist/index382.js +3 -90
- package/dist/index383.js +4 -17
- package/dist/index384.js +12 -30
- package/dist/index385.js +7 -11
- package/dist/index386.js +11 -3
- package/dist/index387.js +4 -3
- package/dist/index388.js +33 -13
- package/dist/index389.js +31 -7
- package/dist/index390.js +28 -12
- package/dist/index391.js +61 -5
- package/dist/index392.js +101 -33
- package/dist/index393.js +91 -31
- package/dist/index394.js +16 -27
- package/dist/index395.js +96 -59
- package/dist/index396.js +1 -1
- package/dist/index4.js +5 -5
- package/dist/index401.js +1 -1
- package/dist/index402.js +2 -2
- package/package.json +1 -1
package/dist/index243.js
CHANGED
|
@@ -1,57 +1,36 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
return {
|
|
7
|
-
HTMLAttributes: {}
|
|
8
|
-
};
|
|
1
|
+
import t from "./index288.js";
|
|
2
|
+
var a = {
|
|
3
|
+
root: function(e) {
|
|
4
|
+
var o = e.props;
|
|
5
|
+
return ["p-fileupload p-fileupload-".concat(o.mode, " p-component")];
|
|
9
6
|
},
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
7
|
+
buttonbar: "p-fileupload-buttonbar",
|
|
8
|
+
chooseButton: function(e) {
|
|
9
|
+
var o = e.instance, l = e.props;
|
|
10
|
+
return ["p-button p-component p-fileupload-choose", {
|
|
11
|
+
"p-fileupload-choose-selected": l.mode === "basic" && o.hasFiles,
|
|
12
|
+
"p-disabled": l.disabled,
|
|
13
|
+
"p-focus": o.focused
|
|
14
|
+
}];
|
|
15
15
|
},
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
addCommands() {
|
|
34
|
-
return {
|
|
35
|
-
setBlockquote: () => ({ commands: t }) => t.wrapIn(this.name),
|
|
36
|
-
toggleBlockquote: () => ({ commands: t }) => t.toggleWrap(this.name),
|
|
37
|
-
unsetBlockquote: () => ({ commands: t }) => t.lift(this.name)
|
|
38
|
-
};
|
|
39
|
-
},
|
|
40
|
-
addKeyboardShortcuts() {
|
|
41
|
-
return {
|
|
42
|
-
"Mod-Shift-b": () => this.editor.commands.toggleBlockquote()
|
|
43
|
-
};
|
|
44
|
-
},
|
|
45
|
-
addInputRules() {
|
|
46
|
-
return [
|
|
47
|
-
c({
|
|
48
|
-
find: l,
|
|
49
|
-
type: this.type
|
|
50
|
-
})
|
|
51
|
-
];
|
|
52
|
-
}
|
|
16
|
+
chooseIcon: "p-button-icon p-button-icon-left",
|
|
17
|
+
chooseButtonLabel: "p-button-label",
|
|
18
|
+
content: "p-fileupload-content",
|
|
19
|
+
empty: "p-fileupload-empty",
|
|
20
|
+
uploadIcon: "p-button-icon p-button-icon-left",
|
|
21
|
+
label: "p-button-label",
|
|
22
|
+
file: "p-fileupload-file",
|
|
23
|
+
thumbnail: "p-fileupload-file-thumbnail",
|
|
24
|
+
details: "p-fileupload-file-details",
|
|
25
|
+
fileName: "p-fileupload-file-name",
|
|
26
|
+
fileSize: "p-fileupload-file-size",
|
|
27
|
+
badge: "p-fileupload-file-badge",
|
|
28
|
+
actions: "p-fileupload-file-actions",
|
|
29
|
+
removeButton: "p-fileupload-file-remove"
|
|
30
|
+
}, n = t.extend({
|
|
31
|
+
name: "fileupload",
|
|
32
|
+
classes: a
|
|
53
33
|
});
|
|
54
34
|
export {
|
|
55
|
-
|
|
56
|
-
l as inputRegex
|
|
35
|
+
n as default
|
|
57
36
|
};
|
package/dist/index244.js
CHANGED
|
@@ -1,79 +1,42 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
style: "font-weight=400",
|
|
21
|
-
clearMark: (t) => t.type.name === this.name
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
style: "font-weight",
|
|
25
|
-
getAttrs: (t) => /^(bold(er)?|[5-9]\d{2,})$/.test(t) && null
|
|
26
|
-
}
|
|
27
|
-
];
|
|
28
|
-
},
|
|
29
|
-
renderHTML({ HTMLAttributes: t }) {
|
|
30
|
-
return /* @__PURE__ */ n("strong", { ...o(this.options.HTMLAttributes, t), children: /* @__PURE__ */ n("slot", {}) });
|
|
31
|
-
},
|
|
32
|
-
markdownTokenName: "strong",
|
|
33
|
-
parseMarkdown: (t, e) => e.applyMark("bold", e.parseInline(t.tokens || [])),
|
|
34
|
-
renderMarkdown: (t, e) => `**${e.renderChildren(t)}**`,
|
|
35
|
-
addCommands() {
|
|
36
|
-
return {
|
|
37
|
-
setBold: () => ({ commands: t }) => t.setMark(this.name),
|
|
38
|
-
toggleBold: () => ({ commands: t }) => t.toggleMark(this.name),
|
|
39
|
-
unsetBold: () => ({ commands: t }) => t.unsetMark(this.name)
|
|
40
|
-
};
|
|
1
|
+
import t from "./index298.js";
|
|
2
|
+
import r from "./index228.js";
|
|
3
|
+
import { openBlock as n, createElementBlock as o, mergeProps as a, renderSlot as s, createTextVNode as p, toDisplayString as i } from "vue";
|
|
4
|
+
var l = {
|
|
5
|
+
name: "BaseBadge",
|
|
6
|
+
extends: r,
|
|
7
|
+
props: {
|
|
8
|
+
value: {
|
|
9
|
+
type: [String, Number],
|
|
10
|
+
default: null
|
|
11
|
+
},
|
|
12
|
+
severity: {
|
|
13
|
+
type: String,
|
|
14
|
+
default: null
|
|
15
|
+
},
|
|
16
|
+
size: {
|
|
17
|
+
type: String,
|
|
18
|
+
default: null
|
|
19
|
+
}
|
|
41
20
|
},
|
|
42
|
-
|
|
21
|
+
style: t,
|
|
22
|
+
provide: function() {
|
|
43
23
|
return {
|
|
44
|
-
|
|
45
|
-
"Mod-B": () => this.editor.commands.toggleBold()
|
|
24
|
+
$parentInstance: this
|
|
46
25
|
};
|
|
47
|
-
},
|
|
48
|
-
addInputRules() {
|
|
49
|
-
return [
|
|
50
|
-
s({
|
|
51
|
-
find: d,
|
|
52
|
-
type: this.type
|
|
53
|
-
}),
|
|
54
|
-
s({
|
|
55
|
-
find: i,
|
|
56
|
-
type: this.type
|
|
57
|
-
})
|
|
58
|
-
];
|
|
59
|
-
},
|
|
60
|
-
addPasteRules() {
|
|
61
|
-
return [
|
|
62
|
-
r({
|
|
63
|
-
find: l,
|
|
64
|
-
type: this.type
|
|
65
|
-
}),
|
|
66
|
-
r({
|
|
67
|
-
find: u,
|
|
68
|
-
type: this.type
|
|
69
|
-
})
|
|
70
|
-
];
|
|
71
26
|
}
|
|
72
|
-
}
|
|
27
|
+
}, u = {
|
|
28
|
+
name: "Badge",
|
|
29
|
+
extends: l,
|
|
30
|
+
inheritAttrs: !1
|
|
31
|
+
};
|
|
32
|
+
function d(e, c, f, m, g, $) {
|
|
33
|
+
return n(), o("span", a({
|
|
34
|
+
class: e.cx("root")
|
|
35
|
+
}, e.ptmi("root")), [s(e.$slots, "default", {}, function() {
|
|
36
|
+
return [p(i(e.value), 1)];
|
|
37
|
+
})], 16);
|
|
38
|
+
}
|
|
39
|
+
u.render = d;
|
|
73
40
|
export {
|
|
74
|
-
|
|
75
|
-
d as starInputRegex,
|
|
76
|
-
l as starPasteRegex,
|
|
77
|
-
i as underscoreInputRegex,
|
|
78
|
-
u as underscorePasteRegex
|
|
41
|
+
u as default
|
|
79
42
|
};
|
package/dist/index245.js
CHANGED
|
@@ -1,54 +1,163 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
return
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
},
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
return
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
1
|
+
import { toDate as m, isValidDate as M, getWeek as l } from "./index247.js";
|
|
2
|
+
import h from "./index248.js";
|
|
3
|
+
var Y = /\[([^\]]+)]|YYYY|YY?|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|m{1,2}|s{1,2}|Z{1,2}|S{1,3}|w{1,2}|x|X|a|A/g;
|
|
4
|
+
function r(n) {
|
|
5
|
+
for (var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 2, e = "".concat(Math.abs(n)), u = n < 0 ? "-" : ""; e.length < t; )
|
|
6
|
+
e = "0".concat(e);
|
|
7
|
+
return u + e;
|
|
8
|
+
}
|
|
9
|
+
function c(n) {
|
|
10
|
+
return Math.round(n.getTimezoneOffset() / 15) * 15;
|
|
11
|
+
}
|
|
12
|
+
function g(n) {
|
|
13
|
+
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", e = n > 0 ? "-" : "+", u = Math.abs(n), o = Math.floor(u / 60), a = u % 60;
|
|
14
|
+
return e + r(o, 2) + t + r(a, 2);
|
|
15
|
+
}
|
|
16
|
+
var d = function(t, e, u) {
|
|
17
|
+
var o = t < 12 ? "AM" : "PM";
|
|
18
|
+
return u ? o.toLocaleLowerCase() : o;
|
|
19
|
+
}, i = {
|
|
20
|
+
Y: function(t) {
|
|
21
|
+
var e = t.getFullYear();
|
|
22
|
+
return e <= 9999 ? "".concat(e) : "+".concat(e);
|
|
23
|
+
},
|
|
24
|
+
// Year: 00, 01, ..., 99
|
|
25
|
+
YY: function(t) {
|
|
26
|
+
return r(t.getFullYear(), 4).substr(2);
|
|
27
|
+
},
|
|
28
|
+
// Year: 1900, 1901, ..., 2099
|
|
29
|
+
YYYY: function(t) {
|
|
30
|
+
return r(t.getFullYear(), 4);
|
|
31
|
+
},
|
|
32
|
+
// Month: 1, 2, ..., 12
|
|
33
|
+
M: function(t) {
|
|
34
|
+
return t.getMonth() + 1;
|
|
35
|
+
},
|
|
36
|
+
// Month: 01, 02, ..., 12
|
|
37
|
+
MM: function(t) {
|
|
38
|
+
return r(t.getMonth() + 1, 2);
|
|
39
|
+
},
|
|
40
|
+
MMM: function(t, e) {
|
|
41
|
+
return e.monthsShort[t.getMonth()];
|
|
42
|
+
},
|
|
43
|
+
MMMM: function(t, e) {
|
|
44
|
+
return e.months[t.getMonth()];
|
|
45
|
+
},
|
|
46
|
+
// Day of month: 1, 2, ..., 31
|
|
47
|
+
D: function(t) {
|
|
48
|
+
return t.getDate();
|
|
49
|
+
},
|
|
50
|
+
// Day of month: 01, 02, ..., 31
|
|
51
|
+
DD: function(t) {
|
|
52
|
+
return r(t.getDate(), 2);
|
|
53
|
+
},
|
|
54
|
+
// Hour: 0, 1, ... 23
|
|
55
|
+
H: function(t) {
|
|
56
|
+
return t.getHours();
|
|
57
|
+
},
|
|
58
|
+
// Hour: 00, 01, ..., 23
|
|
59
|
+
HH: function(t) {
|
|
60
|
+
return r(t.getHours(), 2);
|
|
61
|
+
},
|
|
62
|
+
// Hour: 1, 2, ..., 12
|
|
63
|
+
h: function(t) {
|
|
64
|
+
var e = t.getHours();
|
|
65
|
+
return e === 0 ? 12 : e > 12 ? e % 12 : e;
|
|
66
|
+
},
|
|
67
|
+
// Hour: 01, 02, ..., 12
|
|
68
|
+
hh: function() {
|
|
69
|
+
var t = i.h.apply(i, arguments);
|
|
70
|
+
return r(t, 2);
|
|
71
|
+
},
|
|
72
|
+
// Minute: 0, 1, ..., 59
|
|
73
|
+
m: function(t) {
|
|
74
|
+
return t.getMinutes();
|
|
75
|
+
},
|
|
76
|
+
// Minute: 00, 01, ..., 59
|
|
77
|
+
mm: function(t) {
|
|
78
|
+
return r(t.getMinutes(), 2);
|
|
79
|
+
},
|
|
80
|
+
// Second: 0, 1, ..., 59
|
|
81
|
+
s: function(t) {
|
|
82
|
+
return t.getSeconds();
|
|
83
|
+
},
|
|
84
|
+
// Second: 00, 01, ..., 59
|
|
85
|
+
ss: function(t) {
|
|
86
|
+
return r(t.getSeconds(), 2);
|
|
87
|
+
},
|
|
88
|
+
// 1/10 of second: 0, 1, ..., 9
|
|
89
|
+
S: function(t) {
|
|
90
|
+
return Math.floor(t.getMilliseconds() / 100);
|
|
91
|
+
},
|
|
92
|
+
// 1/100 of second: 00, 01, ..., 99
|
|
93
|
+
SS: function(t) {
|
|
94
|
+
return r(Math.floor(t.getMilliseconds() / 10), 2);
|
|
95
|
+
},
|
|
96
|
+
// Millisecond: 000, 001, ..., 999
|
|
97
|
+
SSS: function(t) {
|
|
98
|
+
return r(t.getMilliseconds(), 3);
|
|
99
|
+
},
|
|
100
|
+
// Day of week: 0, 1, ..., 6
|
|
101
|
+
d: function(t) {
|
|
102
|
+
return t.getDay();
|
|
103
|
+
},
|
|
104
|
+
// Day of week: 'Su', 'Mo', ..., 'Sa'
|
|
105
|
+
dd: function(t, e) {
|
|
106
|
+
return e.weekdaysMin[t.getDay()];
|
|
107
|
+
},
|
|
108
|
+
// Day of week: 'Sun', 'Mon',..., 'Sat'
|
|
109
|
+
ddd: function(t, e) {
|
|
110
|
+
return e.weekdaysShort[t.getDay()];
|
|
111
|
+
},
|
|
112
|
+
// Day of week: 'Sunday', 'Monday', ...,'Saturday'
|
|
113
|
+
dddd: function(t, e) {
|
|
114
|
+
return e.weekdays[t.getDay()];
|
|
115
|
+
},
|
|
116
|
+
// AM, PM
|
|
117
|
+
A: function(t, e) {
|
|
118
|
+
var u = e.meridiem || d;
|
|
119
|
+
return u(t.getHours(), t.getMinutes(), !1);
|
|
120
|
+
},
|
|
121
|
+
// am, pm
|
|
122
|
+
a: function(t, e) {
|
|
123
|
+
var u = e.meridiem || d;
|
|
124
|
+
return u(t.getHours(), t.getMinutes(), !0);
|
|
125
|
+
},
|
|
126
|
+
// Timezone: -01:00, +00:00, ... +12:00
|
|
127
|
+
Z: function(t) {
|
|
128
|
+
return g(c(t), ":");
|
|
129
|
+
},
|
|
130
|
+
// Timezone: -0100, +0000, ... +1200
|
|
131
|
+
ZZ: function(t) {
|
|
132
|
+
return g(c(t));
|
|
133
|
+
},
|
|
134
|
+
// Seconds timestamp: 512969520
|
|
135
|
+
X: function(t) {
|
|
136
|
+
return Math.floor(t.getTime() / 1e3);
|
|
137
|
+
},
|
|
138
|
+
// Milliseconds timestamp: 512969520900
|
|
139
|
+
x: function(t) {
|
|
140
|
+
return t.getTime();
|
|
141
|
+
},
|
|
142
|
+
w: function(t, e) {
|
|
143
|
+
return l(t, {
|
|
144
|
+
firstDayOfWeek: e.firstDayOfWeek,
|
|
145
|
+
firstWeekContainsDate: e.firstWeekContainsDate
|
|
146
|
+
});
|
|
147
|
+
},
|
|
148
|
+
ww: function(t, e) {
|
|
149
|
+
return r(i.w(t, e), 2);
|
|
48
150
|
}
|
|
49
|
-
}
|
|
151
|
+
};
|
|
152
|
+
function v(n, t) {
|
|
153
|
+
var e = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, u = t ? String(t) : "YYYY-MM-DDTHH:mm:ss.SSSZ", o = m(n);
|
|
154
|
+
if (!M(o))
|
|
155
|
+
return "Invalid Date";
|
|
156
|
+
var a = e.locale || h;
|
|
157
|
+
return u.replace(Y, function(f, s) {
|
|
158
|
+
return s || (typeof i[f] == "function" ? "".concat(i[f](o, a)) : f);
|
|
159
|
+
});
|
|
160
|
+
}
|
|
50
161
|
export {
|
|
51
|
-
|
|
52
|
-
o as inputRegex,
|
|
53
|
-
u as pasteRegex
|
|
162
|
+
v as format
|
|
54
163
|
};
|