@quoreadmin/ui 1.10.10 → 1.10.12

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 (153) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index138.js +146 -146
  3. package/dist/index193.js +8 -8
  4. package/dist/index195.js +8 -8
  5. package/dist/index198.js +17 -17
  6. package/dist/index201.js +26 -26
  7. package/dist/index202.js +1 -1
  8. package/dist/index203.js +1 -1
  9. package/dist/index206.js +2 -2
  10. package/dist/index208.js +14 -14
  11. package/dist/index209.js +1 -1
  12. package/dist/index210.js +1 -1
  13. package/dist/index211.js +3 -3
  14. package/dist/index212.js +6 -6
  15. package/dist/index216.js +2 -2
  16. package/dist/index230.js +155 -121
  17. package/dist/index231.js +19 -37
  18. package/dist/index232.js +20 -80
  19. package/dist/index233.js +15 -13
  20. package/dist/index234.js +198 -19
  21. package/dist/index235.js +68 -18
  22. package/dist/index236.js +34 -20
  23. package/dist/index237.js +39 -19
  24. package/dist/index238.js +121 -155
  25. package/dist/index239.js +37 -19
  26. package/dist/index240.js +80 -22
  27. package/dist/index241.js +19 -198
  28. package/dist/index242.js +18 -68
  29. package/dist/index243.js +20 -34
  30. package/dist/index244.js +19 -39
  31. package/dist/index249.js +3636 -22
  32. package/dist/index250.js +55 -22
  33. package/dist/index251.js +77 -20
  34. package/dist/index252.js +39 -823
  35. package/dist/index253.js +198 -685
  36. package/dist/index254.js +9 -175
  37. package/dist/index255.js +57 -22
  38. package/dist/index256.js +61 -20
  39. package/dist/index257.js +54 -20
  40. package/dist/index258.js +75 -3
  41. package/dist/index259.js +709 -170
  42. package/dist/index260.js +37 -128
  43. package/dist/index261.js +55 -1214
  44. package/dist/index262.js +11 -20
  45. package/dist/index263.js +705 -22
  46. package/dist/index264.js +820 -22
  47. package/dist/index265.js +15 -22
  48. package/dist/index266.js +15 -13
  49. package/dist/index267.js +12 -12
  50. package/dist/index268.js +836 -2
  51. package/dist/index269.js +702 -2
  52. package/dist/index270.js +170 -3630
  53. package/dist/index271.js +22 -55
  54. package/dist/index272.js +20 -77
  55. package/dist/index273.js +20 -52
  56. package/dist/index274.js +3 -215
  57. package/dist/index275.js +187 -10
  58. package/dist/index276.js +128 -52
  59. package/dist/index277.js +1214 -52
  60. package/dist/index278.js +20 -54
  61. package/dist/index279.js +22 -75
  62. package/dist/index280.js +21 -725
  63. package/dist/index281.js +29 -42
  64. package/dist/index282.js +20 -64
  65. package/dist/index283.js +20 -11
  66. package/dist/index284.js +2 -705
  67. package/dist/index285.js +2 -820
  68. package/dist/index290.js +54 -2
  69. package/dist/index292.js +25 -53
  70. package/dist/index293.js +15 -19
  71. package/dist/index294.js +9 -9
  72. package/dist/index295.js +16 -22
  73. package/dist/index296.js +15 -14
  74. package/dist/index297.js +21 -15
  75. package/dist/index298.js +2 -23
  76. package/dist/index299.js +1534 -3
  77. package/dist/index300.js +382 -23
  78. package/dist/index301.js +2714 -245
  79. package/dist/index302.js +84 -4
  80. package/dist/index303.js +3785 -133
  81. package/dist/index304.js +57 -70
  82. package/dist/index305.js +14 -86
  83. package/dist/index306.js +82 -27
  84. package/dist/index307.js +199 -13
  85. package/dist/index308.js +237 -66
  86. package/dist/index309.js +3 -4
  87. package/dist/index310.js +27 -2
  88. package/dist/index311.js +74 -78
  89. package/dist/index312.js +21 -52
  90. package/dist/index313.js +934 -5
  91. package/dist/index314.js +21 -4
  92. package/dist/index315.js +19 -178
  93. package/dist/index316.js +19 -62
  94. package/dist/index317.js +68 -74
  95. package/dist/index318.js +16 -76
  96. package/dist/index319.js +19 -22
  97. package/dist/index320.js +22 -935
  98. package/dist/index321.js +11 -11
  99. package/dist/index322.js +62 -19
  100. package/dist/index323.js +261 -19
  101. package/dist/index324.js +5 -68
  102. package/dist/index325.js +139 -18
  103. package/dist/index326.js +73 -19
  104. package/dist/index327.js +85 -20
  105. package/dist/index328.js +28 -21
  106. package/dist/index329.js +16 -63
  107. package/dist/index330.js +64 -1523
  108. package/dist/index331.js +3 -385
  109. package/dist/index332.js +2 -2731
  110. package/dist/index333.js +77 -80
  111. package/dist/index334.js +53 -3792
  112. package/dist/index335.js +4 -58
  113. package/dist/index336.js +5 -15
  114. package/dist/index337.js +166 -71
  115. package/dist/index338.js +57 -196
  116. package/dist/index339.js +75 -246
  117. package/dist/index364.js +19 -18
  118. package/dist/index365.js +19 -56
  119. package/dist/index366.js +63 -28
  120. package/dist/index367.js +37 -7
  121. package/dist/index368.js +16 -49
  122. package/dist/index369.js +57 -7
  123. package/dist/index370.js +27 -10
  124. package/dist/index371.js +7 -7
  125. package/dist/index372.js +51 -27
  126. package/dist/index373.js +7 -2
  127. package/dist/index374.js +11 -69
  128. package/dist/index375.js +6 -166
  129. package/dist/index376.js +28 -20
  130. package/dist/index377.js +2 -20
  131. package/dist/index378.js +67 -61
  132. package/dist/index379.js +166 -36
  133. package/dist/index380.js +98 -28
  134. package/dist/index381.js +90 -10
  135. package/dist/index382.js +98 -4
  136. package/dist/index383.js +17 -4
  137. package/dist/index384.js +30 -12
  138. package/dist/index385.js +11 -7
  139. package/dist/index386.js +3 -11
  140. package/dist/index387.js +3 -4
  141. package/dist/index388.js +13 -33
  142. package/dist/index389.js +7 -31
  143. package/dist/index390.js +12 -28
  144. package/dist/index391.js +5 -61
  145. package/dist/index392.js +33 -17
  146. package/dist/index393.js +29 -99
  147. package/dist/index394.js +28 -91
  148. package/dist/index395.js +59 -96
  149. package/dist/index396.js +1 -1
  150. package/dist/index401.js +1 -1
  151. package/dist/index402.js +2 -2
  152. package/dist/index50.js +2 -2
  153. package/package.json +1 -1
package/dist/index260.js CHANGED
@@ -1,135 +1,44 @@
1
- import { ObjectUtils as d } from "./index180.js";
2
- import u from "./index228.js";
3
- import r from "./index326.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 "./index249.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
  };