@quoreadmin/ui 1.8.8 → 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 (130) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index142.js +241 -230
  3. package/dist/index144.js +1 -1
  4. package/dist/index186.js +17 -5
  5. package/dist/index189.js +36 -1190
  6. package/dist/index191.js +1190 -36
  7. package/dist/index193.js +19 -19
  8. package/dist/index194.js +1 -1
  9. package/dist/index195.js +1 -1
  10. package/dist/index198.js +2 -2
  11. package/dist/index200.js +14 -14
  12. package/dist/index201.js +1 -1
  13. package/dist/index202.js +1 -1
  14. package/dist/index203.js +3 -3
  15. package/dist/index204.js +6 -6
  16. package/dist/index211.js +2 -2
  17. package/dist/index212.js +1 -1
  18. package/dist/index214.js +4 -4
  19. package/dist/index216.js +1 -1
  20. package/dist/index217.js +1 -1
  21. package/dist/index218.js +1 -1
  22. package/dist/index219.js +4 -4
  23. package/dist/index221.js +1 -1
  24. package/dist/index230.js +1 -1
  25. package/dist/index233.js +1 -1
  26. package/dist/index241.js +3636 -22
  27. package/dist/index242.js +55 -22
  28. package/dist/index243.js +77 -20
  29. package/dist/index244.js +39 -823
  30. package/dist/index245.js +198 -685
  31. package/dist/index246.js +9 -175
  32. package/dist/index247.js +57 -22
  33. package/dist/index248.js +61 -20
  34. package/dist/index249.js +54 -20
  35. package/dist/index250.js +75 -3
  36. package/dist/index251.js +709 -170
  37. package/dist/index252.js +37 -128
  38. package/dist/index253.js +55 -1214
  39. package/dist/index254.js +11 -20
  40. package/dist/index255.js +705 -22
  41. package/dist/index256.js +820 -22
  42. package/dist/index257.js +15 -22
  43. package/dist/index258.js +15 -13
  44. package/dist/index259.js +12 -12
  45. package/dist/index260.js +836 -2
  46. package/dist/index261.js +702 -2
  47. package/dist/index262.js +170 -3630
  48. package/dist/index263.js +22 -55
  49. package/dist/index264.js +20 -77
  50. package/dist/index265.js +20 -52
  51. package/dist/index266.js +3 -215
  52. package/dist/index267.js +187 -10
  53. package/dist/index268.js +128 -52
  54. package/dist/index269.js +1214 -52
  55. package/dist/index270.js +20 -54
  56. package/dist/index271.js +22 -75
  57. package/dist/index272.js +21 -725
  58. package/dist/index273.js +29 -42
  59. package/dist/index274.js +20 -64
  60. package/dist/index275.js +20 -11
  61. package/dist/index276.js +2 -705
  62. package/dist/index277.js +2 -820
  63. package/dist/index3.js +4 -66
  64. package/dist/index308.js +1534 -3
  65. package/dist/index309.js +382 -23
  66. package/dist/index310.js +2486 -1289
  67. package/dist/index311.js +70 -370
  68. package/dist/index312.js +3470 -2409
  69. package/dist/index313.js +51 -77
  70. package/dist/index314.js +13 -3790
  71. package/dist/index315.js +79 -55
  72. package/dist/index316.js +202 -15
  73. package/dist/index317.js +232 -70
  74. package/dist/index318.js +3 -202
  75. package/dist/index319.js +21 -240
  76. package/dist/index333.js +1 -1
  77. package/dist/index335.js +1 -1
  78. package/dist/index336.js +2 -2
  79. package/dist/index340.js +2 -2
  80. package/dist/index343.js +4 -4
  81. package/dist/index344.js +5 -5
  82. package/dist/index345.js +9 -8
  83. package/dist/index346.js +10 -13
  84. package/dist/index347.js +13 -54
  85. package/dist/index348.js +10 -12
  86. package/dist/index349.js +15 -12
  87. package/dist/index350.js +8 -57
  88. package/dist/index351.js +12 -51
  89. package/dist/index352.js +49 -25
  90. package/dist/index353.js +12 -2
  91. package/dist/index354.js +14 -5
  92. package/dist/index355.js +58 -2
  93. package/dist/index356.js +52 -23
  94. package/dist/index357.js +28 -38
  95. package/dist/index358.js +2 -2
  96. package/dist/index359.js +4 -10
  97. package/dist/index360.js +2 -20
  98. package/dist/index361.js +22 -9
  99. package/dist/index362.js +40 -9
  100. package/dist/index363.js +2 -17
  101. package/dist/index364.js +11 -2
  102. package/dist/index365.js +20 -9
  103. package/dist/index366.js +2 -10
  104. package/dist/index367.js +8 -13
  105. package/dist/index372.js +30 -12
  106. package/dist/index373.js +11 -7
  107. package/dist/index374.js +3 -11
  108. package/dist/index375.js +3 -4
  109. package/dist/index376.js +13 -33
  110. package/dist/index377.js +7 -31
  111. package/dist/index378.js +12 -28
  112. package/dist/index379.js +5 -61
  113. package/dist/index380.js +33 -31
  114. package/dist/index381.js +31 -11
  115. package/dist/index382.js +28 -4
  116. package/dist/index383.js +61 -4
  117. package/dist/index388.js +1 -1
  118. package/dist/index44.js +304 -293
  119. package/dist/index45.js +31 -24
  120. package/dist/index64.js +86 -48
  121. package/dist/src/components/activity-item/activity-item.stories.d.ts +3 -0
  122. package/dist/src/components/activity-item/activity-item.vue.d.ts +35 -2
  123. package/dist/src/components/comment/comment.d.ts +2 -2
  124. package/dist/src/components/comment/comment.stories.d.ts +2 -2
  125. package/dist/src/components/comment-section/comment-section.d.ts +2 -2
  126. package/dist/src/components/comment-section/comment-section.stories.d.ts +2 -2
  127. package/dist/src/components/room-details-popover/room-details-popover.d.ts +79 -83
  128. package/package.json +1 -1
  129. package/dist/src/components/activity-item/activity-item.d.ts +0 -85
  130. /package/dist/{index192.js → index190.js} +0 -0
package/dist/index252.js CHANGED
@@ -1,135 +1,44 @@
1
- import { ObjectUtils as d } from "./index172.js";
2
- import u from "./index206.js";
3
- import r from "./index328.js";
4
- import { openBlock as o, createElementBlock as s, mergeProps as n, createElementVNode as i } from "vue";
5
- var p = {
6
- name: "BaseRadioButton",
7
- extends: u,
8
- props: {
9
- value: null,
10
- modelValue: null,
11
- binary: Boolean,
12
- name: {
13
- type: String,
14
- default: null
15
- },
16
- variant: {
17
- type: String,
18
- default: null
19
- },
20
- invalid: {
21
- type: Boolean,
22
- default: !1
23
- },
24
- disabled: {
25
- type: Boolean,
26
- default: !1
27
- },
28
- readonly: {
29
- type: Boolean,
30
- default: !1
31
- },
32
- tabindex: {
33
- type: Number,
34
- default: null
35
- },
36
- inputId: {
37
- type: String,
38
- default: null
39
- },
40
- inputClass: {
41
- type: [String, Object],
42
- default: null
43
- },
44
- inputStyle: {
45
- type: Object,
46
- default: null
47
- },
48
- ariaLabelledby: {
49
- type: String,
50
- default: null
51
- },
52
- ariaLabel: {
53
- type: String,
54
- default: null
55
- }
1
+ import { Node as o, mergeAttributes as i } from "./index241.js";
2
+ var a = " ", d = " ", p = o.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", i(this.options.HTMLAttributes, r), 0];
17
+ },
18
+ parseMarkdown: (r, e) => {
19
+ const t = r.tokens || [];
20
+ if (t.length === 1 && t[0].type === "image")
21
+ return e.parseChildren([t[0]]);
22
+ const n = e.parseInline(t);
23
+ return n.length === 1 && n[0].type === "text" && (n[0].text === a || n[0].text === d) ? e.createNode("paragraph", void 0, []) : e.createNode("paragraph", void 0, n);
56
24
  },
57
- style: r,
58
- provide: function() {
25
+ renderMarkdown: (r, e) => {
26
+ if (!r)
27
+ return "";
28
+ const t = Array.isArray(r.content) ? r.content : [];
29
+ return t.length === 0 ? a : e.renderChildren(t);
30
+ },
31
+ addCommands() {
59
32
  return {
60
- $parentInstance: this
33
+ setParagraph: () => ({ commands: r }) => r.setNode(this.name)
61
34
  };
62
- }
63
- }, h = {
64
- name: "RadioButton",
65
- extends: p,
66
- inheritAttrs: !1,
67
- emits: ["update:modelValue", "change", "focus", "blur"],
68
- methods: {
69
- getPTOptions: function(a) {
70
- var t = a === "root" ? this.ptmi : this.ptm;
71
- return t(a, {
72
- context: {
73
- checked: this.checked,
74
- disabled: this.disabled
75
- }
76
- });
77
- },
78
- onChange: function(a) {
79
- if (!this.disabled && !this.readonly) {
80
- var t = this.binary ? !this.checked : this.value;
81
- this.$emit("update:modelValue", t), this.$emit("change", a);
82
- }
83
- },
84
- onFocus: function(a) {
85
- this.$emit("focus", a);
86
- },
87
- onBlur: function(a) {
88
- this.$emit("blur", a);
89
- }
90
35
  },
91
- computed: {
92
- checked: function() {
93
- return this.modelValue != null && (this.binary ? !!this.modelValue : d.equals(this.modelValue, this.value));
94
- }
36
+ addKeyboardShortcuts() {
37
+ return {
38
+ "Mod-Alt-0": () => this.editor.commands.setParagraph()
39
+ };
95
40
  }
96
- }, b = ["data-p-highlight", "data-p-disabled"], m = ["id", "value", "name", "checked", "tabindex", "disabled", "readonly", "aria-labelledby", "aria-label", "aria-invalid"];
97
- function c(e, a, t, f, y, l) {
98
- return o(), s("div", n({
99
- class: e.cx("root")
100
- }, l.getPTOptions("root"), {
101
- "data-p-highlight": l.checked,
102
- "data-p-disabled": e.disabled
103
- }), [i("input", n({
104
- id: e.inputId,
105
- type: "radio",
106
- class: [e.cx("input"), e.inputClass],
107
- style: e.inputStyle,
108
- value: e.value,
109
- name: e.name,
110
- checked: l.checked,
111
- tabindex: e.tabindex,
112
- disabled: e.disabled,
113
- readonly: e.readonly,
114
- "aria-labelledby": e.ariaLabelledby,
115
- "aria-label": e.ariaLabel,
116
- "aria-invalid": e.invalid || void 0,
117
- onFocus: a[0] || (a[0] = function() {
118
- return l.onFocus && l.onFocus.apply(l, arguments);
119
- }),
120
- onBlur: a[1] || (a[1] = function() {
121
- return l.onBlur && l.onBlur.apply(l, arguments);
122
- }),
123
- onChange: a[2] || (a[2] = function() {
124
- return l.onChange && l.onChange.apply(l, arguments);
125
- })
126
- }, l.getPTOptions("input")), null, 16, m), i("div", n({
127
- class: e.cx("box")
128
- }, l.getPTOptions("box")), [i("div", n({
129
- class: e.cx("icon")
130
- }, l.getPTOptions("icon")), null, 16)], 16)], 16, b);
131
- }
132
- h.render = c;
41
+ });
133
42
  export {
134
- h as default
43
+ p as Paragraph
135
44
  };