@quoreadmin/ui 1.7.14 → 1.7.15

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 (162) hide show
  1. package/dist/index131.js +90 -85
  2. package/dist/index152.js +14 -10
  3. package/dist/index172.js +14 -14
  4. package/dist/index173.js +3 -3
  5. package/dist/index183.js +10 -10
  6. package/dist/index184.js +5 -0
  7. package/dist/index185.js +10 -10
  8. package/dist/index191.js +28 -28
  9. package/dist/index192.js +2 -2
  10. package/dist/index193.js +2 -2
  11. package/dist/index194.js +1 -1
  12. package/dist/index196.js +2 -2
  13. package/dist/index198.js +14 -14
  14. package/dist/index199.js +1 -1
  15. package/dist/index200.js +1 -1
  16. package/dist/index201.js +3 -3
  17. package/dist/index202.js +6 -6
  18. package/dist/index203.js +29 -84
  19. package/dist/index204.js +109 -400
  20. package/dist/index205.js +36 -22
  21. package/dist/index206.js +26 -33
  22. package/dist/index207.js +31 -111
  23. package/dist/index208.js +9 -36
  24. package/dist/index209.js +19 -26
  25. package/dist/index210.js +10 -36
  26. package/dist/index211.js +10 -9
  27. package/dist/index212.js +50 -18
  28. package/dist/index213.js +43 -10
  29. package/dist/index214.js +4 -10
  30. package/dist/index215.js +36 -48
  31. package/dist/index216.js +21 -43
  32. package/dist/index217.js +160 -3
  33. package/dist/index218.js +19 -38
  34. package/dist/index219.js +20 -21
  35. package/dist/index220.js +21 -160
  36. package/dist/index221.js +198 -19
  37. package/dist/index222.js +69 -19
  38. package/dist/index223.js +87 -21
  39. package/dist/index224.js +385 -177
  40. package/dist/index225.js +33 -69
  41. package/dist/index226.js +39 -33
  42. package/dist/index227.js +123 -36
  43. package/dist/index228.js +33 -122
  44. package/dist/index229.js +80 -38
  45. package/dist/index230.js +20 -80
  46. package/dist/index231.js +3 -3
  47. package/dist/index232.js +3 -3
  48. package/dist/index233.js +11 -11
  49. package/dist/index234.js +22 -20
  50. package/dist/index239.js +3632 -22
  51. package/dist/index240.js +55 -22
  52. package/dist/index241.js +77 -20
  53. package/dist/index242.js +39 -823
  54. package/dist/index243.js +198 -685
  55. package/dist/index244.js +9 -175
  56. package/dist/index245.js +57 -22
  57. package/dist/index246.js +61 -20
  58. package/dist/index247.js +54 -20
  59. package/dist/index248.js +75 -3
  60. package/dist/index249.js +707 -171
  61. package/dist/index250.js +34 -128
  62. package/dist/index251.js +55 -1214
  63. package/dist/index252.js +11 -20
  64. package/dist/index253.js +705 -22
  65. package/dist/index254.js +820 -22
  66. package/dist/index255.js +15 -22
  67. package/dist/index256.js +15 -13
  68. package/dist/index257.js +12 -12
  69. package/dist/index258.js +836 -2
  70. package/dist/index259.js +702 -2
  71. package/dist/index260.js +170 -3626
  72. package/dist/index261.js +22 -55
  73. package/dist/index262.js +20 -77
  74. package/dist/index263.js +20 -52
  75. package/dist/index264.js +3 -215
  76. package/dist/index265.js +187 -10
  77. package/dist/index266.js +128 -52
  78. package/dist/index267.js +1214 -52
  79. package/dist/index268.js +20 -54
  80. package/dist/index269.js +22 -75
  81. package/dist/index270.js +21 -722
  82. package/dist/index271.js +29 -39
  83. package/dist/index272.js +20 -64
  84. package/dist/index273.js +20 -11
  85. package/dist/index274.js +2 -705
  86. package/dist/index275.js +2 -820
  87. package/dist/index276.js +50 -249
  88. package/dist/index277.js +79 -8
  89. package/dist/index278.js +26 -138
  90. package/dist/index279.js +22 -83
  91. package/dist/index280.js +21 -53
  92. package/dist/index281.js +15 -78
  93. package/dist/index282.js +17 -26
  94. package/dist/index283.js +253 -22
  95. package/dist/index284.js +8 -22
  96. package/dist/index285.js +137 -15
  97. package/dist/index286.js +83 -17
  98. package/dist/index287.js +1 -1
  99. package/dist/index289.js +1518 -3
  100. package/dist/index290.js +382 -23
  101. package/dist/index291.js +2731 -79
  102. package/dist/index292.js +85 -21
  103. package/dist/index293.js +3729 -894
  104. package/dist/index294.js +59 -21
  105. package/dist/index295.js +15 -20
  106. package/dist/index296.js +83 -19
  107. package/dist/index297.js +194 -61
  108. package/dist/index298.js +246 -19
  109. package/dist/index299.js +3 -19
  110. package/dist/index300.js +26 -21
  111. package/dist/index301.js +78 -21
  112. package/dist/index302.js +22 -63
  113. package/dist/index303.js +909 -1492
  114. package/dist/index304.js +22 -386
  115. package/dist/index305.js +20 -2731
  116. package/dist/index306.js +19 -85
  117. package/dist/index307.js +58 -3759
  118. package/dist/index308.js +19 -60
  119. package/dist/index309.js +19 -15
  120. package/dist/index310.js +21 -83
  121. package/dist/index311.js +22 -202
  122. package/dist/index312.js +63 -246
  123. package/dist/index330.js +1 -1
  124. package/dist/index333.js +1 -1
  125. package/dist/index338.js +1 -1
  126. package/dist/index343.js +2 -2
  127. package/dist/index348.js +1 -1
  128. package/dist/index349.js +2 -2
  129. package/dist/index354.js +1 -1
  130. package/dist/index355.js +1 -1
  131. package/dist/index356.js +2 -2
  132. package/dist/index357.js +1 -1
  133. package/dist/index370.js +100 -16
  134. package/dist/index371.js +90 -100
  135. package/dist/index372.js +98 -91
  136. package/dist/index373.js +16 -97
  137. package/dist/src/components/comment/comment.d.ts +27 -0
  138. package/dist/src/components/comment/comment.stories.d.ts +27 -0
  139. package/dist/src/components/comment-section/comment-section.d.ts +36 -0
  140. package/dist/src/components/comment-section/comment-section.stories.d.ts +45 -0
  141. package/dist/src/components/data-filter/data-filter.d.ts +18 -0
  142. package/dist/src/components/data-list/data-list.d.ts +18 -0
  143. package/dist/src/components/data-table/data-table.d.ts +9 -0
  144. package/dist/src/components/event/event.d.ts +9 -0
  145. package/dist/src/components/file-upload/file-upload.d.ts +9 -0
  146. package/dist/src/components/file-upload/file-upload.stories.d.ts +45 -0
  147. package/dist/src/components/grid/grid.stories.d.ts +36 -0
  148. package/dist/src/components/icon-action-group/icon-action-group.d.ts +9 -0
  149. package/dist/src/components/icon-action-group/icon-action-group.stories.d.ts +45 -0
  150. package/dist/src/components/image-gallery/image-gallery.d.ts +9 -0
  151. package/dist/src/components/image-gallery/image-gallery.stories.d.ts +18 -0
  152. package/dist/src/components/popover/popover.d.ts +15 -0
  153. package/dist/src/components/popover/popover.stories.d.ts +63 -0
  154. package/dist/src/components/room-details-popover/room-details-popover.d.ts +18 -0
  155. package/dist/src/components/table/table.d.ts +9 -0
  156. package/dist/src/components/tooltip/tooltip.d.ts +9 -0
  157. package/dist/src/components/tooltip/tooltip.stories.d.ts +63 -0
  158. package/dist/src/components/wysiwyg/wysiwyg.d.ts +9 -0
  159. package/dist/src/components/wysiwyg/wysiwyg.stories.d.ts +9 -0
  160. package/dist/src/views/lists.vue.d.ts +45 -0
  161. package/dist/src/views/tables.vue.d.ts +36 -0
  162. package/package.json +1 -1
package/dist/index266.js CHANGED
@@ -1,59 +1,135 @@
1
- import { Node as l, mergeAttributes as c } from "./index260.js";
2
- var f = l.create({
3
- name: "hardBreak",
4
- markdownTokenName: "br",
5
- addOptions() {
6
- return {
7
- keepMarks: !0,
8
- HTMLAttributes: {}
9
- };
10
- },
11
- inline: !0,
12
- group: "inline",
13
- selectable: !1,
14
- linebreakReplacement: !0,
15
- parseHTML() {
16
- return [{ tag: "br" }];
17
- },
18
- renderHTML({ HTMLAttributes: e }) {
19
- return ["br", c(this.options.HTMLAttributes, e)];
1
+ import { ObjectUtils as d } from "./index170.js";
2
+ import u from "./index224.js";
3
+ import r from "./index309.js";
4
+ import { createElementBlock as o, openBlock 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
+ }
20
56
  },
21
- renderText() {
22
- return `
23
- `;
24
- },
25
- renderMarkdown: () => `
26
- `,
27
- parseMarkdown: () => ({
28
- type: "hardBreak"
29
- }),
30
- addCommands() {
57
+ style: r,
58
+ provide: function() {
31
59
  return {
32
- setHardBreak: () => ({ commands: e, chain: n, state: a, editor: s }) => e.first([
33
- () => e.exitCode(),
34
- () => e.command(() => {
35
- const { selection: r, storedMarks: o } = a;
36
- if (r.$from.parent.type.spec.isolating)
37
- return !1;
38
- const { keepMarks: i } = this.options, { splittableMarks: d } = s.extensionManager, t = o || r.$to.parentOffset && r.$from.marks();
39
- return n().insertContent({ type: this.name }).command(({ tr: u, dispatch: k }) => {
40
- if (k && t && i) {
41
- const m = t.filter((p) => d.includes(p.type.name));
42
- u.ensureMarks(m);
43
- }
44
- return !0;
45
- }).run();
46
- })
47
- ])
60
+ $parentInstance: this
48
61
  };
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
+ }
49
90
  },
50
- addKeyboardShortcuts() {
51
- return {
52
- "Mod-Enter": () => this.editor.commands.setHardBreak(),
53
- "Shift-Enter": () => this.editor.commands.setHardBreak()
54
- };
91
+ computed: {
92
+ checked: function() {
93
+ return this.modelValue != null && (this.binary ? !!this.modelValue : d.equals(this.modelValue, this.value));
94
+ }
55
95
  }
56
- });
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 s(), o("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;
57
133
  export {
58
- f as HardBreak
134
+ h as default
59
135
  };