@quoreadmin/ui 1.4.7 → 1.4.8

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 (180) hide show
  1. package/dist/index164.js +14 -14
  2. package/dist/index165.js +3 -3
  3. package/dist/index168.js +4 -4
  4. package/dist/index175.js +2 -2
  5. package/dist/index177.js +9 -9
  6. package/dist/index181.js +17 -17
  7. package/dist/index184.js +25 -25
  8. package/dist/index185.js +2 -2
  9. package/dist/index186.js +2 -2
  10. package/dist/index187.js +1 -1
  11. package/dist/index189.js +2 -2
  12. package/dist/index191.js +14 -14
  13. package/dist/index192.js +1 -1
  14. package/dist/index193.js +1 -1
  15. package/dist/index194.js +3 -3
  16. package/dist/index195.js +6 -6
  17. package/dist/index196.js +84 -29
  18. package/dist/index197.js +400 -109
  19. package/dist/index198.js +22 -36
  20. package/dist/index199.js +33 -26
  21. package/dist/index200.js +111 -31
  22. package/dist/index201.js +36 -9
  23. package/dist/index202.js +26 -19
  24. package/dist/index203.js +36 -10
  25. package/dist/index204.js +9 -10
  26. package/dist/index205.js +18 -50
  27. package/dist/index206.js +10 -43
  28. package/dist/index207.js +10 -4
  29. package/dist/index208.js +48 -36
  30. package/dist/index209.js +43 -21
  31. package/dist/index210.js +3 -87
  32. package/dist/index211.js +35 -403
  33. package/dist/index212.js +21 -22
  34. package/dist/index213.js +3 -3
  35. package/dist/index217.js +3 -3
  36. package/dist/index218.js +1 -1
  37. package/dist/index22.js +15 -14
  38. package/dist/index220.js +1 -1
  39. package/dist/index221.js +21 -126
  40. package/dist/index222.js +21 -37
  41. package/dist/index223.js +20 -80
  42. package/dist/index224.js +836 -20
  43. package/dist/index225.js +701 -19
  44. package/dist/index226.js +175 -19
  45. package/dist/index227.js +10 -10
  46. package/dist/index228.js +19 -160
  47. package/dist/index229.js +22 -228
  48. package/dist/index230.js +19 -36
  49. package/dist/index231.js +20 -10
  50. package/dist/index232.js +3 -22
  51. package/dist/index233.js +186 -21
  52. package/dist/index234.js +132 -19
  53. package/dist/index235.js +1131 -744
  54. package/dist/index236.js +104 -679
  55. package/dist/index237.js +20 -176
  56. package/dist/index238.js +11 -11
  57. package/dist/index239.js +15 -13
  58. package/dist/index240.js +37 -19
  59. package/dist/index241.js +29 -3
  60. package/dist/index242.js +19 -186
  61. package/dist/index243.js +18 -131
  62. package/dist/index244.js +2 -1223
  63. package/dist/index245.js +2 -20
  64. package/dist/index246.js +3632 -22
  65. package/dist/index247.js +55 -22
  66. package/dist/index248.js +77 -29
  67. package/dist/index249.js +52 -20
  68. package/dist/index250.js +215 -20
  69. package/dist/index251.js +10 -2
  70. package/dist/index252.js +57 -2
  71. package/dist/index253.js +46 -3617
  72. package/dist/index254.js +35 -36
  73. package/dist/index255.js +28 -30
  74. package/dist/index256.js +699 -28
  75. package/dist/index257.js +21 -197
  76. package/dist/index258.js +63 -9
  77. package/dist/index259.js +8 -54
  78. package/dist/index260.js +695 -51
  79. package/dist/index261.js +815 -49
  80. package/dist/index262.js +160 -74
  81. package/dist/index263.js +212 -707
  82. package/dist/index264.js +37 -39
  83. package/dist/index265.js +10 -64
  84. package/dist/index266.js +79 -10
  85. package/dist/index267.js +20 -705
  86. package/dist/index268.js +20 -820
  87. package/dist/index274.js +1 -1
  88. package/dist/index281.js +3 -2
  89. package/dist/index282.js +27 -3
  90. package/dist/index283.js +1515 -24
  91. package/dist/index284.js +366 -215
  92. package/dist/index285.js +2729 -4
  93. package/dist/index286.js +83 -131
  94. package/dist/index287.js +3768 -66
  95. package/dist/index288.js +56 -83
  96. package/dist/index289.js +75 -25
  97. package/dist/index290.js +21 -8
  98. package/dist/index291.js +926 -66
  99. package/dist/index292.js +21 -3
  100. package/dist/index293.js +20 -2
  101. package/dist/index294.js +19 -82
  102. package/dist/index295.js +66 -51
  103. package/dist/index296.js +19 -6
  104. package/dist/index297.js +19 -5
  105. package/dist/index298.js +21 -178
  106. package/dist/index299.js +21 -62
  107. package/dist/index300.js +62 -74
  108. package/dist/index301.js +2 -79
  109. package/dist/index302.js +15 -22
  110. package/dist/index303.js +72 -923
  111. package/dist/index304.js +202 -22
  112. package/dist/index305.js +246 -20
  113. package/dist/index306.js +234 -19
  114. package/dist/index307.js +5 -68
  115. package/dist/index308.js +133 -18
  116. package/dist/index309.js +68 -19
  117. package/dist/index310.js +85 -20
  118. package/dist/index311.js +28 -21
  119. package/dist/index312.js +8 -62
  120. package/dist/index313.js +64 -1507
  121. package/dist/index314.js +3 -385
  122. package/dist/index315.js +2 -2731
  123. package/dist/index316.js +77 -80
  124. package/dist/index317.js +53 -3769
  125. package/dist/index318.js +4 -58
  126. package/dist/index319.js +5 -15
  127. package/dist/index320.js +166 -71
  128. package/dist/index321.js +57 -196
  129. package/dist/index322.js +75 -246
  130. package/dist/index326.js +1 -1
  131. package/dist/index331.js +1 -1
  132. package/dist/index336.js +2 -2
  133. package/dist/index341.js +1 -1
  134. package/dist/index342.js +2 -2
  135. package/dist/index347.js +19 -20
  136. package/dist/index348.js +19 -55
  137. package/dist/index349.js +63 -28
  138. package/dist/index350.js +37 -7
  139. package/dist/index351.js +18 -49
  140. package/dist/index352.js +56 -6
  141. package/dist/index353.js +27 -10
  142. package/dist/index354.js +7 -7
  143. package/dist/index355.js +51 -27
  144. package/dist/index356.js +6 -2
  145. package/dist/index357.js +11 -69
  146. package/dist/index358.js +6 -166
  147. package/dist/index359.js +28 -20
  148. package/dist/index360.js +2 -20
  149. package/dist/index361.js +67 -61
  150. package/dist/index362.js +166 -36
  151. package/dist/index363.js +17 -31
  152. package/dist/index364.js +100 -10
  153. package/dist/index365.js +90 -3
  154. package/dist/index366.js +98 -4
  155. package/dist/index367.js +30 -12
  156. package/dist/index368.js +11 -7
  157. package/dist/index369.js +3 -11
  158. package/dist/index370.js +3 -4
  159. package/dist/index371.js +13 -33
  160. package/dist/index372.js +7 -31
  161. package/dist/index373.js +12 -28
  162. package/dist/index374.js +5 -61
  163. package/dist/index375.js +33 -17
  164. package/dist/index376.js +29 -99
  165. package/dist/index377.js +28 -91
  166. package/dist/index378.js +59 -96
  167. package/dist/index379.js +1 -1
  168. package/dist/index384.js +1 -1
  169. package/dist/index385.js +2 -2
  170. package/dist/index96.js +23 -19
  171. package/dist/src/components/comment/comment.d.ts +9 -0
  172. package/dist/src/components/comment/comment.stories.d.ts +9 -0
  173. package/dist/src/components/comment-section/comment-section.d.ts +18 -0
  174. package/dist/src/components/comment-section/comment-section.stories.d.ts +27 -0
  175. package/dist/src/components/file-upload/file-upload.d.ts +9 -0
  176. package/dist/src/components/file-upload/file-upload.stories.d.ts +45 -0
  177. package/dist/src/components/room-details-popover/room-details-popover.d.ts +18 -0
  178. package/dist/src/components/wysiwyg/wysiwyg.d.ts +9 -0
  179. package/dist/src/components/wysiwyg/wysiwyg.stories.d.ts +9 -0
  180. package/package.json +1 -1
package/dist/index264.js CHANGED
@@ -1,41 +1,39 @@
1
- import { Node as a, mergeAttributes as n } from "./index253.js";
2
- var i = a.create({
3
- name: "paragraph",
4
- priority: 1e3,
5
- addOptions() {
6
- return {
7
- HTMLAttributes: {}
8
- };
9
- },
10
- group: "block",
11
- content: "inline*",
12
- parseHTML() {
13
- return [{ tag: "p" }];
14
- },
15
- renderHTML({ HTMLAttributes: r }) {
16
- return ["p", n(this.options.HTMLAttributes, r), 0];
17
- },
18
- parseMarkdown: (r, e) => {
19
- const t = r.tokens || [];
20
- return t.length === 1 && t[0].type === "image" ? e.parseChildren([t[0]]) : e.createNode(
21
- "paragraph",
22
- void 0,
23
- // no attributes for paragraph
24
- e.parseInline(t)
25
- );
26
- },
27
- renderMarkdown: (r, e) => !r || !Array.isArray(r.content) ? "" : e.renderChildren(r.content),
28
- addCommands() {
29
- return {
30
- setParagraph: () => ({ commands: r }) => r.setNode(this.name)
31
- };
32
- },
33
- addKeyboardShortcuts() {
34
- return {
35
- "Mod-Alt-0": () => this.editor.commands.setParagraph()
36
- };
37
- }
38
- });
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;
31
+ }
39
32
  export {
40
- i as Paragraph
33
+ m as getWeek,
34
+ g as isDate,
35
+ d as isValidDate,
36
+ k as startOfWeek,
37
+ W as startOfWeekYear,
38
+ D as toDate
41
39
  };
package/dist/index265.js CHANGED
@@ -1,66 +1,12 @@
1
- import { Mark as r, markPasteRule as s, markInputRule as n, mergeAttributes as a } from "./index253.js";
2
- var i = /(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/, d = /(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g, o = r.create({
3
- name: "strike",
4
- addOptions() {
5
- return {
6
- HTMLAttributes: {}
7
- };
8
- },
9
- parseHTML() {
10
- return [
11
- {
12
- tag: "s"
13
- },
14
- {
15
- tag: "del"
16
- },
17
- {
18
- tag: "strike"
19
- },
20
- {
21
- style: "text-decoration",
22
- consuming: !1,
23
- getAttrs: (e) => e.includes("line-through") ? {} : !1
24
- }
25
- ];
26
- },
27
- renderHTML({ HTMLAttributes: e }) {
28
- return ["s", a(this.options.HTMLAttributes, e), 0];
29
- },
30
- markdownTokenName: "del",
31
- parseMarkdown: (e, t) => t.applyMark("strike", t.parseInline(e.tokens || [])),
32
- renderMarkdown: (e, t) => `~~${t.renderChildren(e)}~~`,
33
- addCommands() {
34
- return {
35
- setStrike: () => ({ commands: e }) => e.setMark(this.name),
36
- toggleStrike: () => ({ commands: e }) => e.toggleMark(this.name),
37
- unsetStrike: () => ({ commands: e }) => e.unsetMark(this.name)
38
- };
39
- },
40
- addKeyboardShortcuts() {
41
- return {
42
- "Mod-Shift-s": () => this.editor.commands.toggleStrike()
43
- };
44
- },
45
- addInputRules() {
46
- return [
47
- n({
48
- find: i,
49
- type: this.type
50
- })
51
- ];
52
- },
53
- addPasteRules() {
54
- return [
55
- s({
56
- find: d,
57
- type: this.type
58
- })
59
- ];
60
- }
61
- });
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
+ };
62
10
  export {
63
- o as Strike,
64
- i as inputRegex,
65
- d as pasteRegex
11
+ e as default
66
12
  };
package/dist/index266.js CHANGED
@@ -1,13 +1,82 @@
1
- import { Node as t } from "./index253.js";
2
- var o = t.create({
3
- name: "text",
4
- group: "inline",
5
- parseMarkdown: (e) => ({
6
- type: "text",
7
- text: e.text || ""
8
- }),
9
- renderMarkdown: (e) => e.text || ""
1
+ import l from "./index271.js";
2
+ var r = {
3
+ mask: function(i) {
4
+ var a = i.instance;
5
+ return ["p-galleria-mask p-component-overlay p-component-overlay-enter", {
6
+ "p-ripple-disabled": a.$primevue.config.ripple === !1
7
+ }];
8
+ },
9
+ root: function(i) {
10
+ var a = i.instance, e = a.$attrs.showThumbnails && a.getPositionClass("p-galleria-thumbnails", a.$attrs.thumbnailsPosition), n = a.$attrs.showIndicators && a.getPositionClass("p-galleria-indicators", a.$attrs.indicatorsPosition);
11
+ return ["p-galleria p-component", {
12
+ "p-galleria-fullscreen": a.$attrs.fullScreen,
13
+ "p-galleria-indicator-onitem": a.$attrs.showIndicatorsOnItem,
14
+ "p-galleria-item-nav-onhover": a.$attrs.showItemNavigatorsOnHover && !a.$attrs.fullScreen
15
+ }, e, n];
16
+ },
17
+ closeButton: "p-galleria-close p-link",
18
+ closeIcon: "p-galleria-close-icon",
19
+ header: "p-galleria-header",
20
+ content: "p-galleria-content",
21
+ footer: "p-galleria-footer",
22
+ itemWrapper: "p-galleria-item-wrapper",
23
+ itemContainer: "p-galleria-item-container",
24
+ previousItemButton: function(i) {
25
+ var a = i.instance;
26
+ return ["p-galleria-item-prev p-galleria-item-nav p-link", {
27
+ "p-disabled": a.isNavBackwardDisabled()
28
+ }];
29
+ },
30
+ previousItemIcon: "p-galleria-item-prev-icon",
31
+ item: "p-galleria-item",
32
+ nextItemButton: function(i) {
33
+ var a = i.instance;
34
+ return ["p-galleria-item-next p-galleria-item-nav p-link", {
35
+ "p-disabled": a.isNavForwardDisabled()
36
+ }];
37
+ },
38
+ nextItemIcon: "p-galleria-item-next-icon",
39
+ caption: "p-galleria-caption",
40
+ indicators: "p-galleria-indicators p-reset",
41
+ indicator: function(i) {
42
+ var a = i.instance, e = i.index;
43
+ return ["p-galleria-indicator", {
44
+ "p-highlight": a.isIndicatorItemActive(e)
45
+ }];
46
+ },
47
+ indicatorButton: "p-link",
48
+ thumbnailWrapper: "p-galleria-thumbnail-wrapper",
49
+ thumbnailContainer: "p-galleria-thumbnail-container",
50
+ previousThumbnailButton: function(i) {
51
+ var a = i.instance;
52
+ return ["p-galleria-thumbnail-prev p-link", {
53
+ "p-disabled": a.isNavBackwardDisabled()
54
+ }];
55
+ },
56
+ previousThumbnailIcon: "p-galleria-thumbnail-prev-icon",
57
+ thumbnailItemsContainer: "p-galleria-thumbnail-items-container",
58
+ thumbnailItems: "p-galleria-thumbnail-items",
59
+ thumbnailItem: function(i) {
60
+ var a = i.instance, e = i.index, n = i.activeIndex;
61
+ return ["p-galleria-thumbnail-item", {
62
+ "p-galleria-thumbnail-item-current": n === e,
63
+ "p-galleria-thumbnail-item-active": a.isItemActive(e),
64
+ "p-galleria-thumbnail-item-start": a.firstItemAciveIndex() === e,
65
+ "p-galleria-thumbnail-item-end": a.lastItemActiveIndex() === e
66
+ }];
67
+ },
68
+ thumbnailItemContent: "p-galleria-thumbnail-item-content",
69
+ nextThumbnailButton: function(i) {
70
+ var a = i.instance;
71
+ return ["p-galleria-thumbnail-next p-link", {
72
+ "p-disabled": a.isNavForwardDisabled()
73
+ }];
74
+ },
75
+ nextThumbnailIcon: "p-galleria-thumbnail-next-icon"
76
+ }, s = l.extend({
77
+ name: "galleria",
78
+ classes: r
10
79
  });
11
80
  export {
12
- o as Text
81
+ s as default
13
82
  };