@quoreadmin/ui 1.8.8 → 1.8.9

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 (164) hide show
  1. package/dist/index142.js +240 -229
  2. package/dist/index174.js +14 -14
  3. package/dist/index175.js +3 -3
  4. package/dist/index178.js +4 -4
  5. package/dist/index185.js +10 -10
  6. package/dist/index187.js +10 -10
  7. package/dist/index192.js +17 -17
  8. package/dist/index193.js +28 -28
  9. package/dist/index194.js +2 -2
  10. package/dist/index195.js +2 -2
  11. package/dist/index196.js +1 -1
  12. package/dist/index198.js +2 -2
  13. package/dist/index200.js +14 -14
  14. package/dist/index201.js +1 -1
  15. package/dist/index202.js +1 -1
  16. package/dist/index203.js +3 -3
  17. package/dist/index204.js +6 -6
  18. package/dist/index205.js +29 -84
  19. package/dist/index206.js +109 -400
  20. package/dist/index207.js +36 -22
  21. package/dist/index208.js +26 -33
  22. package/dist/index209.js +31 -111
  23. package/dist/index210.js +50 -35
  24. package/dist/index211.js +43 -26
  25. package/dist/index212.js +3 -35
  26. package/dist/index213.js +9 -51
  27. package/dist/index214.js +18 -42
  28. package/dist/index215.js +10 -4
  29. package/dist/index216.js +10 -9
  30. package/dist/index217.js +38 -18
  31. package/dist/index218.js +21 -10
  32. package/dist/index219.js +127 -10
  33. package/dist/index220.js +36 -37
  34. package/dist/index221.js +407 -21
  35. package/dist/index222.js +76 -123
  36. package/dist/index223.js +19 -37
  37. package/dist/index224.js +85 -77
  38. package/dist/index225.js +11 -11
  39. package/dist/index226.js +2 -2
  40. package/dist/index227.js +2 -2
  41. package/dist/index228.js +10 -10
  42. package/dist/index229.js +22 -20
  43. package/dist/index230.js +159 -159
  44. package/dist/index231.js +228 -20
  45. package/dist/index232.js +36 -21
  46. package/dist/index233.js +9 -198
  47. package/dist/index234.js +3629 -63
  48. package/dist/index235.js +52 -31
  49. package/dist/index236.js +73 -36
  50. package/dist/index237.js +51 -160
  51. package/dist/index238.js +212 -225
  52. package/dist/index239.js +10 -37
  53. package/dist/index240.js +57 -10
  54. package/dist/index241.js +61 -22
  55. package/dist/index242.js +54 -22
  56. package/dist/index243.js +75 -20
  57. package/dist/index244.js +681 -791
  58. package/dist/index245.js +33 -693
  59. package/dist/index246.js +56 -168
  60. package/dist/index247.js +11 -22
  61. package/dist/index248.js +705 -20
  62. package/dist/index249.js +820 -20
  63. package/dist/index250.js +161 -3
  64. package/dist/index251.js +19 -186
  65. package/dist/index252.js +21 -132
  66. package/dist/index253.js +141 -1165
  67. package/dist/index254.js +69 -19
  68. package/dist/index255.js +33 -21
  69. package/dist/index256.js +38 -20
  70. package/dist/index257.js +15 -22
  71. package/dist/index258.js +15 -13
  72. package/dist/index259.js +12 -12
  73. package/dist/index260.js +836 -2
  74. package/dist/index261.js +702 -2
  75. package/dist/index262.js +170 -3630
  76. package/dist/index263.js +22 -55
  77. package/dist/index264.js +20 -77
  78. package/dist/index265.js +20 -52
  79. package/dist/index266.js +3 -215
  80. package/dist/index267.js +187 -10
  81. package/dist/index268.js +128 -52
  82. package/dist/index269.js +1214 -52
  83. package/dist/index270.js +20 -54
  84. package/dist/index271.js +22 -75
  85. package/dist/index272.js +21 -725
  86. package/dist/index273.js +29 -42
  87. package/dist/index274.js +20 -64
  88. package/dist/index275.js +20 -11
  89. package/dist/index276.js +2 -705
  90. package/dist/index277.js +2 -820
  91. package/dist/index283.js +1 -1
  92. package/dist/index284.js +1534 -54
  93. package/dist/index285.js +386 -26
  94. package/dist/index286.js +2731 -22
  95. package/dist/index287.js +85 -21
  96. package/dist/index288.js +3792 -16
  97. package/dist/index289.js +60 -17
  98. package/dist/index290.js +15 -23
  99. package/dist/index291.js +76 -254
  100. package/dist/index292.js +200 -4
  101. package/dist/index293.js +235 -129
  102. package/dist/index294.js +256 -67
  103. package/dist/index295.js +5 -86
  104. package/dist/index296.js +137 -26
  105. package/dist/index297.js +71 -14
  106. package/dist/index298.js +83 -71
  107. package/dist/index299.js +28 -3
  108. package/dist/index300.js +16 -2
  109. package/dist/index301.js +70 -78
  110. package/dist/index302.js +3 -52
  111. package/dist/index303.js +2 -6
  112. package/dist/index304.js +82 -4
  113. package/dist/index305.js +51 -177
  114. package/dist/index306.js +5 -62
  115. package/dist/index307.js +5 -75
  116. package/dist/index308.js +179 -3
  117. package/dist/index309.js +61 -25
  118. package/dist/index310.js +74 -1533
  119. package/dist/index311.js +54 -386
  120. package/dist/index312.js +26 -2731
  121. package/dist/index313.js +21 -85
  122. package/dist/index314.js +22 -3792
  123. package/dist/index315.js +16 -60
  124. package/dist/index316.js +17 -15
  125. package/dist/index317.js +23 -84
  126. package/dist/index318.js +3 -202
  127. package/dist/index319.js +21 -240
  128. package/dist/index322.js +2 -2
  129. package/dist/index333.js +2 -2
  130. package/dist/index334.js +1 -1
  131. package/dist/index335.js +6 -6
  132. package/dist/index336.js +2 -2
  133. package/dist/index337.js +2 -2
  134. package/dist/index339.js +2 -2
  135. package/dist/index340.js +2 -2
  136. package/dist/index341.js +1 -1
  137. package/dist/index343.js +8 -8
  138. package/dist/index344.js +8 -8
  139. package/dist/index347.js +1 -1
  140. package/dist/index352.js +1 -1
  141. package/dist/index357.js +2 -2
  142. package/dist/index361.js +2 -2
  143. package/dist/index362.js +1 -1
  144. package/dist/index370.js +1 -1
  145. package/dist/index372.js +97 -12
  146. package/dist/index373.js +101 -7
  147. package/dist/index374.js +30 -11
  148. package/dist/index375.js +10 -4
  149. package/dist/index376.js +4 -33
  150. package/dist/index377.js +4 -31
  151. package/dist/index378.js +12 -27
  152. package/dist/index379.js +7 -61
  153. package/dist/index380.js +11 -30
  154. package/dist/index381.js +4 -10
  155. package/dist/index382.js +33 -4
  156. package/dist/index383.js +31 -4
  157. package/dist/index384.js +26 -99
  158. package/dist/index385.js +61 -91
  159. package/dist/index386.js +91 -98
  160. package/dist/index388.js +1 -1
  161. package/dist/index394.js +1 -1
  162. package/dist/index44.js +304 -293
  163. package/dist/src/components/room-details-popover/room-details-popover.d.ts +24 -7
  164. package/package.json +1 -1
package/dist/index235.js CHANGED
@@ -1,36 +1,57 @@
1
- import t from "./index280.js";
2
- var a = {
3
- root: function(e) {
4
- var o = e.props;
5
- return ["p-fileupload p-fileupload-".concat(o.mode, " p-component")];
1
+ import { Node as a, wrappingInputRule as c, mergeAttributes as d } from "./index234.js";
2
+ import { createElement as i } from "./index290.js";
3
+ var l = /^\s*>\s$/, g = a.create({
4
+ name: "blockquote",
5
+ addOptions() {
6
+ return {
7
+ HTMLAttributes: {}
8
+ };
6
9
  },
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
- }];
10
+ content: "block+",
11
+ group: "block",
12
+ defining: !0,
13
+ parseHTML() {
14
+ return [{ tag: "blockquote" }];
15
15
  },
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
16
+ renderHTML({ HTMLAttributes: t }) {
17
+ return /* @__PURE__ */ i("blockquote", { ...d(this.options.HTMLAttributes, t), children: /* @__PURE__ */ i("slot", {}) });
18
+ },
19
+ parseMarkdown: (t, e) => e.createNode("blockquote", void 0, e.parseChildren(t.tokens || [])),
20
+ renderMarkdown: (t, e) => {
21
+ if (!t.content)
22
+ return "";
23
+ const r = ">", n = [];
24
+ return t.content.forEach((u) => {
25
+ const s = e.renderChildren([u]).split(`
26
+ `).map((o) => o.trim() === "" ? r : `${r} ${o}`);
27
+ n.push(s.join(`
28
+ `));
29
+ }), n.join(`
30
+ ${r}
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
+ }
33
53
  });
34
54
  export {
35
- n as default
55
+ g as Blockquote,
56
+ l as inputRegex
36
57
  };
package/dist/index236.js CHANGED
@@ -1,42 +1,79 @@
1
- import t from "./index290.js";
2
- import r from "./index206.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
- }
1
+ import { Mark as a, markPasteRule as r, markInputRule as s, mergeAttributes as o } from "./index234.js";
2
+ import { createElement as n } from "./index290.js";
3
+ var d = /(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/, l = /(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g, i = /(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/, u = /(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g, p = a.create({
4
+ name: "bold",
5
+ addOptions() {
6
+ return {
7
+ HTMLAttributes: {}
8
+ };
9
+ },
10
+ parseHTML() {
11
+ return [
12
+ {
13
+ tag: "strong"
14
+ },
15
+ {
16
+ tag: "b",
17
+ getAttrs: (t) => t.style.fontWeight !== "normal" && null
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
+ };
20
41
  },
21
- style: t,
22
- provide: function() {
42
+ addKeyboardShortcuts() {
23
43
  return {
24
- $parentInstance: this
44
+ "Mod-b": () => this.editor.commands.toggleBold(),
45
+ "Mod-B": () => this.editor.commands.toggleBold()
25
46
  };
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
+ ];
26
71
  }
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;
72
+ });
40
73
  export {
41
- u as default
74
+ p as Bold,
75
+ d as starInputRegex,
76
+ l as starPasteRegex,
77
+ i as underscoreInputRegex,
78
+ u as underscorePasteRegex
42
79
  };
package/dist/index237.js CHANGED
@@ -1,163 +1,54 @@
1
- import { toDate as m, isValidDate as M, getWeek as l } from "./index239.js";
2
- import h from "./index240.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);
1
+ import { Mark as r, markPasteRule as n, markInputRule as a, mergeAttributes as d } from "./index234.js";
2
+ var o = /(^|[^`])`([^`]+)`(?!`)$/, u = /(^|[^`])`([^`]+)`(?!`)/g, i = r.create({
3
+ name: "code",
4
+ addOptions() {
5
+ return {
6
+ HTMLAttributes: {}
7
+ };
8
+ },
9
+ excludes: "_",
10
+ code: !0,
11
+ exitable: !0,
12
+ parseHTML() {
13
+ return [{ tag: "code" }];
14
+ },
15
+ renderHTML({ HTMLAttributes: e }) {
16
+ return ["code", d(this.options.HTMLAttributes, e), 0];
17
+ },
18
+ markdownTokenName: "codespan",
19
+ parseMarkdown: (e, t) => t.applyMark("code", [{ type: "text", text: e.text || "" }]),
20
+ renderMarkdown: (e, t) => e.content ? `\`${t.renderChildren(e.content)}\`` : "",
21
+ addCommands() {
22
+ return {
23
+ setCode: () => ({ commands: e }) => e.setMark(this.name),
24
+ toggleCode: () => ({ commands: e }) => e.toggleMark(this.name),
25
+ unsetCode: () => ({ commands: e }) => e.unsetMark(this.name)
26
+ };
27
+ },
28
+ addKeyboardShortcuts() {
29
+ return {
30
+ "Mod-e": () => this.editor.commands.toggleCode()
31
+ };
32
+ },
33
+ addInputRules() {
34
+ return [
35
+ a({
36
+ find: o,
37
+ type: this.type
38
+ })
39
+ ];
40
+ },
41
+ addPasteRules() {
42
+ return [
43
+ n({
44
+ find: u,
45
+ type: this.type
46
+ })
47
+ ];
150
48
  }
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
- }
49
+ });
161
50
  export {
162
- v as format
51
+ i as Code,
52
+ o as inputRegex,
53
+ u as pasteRegex
163
54
  };