@quoreadmin/ui 1.8.9 → 1.8.10

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 (178) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index142.js +2 -2
  3. package/dist/index144.js +1 -1
  4. package/dist/index174.js +14 -14
  5. package/dist/index175.js +3 -3
  6. package/dist/index178.js +4 -4
  7. package/dist/index185.js +10 -10
  8. package/dist/index186.js +17 -5
  9. package/dist/index187.js +10 -10
  10. package/dist/index189.js +36 -1190
  11. package/dist/{index192.js → index190.js} +17 -17
  12. package/dist/index191.js +1190 -36
  13. package/dist/index193.js +9 -9
  14. package/dist/index194.js +1 -1
  15. package/dist/index195.js +1 -1
  16. package/dist/index196.js +1 -1
  17. package/dist/index198.js +2 -2
  18. package/dist/index200.js +14 -14
  19. package/dist/index201.js +1 -1
  20. package/dist/index202.js +1 -1
  21. package/dist/index203.js +3 -3
  22. package/dist/index204.js +6 -6
  23. package/dist/index205.js +84 -29
  24. package/dist/index206.js +400 -109
  25. package/dist/index207.js +22 -36
  26. package/dist/index208.js +33 -26
  27. package/dist/index209.js +111 -31
  28. package/dist/index210.js +35 -50
  29. package/dist/index211.js +26 -43
  30. package/dist/index212.js +35 -3
  31. package/dist/index213.js +51 -9
  32. package/dist/index214.js +42 -18
  33. package/dist/index215.js +4 -10
  34. package/dist/index216.js +9 -10
  35. package/dist/index217.js +18 -38
  36. package/dist/index218.js +10 -21
  37. package/dist/index219.js +10 -127
  38. package/dist/index220.js +37 -36
  39. package/dist/index221.js +21 -407
  40. package/dist/index222.js +123 -76
  41. package/dist/index223.js +37 -19
  42. package/dist/index224.js +77 -85
  43. package/dist/index225.js +11 -11
  44. package/dist/index226.js +2 -2
  45. package/dist/index227.js +2 -2
  46. package/dist/index228.js +10 -10
  47. package/dist/index229.js +20 -22
  48. package/dist/index230.js +159 -159
  49. package/dist/index231.js +20 -228
  50. package/dist/index232.js +21 -36
  51. package/dist/index233.js +198 -9
  52. package/dist/index234.js +63 -3629
  53. package/dist/index235.js +31 -52
  54. package/dist/index236.js +36 -73
  55. package/dist/index237.js +160 -51
  56. package/dist/index238.js +225 -212
  57. package/dist/index239.js +37 -10
  58. package/dist/index240.js +10 -57
  59. package/dist/index241.js +3621 -46
  60. package/dist/index242.js +36 -35
  61. package/dist/index243.js +30 -28
  62. package/dist/index244.js +28 -702
  63. package/dist/index245.js +195 -22
  64. package/dist/index246.js +9 -63
  65. package/dist/index247.js +54 -8
  66. package/dist/index248.js +51 -695
  67. package/dist/index249.js +49 -815
  68. package/dist/index250.js +68 -154
  69. package/dist/index251.js +725 -19
  70. package/dist/index252.js +42 -22
  71. package/dist/index253.js +55 -190
  72. package/dist/index254.js +11 -70
  73. package/dist/index255.js +704 -33
  74. package/dist/index256.js +817 -37
  75. package/dist/index260.js +2 -2
  76. package/dist/index261.js +1 -1
  77. package/dist/index267.js +1 -1
  78. package/dist/index268.js +1 -1
  79. package/dist/index269.js +5 -5
  80. package/dist/index283.js +1 -1
  81. package/dist/index284.js +54 -1534
  82. package/dist/index285.js +26 -386
  83. package/dist/index286.js +22 -2731
  84. package/dist/index287.js +21 -85
  85. package/dist/index288.js +16 -3792
  86. package/dist/index289.js +17 -60
  87. package/dist/index290.js +23 -15
  88. package/dist/index291.js +254 -76
  89. package/dist/index292.js +4 -200
  90. package/dist/index293.js +129 -235
  91. package/dist/index294.js +67 -256
  92. package/dist/index295.js +86 -5
  93. package/dist/index296.js +26 -137
  94. package/dist/index297.js +14 -71
  95. package/dist/index298.js +71 -83
  96. package/dist/index299.js +3 -28
  97. package/dist/index3.js +4 -66
  98. package/dist/index300.js +2 -16
  99. package/dist/index301.js +78 -70
  100. package/dist/index302.js +52 -3
  101. package/dist/index303.js +6 -2
  102. package/dist/index304.js +4 -82
  103. package/dist/index305.js +177 -51
  104. package/dist/index306.js +62 -5
  105. package/dist/index307.js +75 -5
  106. package/dist/index308.js +1504 -149
  107. package/dist/index309.js +378 -55
  108. package/dist/index310.js +2731 -75
  109. package/dist/index311.js +82 -50
  110. package/dist/index312.js +3792 -26
  111. package/dist/index313.js +59 -21
  112. package/dist/index314.js +15 -22
  113. package/dist/index315.js +84 -16
  114. package/dist/index316.js +201 -16
  115. package/dist/index317.js +246 -23
  116. package/dist/index322.js +2 -2
  117. package/dist/index333.js +2 -2
  118. package/dist/index334.js +1 -1
  119. package/dist/index335.js +6 -6
  120. package/dist/index336.js +2 -2
  121. package/dist/index337.js +2 -2
  122. package/dist/index339.js +2 -2
  123. package/dist/index340.js +2 -2
  124. package/dist/index341.js +1 -1
  125. package/dist/index343.js +8 -8
  126. package/dist/index344.js +8 -8
  127. package/dist/index345.js +9 -8
  128. package/dist/index346.js +10 -13
  129. package/dist/index347.js +13 -54
  130. package/dist/index348.js +10 -12
  131. package/dist/index349.js +15 -12
  132. package/dist/index350.js +8 -57
  133. package/dist/index351.js +12 -51
  134. package/dist/index352.js +49 -25
  135. package/dist/index353.js +12 -2
  136. package/dist/index354.js +14 -5
  137. package/dist/index355.js +58 -2
  138. package/dist/index356.js +52 -23
  139. package/dist/index357.js +28 -38
  140. package/dist/index358.js +2 -2
  141. package/dist/index359.js +4 -10
  142. package/dist/index360.js +2 -20
  143. package/dist/index361.js +22 -9
  144. package/dist/index362.js +40 -9
  145. package/dist/index363.js +2 -17
  146. package/dist/index364.js +11 -2
  147. package/dist/index365.js +20 -9
  148. package/dist/index366.js +2 -10
  149. package/dist/index367.js +8 -13
  150. package/dist/index370.js +1 -1
  151. package/dist/index372.js +30 -97
  152. package/dist/index373.js +10 -100
  153. package/dist/index374.js +3 -30
  154. package/dist/index375.js +3 -10
  155. package/dist/index376.js +13 -4
  156. package/dist/index377.js +7 -4
  157. package/dist/index378.js +12 -13
  158. package/dist/index379.js +5 -7
  159. package/dist/index380.js +33 -12
  160. package/dist/index381.js +31 -5
  161. package/dist/index382.js +27 -32
  162. package/dist/index383.js +58 -28
  163. package/dist/index384.js +99 -26
  164. package/dist/index385.js +91 -61
  165. package/dist/index386.js +98 -91
  166. package/dist/index388.js +1 -1
  167. package/dist/index394.js +1 -1
  168. package/dist/index45.js +31 -24
  169. package/dist/index64.js +86 -48
  170. package/dist/src/components/activity-item/activity-item.stories.d.ts +3 -0
  171. package/dist/src/components/activity-item/activity-item.vue.d.ts +35 -2
  172. package/dist/src/components/comment/comment.d.ts +2 -2
  173. package/dist/src/components/comment/comment.stories.d.ts +2 -2
  174. package/dist/src/components/comment-section/comment-section.d.ts +2 -2
  175. package/dist/src/components/comment-section/comment-section.stories.d.ts +2 -2
  176. package/dist/src/components/room-details-popover/room-details-popover.d.ts +55 -76
  177. package/package.json +1 -1
  178. package/dist/src/components/activity-item/activity-item.d.ts +0 -85
package/dist/index250.js CHANGED
@@ -1,163 +1,77 @@
1
- import y from "./index256.js";
2
- import m from "./index259.js";
3
- import b from "./index224.js";
4
- import v from "./index221.js";
5
- import h from "./index311.js";
6
- import { resolveComponent as r, resolveDirective as S, withDirectives as B, openBlock as n, createElementBlock as i, mergeProps as t, renderSlot as o, normalizeClass as d, createBlock as p, createCommentVNode as u, createElementVNode as I, toDisplayString as $ } from "vue";
7
- var k = {
8
- name: "BaseButton",
9
- extends: v,
10
- props: {
11
- label: {
12
- type: String,
13
- default: null
14
- },
15
- icon: {
16
- type: String,
17
- default: null
18
- },
19
- iconPos: {
20
- type: String,
21
- default: "left"
22
- },
23
- iconClass: {
24
- type: String,
25
- default: null
26
- },
27
- badge: {
28
- type: String,
29
- default: null
30
- },
31
- badgeClass: {
32
- type: String,
33
- default: null
34
- },
35
- badgeSeverity: {
36
- type: String,
37
- default: null
38
- },
39
- loading: {
40
- type: Boolean,
41
- default: !1
42
- },
43
- loadingIcon: {
44
- type: String,
45
- default: void 0
46
- },
47
- link: {
48
- type: Boolean,
49
- default: !1
50
- },
51
- severity: {
52
- type: String,
53
- default: null
54
- },
55
- raised: {
56
- type: Boolean,
57
- default: !1
58
- },
59
- rounded: {
60
- type: Boolean,
61
- default: !1
62
- },
63
- text: {
64
- type: Boolean,
65
- default: !1
66
- },
67
- outlined: {
68
- type: Boolean,
69
- default: !1
70
- },
71
- size: {
72
- type: String,
73
- default: null
74
- },
75
- plain: {
76
- type: Boolean,
77
- default: !1
78
- }
1
+ import { Mark as s, markPasteRule as r, markInputRule as a, mergeAttributes as n } from "./index241.js";
2
+ var i = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/, d = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g, o = /(?:^|\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: (t) => t.style.fontStyle !== "normal" && null
17
+ },
18
+ {
19
+ style: "font-style=normal",
20
+ clearMark: (t) => t.type.name === this.name
21
+ },
22
+ {
23
+ style: "font-style=italic"
24
+ }
25
+ ];
26
+ },
27
+ renderHTML({ HTMLAttributes: t }) {
28
+ return ["em", n(this.options.HTMLAttributes, t), 0];
79
29
  },
80
- style: h,
81
- provide: function() {
30
+ addCommands() {
82
31
  return {
83
- $parentInstance: this
32
+ setItalic: () => ({ commands: t }) => t.setMark(this.name),
33
+ toggleItalic: () => ({ commands: t }) => t.toggleMark(this.name),
34
+ unsetItalic: () => ({ commands: t }) => t.unsetMark(this.name)
84
35
  };
85
- }
86
- }, C = {
87
- name: "Button",
88
- extends: k,
89
- inheritAttrs: !1,
90
- methods: {
91
- getPTOptions: function(l) {
92
- var s = l === "root" ? this.ptmi : this.ptm;
93
- return s(l, {
94
- context: {
95
- disabled: this.disabled
96
- }
97
- });
98
- }
99
36
  },
100
- computed: {
101
- disabled: function() {
102
- return this.$attrs.disabled || this.$attrs.disabled === "" || this.loading;
103
- },
104
- defaultAriaLabel: function() {
105
- return this.label ? this.label + (this.badge ? " " + this.badge : "") : this.$attrs.ariaLabel;
106
- },
107
- hasIcon: function() {
108
- return this.icon || this.$slots.icon;
109
- }
37
+ markdownTokenName: "em",
38
+ parseMarkdown: (t, e) => e.applyMark("italic", e.parseInline(t.tokens || [])),
39
+ renderMarkdown: (t, e) => `*${e.renderChildren(t)}*`,
40
+ addKeyboardShortcuts() {
41
+ return {
42
+ "Mod-i": () => this.editor.commands.toggleItalic(),
43
+ "Mod-I": () => this.editor.commands.toggleItalic()
44
+ };
110
45
  },
111
- components: {
112
- SpinnerIcon: m,
113
- Badge: y
46
+ addInputRules() {
47
+ return [
48
+ a({
49
+ find: i,
50
+ type: this.type
51
+ }),
52
+ a({
53
+ find: o,
54
+ type: this.type
55
+ })
56
+ ];
114
57
  },
115
- directives: {
116
- ripple: b
58
+ addPasteRules() {
59
+ return [
60
+ r({
61
+ find: d,
62
+ type: this.type
63
+ }),
64
+ r({
65
+ find: l,
66
+ type: this.type
67
+ })
68
+ ];
117
69
  }
118
- }, P = ["aria-label", "disabled", "data-p-severity"];
119
- function A(e, l, s, L, D, a) {
120
- var c = r("SpinnerIcon"), f = r("Badge"), g = S("ripple");
121
- return B((n(), i("button", t({
122
- class: e.cx("root"),
123
- type: "button",
124
- "aria-label": a.defaultAriaLabel,
125
- disabled: a.disabled
126
- }, a.getPTOptions("root"), {
127
- "data-p-severity": e.severity
128
- }), [o(e.$slots, "default", {}, function() {
129
- return [e.loading ? o(e.$slots, "loadingicon", {
130
- key: 0,
131
- class: d([e.cx("loadingIcon"), e.cx("icon")])
132
- }, function() {
133
- return [e.loadingIcon ? (n(), i("span", t({
134
- key: 0,
135
- class: [e.cx("loadingIcon"), e.cx("icon"), e.loadingIcon]
136
- }, e.ptm("loadingIcon")), null, 16)) : (n(), p(c, t({
137
- key: 1,
138
- class: [e.cx("loadingIcon"), e.cx("icon")],
139
- spin: ""
140
- }, e.ptm("loadingIcon")), null, 16, ["class"]))];
141
- }) : o(e.$slots, "icon", {
142
- key: 1,
143
- class: d([e.cx("icon")])
144
- }, function() {
145
- return [e.icon ? (n(), i("span", t({
146
- key: 0,
147
- class: [e.cx("icon"), e.icon, e.iconClass]
148
- }, e.ptm("icon")), null, 16)) : u("", !0)];
149
- }), I("span", t({
150
- class: e.cx("label")
151
- }, e.ptm("label")), $(e.label || " "), 17), e.badge ? (n(), p(f, t({
152
- key: 2,
153
- value: e.badge,
154
- class: e.badgeClass,
155
- severity: e.badgeSeverity,
156
- unstyled: e.unstyled
157
- }, e.ptm("badge")), null, 16, ["value", "class", "severity", "unstyled"])) : u("", !0)];
158
- })], 16, P)), [[g]]);
159
- }
160
- C.render = A;
70
+ });
161
71
  export {
162
- C as default
72
+ m as Italic,
73
+ i as starInputRegex,
74
+ d as starPasteRegex,
75
+ o as underscoreInputRegex,
76
+ l as underscorePasteRegex
163
77
  };