@quoreadmin/ui 1.10.14 → 1.10.16

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 (95) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index194.js +1 -1
  3. package/dist/index195.js +7 -7
  4. package/dist/index201.js +23 -23
  5. package/dist/index202.js +1 -1
  6. package/dist/index203.js +1 -1
  7. package/dist/index206.js +2 -2
  8. package/dist/index208.js +14 -14
  9. package/dist/index209.js +1 -1
  10. package/dist/index210.js +1 -1
  11. package/dist/index211.js +3 -3
  12. package/dist/index212.js +6 -6
  13. package/dist/index234.js +1 -1
  14. package/dist/index238.js +1 -1
  15. package/dist/index242.js +3618 -109
  16. package/dist/index243.js +49 -32
  17. package/dist/index244.js +70 -73
  18. package/dist/index245.js +52 -20
  19. package/dist/index246.js +215 -20
  20. package/dist/index247.js +10 -20
  21. package/dist/index248.js +57 -20
  22. package/dist/index249.js +61 -22
  23. package/dist/index250.js +54 -22
  24. package/dist/index251.js +75 -20
  25. package/dist/index252.js +681 -791
  26. package/dist/index253.js +33 -693
  27. package/dist/index254.js +56 -168
  28. package/dist/index255.js +11 -22
  29. package/dist/index256.js +705 -20
  30. package/dist/index257.js +820 -20
  31. package/dist/index258.js +22 -3
  32. package/dist/index259.js +21 -186
  33. package/dist/index260.js +19 -132
  34. package/dist/index261.js +744 -1131
  35. package/dist/index262.js +701 -19
  36. package/dist/index263.js +176 -22
  37. package/dist/index264.js +13 -15
  38. package/dist/index265.js +13 -22
  39. package/dist/index266.js +15 -13
  40. package/dist/index267.js +12 -12
  41. package/dist/index268.js +20 -2
  42. package/dist/index269.js +2 -1
  43. package/dist/index270.js +166 -3615
  44. package/dist/index271.js +128 -50
  45. package/dist/index272.js +1214 -68
  46. package/dist/index273.js +122 -47
  47. package/dist/index274.js +20 -215
  48. package/dist/index275.js +22 -10
  49. package/dist/index276.js +22 -57
  50. package/dist/index277.js +32 -55
  51. package/dist/index278.js +29 -54
  52. package/dist/index279.js +20 -75
  53. package/dist/index280.js +19 -725
  54. package/dist/index281.js +2 -42
  55. package/dist/index282.js +2 -64
  56. package/dist/index283.js +79 -10
  57. package/dist/index284.js +20 -705
  58. package/dist/index285.js +20 -820
  59. package/dist/index300.js +1534 -2
  60. package/dist/index301.js +346 -1494
  61. package/dist/index302.js +2675 -330
  62. package/dist/index303.js +72 -2717
  63. package/dist/index304.js +3782 -76
  64. package/dist/index305.js +49 -3781
  65. package/dist/index306.js +15 -60
  66. package/dist/index307.js +81 -76
  67. package/dist/index308.js +202 -22
  68. package/dist/index309.js +226 -915
  69. package/dist/index310.js +2 -22
  70. package/dist/index311.js +78 -19
  71. package/dist/index312.js +15 -13
  72. package/dist/index313.js +930 -64
  73. package/dist/index314.js +21 -18
  74. package/dist/index315.js +20 -19
  75. package/dist/index316.js +10 -12
  76. package/dist/index317.js +68 -21
  77. package/dist/index318.js +16 -60
  78. package/dist/index319.js +19 -84
  79. package/dist/index320.js +22 -202
  80. package/dist/index321.js +22 -246
  81. package/dist/index322.js +63 -15
  82. package/dist/index366.js +1 -1
  83. package/dist/index380.js +95 -98
  84. package/dist/index381.js +100 -16
  85. package/dist/index383.js +16 -97
  86. package/dist/index4.js +39 -18
  87. package/dist/index68.js +19 -4
  88. package/dist/src/components/avatar/avatar.d.ts +31 -0
  89. package/dist/src/components/avatar/avatar.stories.d.ts +29 -0
  90. package/dist/src/components/comment/comment.d.ts +27 -0
  91. package/dist/src/components/comment/comment.stories.d.ts +27 -0
  92. package/dist/src/components/comment-section/comment-section.d.ts +27 -0
  93. package/dist/src/components/comment-section/comment-section.stories.d.ts +27 -0
  94. package/dist/src/components/room-details-popover/room-details-popover.d.ts +27 -0
  95. package/package.json +1 -1
package/dist/index254.js CHANGED
@@ -1,178 +1,66 @@
1
- import i from "./index288.js";
2
- var p = {
3
- root: function(t) {
4
- var e = t.instance, o = t.props;
5
- return ["p-datatable p-component", {
6
- "p-datatable-hoverable-rows": o.rowHover || o.selectionMode,
7
- "p-datatable-resizable": o.resizableColumns,
8
- "p-datatable-resizable-fit": o.resizableColumns && o.columnResizeMode === "fit",
9
- "p-datatable-scrollable": o.scrollable,
10
- "p-datatable-flex-scrollable": o.scrollable && o.scrollHeight === "flex",
11
- "p-datatable-responsive-stack": o.responsiveLayout === "stack",
12
- "p-datatable-responsive-scroll": o.responsiveLayout === "scroll",
13
- "p-datatable-striped": o.stripedRows,
14
- "p-datatable-gridlines": o.showGridlines,
15
- "p-datatable-grouped-header": e.headerColumnGroup != null,
16
- "p-datatable-grouped-footer": e.footerColumnGroup != null,
17
- "p-datatable-sm": o.size === "small",
18
- "p-datatable-lg": o.size === "large"
19
- }];
1
+ import { Mark as r, markPasteRule as s, markInputRule as n, mergeAttributes as a } from "./index242.js";
2
+ var i = /(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/, d = /(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g, o = r.create({
3
+ name: "strike",
4
+ addOptions() {
5
+ return {
6
+ HTMLAttributes: {}
7
+ };
20
8
  },
21
- loadingOverlay: "p-datatable-loading-overlay p-component-overlay",
22
- loadingIcon: "p-datatable-loading-icon",
23
- header: "p-datatable-header",
24
- paginator: function(t) {
25
- var e = t.instance;
26
- return e.paginatorTop ? "p-paginator-top" : e.paginatorBottom ? "p-paginator-bottom" : "";
9
+ parseHTML() {
10
+ return [
11
+ {
12
+ tag: "s"
13
+ },
14
+ {
15
+ tag: "del"
16
+ },
17
+ {
18
+ tag: "strike"
19
+ },
20
+ {
21
+ style: "text-decoration",
22
+ consuming: !1,
23
+ getAttrs: (e) => e.includes("line-through") ? {} : !1
24
+ }
25
+ ];
27
26
  },
28
- wrapper: "p-datatable-wrapper",
29
- table: function(t) {
30
- var e = t.props;
31
- return ["p-datatable-table", {
32
- "p-datatable-scrollable-table": e.scrollable,
33
- "p-datatable-resizable-table": e.resizableColumns,
34
- "p-datatable-resizable-table-fit": e.resizableColumns && e.columnResizeMode === "fit"
35
- }];
27
+ renderHTML({ HTMLAttributes: e }) {
28
+ return ["s", a(this.options.HTMLAttributes, e), 0];
36
29
  },
37
- //tablehead
38
- thead: "p-datatable-thead",
39
- // headercell
40
- headerCell: function(t) {
41
- var e = t.instance, o = t.props, l = t.column;
42
- return l && !e.columnProp(l, "hidden") && (o.rowGroupMode !== "subheader" || o.groupRowsBy !== e.columnProp(l, "field")) ? ["p-filter-column", {
43
- "p-frozen-column": e.columnProp(l, "frozen")
44
- }] : [{
45
- "p-sortable-column": e.columnProp("sortable"),
46
- "p-resizable-column": e.resizableColumns,
47
- "p-highlight": e.isColumnSorted(),
48
- "p-filter-column": o.filterColumn,
49
- "p-frozen-column": e.columnProp("frozen"),
50
- "p-reorderable-column": o.reorderableColumns
51
- }];
30
+ markdownTokenName: "del",
31
+ parseMarkdown: (e, t) => t.applyMark("strike", t.parseInline(e.tokens || [])),
32
+ renderMarkdown: (e, t) => `~~${t.renderChildren(e)}~~`,
33
+ addCommands() {
34
+ return {
35
+ setStrike: () => ({ commands: e }) => e.setMark(this.name),
36
+ toggleStrike: () => ({ commands: e }) => e.toggleMark(this.name),
37
+ unsetStrike: () => ({ commands: e }) => e.unsetMark(this.name)
38
+ };
52
39
  },
53
- columnResizer: "p-column-resizer",
54
- headerContent: "p-column-header-content",
55
- headerTitle: "p-column-title",
56
- sortIcon: "p-sortable-column-icon",
57
- sortBadge: "p-sortable-column-badge",
58
- // columnfilter
59
- columnFilter: function(t) {
60
- var e = t.props;
61
- return ["p-column-filter p-fluid", {
62
- "p-column-filter-row": e.display === "row",
63
- "p-column-filter-menu": e.display === "menu"
64
- }];
40
+ addKeyboardShortcuts() {
41
+ return {
42
+ "Mod-Shift-s": () => this.editor.commands.toggleStrike()
43
+ };
65
44
  },
66
- filterInput: "p-fluid p-column-filter-element",
67
- filterMenuButton: function(t) {
68
- var e = t.instance;
69
- return ["p-column-filter-menu-button p-link", {
70
- "p-column-filter-menu-button-open": e.overlayVisible,
71
- "p-column-filter-menu-button-active": e.hasFilter()
72
- }];
45
+ addInputRules() {
46
+ return [
47
+ n({
48
+ find: i,
49
+ type: this.type
50
+ })
51
+ ];
73
52
  },
74
- headerFilterClearButton: function(t) {
75
- var e = t.instance;
76
- return ["p-column-filter-clear-button p-link", {
77
- "p-hidden-space": !e.hasRowFilter()
78
- }];
79
- },
80
- filterOverlay: function(t) {
81
- var e = t.instance, o = t.props;
82
- return [{
83
- "p-column-filter-overlay p-component p-fluid": !0,
84
- "p-column-filter-overlay-menu": o.display === "menu",
85
- "p-ripple-disabled": e.$primevue.config.ripple === !1
86
- }];
87
- },
88
- filterRowItems: "p-column-filter-row-items",
89
- filterRowItem: function(t) {
90
- var e = t.instance, o = t.matchMode;
91
- return ["p-column-filter-row-item", {
92
- "p-highlight": o && e.isRowMatchModeSelected(o.value)
93
- }];
94
- },
95
- filterSeparator: "p-column-filter-separator",
96
- filterOperator: "p-column-filter-operator",
97
- filterOperatorDropdown: "p-column-filter-operator-dropdown",
98
- filterConstraints: "p-column-filter-constraints",
99
- filterConstraint: "p-column-filter-constraint",
100
- filterMatchModeDropdown: "p-column-filter-matchmode-dropdown",
101
- filterRemoveButton: "p-column-filter-remove-button p-button-text p-button-danger p-button-sm",
102
- filterAddRule: "p-column-filter-add-rule",
103
- filterAddRuleButton: "p-column-filter-add-button p-button-text p-button-sm",
104
- filterButtonbar: "p-column-filter-buttonbar",
105
- filterClearButton: "p-button-outlined p-button-sm",
106
- filterApplyButton: "p-button-sm",
107
- //tablebody
108
- tbody: function(t) {
109
- var e = t.props;
110
- return e.frozenRow ? "p-datatable-tbody p-datatable-frozen-tbody" : "p-datatable-tbody";
111
- },
112
- rowgroupHeader: "p-rowgroup-header",
113
- rowGroupToggler: "p-row-toggler p-link",
114
- rowGroupTogglerIcon: "p-row-toggler-icon",
115
- row: function(t) {
116
- var e = t.instance, o = t.props, l = t.index, a = t.columnSelectionMode, n = [];
117
- return o.selectionMode && n.push("p-selectable-row"), o.selection && n.push({
118
- "p-highlight": a ? e.isSelected && e.$parentInstance.$parentInstance.highlightOnSelect : e.isSelected
119
- }), o.contextMenuSelection && n.push({
120
- "p-highlight-contextmenu": e.isSelectedWithContextMenu
121
- }), n.push(l % 2 === 0 ? "p-row-even" : "p-row-odd"), n;
122
- },
123
- rowExpansion: "p-datatable-row-expansion",
124
- rowgroupFooter: "p-rowgroup-footer",
125
- emptyMessage: "p-datatable-emptymessage",
126
- //bodycell
127
- bodyCell: function(t) {
128
- var e = t.instance;
129
- return [{
130
- "p-selection-column": e.columnProp("selectionMode") != null,
131
- "p-editable-column": e.isEditable(),
132
- "p-cell-editing": e.d_editing,
133
- "p-frozen-column": e.columnProp("frozen")
134
- }];
135
- },
136
- columnTitle: "p-column-title",
137
- rowReorderIcon: "p-datatable-reorderablerow-handle",
138
- rowToggler: "p-row-toggler p-link",
139
- rowTogglerIcon: "p-row-toggler-icon",
140
- rowEditorInitButton: "p-row-editor-init p-link",
141
- rowEditorInitIcon: "p-row-editor-init-icon",
142
- rowEditorSaveButton: "p-row-editor-save p-link",
143
- rowEditorSaveIcon: "p-row-editor-save-icon",
144
- rowEditorCancelButton: "p-row-editor-cancel p-link",
145
- rowEditorCancelIcon: "p-row-editor-cancel-icon",
146
- //tablefooter
147
- tfoot: "p-datatable-tfoot",
148
- //footercell
149
- footerCell: function(t) {
150
- var e = t.instance;
151
- return [{
152
- "p-frozen-column": e.columnProp("frozen")
153
- }];
154
- },
155
- //datatable
156
- virtualScrollerSpacer: "p-datatable-virtualscroller-spacer",
157
- footer: "p-datatable-footer",
158
- resizeHelper: "p-column-resizer-helper",
159
- reorderIndicatorUp: "p-datatable-reorder-indicator-up",
160
- reorderIndicatorDown: "p-datatable-reorder-indicator-down"
161
- }, u = {
162
- wrapper: {
163
- overflow: "auto"
164
- },
165
- thead: {
166
- position: "sticky"
167
- },
168
- tfoot: {
169
- position: "sticky"
53
+ addPasteRules() {
54
+ return [
55
+ s({
56
+ find: d,
57
+ type: this.type
58
+ })
59
+ ];
170
60
  }
171
- }, s = i.extend({
172
- name: "datatable",
173
- classes: p,
174
- inlineStyles: u
175
61
  });
176
62
  export {
177
- s as default
63
+ o as Strike,
64
+ i as inputRegex,
65
+ d as pasteRegex
178
66
  };
package/dist/index255.js CHANGED
@@ -1,24 +1,13 @@
1
- import r from "./index293.js";
2
- import { openBlock as t, createElementBlock as C, mergeProps as o, createElementVNode as n } from "vue";
3
- var l = {
4
- name: "BarsIcon",
5
- extends: r
6
- }, i = /* @__PURE__ */ n("path", {
7
- "fill-rule": "evenodd",
8
- "clip-rule": "evenodd",
9
- d: "M13.3226 3.6129H0.677419C0.497757 3.6129 0.325452 3.54152 0.198411 3.41448C0.0713707 3.28744 0 3.11514 0 2.93548C0 2.75581 0.0713707 2.58351 0.198411 2.45647C0.325452 2.32943 0.497757 2.25806 0.677419 2.25806H13.3226C13.5022 2.25806 13.6745 2.32943 13.8016 2.45647C13.9286 2.58351 14 2.75581 14 2.93548C14 3.11514 13.9286 3.28744 13.8016 3.41448C13.6745 3.54152 13.5022 3.6129 13.3226 3.6129ZM13.3226 7.67741H0.677419C0.497757 7.67741 0.325452 7.60604 0.198411 7.479C0.0713707 7.35196 0 7.17965 0 6.99999C0 6.82033 0.0713707 6.64802 0.198411 6.52098C0.325452 6.39394 0.497757 6.32257 0.677419 6.32257H13.3226C13.5022 6.32257 13.6745 6.39394 13.8016 6.52098C13.9286 6.64802 14 6.82033 14 6.99999C14 7.17965 13.9286 7.35196 13.8016 7.479C13.6745 7.60604 13.5022 7.67741 13.3226 7.67741ZM0.677419 11.7419H13.3226C13.5022 11.7419 13.6745 11.6706 13.8016 11.5435C13.9286 11.4165 14 11.2442 14 11.0645C14 10.8848 13.9286 10.7125 13.8016 10.5855C13.6745 10.4585 13.5022 10.3871 13.3226 10.3871H0.677419C0.497757 10.3871 0.325452 10.4585 0.198411 10.5855C0.0713707 10.7125 0 10.8848 0 11.0645C0 11.2442 0.0713707 11.4165 0.198411 11.5435C0.325452 11.6706 0.497757 11.7419 0.677419 11.7419Z",
10
- fill: "currentColor"
11
- }, null, -1), p = [i];
12
- function d(e, s, a, c, m, h) {
13
- return t(), C("svg", o({
14
- width: "14",
15
- height: "14",
16
- viewBox: "0 0 14 14",
17
- fill: "none",
18
- xmlns: "http://www.w3.org/2000/svg"
19
- }, e.pti()), p, 16);
20
- }
21
- l.render = d;
1
+ import { Node as t } from "./index242.js";
2
+ var o = t.create({
3
+ name: "text",
4
+ group: "inline",
5
+ parseMarkdown: (e) => ({
6
+ type: "text",
7
+ text: e.text || ""
8
+ }),
9
+ renderMarkdown: (e) => e.text || ""
10
+ });
22
11
  export {
23
- l as default
12
+ o as Text
24
13
  };