@quoreadmin/ui 1.10.27 → 1.10.30

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 (200) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index103.js +11 -6
  3. package/dist/index147.js +147 -147
  4. package/dist/index157.js +160 -160
  5. package/dist/index186.js +4 -4
  6. package/dist/index193.js +8 -8
  7. package/dist/index195.js +8 -8
  8. package/dist/index198.js +17 -17
  9. package/dist/index201.js +26 -26
  10. package/dist/index202.js +1 -1
  11. package/dist/index203.js +1 -1
  12. package/dist/index206.js +2 -2
  13. package/dist/index208.js +14 -14
  14. package/dist/index209.js +1 -1
  15. package/dist/index210.js +1 -1
  16. package/dist/index211.js +3 -3
  17. package/dist/index212.js +6 -6
  18. package/dist/index216.js +2 -2
  19. package/dist/index217.js +1 -1
  20. package/dist/index219.js +4 -4
  21. package/dist/index221.js +1 -1
  22. package/dist/index222.js +1 -1
  23. package/dist/index223.js +1 -1
  24. package/dist/index224.js +4 -4
  25. package/dist/index226.js +1 -1
  26. package/dist/index227.js +2 -2
  27. package/dist/index228.js +2 -2
  28. package/dist/index229.js +1 -1
  29. package/dist/index23.js +47 -27
  30. package/dist/index230.js +159 -159
  31. package/dist/index231.js +228 -20
  32. package/dist/index232.js +36 -19
  33. package/dist/index233.js +10 -22
  34. package/dist/index234.js +129 -167
  35. package/dist/index235.js +19 -69
  36. package/dist/index236.js +20 -34
  37. package/dist/index237.js +21 -39
  38. package/dist/index238.js +185 -113
  39. package/dist/index239.js +57 -25
  40. package/dist/index240.js +31 -77
  41. package/dist/index241.js +39 -19
  42. package/dist/index242.js +126 -19
  43. package/dist/index243.js +34 -16
  44. package/dist/index244.js +80 -20
  45. package/dist/index245.js +19 -160
  46. package/dist/index246.js +20 -228
  47. package/dist/index247.js +19 -36
  48. package/dist/index248.js +20 -10
  49. package/dist/index249.js +3709 -22
  50. package/dist/index250.js +60 -22
  51. package/dist/index251.js +83 -20
  52. package/dist/index252.js +39 -823
  53. package/dist/index253.js +198 -685
  54. package/dist/index254.js +9 -175
  55. package/dist/index255.js +57 -22
  56. package/dist/index256.js +61 -20
  57. package/dist/index257.js +54 -20
  58. package/dist/index258.js +81 -3
  59. package/dist/index259.js +711 -170
  60. package/dist/index260.js +41 -127
  61. package/dist/index261.js +55 -1214
  62. package/dist/index262.js +11 -20
  63. package/dist/index263.js +705 -22
  64. package/dist/index264.js +820 -22
  65. package/dist/index265.js +15 -22
  66. package/dist/index266.js +15 -13
  67. package/dist/index267.js +12 -12
  68. package/dist/index268.js +836 -2
  69. package/dist/index269.js +702 -2
  70. package/dist/index270.js +164 -241
  71. package/dist/index271.js +21 -7
  72. package/dist/index272.js +20 -138
  73. package/dist/index273.js +20 -83
  74. package/dist/index274.js +3 -54
  75. package/dist/index275.js +173 -65
  76. package/dist/index276.js +132 -25
  77. package/dist/index277.js +1223 -22
  78. package/dist/index278.js +13 -15
  79. package/dist/index279.js +22 -16
  80. package/dist/index280.js +22 -17
  81. package/dist/index281.js +28 -22
  82. package/dist/index282.js +20 -3
  83. package/dist/index283.js +19 -26
  84. package/dist/index284.js +2 -3709
  85. package/dist/index285.js +2 -60
  86. package/dist/index286.js +242 -72
  87. package/dist/index287.js +7 -51
  88. package/dist/index288.js +132 -209
  89. package/dist/index289.js +83 -10
  90. package/dist/index290.js +3 -57
  91. package/dist/index291.js +26 -60
  92. package/dist/index292.js +51 -51
  93. package/dist/index293.js +76 -78
  94. package/dist/index294.js +25 -727
  95. package/dist/index295.js +22 -47
  96. package/dist/index296.js +22 -64
  97. package/dist/index297.js +15 -10
  98. package/dist/index298.js +16 -704
  99. package/dist/index299.js +23 -820
  100. package/dist/index301.js +1534 -79
  101. package/dist/index302.js +386 -22
  102. package/dist/index303.js +2698 -902
  103. package/dist/index304.js +85 -21
  104. package/dist/index305.js +3798 -20
  105. package/dist/index306.js +59 -19
  106. package/dist/index307.js +15 -69
  107. package/dist/index308.js +84 -19
  108. package/dist/index309.js +201 -18
  109. package/dist/index310.js +246 -22
  110. package/dist/index311.js +78 -21
  111. package/dist/index312.js +22 -63
  112. package/dist/index313.js +920 -250
  113. package/dist/index314.js +21 -5
  114. package/dist/index315.js +19 -149
  115. package/dist/index316.js +19 -68
  116. package/dist/index317.js +64 -86
  117. package/dist/index318.js +19 -29
  118. package/dist/index319.js +19 -16
  119. package/dist/index320.js +21 -74
  120. package/dist/index321.js +21 -3
  121. package/dist/index322.js +63 -2
  122. package/dist/index323.js +227 -76
  123. package/dist/index324.js +5 -57
  124. package/dist/index325.js +133 -5
  125. package/dist/index326.js +67 -4
  126. package/dist/index327.js +79 -178
  127. package/dist/index328.js +26 -60
  128. package/dist/index329.js +8 -74
  129. package/dist/index330.js +73 -35
  130. package/dist/index331.js +3 -8
  131. package/dist/index332.js +2 -13
  132. package/dist/index333.js +78 -50
  133. package/dist/index334.js +53 -11
  134. package/dist/index335.js +4 -12
  135. package/dist/index336.js +4 -57
  136. package/dist/index337.js +175 -48
  137. package/dist/index338.js +60 -28
  138. package/dist/index339.js +75 -2
  139. package/dist/index340.js +10 -5
  140. package/dist/index341.js +10 -2
  141. package/dist/index342.js +12 -21
  142. package/dist/index343.js +9 -40
  143. package/dist/index344.js +17 -2
  144. package/dist/index345.js +9 -11
  145. package/dist/index346.js +12 -19
  146. package/dist/index347.js +55 -10
  147. package/dist/index348.js +12 -10
  148. package/dist/index349.js +12 -15
  149. package/dist/index350.js +58 -2
  150. package/dist/index351.js +52 -9
  151. package/dist/index352.js +30 -9
  152. package/dist/index353.js +2 -14
  153. package/dist/index354.js +4 -1533
  154. package/dist/index355.js +2 -386
  155. package/dist/index356.js +22 -2730
  156. package/dist/index357.js +37 -82
  157. package/dist/index358.js +2 -3798
  158. package/dist/index359.js +11 -60
  159. package/dist/index360.js +20 -15
  160. package/dist/index361.js +2 -84
  161. package/dist/index362.js +9 -202
  162. package/dist/index363.js +31 -240
  163. package/dist/index364.js +1 -1
  164. package/dist/index365.js +1 -1
  165. package/dist/index366.js +1 -1
  166. package/dist/index367.js +1 -1
  167. package/dist/index368.js +14 -12
  168. package/dist/index369.js +1 -2
  169. package/dist/index370.js +22 -18
  170. package/dist/index371.js +2 -2
  171. package/dist/index372.js +3 -6
  172. package/dist/index373.js +3 -4
  173. package/dist/index374.js +2 -2
  174. package/dist/index375.js +2 -2
  175. package/dist/index376.js +1 -1
  176. package/dist/index378.js +20 -32
  177. package/dist/index379.js +45 -58
  178. package/dist/index380.js +100 -16
  179. package/dist/index381.js +90 -30
  180. package/dist/index382.js +98 -11
  181. package/dist/index383.js +17 -4
  182. package/dist/index384.js +30 -3
  183. package/dist/index385.js +11 -13
  184. package/dist/index386.js +4 -7
  185. package/dist/index387.js +3 -13
  186. package/dist/index388.js +13 -5
  187. package/dist/index389.js +7 -36
  188. package/dist/index390.js +11 -36
  189. package/dist/index391.js +5 -30
  190. package/dist/index392.js +33 -64
  191. package/dist/index393.js +29 -99
  192. package/dist/index394.js +28 -91
  193. package/dist/index395.js +59 -96
  194. package/dist/index396.js +1 -1
  195. package/dist/index402.js +1 -1
  196. package/dist/index50.js +1 -1
  197. package/dist/src/components/event/event.d.ts +12 -0
  198. package/dist/src/components/event/event.stories.d.ts +2 -0
  199. package/dist/src/components/room-details-popover/room-details-popover.d.ts +9 -3
  200. package/package.json +2 -2
package/dist/index292.js CHANGED
@@ -1,56 +1,56 @@
1
- import { Node as m, nodeInputRule as f, canInsertNode as h, isNodeSelection as T, mergeAttributes as y } from "./index284.js";
2
- import { TextSelection as s, NodeSelection as N } from "./index299.js";
3
- var M = m.create({
4
- name: "horizontalRule",
5
- addOptions() {
6
- return {
7
- HTMLAttributes: {},
8
- nextNodeType: "paragraph"
9
- };
10
- },
11
- group: "block",
12
- parseHTML() {
13
- return [{ tag: "hr" }];
14
- },
15
- renderHTML({ HTMLAttributes: n }) {
16
- return ["hr", y(this.options.HTMLAttributes, n)];
1
+ import l from "./index288.js";
2
+ function r(e) {
3
+ "@babel/helpers - typeof";
4
+ return r = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
5
+ return typeof t;
6
+ } : function(t) {
7
+ return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
8
+ }, r(e);
9
+ }
10
+ function i(e, t, n) {
11
+ return t = u(t), t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
12
+ }
13
+ function u(e) {
14
+ var t = a(e, "string");
15
+ return r(t) == "symbol" ? t : String(t);
16
+ }
17
+ function a(e, t) {
18
+ if (r(e) != "object" || !e) return e;
19
+ var n = e[Symbol.toPrimitive];
20
+ if (n !== void 0) {
21
+ var o = n.call(e, t);
22
+ if (r(o) != "object") return o;
23
+ throw new TypeError("@@toPrimitive must return a primitive value.");
24
+ }
25
+ return (t === "string" ? String : Number)(e);
26
+ }
27
+ var p = {
28
+ root: function(t) {
29
+ var n = t.instance, o = t.props;
30
+ return ["p-button p-component", i(i(i(i(i(i(i(i({
31
+ "p-button-icon-only": n.hasIcon && !o.label && !o.badge,
32
+ "p-button-vertical": (o.iconPos === "top" || o.iconPos === "bottom") && o.label,
33
+ "p-disabled": n.$attrs.disabled || n.$attrs.disabled === "" || o.loading,
34
+ "p-button-loading": o.loading,
35
+ "p-button-loading-label-only": o.loading && !n.hasIcon && o.label,
36
+ "p-button-link": o.link
37
+ }, "p-button-".concat(o.severity), o.severity), "p-button-raised", o.raised), "p-button-rounded", o.rounded), "p-button-text", o.text), "p-button-outlined", o.outlined), "p-button-sm", o.size === "small"), "p-button-lg", o.size === "large"), "p-button-plain", o.plain)];
17
38
  },
18
- markdownTokenName: "hr",
19
- parseMarkdown: (n, o) => o.createNode("horizontalRule"),
20
- renderMarkdown: () => "---",
21
- addCommands() {
22
- return {
23
- setHorizontalRule: () => ({ chain: n, state: o }) => {
24
- if (!h(o, o.schema.nodes[this.name]))
25
- return !1;
26
- const { selection: i } = o, { $to: l } = i, r = n();
27
- return T(i) ? r.insertContentAt(l.pos, {
28
- type: this.name
29
- }) : r.insertContent({ type: this.name }), r.command(({ state: p, tr: e, dispatch: u }) => {
30
- if (u) {
31
- const { $to: t } = e.selection, a = t.end();
32
- if (t.nodeAfter)
33
- t.nodeAfter.isTextblock ? e.setSelection(s.create(e.doc, t.pos + 1)) : t.nodeAfter.isBlock ? e.setSelection(N.create(e.doc, t.pos)) : e.setSelection(s.create(e.doc, t.pos));
34
- else {
35
- const c = p.schema.nodes[this.options.nextNodeType] || t.parent.type.contentMatch.defaultType, d = c?.create();
36
- d && (e.insert(a, d), e.setSelection(s.create(e.doc, a + 1)));
37
- }
38
- e.scrollIntoView();
39
- }
40
- return !0;
41
- }).run();
42
- }
43
- };
39
+ loadingIcon: "p-button-loading-icon pi-spin",
40
+ icon: function(t) {
41
+ var n = t.props;
42
+ return ["p-button-icon", {
43
+ "p-button-icon-left": n.iconPos === "left" && n.label,
44
+ "p-button-icon-right": n.iconPos === "right" && n.label,
45
+ "p-button-icon-top": n.iconPos === "top" && n.label,
46
+ "p-button-icon-bottom": n.iconPos === "bottom" && n.label
47
+ }];
44
48
  },
45
- addInputRules() {
46
- return [
47
- f({
48
- find: /^(?:---|—-|___\s|\*\*\*\s)$/,
49
- type: this.type
50
- })
51
- ];
52
- }
49
+ label: "p-button-label"
50
+ }, s = l.extend({
51
+ name: "button",
52
+ classes: p
53
53
  });
54
54
  export {
55
- M as HorizontalRule
55
+ s as default
56
56
  };
package/dist/index293.js CHANGED
@@ -1,83 +1,81 @@
1
- import { Mark as s, markPasteRule as r, markInputRule as a, mergeAttributes as n } from "./index284.js";
2
- var i = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/, o = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g, d = /(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/, l = /(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g, m = s.create({
3
- name: "italic",
4
- addOptions() {
5
- return {
6
- HTMLAttributes: {}
7
- };
8
- },
9
- parseHTML() {
10
- return [
11
- {
12
- tag: "em"
13
- },
14
- {
15
- tag: "i",
16
- getAttrs: (e) => e.style.fontStyle !== "normal" && null
17
- },
18
- {
19
- style: "font-style=normal",
20
- clearMark: (e) => e.type.name === this.name
21
- },
22
- {
23
- style: "font-style=italic"
24
- }
25
- ];
26
- },
27
- renderHTML({ HTMLAttributes: e }) {
28
- return ["em", n(this.options.HTMLAttributes, e), 0];
29
- },
30
- addCommands() {
31
- return {
32
- setItalic: () => ({ commands: e }) => e.setMark(this.name),
33
- toggleItalic: () => ({ commands: e }) => e.toggleMark(this.name),
34
- unsetItalic: () => ({ commands: e }) => e.unsetMark(this.name)
35
- };
36
- },
37
- markdownTokenName: "em",
38
- parseMarkdown: (e, t) => t.applyMark("italic", t.parseInline(e.tokens || [])),
39
- markdownOptions: {
40
- htmlReopen: {
41
- open: "<em>",
42
- close: "</em>"
1
+ import s from "./index228.js";
2
+ import c from "./index363.js";
3
+ import { ObjectUtils as l } from "./index180.js";
4
+ function i(t) {
5
+ "@babel/helpers - typeof";
6
+ return i = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
7
+ return typeof e;
8
+ } : function(e) {
9
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
10
+ }, i(t);
11
+ }
12
+ function o(t, e) {
13
+ var r = Object.keys(t);
14
+ if (Object.getOwnPropertySymbols) {
15
+ var n = Object.getOwnPropertySymbols(t);
16
+ e && (n = n.filter(function(u) {
17
+ return Object.getOwnPropertyDescriptor(t, u).enumerable;
18
+ })), r.push.apply(r, n);
19
+ }
20
+ return r;
21
+ }
22
+ function p(t) {
23
+ for (var e = 1; e < arguments.length; e++) {
24
+ var r = arguments[e] != null ? arguments[e] : {};
25
+ e % 2 ? o(Object(r), !0).forEach(function(n) {
26
+ f(t, n, r[n]);
27
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(r)) : o(Object(r)).forEach(function(n) {
28
+ Object.defineProperty(t, n, Object.getOwnPropertyDescriptor(r, n));
29
+ });
30
+ }
31
+ return t;
32
+ }
33
+ function f(t, e, r) {
34
+ return e = a(e), e in t ? Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = r, t;
35
+ }
36
+ function a(t) {
37
+ var e = y(t, "string");
38
+ return i(e) == "symbol" ? e : String(e);
39
+ }
40
+ function y(t, e) {
41
+ if (i(t) != "object" || !t) return t;
42
+ var r = t[Symbol.toPrimitive];
43
+ if (r !== void 0) {
44
+ var n = r.call(t, e);
45
+ if (i(n) != "object") return n;
46
+ throw new TypeError("@@toPrimitive must return a primitive value.");
47
+ }
48
+ return (e === "string" ? String : Number)(t);
49
+ }
50
+ var O = {
51
+ name: "BaseIcon",
52
+ extends: s,
53
+ props: {
54
+ label: {
55
+ type: String,
56
+ default: void 0
57
+ },
58
+ spin: {
59
+ type: Boolean,
60
+ default: !1
43
61
  }
44
62
  },
45
- renderMarkdown: (e, t) => `*${t.renderChildren(e)}*`,
46
- addKeyboardShortcuts() {
47
- return {
48
- "Mod-i": () => this.editor.commands.toggleItalic(),
49
- "Mod-I": () => this.editor.commands.toggleItalic()
50
- };
51
- },
52
- addInputRules() {
53
- return [
54
- a({
55
- find: i,
56
- type: this.type
57
- }),
58
- a({
59
- find: d,
60
- type: this.type
61
- })
62
- ];
63
- },
64
- addPasteRules() {
65
- return [
66
- r({
67
- find: o,
68
- type: this.type
69
- }),
70
- r({
71
- find: l,
72
- type: this.type
73
- })
74
- ];
63
+ style: c,
64
+ methods: {
65
+ pti: function() {
66
+ var e = l.isEmpty(this.label);
67
+ return p(p({}, !this.isUnstyled && {
68
+ class: ["p-icon", {
69
+ "p-icon-spin": this.spin
70
+ }]
71
+ }), {}, {
72
+ role: e ? void 0 : "img",
73
+ "aria-label": e ? void 0 : this.label,
74
+ "aria-hidden": e
75
+ });
76
+ }
75
77
  }
76
- });
78
+ };
77
79
  export {
78
- m as Italic,
79
- i as starInputRegex,
80
- o as starPasteRegex,
81
- d as underscoreInputRegex,
82
- l as underscorePasteRegex
80
+ O as default
83
81
  };