@quoreadmin/ui 1.10.2 → 1.10.3

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 (148) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index131.js +113 -107
  3. package/dist/index182.js +14 -14
  4. package/dist/index183.js +3 -3
  5. package/dist/index186.js +4 -4
  6. package/dist/index193.js +10 -10
  7. package/dist/index195.js +10 -10
  8. package/dist/index201.js +28 -28
  9. package/dist/index202.js +2 -2
  10. package/dist/index203.js +2 -2
  11. package/dist/index204.js +1 -1
  12. package/dist/index206.js +2 -2
  13. package/dist/index208.js +14 -14
  14. package/dist/index209.js +1 -1
  15. package/dist/index210.js +1 -1
  16. package/dist/index211.js +3 -3
  17. package/dist/index212.js +6 -6
  18. package/dist/index213.js +29 -84
  19. package/dist/index214.js +109 -400
  20. package/dist/index215.js +36 -22
  21. package/dist/index216.js +26 -127
  22. package/dist/index217.js +35 -37
  23. package/dist/index218.js +51 -80
  24. package/dist/index219.js +42 -19
  25. package/dist/index220.js +3 -19
  26. package/dist/index221.js +9 -20
  27. package/dist/index222.js +18 -19
  28. package/dist/index223.js +10 -20
  29. package/dist/index224.js +9 -3635
  30. package/dist/index225.js +38 -54
  31. package/dist/index226.js +21 -77
  32. package/dist/index227.js +84 -48
  33. package/dist/index228.js +395 -203
  34. package/dist/index229.js +21 -9
  35. package/dist/index230.js +155 -51
  36. package/dist/index231.js +20 -61
  37. package/dist/index232.js +20 -54
  38. package/dist/index233.js +22 -75
  39. package/dist/index234.js +178 -705
  40. package/dist/index235.js +66 -38
  41. package/dist/index236.js +31 -61
  42. package/dist/index237.js +40 -11
  43. package/dist/index238.js +120 -698
  44. package/dist/index239.js +34 -816
  45. package/dist/index240.js +80 -33
  46. package/dist/index241.js +19 -115
  47. package/dist/index242.js +19 -35
  48. package/dist/index243.js +20 -26
  49. package/dist/index244.js +19 -35
  50. package/dist/index245.js +158 -48
  51. package/dist/index246.js +221 -36
  52. package/dist/index247.js +36 -3
  53. package/dist/index248.js +10 -9
  54. package/dist/index249.js +3634 -17
  55. package/dist/index250.js +55 -10
  56. package/dist/index251.js +77 -10
  57. package/dist/index252.js +51 -38
  58. package/dist/index253.js +215 -21
  59. package/dist/index254.js +10 -161
  60. package/dist/index255.js +55 -226
  61. package/dist/index256.js +61 -37
  62. package/dist/index257.js +54 -10
  63. package/dist/index258.js +75 -22
  64. package/dist/index259.js +725 -21
  65. package/dist/index260.js +42 -20
  66. package/dist/index261.js +51 -823
  67. package/dist/index262.js +11 -702
  68. package/dist/index263.js +704 -175
  69. package/dist/index264.js +820 -22
  70. package/dist/index265.js +14 -12
  71. package/dist/index266.js +13 -11
  72. package/dist/index267.js +20 -3
  73. package/dist/index268.js +786 -137
  74. package/dist/index269.js +656 -87
  75. package/dist/index270.js +171 -156
  76. package/dist/index271.js +22 -1223
  77. package/dist/index272.js +12 -12
  78. package/dist/index273.js +12 -14
  79. package/dist/index274.js +3 -20
  80. package/dist/index275.js +186 -21
  81. package/dist/index276.js +132 -28
  82. package/dist/index277.js +1223 -20
  83. package/dist/index278.js +13 -13
  84. package/dist/index279.js +22 -2
  85. package/dist/index280.js +22 -2
  86. package/dist/index281.js +20 -13
  87. package/dist/index282.js +19 -198
  88. package/dist/index283.js +18 -68
  89. package/dist/index284.js +2 -34
  90. package/dist/index285.js +2 -40
  91. package/dist/index290.js +3 -2
  92. package/dist/index291.js +25 -77
  93. package/dist/index292.js +54 -1534
  94. package/dist/index293.js +67 -374
  95. package/dist/index294.js +26 -2731
  96. package/dist/index295.js +21 -85
  97. package/dist/index296.js +22 -3792
  98. package/dist/index297.js +16 -60
  99. package/dist/index298.js +17 -15
  100. package/dist/index299.js +23 -84
  101. package/dist/index300.js +2 -202
  102. package/dist/index301.js +1508 -220
  103. package/dist/index302.js +386 -3
  104. package/dist/index303.js +2727 -23
  105. package/dist/index304.js +82 -50
  106. package/dist/index305.js +3792 -26
  107. package/dist/index306.js +59 -21
  108. package/dist/index307.js +15 -22
  109. package/dist/index308.js +84 -16
  110. package/dist/index309.js +201 -16
  111. package/dist/index310.js +246 -23
  112. package/dist/index312.js +1 -1
  113. package/dist/index313.js +2 -2
  114. package/dist/index314.js +1 -1
  115. package/dist/index315.js +1 -1
  116. package/dist/index316.js +1 -1
  117. package/dist/index320.js +1 -1
  118. package/dist/index321.js +1 -1
  119. package/dist/index340.js +8 -36
  120. package/dist/index341.js +12 -8
  121. package/dist/index342.js +54 -12
  122. package/dist/index343.js +9 -52
  123. package/dist/index344.js +13 -11
  124. package/dist/index345.js +53 -9
  125. package/dist/index346.js +49 -55
  126. package/dist/index347.js +28 -49
  127. package/dist/index348.js +2 -31
  128. package/dist/index349.js +5 -2
  129. package/dist/index350.js +2 -5
  130. package/dist/index351.js +23 -2
  131. package/dist/index352.js +39 -21
  132. package/dist/index353.js +2 -41
  133. package/dist/index354.js +11 -2
  134. package/dist/index355.js +20 -11
  135. package/dist/index356.js +10 -20
  136. package/dist/index357.js +9 -9
  137. package/dist/index358.js +16 -9
  138. package/dist/index359.js +2 -17
  139. package/dist/index360.js +9 -2
  140. package/dist/index361.js +10 -9
  141. package/dist/index362.js +14 -10
  142. package/dist/index363.js +37 -14
  143. package/dist/index364.js +1 -1
  144. package/dist/index365.js +1 -1
  145. package/dist/index366.js +1 -1
  146. package/dist/index38.js +2 -2
  147. package/dist/src/components/page-layout/page-layout.vue.d.ts +3 -0
  148. package/package.json +1 -1
package/dist/index270.js CHANGED
@@ -1,163 +1,178 @@
1
- import y from "./index285.js";
2
- import m from "./index260.js";
3
- import b from "./index213.js";
4
- import v from "./index214.js";
5
- import h from "./index304.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 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
+ }];
79
20
  },
80
- style: h,
81
- provide: function() {
82
- return {
83
- $parentInstance: this
84
- };
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
- }
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" : "";
27
+ },
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
+ }];
36
+ },
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
+ }];
52
+ },
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
+ }];
65
+ },
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
+ }];
73
+ },
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
+ }];
99
154
  },
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
- }
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"
110
164
  },
111
- components: {
112
- SpinnerIcon: m,
113
- Badge: y
165
+ thead: {
166
+ position: "sticky"
114
167
  },
115
- directives: {
116
- ripple: b
168
+ tfoot: {
169
+ position: "sticky"
117
170
  }
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;
171
+ }, s = i.extend({
172
+ name: "datatable",
173
+ classes: p,
174
+ inlineStyles: u
175
+ });
161
176
  export {
162
- C as default
177
+ s as default
163
178
  };