@quoreadmin/ui 1.10.19 → 1.10.20

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.
Files changed (201) hide show
  1. package/dist/index149.js +1 -1
  2. package/dist/index151.js +4 -4
  3. package/dist/index183.js +3 -3
  4. package/dist/index186.js +4 -4
  5. package/dist/index193.js +10 -10
  6. package/dist/index195.js +10 -10
  7. package/dist/index198.js +17 -17
  8. package/dist/index199.js +1106 -5816
  9. package/dist/index201.js +5922 -19
  10. package/dist/index202.js +199 -10
  11. package/dist/index203.js +25 -1218
  12. package/dist/index204.js +20 -0
  13. package/dist/index206.js +2 -2
  14. package/dist/index208.js +14 -14
  15. package/dist/index209.js +1 -1
  16. package/dist/index210.js +1 -1
  17. package/dist/index211.js +3 -3
  18. package/dist/index212.js +6 -6
  19. package/dist/index216.js +2 -2
  20. package/dist/index217.js +1 -1
  21. package/dist/index219.js +4 -4
  22. package/dist/index221.js +1 -1
  23. package/dist/index222.js +1 -1
  24. package/dist/index223.js +1 -1
  25. package/dist/index224.js +4 -4
  26. package/dist/index226.js +1 -1
  27. package/dist/index227.js +84 -157
  28. package/dist/index228.js +384 -205
  29. package/dist/index229.js +22 -37
  30. package/dist/index230.js +127 -10
  31. package/dist/index231.js +33 -122
  32. package/dist/index232.js +80 -38
  33. package/dist/index233.js +20 -407
  34. package/dist/index234.js +20 -80
  35. package/dist/index235.js +12 -12
  36. package/dist/index236.js +19 -87
  37. package/dist/index237.js +11 -11
  38. package/dist/index238.js +160 -19
  39. package/dist/index239.js +228 -20
  40. package/dist/index24.js +57 -56
  41. package/dist/index240.js +36 -19
  42. package/dist/index241.js +10 -22
  43. package/dist/index242.js +149 -3624
  44. package/dist/index243.js +20 -55
  45. package/dist/index244.js +22 -77
  46. package/dist/index245.js +190 -43
  47. package/dist/index246.js +66 -211
  48. package/dist/index247.js +33 -9
  49. package/dist/index248.js +36 -53
  50. package/dist/index249.js +22 -61
  51. package/dist/index250.js +22 -54
  52. package/dist/index251.js +20 -75
  53. package/dist/index252.js +791 -681
  54. package/dist/index253.js +693 -33
  55. package/dist/index254.js +168 -56
  56. package/dist/index255.js +22 -11
  57. package/dist/index256.js +20 -705
  58. package/dist/index257.js +20 -820
  59. package/dist/index258.js +3 -22
  60. package/dist/index259.js +186 -21
  61. package/dist/index260.js +132 -19
  62. package/dist/index261.js +1131 -744
  63. package/dist/index262.js +19 -701
  64. package/dist/index263.js +22 -176
  65. package/dist/index264.js +8 -8
  66. package/dist/index265.js +22 -13
  67. package/dist/index266.js +10 -10
  68. package/dist/index267.js +20 -3
  69. package/dist/index268.js +2 -187
  70. package/dist/index269.js +2 -133
  71. package/dist/index270.js +3624 -149
  72. package/dist/index271.js +48 -1216
  73. package/dist/index272.js +77 -20
  74. package/dist/index273.js +52 -22
  75. package/dist/index274.js +215 -20
  76. package/dist/index275.js +10 -22
  77. package/dist/index276.js +57 -29
  78. package/dist/index277.js +61 -20
  79. package/dist/index278.js +54 -20
  80. package/dist/index279.js +75 -2
  81. package/dist/index280.js +726 -2
  82. package/dist/index281.js +42 -22
  83. package/dist/index282.js +55 -190
  84. package/dist/index283.js +11 -70
  85. package/dist/index284.js +704 -33
  86. package/dist/index285.js +817 -37
  87. package/dist/index286.js +3 -253
  88. package/dist/index287.js +27 -2
  89. package/dist/index288.js +219 -104
  90. package/dist/index289.js +8 -83
  91. package/dist/index290.js +118 -59
  92. package/dist/index291.js +83 -8
  93. package/dist/index292.js +262 -3
  94. package/dist/index293.js +4 -25
  95. package/dist/index294.js +130 -1524
  96. package/dist/index295.js +65 -378
  97. package/dist/index296.js +81 -2725
  98. package/dist/index297.js +26 -83
  99. package/dist/index298.js +13 -3789
  100. package/dist/index299.js +72 -57
  101. package/dist/index300.js +4 -15
  102. package/dist/index301.js +2 -84
  103. package/dist/index302.js +74 -193
  104. package/dist/index303.js +53 -246
  105. package/dist/index304.js +4 -260
  106. package/dist/index305.js +4 -5
  107. package/dist/index306.js +166 -127
  108. package/dist/index307.js +58 -68
  109. package/dist/index308.js +73 -85
  110. package/dist/index309.js +2 -29
  111. package/dist/index310.js +77 -14
  112. package/dist/index311.js +52 -73
  113. package/dist/index312.js +25 -3
  114. package/dist/index313.js +22 -2
  115. package/dist/index314.js +21 -82
  116. package/dist/index315.js +16 -53
  117. package/dist/index316.js +17 -6
  118. package/dist/index317.js +23 -5
  119. package/dist/index318.js +1504 -149
  120. package/dist/index319.js +378 -55
  121. package/dist/index320.js +2731 -75
  122. package/dist/index321.js +82 -75
  123. package/dist/index322.js +3792 -22
  124. package/dist/index323.js +56 -931
  125. package/dist/index324.js +15 -22
  126. package/dist/index325.js +83 -19
  127. package/dist/index326.js +202 -20
  128. package/dist/index327.js +241 -64
  129. package/dist/index328.js +76 -16
  130. package/dist/index329.js +22 -19
  131. package/dist/index330.js +930 -49
  132. package/dist/index331.js +16 -16
  133. package/dist/index332.js +11 -13
  134. package/dist/index333.js +19 -62
  135. package/dist/index334.js +68 -25
  136. package/dist/index335.js +19 -22
  137. package/dist/index336.js +19 -22
  138. package/dist/index337.js +22 -16
  139. package/dist/index338.js +22 -17
  140. package/dist/index339.js +61 -21
  141. package/dist/index340.js +9 -36
  142. package/dist/index341.js +10 -9
  143. package/dist/index342.js +14 -13
  144. package/dist/index343.js +10 -55
  145. package/dist/index344.js +16 -11
  146. package/dist/index345.js +8 -13
  147. package/dist/index346.js +12 -57
  148. package/dist/index347.js +51 -48
  149. package/dist/index348.js +9 -28
  150. package/dist/index349.js +14 -2
  151. package/dist/index350.js +58 -5
  152. package/dist/index351.js +52 -2
  153. package/dist/index352.js +30 -22
  154. package/dist/index353.js +2 -41
  155. package/dist/index354.js +5 -2
  156. package/dist/index355.js +2 -11
  157. package/dist/index356.js +22 -19
  158. package/dist/index357.js +40 -9
  159. package/dist/index358.js +2 -10
  160. package/dist/index359.js +10 -16
  161. package/dist/index360.js +20 -2
  162. package/dist/index361.js +2 -9
  163. package/dist/index362.js +9 -10
  164. package/dist/index363.js +19 -14
  165. package/dist/index364.js +55 -17
  166. package/dist/index365.js +28 -56
  167. package/dist/index366.js +6 -28
  168. package/dist/index367.js +51 -6
  169. package/dist/index368.js +6 -51
  170. package/dist/index369.js +12 -7
  171. package/dist/index370.js +7 -12
  172. package/dist/index371.js +27 -6
  173. package/dist/index372.js +2 -28
  174. package/dist/index373.js +70 -2
  175. package/dist/index374.js +164 -67
  176. package/dist/index375.js +36 -166
  177. package/dist/index376.js +1 -1
  178. package/dist/index377.js +1 -1
  179. package/dist/index378.js +1 -1
  180. package/dist/index379.js +1 -1
  181. package/dist/index380.js +28 -98
  182. package/dist/index381.js +10 -90
  183. package/dist/index382.js +4 -98
  184. package/dist/index383.js +3 -30
  185. package/dist/index384.js +13 -11
  186. package/dist/index385.js +7 -4
  187. package/dist/index386.js +11 -3
  188. package/dist/index387.js +5 -13
  189. package/dist/index388.js +33 -7
  190. package/dist/index389.js +30 -11
  191. package/dist/index390.js +28 -5
  192. package/dist/index391.js +61 -33
  193. package/dist/index392.js +99 -29
  194. package/dist/index393.js +91 -28
  195. package/dist/index394.js +96 -59
  196. package/dist/index395.js +1 -1
  197. package/dist/index396.js +1 -1
  198. package/dist/index401.js +1 -1
  199. package/dist/index402.js +2 -2
  200. package/package.json +1 -1
  201. package/dist/index200.js +0 -209
package/dist/index24.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import C from "./index105.js";
2
- import { resolveComponent as a, openBlock as o, createElementBlock as r, createVNode as n, withCtx as i, createElementVNode as m, normalizeStyle as v, normalizeClass as u, toDisplayString as s, createCommentVNode as d, renderSlot as z, withKeys as c, withModifiers as $, Transition as U, createBlock as g, Teleport as q, createTextVNode as A, Fragment as y, renderList as b } from "vue";
3
- import S from "./index65.js";
4
- const L = { class: "file-upload-container w-full" }, I = {
2
+ import { resolveComponent as a, openBlock as l, createElementBlock as r, createVNode as i, withCtx as d, createElementVNode as p, normalizeStyle as v, normalizeClass as u, toDisplayString as s, createCommentVNode as n, renderSlot as z, withKeys as g, withModifiers as $, Transition as U, createBlock as c, Teleport as L, createTextVNode as q, Fragment as y, renderList as b } from "vue";
3
+ import A from "./index65.js";
4
+ const S = { class: "file-upload-container w-full" }, I = {
5
5
  ref: "dropZoneRef",
6
6
  class: "flex flex-col relative"
7
7
  }, R = { class: "mt-2 mb-0 text-inkwell-0 text-sm" }, H = {
@@ -16,22 +16,22 @@ const L = { class: "file-upload-container w-full" }, I = {
16
16
  }, N = { class: "font-bold md:leading-6 text-center text-[1.25rem] md:text-lg text-inkwell-30" }, T = {
17
17
  key: 0,
18
18
  class: "sm-down:text-sm text-center text-inkwell-0"
19
- }, _ = {
19
+ }, Z = {
20
20
  key: 1,
21
21
  id: "file-size-errors",
22
22
  class: "mb-2 md:mb-6 sm-down:text-sm text-center text-inkwell-0 text-left"
23
- }, Z = {
23
+ }, K = {
24
24
  key: 2,
25
25
  class: "sm-down:text-sm text-center text-inkwell-0"
26
- }, K = {
26
+ }, B = {
27
27
  key: 3,
28
28
  id: "file-type-errors",
29
29
  class: "mb-2 md:mb-6 sm-down:text-sm text-center text-inkwell-0 text-left"
30
30
  };
31
- function B(e, t, G, P, Q, j) {
31
+ function G(e, t, P, Q, _, j) {
32
32
  const f = a("q-icon"), k = a("q-image-gallery"), h = a("FileUpload", !0), w = a("q-button"), E = a("q-modal-content"), F = a("q-modal");
33
- return o(), r("div", L, [
34
- n(h, {
33
+ return l(), r("div", S, [
34
+ i(h, {
35
35
  ref: "fileUpload",
36
36
  name: e.name,
37
37
  url: e.url,
@@ -42,9 +42,9 @@ function B(e, t, G, P, Q, j) {
42
42
  "custom-upload": e.customUpload,
43
43
  disabled: e.disabled,
44
44
  "file-limit": e.fileLimit,
45
- onError: t[3] || (t[3] = (l) => e.onUploadError(l)),
45
+ onError: t[3] || (t[3] = (o) => e.onUploadError(o)),
46
46
  onUpload: e.onUpload,
47
- onUploader: t[4] || (t[4] = (l) => e.onUploading(l)),
47
+ onUploader: t[4] || (t[4] = (o) => e.onUploading(o)),
48
48
  onSelect: e.onSelectedFiles,
49
49
  pt: {
50
50
  root: { class: "flex flex-col" },
@@ -53,9 +53,9 @@ function B(e, t, G, P, Q, j) {
53
53
  },
54
54
  ptOptions: { mergeProps: !0 }
55
55
  }, {
56
- content: i((l) => [
57
- m("div", I, [
58
- e.isOverDropZone && e.mq.md ? (o(), r("div", {
56
+ content: d((o) => [
57
+ p("div", I, [
58
+ e.isOverDropZone && e.mq.md ? (l(), r("div", {
59
59
  key: 0,
60
60
  class: u([
61
61
  "flex flex-col items-center justify-center",
@@ -64,7 +64,7 @@ function B(e, t, G, P, Q, j) {
64
64
  "absolute top-0 left-0 z-30",
65
65
  {
66
66
  "cursor-pointer": !e.disabled,
67
- "border-red-30": l.messages && l.messages.length > 0
67
+ "border-red-30": o.messages && o.messages.length > 0
68
68
  }
69
69
  ]),
70
70
  style: v(`
@@ -72,25 +72,26 @@ function B(e, t, G, P, Q, j) {
72
72
  top: ${e.dropZoneRef?.closest(".show-formatting-menu") ? -36 : 0}px;
73
73
  `)
74
74
  }, [
75
- n(f, {
75
+ i(f, {
76
76
  icon: "paperclip",
77
77
  size: "lg",
78
78
  type: "line",
79
79
  color: "gray-40"
80
80
  }),
81
- m("div", R, s(e.$t("HC_CLICK_DRAG_FILES_HERE")), 1)
82
- ], 6)) : d("", !0),
81
+ p("div", R, s(e.$t("HC_CLICK_DRAG_FILES_HERE")), 1)
82
+ ], 6)) : n("", !0),
83
83
  z(e.$slots, "default"),
84
- e.allFiles.length || e.showGallery ? (o(), r("div", H, [
85
- n(k, {
84
+ e.allFiles.length || e.showGallery ? (l(), r("div", H, [
85
+ i(k, {
86
86
  files: e.allFiles,
87
87
  "show-remove": !0,
88
88
  processing: e.processing,
89
89
  class: "px-4 mt-2 mb-2",
90
90
  "onUpdate:modelValue": e.onRemoveFile
91
91
  }, {
92
- actions: i(() => [
93
- m("div", {
92
+ actions: d(() => [
93
+ e.fileLimit && e.allFiles.length < e.fileLimit || !e.fileLimit ? (l(), r("div", {
94
+ key: 0,
94
95
  id: "add-file-container",
95
96
  "aria-labelledby": "add-file-label",
96
97
  class: u([
@@ -99,66 +100,66 @@ function B(e, t, G, P, Q, j) {
99
100
  ]),
100
101
  role: "button",
101
102
  tabindex: e.disabled ? -1 : 0,
102
- onClick: t[0] || (t[0] = (...p) => e.onAddFileClick && e.onAddFileClick(...p)),
103
+ onClick: t[0] || (t[0] = (...m) => e.onAddFileClick && e.onAddFileClick(...m)),
103
104
  onKeydown: [
104
- t[1] || (t[1] = c((...p) => e.onAddFileClick && e.onAddFileClick(...p), ["enter"])),
105
- t[2] || (t[2] = c($((...p) => e.onAddFileClick && e.onAddFileClick(...p), ["prevent"]), ["space"]))
105
+ t[1] || (t[1] = g((...m) => e.onAddFileClick && e.onAddFileClick(...m), ["enter"])),
106
+ t[2] || (t[2] = g($((...m) => e.onAddFileClick && e.onAddFileClick(...m), ["prevent"]), ["space"]))
106
107
  ]
107
108
  }, [
108
- n(f, {
109
+ i(f, {
109
110
  icon: "circle-plus",
110
111
  color: "inkwell-0",
111
112
  class: "shrink-0",
112
113
  size: "md"
113
114
  }),
114
- m("div", V, s(e.$t("HC_ADD")), 1)
115
- ], 42, D)
115
+ p("div", V, s(e.$t("HC_ADD")), 1)
116
+ ], 42, D)) : n("", !0)
116
117
  ]),
117
118
  _: 1
118
119
  }, 8, ["files", "processing", "onUpdate:modelValue"])
119
- ])) : d("", !0)
120
+ ])) : n("", !0)
120
121
  ], 512)
121
122
  ]),
122
123
  _: 3
123
124
  }, 8, ["name", "url", "multiple", "accept", "maxFileSize", "auto", "custom-upload", "disabled", "file-limit", "onUpload", "onSelect", "pt"]),
124
- n(U, { name: "fade" }, {
125
- default: i(() => [
126
- (o(), g(q, { to: "body" }, [
127
- e.sizeErrors.length || e.typeErrors.length ? (o(), g(F, {
125
+ i(U, { name: "fade" }, {
126
+ default: d(() => [
127
+ (l(), c(L, { to: "body" }, [
128
+ e.sizeErrors.length || e.typeErrors.length ? (l(), c(F, {
128
129
  key: 0,
129
130
  id: "file-upload-error-modal",
130
131
  dismissible: !1,
131
132
  overlay: e.mq.md ? "white-transparent" : "black-transparent",
132
133
  "container-class": "h-fit min-h-fit"
133
134
  }, {
134
- default: i(() => [
135
- n(E, null, {
136
- body: i(() => [
137
- m("div", O, [
138
- m("h2", N, s(e.typeErrors.length ? e.$t("HC_INVALID_FILES") : e.$t("HC_FILE_TOO_LARGE")), 1),
139
- e.sizeErrors.length ? (o(), r("p", T, s(e.$t("HC_UPLOAD_FILE_SIZE_ERROR", {
135
+ default: d(() => [
136
+ i(E, null, {
137
+ body: d(() => [
138
+ p("div", O, [
139
+ p("h2", N, s(e.typeErrors.length ? e.$t("HC_INVALID_FILES") : e.$t("HC_FILE_TOO_LARGE")), 1),
140
+ e.sizeErrors.length ? (l(), r("p", T, s(e.$t("HC_UPLOAD_FILE_SIZE_ERROR", {
140
141
  size: e.maxFileSize / 1024 / 1024
141
- })), 1)) : d("", !0),
142
- e.sizeErrors.length ? (o(), r("ul", _, [
143
- (o(!0), r(y, null, b(e.sizeErrors, (l) => (o(), r("li", { key: l }, s(l), 1))), 128))
144
- ])) : d("", !0),
145
- e.typeErrors.length ? (o(), r("p", Z, s(e.$t("HC_INVALID_FILE_TYPES", {
142
+ })), 1)) : n("", !0),
143
+ e.sizeErrors.length ? (l(), r("ul", Z, [
144
+ (l(!0), r(y, null, b(e.sizeErrors, (o) => (l(), r("li", { key: o }, s(o), 1))), 128))
145
+ ])) : n("", !0),
146
+ e.typeErrors.length ? (l(), r("p", K, s(e.$t("HC_INVALID_FILE_TYPES", {
146
147
  types: e.displayAllowedTypes
147
- }) + ":"), 1)) : d("", !0),
148
- e.typeErrors.length ? (o(), r("ul", K, [
149
- (o(!0), r(y, null, b(e.typeErrors, (l) => (o(), r("li", { key: l }, s(l), 1))), 128))
150
- ])) : d("", !0)
148
+ }) + ":"), 1)) : n("", !0),
149
+ e.typeErrors.length ? (l(), r("ul", B, [
150
+ (l(!0), r(y, null, b(e.typeErrors, (o) => (l(), r("li", { key: o }, s(o), 1))), 128))
151
+ ])) : n("", !0)
151
152
  ])
152
153
  ]),
153
- footer: i(() => [
154
- n(w, {
154
+ footer: d(() => [
155
+ i(w, {
155
156
  class: u([e.mq.md ? "mx-3" : "w-full"]),
156
157
  status: e.mq.md ? "primary" : "primary-blue",
157
158
  size: "lg",
158
- onClick: t[5] || (t[5] = (l) => e.clearErrors())
159
+ onClick: t[5] || (t[5] = (o) => e.clearErrors())
159
160
  }, {
160
- default: i(() => [
161
- A(s(e.$t("HC_OK")), 1)
161
+ default: d(() => [
162
+ q(s(e.$t("HC_OK")), 1)
162
163
  ]),
163
164
  _: 1
164
165
  }, 8, ["class", "status"])
@@ -167,14 +168,14 @@ function B(e, t, G, P, Q, j) {
167
168
  })
168
169
  ]),
169
170
  _: 1
170
- }, 8, ["overlay"])) : d("", !0)
171
+ }, 8, ["overlay"])) : n("", !0)
171
172
  ]))
172
173
  ]),
173
174
  _: 1
174
175
  })
175
176
  ]);
176
177
  }
177
- const J = /* @__PURE__ */ S(C, [["render", B]]);
178
+ const W = /* @__PURE__ */ A(C, [["render", G]]);
178
179
  export {
179
- J as default
180
+ W as default
180
181
  };
package/dist/index240.js CHANGED
@@ -1,22 +1,39 @@
1
- import r from "./index290.js";
2
- import { openBlock as t, createElementBlock as o, mergeProps as n, createElementVNode as p } from "vue";
3
- var i = {
4
- name: "ChevronUpIcon",
5
- extends: r
6
- }, l = /* @__PURE__ */ p("path", {
7
- d: "M12.2097 10.4113C12.1057 10.4118 12.0027 10.3915 11.9067 10.3516C11.8107 10.3118 11.7237 10.2532 11.6506 10.1792L6.93602 5.46461L2.22139 10.1476C2.07272 10.244 1.89599 10.2877 1.71953 10.2717C1.54307 10.2556 1.3771 10.1808 1.24822 10.0593C1.11933 9.93766 1.035 9.77633 1.00874 9.6011C0.982477 9.42587 1.0158 9.2469 1.10338 9.09287L6.37701 3.81923C6.52533 3.6711 6.72639 3.58789 6.93602 3.58789C7.14565 3.58789 7.3467 3.6711 7.49502 3.81923L12.7687 9.09287C12.9168 9.24119 13 9.44225 13 9.65187C13 9.8615 12.9168 10.0626 12.7687 10.2109C12.616 10.3487 12.4151 10.4207 12.2097 10.4113Z",
8
- fill: "currentColor"
9
- }, null, -1), s = [l];
10
- function C(e, a, c, d, h, m) {
11
- return t(), o("svg", n({
12
- width: "14",
13
- height: "14",
14
- viewBox: "0 0 14 14",
15
- fill: "none",
16
- xmlns: "http://www.w3.org/2000/svg"
17
- }, e.pti()), s, 16);
1
+ function g(e) {
2
+ return e instanceof Date || Object.prototype.toString.call(e) === "[object Date]";
3
+ }
4
+ function D(e) {
5
+ return g(e) ? new Date(e.getTime()) : e == null ? /* @__PURE__ */ new Date(NaN) : new Date(e);
6
+ }
7
+ function d(e) {
8
+ return g(e) && !isNaN(e.getTime());
9
+ }
10
+ function k(e) {
11
+ var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
12
+ if (!(r >= 0 && r <= 6))
13
+ throw new RangeError("weekStartsOn must be between 0 and 6");
14
+ var t = D(e), i = t.getDay(), n = (i + 7 - r) % 7;
15
+ return t.setDate(t.getDate() - n), t.setHours(0, 0, 0, 0), t;
16
+ }
17
+ function W(e) {
18
+ var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = r.firstDayOfWeek, i = t === void 0 ? 0 : t, n = r.firstWeekContainsDate, f = n === void 0 ? 1 : n;
19
+ if (!(f >= 1 && f <= 7))
20
+ throw new RangeError("firstWeekContainsDate must be between 1 and 7");
21
+ for (var s = D(e), u = s.getFullYear(), a = /* @__PURE__ */ new Date(0), o = u + 1; o >= u - 1 && (a.setFullYear(o, 0, f), a.setHours(0, 0, 0, 0), a = k(a, i), !(s.getTime() >= a.getTime())); o--)
22
+ ;
23
+ return a;
24
+ }
25
+ function m(e) {
26
+ var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = r.firstDayOfWeek, i = t === void 0 ? 0 : t, n = r.firstWeekContainsDate, f = n === void 0 ? 1 : n, s = D(e), u = k(s, i), a = W(s, {
27
+ firstDayOfWeek: i,
28
+ firstWeekContainsDate: f
29
+ }), o = u.getTime() - a.getTime();
30
+ return Math.round(o / (168 * 3600 * 1e3)) + 1;
18
31
  }
19
- i.render = C;
20
32
  export {
21
- i as default
33
+ m as getWeek,
34
+ g as isDate,
35
+ d as isValidDate,
36
+ k as startOfWeek,
37
+ W as startOfWeekYear,
38
+ D as toDate
22
39
  };
package/dist/index241.js CHANGED
@@ -1,24 +1,12 @@
1
- import p from "./index288.js";
2
- var a = {
3
- root: function(e) {
4
- var t = e.props;
5
- return ["p-selectbutton p-button-group p-component", {
6
- "p-disabled": t.disabled,
7
- "p-invalid": t.invalid
8
- }];
9
- },
10
- button: function(e) {
11
- var t = e.instance, n = e.option;
12
- return ["p-button p-component", {
13
- "p-highlight": t.isSelected(n),
14
- "p-disabled": t.isOptionDisabled(n)
15
- }];
16
- },
17
- label: "p-button-label"
18
- }, l = p.extend({
19
- name: "selectbutton",
20
- classes: a
21
- });
1
+ var e = {
2
+ months: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
3
+ monthsShort: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
4
+ weekdays: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
5
+ weekdaysShort: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
6
+ weekdaysMin: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
7
+ firstDayOfWeek: 0,
8
+ firstWeekContainsDate: 1
9
+ };
22
10
  export {
23
- l as default
11
+ e as default
24
12
  };