@regcheq/ui-vue-2 1.2.0-beta.1 → 1.2.0-beta.2
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.
- package/dist/index.css +153 -532
- package/dist/index.esm.js +1068 -1325
- package/dist/index.js +980 -1234
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -31461,7 +31461,7 @@ const buttonVariants$1 = cva('rq-button-legacy', {
|
|
|
31461
31461
|
//
|
|
31462
31462
|
//
|
|
31463
31463
|
|
|
31464
|
-
var script$
|
|
31464
|
+
var script$o = {
|
|
31465
31465
|
name: 'RqButton',
|
|
31466
31466
|
props: {
|
|
31467
31467
|
variant: {
|
|
@@ -31595,10 +31595,10 @@ function normalizeComponent(template, style, script, scopeId, isFunctionalTempla
|
|
|
31595
31595
|
}
|
|
31596
31596
|
|
|
31597
31597
|
/* script */
|
|
31598
|
-
const __vue_script__$
|
|
31598
|
+
const __vue_script__$o = script$o;
|
|
31599
31599
|
|
|
31600
31600
|
/* template */
|
|
31601
|
-
var __vue_render__$
|
|
31601
|
+
var __vue_render__$o = function () {
|
|
31602
31602
|
var _vm = this;
|
|
31603
31603
|
var _h = _vm.$createElement;
|
|
31604
31604
|
var _c = _vm._self._c || _h;
|
|
@@ -31624,27 +31624,27 @@ var __vue_render__$l = function () {
|
|
|
31624
31624
|
}
|
|
31625
31625
|
}) : _vm._e()], 2);
|
|
31626
31626
|
};
|
|
31627
|
-
var __vue_staticRenderFns__$
|
|
31628
|
-
__vue_render__$
|
|
31627
|
+
var __vue_staticRenderFns__$o = [];
|
|
31628
|
+
__vue_render__$o._withStripped = true;
|
|
31629
31629
|
|
|
31630
31630
|
/* style */
|
|
31631
|
-
const __vue_inject_styles__$
|
|
31631
|
+
const __vue_inject_styles__$o = undefined;
|
|
31632
31632
|
/* scoped */
|
|
31633
|
-
const __vue_scope_id__$
|
|
31633
|
+
const __vue_scope_id__$o = undefined;
|
|
31634
31634
|
/* module identifier */
|
|
31635
|
-
const __vue_module_identifier__$
|
|
31635
|
+
const __vue_module_identifier__$o = undefined;
|
|
31636
31636
|
/* functional template */
|
|
31637
|
-
const __vue_is_functional_template__$
|
|
31637
|
+
const __vue_is_functional_template__$o = false;
|
|
31638
31638
|
/* style inject */
|
|
31639
31639
|
|
|
31640
31640
|
/* style inject SSR */
|
|
31641
31641
|
|
|
31642
31642
|
/* style inject shadow dom */
|
|
31643
31643
|
|
|
31644
|
-
const __vue_component__$
|
|
31645
|
-
render: __vue_render__$
|
|
31646
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
31647
|
-
}, __vue_inject_styles__$
|
|
31644
|
+
const __vue_component__$o = /*#__PURE__*/normalizeComponent({
|
|
31645
|
+
render: __vue_render__$o,
|
|
31646
|
+
staticRenderFns: __vue_staticRenderFns__$o
|
|
31647
|
+
}, __vue_inject_styles__$o, __vue_script__$o, __vue_scope_id__$o, __vue_is_functional_template__$o, __vue_module_identifier__$o, false, undefined, undefined, undefined);
|
|
31648
31648
|
|
|
31649
31649
|
const inputVariants$1 = cva('rq-input', {
|
|
31650
31650
|
variants: {
|
|
@@ -31697,7 +31697,7 @@ const inputVariants$1 = cva('rq-input', {
|
|
|
31697
31697
|
//
|
|
31698
31698
|
|
|
31699
31699
|
let uid = 0;
|
|
31700
|
-
var script$
|
|
31700
|
+
var script$n = {
|
|
31701
31701
|
name: 'RqInput',
|
|
31702
31702
|
inheritAttrs: false,
|
|
31703
31703
|
props: {
|
|
@@ -31791,10 +31791,10 @@ var script$k = {
|
|
|
31791
31791
|
};
|
|
31792
31792
|
|
|
31793
31793
|
/* script */
|
|
31794
|
-
const __vue_script__$
|
|
31794
|
+
const __vue_script__$n = script$n;
|
|
31795
31795
|
|
|
31796
31796
|
/* template */
|
|
31797
|
-
var __vue_render__$
|
|
31797
|
+
var __vue_render__$n = function () {
|
|
31798
31798
|
var _vm = this;
|
|
31799
31799
|
var _h = _vm.$createElement;
|
|
31800
31800
|
var _c = _vm._self._c || _h;
|
|
@@ -31849,27 +31849,27 @@ var __vue_render__$k = function () {
|
|
|
31849
31849
|
class: ["rq-input__counter", _vm.error && "rq-input__counter--error"]
|
|
31850
31850
|
}, [_vm._v(_vm._s(_vm.currentLength) + "/" + _vm._s(_vm.maxLength))]) : _vm._e()]) : _vm._e()]);
|
|
31851
31851
|
};
|
|
31852
|
-
var __vue_staticRenderFns__$
|
|
31853
|
-
__vue_render__$
|
|
31852
|
+
var __vue_staticRenderFns__$n = [];
|
|
31853
|
+
__vue_render__$n._withStripped = true;
|
|
31854
31854
|
|
|
31855
31855
|
/* style */
|
|
31856
|
-
const __vue_inject_styles__$
|
|
31856
|
+
const __vue_inject_styles__$n = undefined;
|
|
31857
31857
|
/* scoped */
|
|
31858
|
-
const __vue_scope_id__$
|
|
31858
|
+
const __vue_scope_id__$n = undefined;
|
|
31859
31859
|
/* module identifier */
|
|
31860
|
-
const __vue_module_identifier__$
|
|
31860
|
+
const __vue_module_identifier__$n = undefined;
|
|
31861
31861
|
/* functional template */
|
|
31862
|
-
const __vue_is_functional_template__$
|
|
31862
|
+
const __vue_is_functional_template__$n = false;
|
|
31863
31863
|
/* style inject */
|
|
31864
31864
|
|
|
31865
31865
|
/* style inject SSR */
|
|
31866
31866
|
|
|
31867
31867
|
/* style inject shadow dom */
|
|
31868
31868
|
|
|
31869
|
-
const __vue_component__$
|
|
31870
|
-
render: __vue_render__$
|
|
31871
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
31872
|
-
}, __vue_inject_styles__$
|
|
31869
|
+
const __vue_component__$n = /*#__PURE__*/normalizeComponent({
|
|
31870
|
+
render: __vue_render__$n,
|
|
31871
|
+
staticRenderFns: __vue_staticRenderFns__$n
|
|
31872
|
+
}, __vue_inject_styles__$n, __vue_script__$n, __vue_scope_id__$n, __vue_is_functional_template__$n, __vue_module_identifier__$n, false, undefined, undefined, undefined);
|
|
31873
31873
|
|
|
31874
31874
|
const inputVariants = cva('rq-field', {
|
|
31875
31875
|
variants: {
|
|
@@ -31921,7 +31921,7 @@ const inputVariants = cva('rq-field', {
|
|
|
31921
31921
|
//
|
|
31922
31922
|
//
|
|
31923
31923
|
|
|
31924
|
-
var script$
|
|
31924
|
+
var script$m = {
|
|
31925
31925
|
name: 'Input',
|
|
31926
31926
|
inheritAttrs: false,
|
|
31927
31927
|
props: {
|
|
@@ -31994,10 +31994,10 @@ var script$j = {
|
|
|
31994
31994
|
};
|
|
31995
31995
|
|
|
31996
31996
|
/* script */
|
|
31997
|
-
const __vue_script__$
|
|
31997
|
+
const __vue_script__$m = script$m;
|
|
31998
31998
|
|
|
31999
31999
|
/* template */
|
|
32000
|
-
var __vue_render__$
|
|
32000
|
+
var __vue_render__$m = function () {
|
|
32001
32001
|
var _vm = this;
|
|
32002
32002
|
var _h = _vm.$createElement;
|
|
32003
32003
|
var _c = _vm._self._c || _h;
|
|
@@ -32033,27 +32033,27 @@ var __vue_render__$j = function () {
|
|
|
32033
32033
|
}
|
|
32034
32034
|
}) : _vm._e()], 1);
|
|
32035
32035
|
};
|
|
32036
|
-
var __vue_staticRenderFns__$
|
|
32037
|
-
__vue_render__$
|
|
32036
|
+
var __vue_staticRenderFns__$m = [];
|
|
32037
|
+
__vue_render__$m._withStripped = true;
|
|
32038
32038
|
|
|
32039
32039
|
/* style */
|
|
32040
|
-
const __vue_inject_styles__$
|
|
32040
|
+
const __vue_inject_styles__$m = undefined;
|
|
32041
32041
|
/* scoped */
|
|
32042
|
-
const __vue_scope_id__$
|
|
32042
|
+
const __vue_scope_id__$m = undefined;
|
|
32043
32043
|
/* module identifier */
|
|
32044
|
-
const __vue_module_identifier__$
|
|
32044
|
+
const __vue_module_identifier__$m = undefined;
|
|
32045
32045
|
/* functional template */
|
|
32046
|
-
const __vue_is_functional_template__$
|
|
32046
|
+
const __vue_is_functional_template__$m = false;
|
|
32047
32047
|
/* style inject */
|
|
32048
32048
|
|
|
32049
32049
|
/* style inject SSR */
|
|
32050
32050
|
|
|
32051
32051
|
/* style inject shadow dom */
|
|
32052
32052
|
|
|
32053
|
-
const __vue_component__$
|
|
32054
|
-
render: __vue_render__$
|
|
32055
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
32056
|
-
}, __vue_inject_styles__$
|
|
32053
|
+
const __vue_component__$m = /*#__PURE__*/normalizeComponent({
|
|
32054
|
+
render: __vue_render__$m,
|
|
32055
|
+
staticRenderFns: __vue_staticRenderFns__$m
|
|
32056
|
+
}, __vue_inject_styles__$m, __vue_script__$m, __vue_scope_id__$m, __vue_is_functional_template__$m, __vue_module_identifier__$m, false, undefined, undefined, undefined);
|
|
32057
32057
|
|
|
32058
32058
|
const buttonVariants = cva('rq-button', {
|
|
32059
32059
|
variants: {
|
|
@@ -32096,7 +32096,7 @@ const buttonVariants = cva('rq-button', {
|
|
|
32096
32096
|
//
|
|
32097
32097
|
//
|
|
32098
32098
|
|
|
32099
|
-
var script$
|
|
32099
|
+
var script$l = {
|
|
32100
32100
|
name: 'Button',
|
|
32101
32101
|
props: {
|
|
32102
32102
|
variant: {
|
|
@@ -32162,10 +32162,10 @@ var script$i = {
|
|
|
32162
32162
|
};
|
|
32163
32163
|
|
|
32164
32164
|
/* script */
|
|
32165
|
-
const __vue_script__$
|
|
32165
|
+
const __vue_script__$l = script$l;
|
|
32166
32166
|
|
|
32167
32167
|
/* template */
|
|
32168
|
-
var __vue_render__$
|
|
32168
|
+
var __vue_render__$l = function () {
|
|
32169
32169
|
var _vm = this;
|
|
32170
32170
|
var _h = _vm.$createElement;
|
|
32171
32171
|
var _c = _vm._self._c || _h;
|
|
@@ -32192,27 +32192,27 @@ var __vue_render__$i = function () {
|
|
|
32192
32192
|
}
|
|
32193
32193
|
}) : _vm._e()], 2);
|
|
32194
32194
|
};
|
|
32195
|
-
var __vue_staticRenderFns__$
|
|
32196
|
-
__vue_render__$
|
|
32195
|
+
var __vue_staticRenderFns__$l = [];
|
|
32196
|
+
__vue_render__$l._withStripped = true;
|
|
32197
32197
|
|
|
32198
32198
|
/* style */
|
|
32199
|
-
const __vue_inject_styles__$
|
|
32199
|
+
const __vue_inject_styles__$l = undefined;
|
|
32200
32200
|
/* scoped */
|
|
32201
|
-
const __vue_scope_id__$
|
|
32201
|
+
const __vue_scope_id__$l = undefined;
|
|
32202
32202
|
/* module identifier */
|
|
32203
|
-
const __vue_module_identifier__$
|
|
32203
|
+
const __vue_module_identifier__$l = undefined;
|
|
32204
32204
|
/* functional template */
|
|
32205
|
-
const __vue_is_functional_template__$
|
|
32205
|
+
const __vue_is_functional_template__$l = false;
|
|
32206
32206
|
/* style inject */
|
|
32207
32207
|
|
|
32208
32208
|
/* style inject SSR */
|
|
32209
32209
|
|
|
32210
32210
|
/* style inject shadow dom */
|
|
32211
32211
|
|
|
32212
|
-
const __vue_component__$
|
|
32213
|
-
render: __vue_render__$
|
|
32214
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
32215
|
-
}, __vue_inject_styles__$
|
|
32212
|
+
const __vue_component__$l = /*#__PURE__*/normalizeComponent({
|
|
32213
|
+
render: __vue_render__$l,
|
|
32214
|
+
staticRenderFns: __vue_staticRenderFns__$l
|
|
32215
|
+
}, __vue_inject_styles__$l, __vue_script__$l, __vue_scope_id__$l, __vue_is_functional_template__$l, __vue_module_identifier__$l, false, undefined, undefined, undefined);
|
|
32216
32216
|
|
|
32217
32217
|
//
|
|
32218
32218
|
//
|
|
@@ -32286,7 +32286,7 @@ const WEIGHT_MAP = {
|
|
|
32286
32286
|
semibold: 600,
|
|
32287
32287
|
bold: 700
|
|
32288
32288
|
};
|
|
32289
|
-
var script$
|
|
32289
|
+
var script$k = {
|
|
32290
32290
|
name: 'Typography',
|
|
32291
32291
|
props: {
|
|
32292
32292
|
variant: {
|
|
@@ -32320,10 +32320,10 @@ var script$h = {
|
|
|
32320
32320
|
};
|
|
32321
32321
|
|
|
32322
32322
|
/* script */
|
|
32323
|
-
const __vue_script__$
|
|
32323
|
+
const __vue_script__$k = script$k;
|
|
32324
32324
|
|
|
32325
32325
|
/* template */
|
|
32326
|
-
var __vue_render__$
|
|
32326
|
+
var __vue_render__$k = function () {
|
|
32327
32327
|
var _vm = this;
|
|
32328
32328
|
var _h = _vm.$createElement;
|
|
32329
32329
|
var _c = _vm._self._c || _h;
|
|
@@ -32333,27 +32333,27 @@ var __vue_render__$h = function () {
|
|
|
32333
32333
|
style: _vm.weightStyle
|
|
32334
32334
|
}, _vm.$listeners), [_vm._t("default")], 2);
|
|
32335
32335
|
};
|
|
32336
|
-
var __vue_staticRenderFns__$
|
|
32337
|
-
__vue_render__$
|
|
32336
|
+
var __vue_staticRenderFns__$k = [];
|
|
32337
|
+
__vue_render__$k._withStripped = true;
|
|
32338
32338
|
|
|
32339
32339
|
/* style */
|
|
32340
|
-
const __vue_inject_styles__$
|
|
32340
|
+
const __vue_inject_styles__$k = undefined;
|
|
32341
32341
|
/* scoped */
|
|
32342
|
-
const __vue_scope_id__$
|
|
32342
|
+
const __vue_scope_id__$k = undefined;
|
|
32343
32343
|
/* module identifier */
|
|
32344
|
-
const __vue_module_identifier__$
|
|
32344
|
+
const __vue_module_identifier__$k = undefined;
|
|
32345
32345
|
/* functional template */
|
|
32346
|
-
const __vue_is_functional_template__$
|
|
32346
|
+
const __vue_is_functional_template__$k = false;
|
|
32347
32347
|
/* style inject */
|
|
32348
32348
|
|
|
32349
32349
|
/* style inject SSR */
|
|
32350
32350
|
|
|
32351
32351
|
/* style inject shadow dom */
|
|
32352
32352
|
|
|
32353
|
-
const __vue_component__$
|
|
32354
|
-
render: __vue_render__$
|
|
32355
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
32356
|
-
}, __vue_inject_styles__$
|
|
32353
|
+
const __vue_component__$k = /*#__PURE__*/normalizeComponent({
|
|
32354
|
+
render: __vue_render__$k,
|
|
32355
|
+
staticRenderFns: __vue_staticRenderFns__$k
|
|
32356
|
+
}, __vue_inject_styles__$k, __vue_script__$k, __vue_scope_id__$k, __vue_is_functional_template__$k, __vue_module_identifier__$k, false, undefined, undefined, undefined);
|
|
32357
32357
|
|
|
32358
32358
|
const checkboxVariants = cva('rq-checkbox');
|
|
32359
32359
|
|
|
@@ -32384,7 +32384,7 @@ const checkboxVariants = cva('rq-checkbox');
|
|
|
32384
32384
|
//
|
|
32385
32385
|
//
|
|
32386
32386
|
|
|
32387
|
-
var script$
|
|
32387
|
+
var script$j = {
|
|
32388
32388
|
name: 'Checkbox',
|
|
32389
32389
|
model: {
|
|
32390
32390
|
prop: 'checked',
|
|
@@ -32434,10 +32434,10 @@ var script$g = {
|
|
|
32434
32434
|
};
|
|
32435
32435
|
|
|
32436
32436
|
/* script */
|
|
32437
|
-
const __vue_script__$
|
|
32437
|
+
const __vue_script__$j = script$j;
|
|
32438
32438
|
|
|
32439
32439
|
/* template */
|
|
32440
|
-
var __vue_render__$
|
|
32440
|
+
var __vue_render__$j = function () {
|
|
32441
32441
|
var _vm = this;
|
|
32442
32442
|
var _h = _vm.$createElement;
|
|
32443
32443
|
var _c = _vm._self._c || _h;
|
|
@@ -32473,27 +32473,27 @@ var __vue_render__$g = function () {
|
|
|
32473
32473
|
}
|
|
32474
32474
|
}) : _vm._e()], 1);
|
|
32475
32475
|
};
|
|
32476
|
-
var __vue_staticRenderFns__$
|
|
32477
|
-
__vue_render__$
|
|
32476
|
+
var __vue_staticRenderFns__$j = [];
|
|
32477
|
+
__vue_render__$j._withStripped = true;
|
|
32478
32478
|
|
|
32479
32479
|
/* style */
|
|
32480
|
-
const __vue_inject_styles__$
|
|
32480
|
+
const __vue_inject_styles__$j = undefined;
|
|
32481
32481
|
/* scoped */
|
|
32482
|
-
const __vue_scope_id__$
|
|
32482
|
+
const __vue_scope_id__$j = undefined;
|
|
32483
32483
|
/* module identifier */
|
|
32484
|
-
const __vue_module_identifier__$
|
|
32484
|
+
const __vue_module_identifier__$j = undefined;
|
|
32485
32485
|
/* functional template */
|
|
32486
|
-
const __vue_is_functional_template__$
|
|
32486
|
+
const __vue_is_functional_template__$j = false;
|
|
32487
32487
|
/* style inject */
|
|
32488
32488
|
|
|
32489
32489
|
/* style inject SSR */
|
|
32490
32490
|
|
|
32491
32491
|
/* style inject shadow dom */
|
|
32492
32492
|
|
|
32493
|
-
const __vue_component__$
|
|
32494
|
-
render: __vue_render__$
|
|
32495
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
32496
|
-
}, __vue_inject_styles__$
|
|
32493
|
+
const __vue_component__$j = /*#__PURE__*/normalizeComponent({
|
|
32494
|
+
render: __vue_render__$j,
|
|
32495
|
+
staticRenderFns: __vue_staticRenderFns__$j
|
|
32496
|
+
}, __vue_inject_styles__$j, __vue_script__$j, __vue_scope_id__$j, __vue_is_functional_template__$j, __vue_module_identifier__$j, false, undefined, undefined, undefined);
|
|
32497
32497
|
|
|
32498
32498
|
const switchVariants = cva('rq-switch');
|
|
32499
32499
|
|
|
@@ -32513,7 +32513,7 @@ const switchVariants = cva('rq-switch');
|
|
|
32513
32513
|
//
|
|
32514
32514
|
//
|
|
32515
32515
|
|
|
32516
|
-
var script$
|
|
32516
|
+
var script$i = {
|
|
32517
32517
|
name: 'RqSwitch',
|
|
32518
32518
|
model: {
|
|
32519
32519
|
prop: 'checked',
|
|
@@ -32540,10 +32540,10 @@ var script$f = {
|
|
|
32540
32540
|
};
|
|
32541
32541
|
|
|
32542
32542
|
/* script */
|
|
32543
|
-
const __vue_script__$
|
|
32543
|
+
const __vue_script__$i = script$i;
|
|
32544
32544
|
|
|
32545
32545
|
/* template */
|
|
32546
|
-
var __vue_render__$
|
|
32546
|
+
var __vue_render__$i = function () {
|
|
32547
32547
|
var _vm = this;
|
|
32548
32548
|
var _h = _vm.$createElement;
|
|
32549
32549
|
var _c = _vm._self._c || _h;
|
|
@@ -32571,27 +32571,27 @@ var __vue_render__$f = function () {
|
|
|
32571
32571
|
staticClass: "rq-switch__thumb"
|
|
32572
32572
|
})]);
|
|
32573
32573
|
};
|
|
32574
|
-
var __vue_staticRenderFns__$
|
|
32575
|
-
__vue_render__$
|
|
32574
|
+
var __vue_staticRenderFns__$i = [];
|
|
32575
|
+
__vue_render__$i._withStripped = true;
|
|
32576
32576
|
|
|
32577
32577
|
/* style */
|
|
32578
|
-
const __vue_inject_styles__$
|
|
32578
|
+
const __vue_inject_styles__$i = undefined;
|
|
32579
32579
|
/* scoped */
|
|
32580
|
-
const __vue_scope_id__$
|
|
32580
|
+
const __vue_scope_id__$i = undefined;
|
|
32581
32581
|
/* module identifier */
|
|
32582
|
-
const __vue_module_identifier__$
|
|
32582
|
+
const __vue_module_identifier__$i = undefined;
|
|
32583
32583
|
/* functional template */
|
|
32584
|
-
const __vue_is_functional_template__$
|
|
32584
|
+
const __vue_is_functional_template__$i = false;
|
|
32585
32585
|
/* style inject */
|
|
32586
32586
|
|
|
32587
32587
|
/* style inject SSR */
|
|
32588
32588
|
|
|
32589
32589
|
/* style inject shadow dom */
|
|
32590
32590
|
|
|
32591
|
-
const __vue_component__$
|
|
32592
|
-
render: __vue_render__$
|
|
32593
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
32594
|
-
}, __vue_inject_styles__$
|
|
32591
|
+
const __vue_component__$i = /*#__PURE__*/normalizeComponent({
|
|
32592
|
+
render: __vue_render__$i,
|
|
32593
|
+
staticRenderFns: __vue_staticRenderFns__$i
|
|
32594
|
+
}, __vue_inject_styles__$i, __vue_script__$i, __vue_scope_id__$i, __vue_is_functional_template__$i, __vue_module_identifier__$i, false, undefined, undefined, undefined);
|
|
32595
32595
|
|
|
32596
32596
|
const chipVariants = cva('rq-chip', {
|
|
32597
32597
|
variants: {},
|
|
@@ -32614,7 +32614,7 @@ const chipVariants = cva('rq-chip', {
|
|
|
32614
32614
|
//
|
|
32615
32615
|
//
|
|
32616
32616
|
|
|
32617
|
-
var script$
|
|
32617
|
+
var script$h = {
|
|
32618
32618
|
name: 'Chip',
|
|
32619
32619
|
props: {
|
|
32620
32620
|
label: {
|
|
@@ -32643,10 +32643,10 @@ var script$e = {
|
|
|
32643
32643
|
};
|
|
32644
32644
|
|
|
32645
32645
|
/* script */
|
|
32646
|
-
const __vue_script__$
|
|
32646
|
+
const __vue_script__$h = script$h;
|
|
32647
32647
|
|
|
32648
32648
|
/* template */
|
|
32649
|
-
var __vue_render__$
|
|
32649
|
+
var __vue_render__$h = function () {
|
|
32650
32650
|
var _vm = this;
|
|
32651
32651
|
var _h = _vm.$createElement;
|
|
32652
32652
|
var _c = _vm._self._c || _h;
|
|
@@ -32671,27 +32671,27 @@ var __vue_render__$e = function () {
|
|
|
32671
32671
|
}
|
|
32672
32672
|
})], 1) : _vm._e()]);
|
|
32673
32673
|
};
|
|
32674
|
-
var __vue_staticRenderFns__$
|
|
32675
|
-
__vue_render__$
|
|
32674
|
+
var __vue_staticRenderFns__$h = [];
|
|
32675
|
+
__vue_render__$h._withStripped = true;
|
|
32676
32676
|
|
|
32677
32677
|
/* style */
|
|
32678
|
-
const __vue_inject_styles__$
|
|
32678
|
+
const __vue_inject_styles__$h = undefined;
|
|
32679
32679
|
/* scoped */
|
|
32680
|
-
const __vue_scope_id__$
|
|
32680
|
+
const __vue_scope_id__$h = undefined;
|
|
32681
32681
|
/* module identifier */
|
|
32682
|
-
const __vue_module_identifier__$
|
|
32682
|
+
const __vue_module_identifier__$h = undefined;
|
|
32683
32683
|
/* functional template */
|
|
32684
|
-
const __vue_is_functional_template__$
|
|
32684
|
+
const __vue_is_functional_template__$h = false;
|
|
32685
32685
|
/* style inject */
|
|
32686
32686
|
|
|
32687
32687
|
/* style inject SSR */
|
|
32688
32688
|
|
|
32689
32689
|
/* style inject shadow dom */
|
|
32690
32690
|
|
|
32691
|
-
const __vue_component__$
|
|
32692
|
-
render: __vue_render__$
|
|
32693
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
32694
|
-
}, __vue_inject_styles__$
|
|
32691
|
+
const __vue_component__$h = /*#__PURE__*/normalizeComponent({
|
|
32692
|
+
render: __vue_render__$h,
|
|
32693
|
+
staticRenderFns: __vue_staticRenderFns__$h
|
|
32694
|
+
}, __vue_inject_styles__$h, __vue_script__$h, __vue_scope_id__$h, __vue_is_functional_template__$h, __vue_module_identifier__$h, false, undefined, undefined, undefined);
|
|
32695
32695
|
|
|
32696
32696
|
const badgeVariants = cva('rq-badge', {
|
|
32697
32697
|
variants: {
|
|
@@ -32722,7 +32722,7 @@ const badgeVariants = cva('rq-badge', {
|
|
|
32722
32722
|
//
|
|
32723
32723
|
//
|
|
32724
32724
|
|
|
32725
|
-
var script$
|
|
32725
|
+
var script$g = {
|
|
32726
32726
|
name: 'Badge',
|
|
32727
32727
|
inheritAttrs: false,
|
|
32728
32728
|
props: {
|
|
@@ -32748,10 +32748,10 @@ var script$d = {
|
|
|
32748
32748
|
};
|
|
32749
32749
|
|
|
32750
32750
|
/* script */
|
|
32751
|
-
const __vue_script__$
|
|
32751
|
+
const __vue_script__$g = script$g;
|
|
32752
32752
|
|
|
32753
32753
|
/* template */
|
|
32754
|
-
var __vue_render__$
|
|
32754
|
+
var __vue_render__$g = function () {
|
|
32755
32755
|
var _vm = this;
|
|
32756
32756
|
var _h = _vm.$createElement;
|
|
32757
32757
|
var _c = _vm._self._c || _h;
|
|
@@ -32759,27 +32759,27 @@ var __vue_render__$d = function () {
|
|
|
32759
32759
|
class: _vm.classes
|
|
32760
32760
|
}, "span", _vm.$attrs, false), _vm.$listeners), [_vm._t("left"), _vm._v(" "), _vm._t("default"), _vm._v(" "), _vm._t("right")], 2);
|
|
32761
32761
|
};
|
|
32762
|
-
var __vue_staticRenderFns__$
|
|
32763
|
-
__vue_render__$
|
|
32762
|
+
var __vue_staticRenderFns__$g = [];
|
|
32763
|
+
__vue_render__$g._withStripped = true;
|
|
32764
32764
|
|
|
32765
32765
|
/* style */
|
|
32766
|
-
const __vue_inject_styles__$
|
|
32766
|
+
const __vue_inject_styles__$g = undefined;
|
|
32767
32767
|
/* scoped */
|
|
32768
|
-
const __vue_scope_id__$
|
|
32768
|
+
const __vue_scope_id__$g = undefined;
|
|
32769
32769
|
/* module identifier */
|
|
32770
|
-
const __vue_module_identifier__$
|
|
32770
|
+
const __vue_module_identifier__$g = undefined;
|
|
32771
32771
|
/* functional template */
|
|
32772
|
-
const __vue_is_functional_template__$
|
|
32772
|
+
const __vue_is_functional_template__$g = false;
|
|
32773
32773
|
/* style inject */
|
|
32774
32774
|
|
|
32775
32775
|
/* style inject SSR */
|
|
32776
32776
|
|
|
32777
32777
|
/* style inject shadow dom */
|
|
32778
32778
|
|
|
32779
|
-
const __vue_component__$
|
|
32780
|
-
render: __vue_render__$
|
|
32781
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
32782
|
-
}, __vue_inject_styles__$
|
|
32779
|
+
const __vue_component__$g = /*#__PURE__*/normalizeComponent({
|
|
32780
|
+
render: __vue_render__$g,
|
|
32781
|
+
staticRenderFns: __vue_staticRenderFns__$g
|
|
32782
|
+
}, __vue_inject_styles__$g, __vue_script__$g, __vue_scope_id__$g, __vue_is_functional_template__$g, __vue_module_identifier__$g, false, undefined, undefined, undefined);
|
|
32783
32783
|
|
|
32784
32784
|
const tooltipVariants = cva('rq-tooltip', {
|
|
32785
32785
|
variants: {
|
|
@@ -32809,7 +32809,7 @@ const tooltipVariants = cva('rq-tooltip', {
|
|
|
32809
32809
|
//
|
|
32810
32810
|
//
|
|
32811
32811
|
|
|
32812
|
-
var script$
|
|
32812
|
+
var script$f = {
|
|
32813
32813
|
name: 'Tooltip',
|
|
32814
32814
|
props: {
|
|
32815
32815
|
side: {
|
|
@@ -32838,10 +32838,10 @@ var script$c = {
|
|
|
32838
32838
|
};
|
|
32839
32839
|
|
|
32840
32840
|
/* script */
|
|
32841
|
-
const __vue_script__$
|
|
32841
|
+
const __vue_script__$f = script$f;
|
|
32842
32842
|
|
|
32843
32843
|
/* template */
|
|
32844
|
-
var __vue_render__$
|
|
32844
|
+
var __vue_render__$f = function () {
|
|
32845
32845
|
var _vm = this;
|
|
32846
32846
|
var _h = _vm.$createElement;
|
|
32847
32847
|
var _c = _vm._self._c || _h;
|
|
@@ -32851,27 +32851,27 @@ var __vue_render__$c = function () {
|
|
|
32851
32851
|
class: _vm.classes
|
|
32852
32852
|
}, [_vm._v(_vm._s(_vm.text))])], 2);
|
|
32853
32853
|
};
|
|
32854
|
-
var __vue_staticRenderFns__$
|
|
32855
|
-
__vue_render__$
|
|
32854
|
+
var __vue_staticRenderFns__$f = [];
|
|
32855
|
+
__vue_render__$f._withStripped = true;
|
|
32856
32856
|
|
|
32857
32857
|
/* style */
|
|
32858
|
-
const __vue_inject_styles__$
|
|
32858
|
+
const __vue_inject_styles__$f = undefined;
|
|
32859
32859
|
/* scoped */
|
|
32860
|
-
const __vue_scope_id__$
|
|
32860
|
+
const __vue_scope_id__$f = undefined;
|
|
32861
32861
|
/* module identifier */
|
|
32862
|
-
const __vue_module_identifier__$
|
|
32862
|
+
const __vue_module_identifier__$f = undefined;
|
|
32863
32863
|
/* functional template */
|
|
32864
|
-
const __vue_is_functional_template__$
|
|
32864
|
+
const __vue_is_functional_template__$f = false;
|
|
32865
32865
|
/* style inject */
|
|
32866
32866
|
|
|
32867
32867
|
/* style inject SSR */
|
|
32868
32868
|
|
|
32869
32869
|
/* style inject shadow dom */
|
|
32870
32870
|
|
|
32871
|
-
const __vue_component__$
|
|
32872
|
-
render: __vue_render__$
|
|
32873
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
32874
|
-
}, __vue_inject_styles__$
|
|
32871
|
+
const __vue_component__$f = /*#__PURE__*/normalizeComponent({
|
|
32872
|
+
render: __vue_render__$f,
|
|
32873
|
+
staticRenderFns: __vue_staticRenderFns__$f
|
|
32874
|
+
}, __vue_inject_styles__$f, __vue_script__$f, __vue_scope_id__$f, __vue_is_functional_template__$f, __vue_module_identifier__$f, false, undefined, undefined, undefined);
|
|
32875
32875
|
|
|
32876
32876
|
const richCheckboxGroupVariants = cva('rq-rich-checkbox-group');
|
|
32877
32877
|
|
|
@@ -32917,10 +32917,10 @@ const groupMixin = {
|
|
|
32917
32917
|
//
|
|
32918
32918
|
//
|
|
32919
32919
|
|
|
32920
|
-
var script$
|
|
32920
|
+
var script$e = {
|
|
32921
32921
|
name: 'RichCheckboxGroup',
|
|
32922
32922
|
components: {
|
|
32923
|
-
Checkbox: __vue_component__$
|
|
32923
|
+
Checkbox: __vue_component__$j
|
|
32924
32924
|
},
|
|
32925
32925
|
mixins: [groupMixin],
|
|
32926
32926
|
props: {
|
|
@@ -32948,10 +32948,10 @@ var script$b = {
|
|
|
32948
32948
|
};
|
|
32949
32949
|
|
|
32950
32950
|
/* script */
|
|
32951
|
-
const __vue_script__$
|
|
32951
|
+
const __vue_script__$e = script$e;
|
|
32952
32952
|
|
|
32953
32953
|
/* template */
|
|
32954
|
-
var __vue_render__$
|
|
32954
|
+
var __vue_render__$e = function () {
|
|
32955
32955
|
var _vm = this;
|
|
32956
32956
|
var _h = _vm.$createElement;
|
|
32957
32957
|
var _c = _vm._self._c || _h;
|
|
@@ -32984,27 +32984,27 @@ var __vue_render__$b = function () {
|
|
|
32984
32984
|
staticClass: "rq-rich-checkbox-group__secondary-label"
|
|
32985
32985
|
}, [_vm._v(_vm._s(_vm.secondaryLabel))]) : _vm._e()])], 1);
|
|
32986
32986
|
};
|
|
32987
|
-
var __vue_staticRenderFns__$
|
|
32988
|
-
__vue_render__$
|
|
32987
|
+
var __vue_staticRenderFns__$e = [];
|
|
32988
|
+
__vue_render__$e._withStripped = true;
|
|
32989
32989
|
|
|
32990
32990
|
/* style */
|
|
32991
|
-
const __vue_inject_styles__$
|
|
32991
|
+
const __vue_inject_styles__$e = undefined;
|
|
32992
32992
|
/* scoped */
|
|
32993
|
-
const __vue_scope_id__$
|
|
32993
|
+
const __vue_scope_id__$e = undefined;
|
|
32994
32994
|
/* module identifier */
|
|
32995
|
-
const __vue_module_identifier__$
|
|
32995
|
+
const __vue_module_identifier__$e = undefined;
|
|
32996
32996
|
/* functional template */
|
|
32997
|
-
const __vue_is_functional_template__$
|
|
32997
|
+
const __vue_is_functional_template__$e = false;
|
|
32998
32998
|
/* style inject */
|
|
32999
32999
|
|
|
33000
33000
|
/* style inject SSR */
|
|
33001
33001
|
|
|
33002
33002
|
/* style inject shadow dom */
|
|
33003
33003
|
|
|
33004
|
-
const __vue_component__$
|
|
33005
|
-
render: __vue_render__$
|
|
33006
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
33007
|
-
}, __vue_inject_styles__$
|
|
33004
|
+
const __vue_component__$e = /*#__PURE__*/normalizeComponent({
|
|
33005
|
+
render: __vue_render__$e,
|
|
33006
|
+
staticRenderFns: __vue_staticRenderFns__$e
|
|
33007
|
+
}, __vue_inject_styles__$e, __vue_script__$e, __vue_scope_id__$e, __vue_is_functional_template__$e, __vue_module_identifier__$e, false, undefined, undefined, undefined);
|
|
33008
33008
|
|
|
33009
33009
|
const checkboxGroupVariants = cva('rq-checkbox-group', {
|
|
33010
33010
|
variants: {
|
|
@@ -33031,10 +33031,10 @@ const checkboxGroupVariants = cva('rq-checkbox-group', {
|
|
|
33031
33031
|
//
|
|
33032
33032
|
//
|
|
33033
33033
|
|
|
33034
|
-
var script$
|
|
33034
|
+
var script$d = {
|
|
33035
33035
|
name: 'CheckboxGroup',
|
|
33036
33036
|
components: {
|
|
33037
|
-
Checkbox: __vue_component__$
|
|
33037
|
+
Checkbox: __vue_component__$j
|
|
33038
33038
|
},
|
|
33039
33039
|
mixins: [groupMixin],
|
|
33040
33040
|
props: {
|
|
@@ -33056,10 +33056,10 @@ var script$a = {
|
|
|
33056
33056
|
};
|
|
33057
33057
|
|
|
33058
33058
|
/* script */
|
|
33059
|
-
const __vue_script__$
|
|
33059
|
+
const __vue_script__$d = script$d;
|
|
33060
33060
|
|
|
33061
33061
|
/* template */
|
|
33062
|
-
var __vue_render__$
|
|
33062
|
+
var __vue_render__$d = function () {
|
|
33063
33063
|
var _vm = this;
|
|
33064
33064
|
var _h = _vm.$createElement;
|
|
33065
33065
|
var _c = _vm._self._c || _h;
|
|
@@ -33088,27 +33088,27 @@ var __vue_render__$a = function () {
|
|
|
33088
33088
|
staticClass: "rq-checkbox-group__label"
|
|
33089
33089
|
}, [_vm._v(_vm._s(_vm.label))])], 1);
|
|
33090
33090
|
};
|
|
33091
|
-
var __vue_staticRenderFns__$
|
|
33092
|
-
__vue_render__$
|
|
33093
|
-
|
|
33091
|
+
var __vue_staticRenderFns__$d = [];
|
|
33092
|
+
__vue_render__$d._withStripped = true;
|
|
33093
|
+
|
|
33094
33094
|
/* style */
|
|
33095
|
-
const __vue_inject_styles__$
|
|
33095
|
+
const __vue_inject_styles__$d = undefined;
|
|
33096
33096
|
/* scoped */
|
|
33097
|
-
const __vue_scope_id__$
|
|
33097
|
+
const __vue_scope_id__$d = undefined;
|
|
33098
33098
|
/* module identifier */
|
|
33099
|
-
const __vue_module_identifier__$
|
|
33099
|
+
const __vue_module_identifier__$d = undefined;
|
|
33100
33100
|
/* functional template */
|
|
33101
|
-
const __vue_is_functional_template__$
|
|
33101
|
+
const __vue_is_functional_template__$d = false;
|
|
33102
33102
|
/* style inject */
|
|
33103
33103
|
|
|
33104
33104
|
/* style inject SSR */
|
|
33105
33105
|
|
|
33106
33106
|
/* style inject shadow dom */
|
|
33107
33107
|
|
|
33108
|
-
const __vue_component__$
|
|
33109
|
-
render: __vue_render__$
|
|
33110
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
33111
|
-
}, __vue_inject_styles__$
|
|
33108
|
+
const __vue_component__$d = /*#__PURE__*/normalizeComponent({
|
|
33109
|
+
render: __vue_render__$d,
|
|
33110
|
+
staticRenderFns: __vue_staticRenderFns__$d
|
|
33111
|
+
}, __vue_inject_styles__$d, __vue_script__$d, __vue_scope_id__$d, __vue_is_functional_template__$d, __vue_module_identifier__$d, false, undefined, undefined, undefined);
|
|
33112
33112
|
|
|
33113
33113
|
const switchGroupVariants = cva('rq-switch-group', {
|
|
33114
33114
|
variants: {
|
|
@@ -33140,10 +33140,10 @@ const switchGroupVariants = cva('rq-switch-group', {
|
|
|
33140
33140
|
//
|
|
33141
33141
|
//
|
|
33142
33142
|
|
|
33143
|
-
var script$
|
|
33143
|
+
var script$c = {
|
|
33144
33144
|
name: 'SwitchGroup',
|
|
33145
33145
|
components: {
|
|
33146
|
-
RqSwitch: __vue_component__$
|
|
33146
|
+
RqSwitch: __vue_component__$i
|
|
33147
33147
|
},
|
|
33148
33148
|
mixins: [groupMixin],
|
|
33149
33149
|
props: {
|
|
@@ -33171,10 +33171,10 @@ var script$9 = {
|
|
|
33171
33171
|
};
|
|
33172
33172
|
|
|
33173
33173
|
/* script */
|
|
33174
|
-
const __vue_script__$
|
|
33174
|
+
const __vue_script__$c = script$c;
|
|
33175
33175
|
|
|
33176
33176
|
/* template */
|
|
33177
|
-
var __vue_render__$
|
|
33177
|
+
var __vue_render__$c = function () {
|
|
33178
33178
|
var _vm = this;
|
|
33179
33179
|
var _h = _vm.$createElement;
|
|
33180
33180
|
var _c = _vm._self._c || _h;
|
|
@@ -33203,27 +33203,27 @@ var __vue_render__$9 = function () {
|
|
|
33203
33203
|
staticClass: "rq-switch-group__label"
|
|
33204
33204
|
}, [_vm._v(_vm._s(_vm.label))])], 1);
|
|
33205
33205
|
};
|
|
33206
|
-
var __vue_staticRenderFns__$
|
|
33207
|
-
__vue_render__$
|
|
33206
|
+
var __vue_staticRenderFns__$c = [];
|
|
33207
|
+
__vue_render__$c._withStripped = true;
|
|
33208
33208
|
|
|
33209
33209
|
/* style */
|
|
33210
|
-
const __vue_inject_styles__$
|
|
33210
|
+
const __vue_inject_styles__$c = undefined;
|
|
33211
33211
|
/* scoped */
|
|
33212
|
-
const __vue_scope_id__$
|
|
33212
|
+
const __vue_scope_id__$c = undefined;
|
|
33213
33213
|
/* module identifier */
|
|
33214
|
-
const __vue_module_identifier__$
|
|
33214
|
+
const __vue_module_identifier__$c = undefined;
|
|
33215
33215
|
/* functional template */
|
|
33216
|
-
const __vue_is_functional_template__$
|
|
33216
|
+
const __vue_is_functional_template__$c = false;
|
|
33217
33217
|
/* style inject */
|
|
33218
33218
|
|
|
33219
33219
|
/* style inject SSR */
|
|
33220
33220
|
|
|
33221
33221
|
/* style inject shadow dom */
|
|
33222
33222
|
|
|
33223
|
-
const __vue_component__$
|
|
33224
|
-
render: __vue_render__$
|
|
33225
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
33226
|
-
}, __vue_inject_styles__$
|
|
33223
|
+
const __vue_component__$c = /*#__PURE__*/normalizeComponent({
|
|
33224
|
+
render: __vue_render__$c,
|
|
33225
|
+
staticRenderFns: __vue_staticRenderFns__$c
|
|
33226
|
+
}, __vue_inject_styles__$c, __vue_script__$c, __vue_scope_id__$c, __vue_is_functional_template__$c, __vue_module_identifier__$c, false, undefined, undefined, undefined);
|
|
33227
33227
|
|
|
33228
33228
|
const richSwitchGroupVariants = cva('rq-rich-switch-group');
|
|
33229
33229
|
|
|
@@ -33245,10 +33245,10 @@ const richSwitchGroupVariants = cva('rq-rich-switch-group');
|
|
|
33245
33245
|
//
|
|
33246
33246
|
//
|
|
33247
33247
|
|
|
33248
|
-
var script$
|
|
33248
|
+
var script$b = {
|
|
33249
33249
|
name: 'RichSwitchGroup',
|
|
33250
33250
|
components: {
|
|
33251
|
-
RqSwitch: __vue_component__$
|
|
33251
|
+
RqSwitch: __vue_component__$i
|
|
33252
33252
|
},
|
|
33253
33253
|
mixins: [groupMixin],
|
|
33254
33254
|
props: {
|
|
@@ -33276,10 +33276,10 @@ var script$8 = {
|
|
|
33276
33276
|
};
|
|
33277
33277
|
|
|
33278
33278
|
/* script */
|
|
33279
|
-
const __vue_script__$
|
|
33279
|
+
const __vue_script__$b = script$b;
|
|
33280
33280
|
|
|
33281
33281
|
/* template */
|
|
33282
|
-
var __vue_render__$
|
|
33282
|
+
var __vue_render__$b = function () {
|
|
33283
33283
|
var _vm = this;
|
|
33284
33284
|
var _h = _vm.$createElement;
|
|
33285
33285
|
var _c = _vm._self._c || _h;
|
|
@@ -33314,27 +33314,27 @@ var __vue_render__$8 = function () {
|
|
|
33314
33314
|
staticClass: "rq-rich-switch-group__secondary-label"
|
|
33315
33315
|
}, [_vm._v(_vm._s(_vm.secondaryLabel))]) : _vm._e()])]);
|
|
33316
33316
|
};
|
|
33317
|
-
var __vue_staticRenderFns__$
|
|
33318
|
-
__vue_render__$
|
|
33317
|
+
var __vue_staticRenderFns__$b = [];
|
|
33318
|
+
__vue_render__$b._withStripped = true;
|
|
33319
33319
|
|
|
33320
33320
|
/* style */
|
|
33321
|
-
const __vue_inject_styles__$
|
|
33321
|
+
const __vue_inject_styles__$b = undefined;
|
|
33322
33322
|
/* scoped */
|
|
33323
|
-
const __vue_scope_id__$
|
|
33323
|
+
const __vue_scope_id__$b = undefined;
|
|
33324
33324
|
/* module identifier */
|
|
33325
|
-
const __vue_module_identifier__$
|
|
33325
|
+
const __vue_module_identifier__$b = undefined;
|
|
33326
33326
|
/* functional template */
|
|
33327
|
-
const __vue_is_functional_template__$
|
|
33327
|
+
const __vue_is_functional_template__$b = false;
|
|
33328
33328
|
/* style inject */
|
|
33329
33329
|
|
|
33330
33330
|
/* style inject SSR */
|
|
33331
33331
|
|
|
33332
33332
|
/* style inject shadow dom */
|
|
33333
33333
|
|
|
33334
|
-
const __vue_component__$
|
|
33335
|
-
render: __vue_render__$
|
|
33336
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
33337
|
-
}, __vue_inject_styles__$
|
|
33334
|
+
const __vue_component__$b = /*#__PURE__*/normalizeComponent({
|
|
33335
|
+
render: __vue_render__$b,
|
|
33336
|
+
staticRenderFns: __vue_staticRenderFns__$b
|
|
33337
|
+
}, __vue_inject_styles__$b, __vue_script__$b, __vue_scope_id__$b, __vue_is_functional_template__$b, __vue_module_identifier__$b, false, undefined, undefined, undefined);
|
|
33338
33338
|
|
|
33339
33339
|
//
|
|
33340
33340
|
//
|
|
@@ -33386,7 +33386,7 @@ const __vue_component__$8 = /*#__PURE__*/normalizeComponent({
|
|
|
33386
33386
|
//
|
|
33387
33387
|
//
|
|
33388
33388
|
|
|
33389
|
-
var script$
|
|
33389
|
+
var script$a = {
|
|
33390
33390
|
name: 'Pagination',
|
|
33391
33391
|
props: {
|
|
33392
33392
|
page: {
|
|
@@ -33436,10 +33436,10 @@ var script$7 = {
|
|
|
33436
33436
|
};
|
|
33437
33437
|
|
|
33438
33438
|
/* script */
|
|
33439
|
-
const __vue_script__$
|
|
33439
|
+
const __vue_script__$a = script$a;
|
|
33440
33440
|
|
|
33441
33441
|
/* template */
|
|
33442
|
-
var __vue_render__$
|
|
33442
|
+
var __vue_render__$a = function () {
|
|
33443
33443
|
var _vm = this;
|
|
33444
33444
|
var _h = _vm.$createElement;
|
|
33445
33445
|
var _c = _vm._self._c || _h;
|
|
@@ -33503,27 +33503,27 @@ var __vue_render__$7 = function () {
|
|
|
33503
33503
|
}
|
|
33504
33504
|
}, [_vm._v("\n Siguiente\n ")])], 2);
|
|
33505
33505
|
};
|
|
33506
|
-
var __vue_staticRenderFns__$
|
|
33507
|
-
__vue_render__$
|
|
33506
|
+
var __vue_staticRenderFns__$a = [];
|
|
33507
|
+
__vue_render__$a._withStripped = true;
|
|
33508
33508
|
|
|
33509
33509
|
/* style */
|
|
33510
|
-
const __vue_inject_styles__$
|
|
33510
|
+
const __vue_inject_styles__$a = undefined;
|
|
33511
33511
|
/* scoped */
|
|
33512
|
-
const __vue_scope_id__$
|
|
33512
|
+
const __vue_scope_id__$a = undefined;
|
|
33513
33513
|
/* module identifier */
|
|
33514
|
-
const __vue_module_identifier__$
|
|
33514
|
+
const __vue_module_identifier__$a = undefined;
|
|
33515
33515
|
/* functional template */
|
|
33516
|
-
const __vue_is_functional_template__$
|
|
33516
|
+
const __vue_is_functional_template__$a = false;
|
|
33517
33517
|
/* style inject */
|
|
33518
33518
|
|
|
33519
33519
|
/* style inject SSR */
|
|
33520
33520
|
|
|
33521
33521
|
/* style inject shadow dom */
|
|
33522
33522
|
|
|
33523
|
-
const __vue_component__$
|
|
33524
|
-
render: __vue_render__$
|
|
33525
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
33526
|
-
}, __vue_inject_styles__$
|
|
33523
|
+
const __vue_component__$a = /*#__PURE__*/normalizeComponent({
|
|
33524
|
+
render: __vue_render__$a,
|
|
33525
|
+
staticRenderFns: __vue_staticRenderFns__$a
|
|
33526
|
+
}, __vue_inject_styles__$a, __vue_script__$a, __vue_scope_id__$a, __vue_is_functional_template__$a, __vue_module_identifier__$a, false, undefined, undefined, undefined);
|
|
33527
33527
|
|
|
33528
33528
|
const tabsVariants = cva('rq-tabs', {
|
|
33529
33529
|
variants: {
|
|
@@ -33561,7 +33561,7 @@ const tabsVariants = cva('rq-tabs', {
|
|
|
33561
33561
|
//
|
|
33562
33562
|
//
|
|
33563
33563
|
|
|
33564
|
-
var script$
|
|
33564
|
+
var script$9 = {
|
|
33565
33565
|
name: 'Tabs',
|
|
33566
33566
|
props: {
|
|
33567
33567
|
value: {
|
|
@@ -33609,10 +33609,10 @@ var script$6 = {
|
|
|
33609
33609
|
};
|
|
33610
33610
|
|
|
33611
33611
|
/* script */
|
|
33612
|
-
const __vue_script__$
|
|
33612
|
+
const __vue_script__$9 = script$9;
|
|
33613
33613
|
|
|
33614
33614
|
/* template */
|
|
33615
|
-
var __vue_render__$
|
|
33615
|
+
var __vue_render__$9 = function () {
|
|
33616
33616
|
var _vm = this;
|
|
33617
33617
|
var _h = _vm.$createElement;
|
|
33618
33618
|
var _c = _vm._self._c || _h;
|
|
@@ -33644,27 +33644,27 @@ var __vue_render__$6 = function () {
|
|
|
33644
33644
|
}, [_vm._v(_vm._s(tab.counter))]) : _vm._e()], 1);
|
|
33645
33645
|
}), 0);
|
|
33646
33646
|
};
|
|
33647
|
-
var __vue_staticRenderFns__$
|
|
33648
|
-
__vue_render__$
|
|
33647
|
+
var __vue_staticRenderFns__$9 = [];
|
|
33648
|
+
__vue_render__$9._withStripped = true;
|
|
33649
33649
|
|
|
33650
33650
|
/* style */
|
|
33651
|
-
const __vue_inject_styles__$
|
|
33651
|
+
const __vue_inject_styles__$9 = undefined;
|
|
33652
33652
|
/* scoped */
|
|
33653
|
-
const __vue_scope_id__$
|
|
33653
|
+
const __vue_scope_id__$9 = undefined;
|
|
33654
33654
|
/* module identifier */
|
|
33655
|
-
const __vue_module_identifier__$
|
|
33655
|
+
const __vue_module_identifier__$9 = undefined;
|
|
33656
33656
|
/* functional template */
|
|
33657
|
-
const __vue_is_functional_template__$
|
|
33657
|
+
const __vue_is_functional_template__$9 = false;
|
|
33658
33658
|
/* style inject */
|
|
33659
33659
|
|
|
33660
33660
|
/* style inject SSR */
|
|
33661
33661
|
|
|
33662
33662
|
/* style inject shadow dom */
|
|
33663
33663
|
|
|
33664
|
-
const __vue_component__$
|
|
33665
|
-
render: __vue_render__$
|
|
33666
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
33667
|
-
}, __vue_inject_styles__$
|
|
33664
|
+
const __vue_component__$9 = /*#__PURE__*/normalizeComponent({
|
|
33665
|
+
render: __vue_render__$9,
|
|
33666
|
+
staticRenderFns: __vue_staticRenderFns__$9
|
|
33667
|
+
}, __vue_inject_styles__$9, __vue_script__$9, __vue_scope_id__$9, __vue_is_functional_template__$9, __vue_module_identifier__$9, false, undefined, undefined, undefined);
|
|
33668
33668
|
|
|
33669
33669
|
//
|
|
33670
33670
|
//
|
|
@@ -33751,7 +33751,7 @@ const DEFAULT_ITEMS = [{
|
|
|
33751
33751
|
icon: 'LogOut',
|
|
33752
33752
|
section: 'bottom'
|
|
33753
33753
|
}];
|
|
33754
|
-
var script$
|
|
33754
|
+
var script$8 = {
|
|
33755
33755
|
name: 'Topbar',
|
|
33756
33756
|
props: {
|
|
33757
33757
|
userName: {
|
|
@@ -33821,10 +33821,10 @@ var script$5 = {
|
|
|
33821
33821
|
};
|
|
33822
33822
|
|
|
33823
33823
|
/* script */
|
|
33824
|
-
const __vue_script__$
|
|
33824
|
+
const __vue_script__$8 = script$8;
|
|
33825
33825
|
|
|
33826
33826
|
/* template */
|
|
33827
|
-
var __vue_render__$
|
|
33827
|
+
var __vue_render__$8 = function () {
|
|
33828
33828
|
var _vm = this;
|
|
33829
33829
|
var _h = _vm.$createElement;
|
|
33830
33830
|
var _c = _vm._self._c || _h;
|
|
@@ -33907,48 +33907,33 @@ var __vue_render__$5 = function () {
|
|
|
33907
33907
|
}, [_vm._v(_vm._s(item.label))])], 1);
|
|
33908
33908
|
})] : _vm._e()], 2)]) : _vm._e()]);
|
|
33909
33909
|
};
|
|
33910
|
-
var __vue_staticRenderFns__$
|
|
33911
|
-
__vue_render__$
|
|
33910
|
+
var __vue_staticRenderFns__$8 = [];
|
|
33911
|
+
__vue_render__$8._withStripped = true;
|
|
33912
33912
|
|
|
33913
33913
|
/* style */
|
|
33914
|
-
const __vue_inject_styles__$
|
|
33914
|
+
const __vue_inject_styles__$8 = undefined;
|
|
33915
33915
|
/* scoped */
|
|
33916
|
-
const __vue_scope_id__$
|
|
33916
|
+
const __vue_scope_id__$8 = undefined;
|
|
33917
33917
|
/* module identifier */
|
|
33918
|
-
const __vue_module_identifier__$
|
|
33918
|
+
const __vue_module_identifier__$8 = undefined;
|
|
33919
33919
|
/* functional template */
|
|
33920
|
-
const __vue_is_functional_template__$
|
|
33920
|
+
const __vue_is_functional_template__$8 = false;
|
|
33921
33921
|
/* style inject */
|
|
33922
33922
|
|
|
33923
33923
|
/* style inject SSR */
|
|
33924
33924
|
|
|
33925
33925
|
/* style inject shadow dom */
|
|
33926
33926
|
|
|
33927
|
-
const __vue_component__$
|
|
33928
|
-
render: __vue_render__$
|
|
33929
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
33930
|
-
}, __vue_inject_styles__$
|
|
33927
|
+
const __vue_component__$8 = /*#__PURE__*/normalizeComponent({
|
|
33928
|
+
render: __vue_render__$8,
|
|
33929
|
+
staticRenderFns: __vue_staticRenderFns__$8
|
|
33930
|
+
}, __vue_inject_styles__$8, __vue_script__$8, __vue_scope_id__$8, __vue_is_functional_template__$8, __vue_module_identifier__$8, false, undefined, undefined, undefined);
|
|
33931
33931
|
|
|
33932
|
-
const
|
|
33932
|
+
const searchInputVariants = cva('rq-search-input', {
|
|
33933
33933
|
variants: {},
|
|
33934
33934
|
defaultVariants: {}
|
|
33935
33935
|
});
|
|
33936
33936
|
|
|
33937
|
-
//
|
|
33938
|
-
//
|
|
33939
|
-
//
|
|
33940
|
-
//
|
|
33941
|
-
//
|
|
33942
|
-
//
|
|
33943
|
-
//
|
|
33944
|
-
//
|
|
33945
|
-
//
|
|
33946
|
-
//
|
|
33947
|
-
//
|
|
33948
|
-
//
|
|
33949
|
-
//
|
|
33950
|
-
//
|
|
33951
|
-
//
|
|
33952
33937
|
//
|
|
33953
33938
|
//
|
|
33954
33939
|
//
|
|
@@ -33963,163 +33948,94 @@ const dialogVariants = cva('rq-dialog', {
|
|
|
33963
33948
|
//
|
|
33964
33949
|
//
|
|
33965
33950
|
|
|
33966
|
-
var script$
|
|
33967
|
-
name: '
|
|
33951
|
+
var script$7 = {
|
|
33952
|
+
name: 'SearchInput',
|
|
33968
33953
|
components: {
|
|
33969
|
-
|
|
33954
|
+
Input: __vue_component__$m,
|
|
33955
|
+
Button: __vue_component__$l
|
|
33970
33956
|
},
|
|
33971
33957
|
props: {
|
|
33972
|
-
|
|
33973
|
-
type: String,
|
|
33974
|
-
default: ''
|
|
33975
|
-
},
|
|
33976
|
-
description: {
|
|
33958
|
+
value: {
|
|
33977
33959
|
type: String,
|
|
33978
33960
|
default: ''
|
|
33979
33961
|
},
|
|
33980
|
-
|
|
33981
|
-
type: String,
|
|
33982
|
-
default: 'Confirmar'
|
|
33983
|
-
},
|
|
33984
|
-
cancelLabel: {
|
|
33962
|
+
placeholder: {
|
|
33985
33963
|
type: String,
|
|
33986
|
-
default: '
|
|
33987
|
-
},
|
|
33988
|
-
// Envuelve el diálogo en un backdrop centrado sobre el viewport.
|
|
33989
|
-
overlay: {
|
|
33990
|
-
type: Boolean,
|
|
33991
|
-
default: false
|
|
33992
|
-
},
|
|
33993
|
-
// Visibilidad del overlay (solo aplica cuando overlay = true).
|
|
33994
|
-
open: {
|
|
33995
|
-
type: Boolean,
|
|
33996
|
-
default: false
|
|
33997
|
-
},
|
|
33998
|
-
showConfirm: {
|
|
33999
|
-
type: Boolean,
|
|
34000
|
-
default: true
|
|
34001
|
-
},
|
|
34002
|
-
showCancel: {
|
|
34003
|
-
type: Boolean,
|
|
34004
|
-
default: true
|
|
33964
|
+
default: 'Buscar...'
|
|
34005
33965
|
}
|
|
34006
33966
|
},
|
|
34007
33967
|
computed: {
|
|
34008
33968
|
classes() {
|
|
34009
|
-
return
|
|
33969
|
+
return searchInputVariants();
|
|
34010
33970
|
}
|
|
34011
33971
|
},
|
|
34012
|
-
mounted() {
|
|
34013
|
-
if (this.overlay) document.addEventListener('keydown', this.handleKeydown);
|
|
34014
|
-
},
|
|
34015
|
-
beforeDestroy() {
|
|
34016
|
-
document.removeEventListener('keydown', this.handleKeydown);
|
|
34017
|
-
},
|
|
34018
33972
|
methods: {
|
|
34019
|
-
|
|
34020
|
-
if (
|
|
33973
|
+
onKeydown(event) {
|
|
33974
|
+
if (event.key === 'Enter') this.$emit('search', this.value);
|
|
34021
33975
|
}
|
|
34022
33976
|
}
|
|
34023
33977
|
};
|
|
34024
33978
|
|
|
34025
33979
|
/* script */
|
|
34026
|
-
const __vue_script__$
|
|
33980
|
+
const __vue_script__$7 = script$7;
|
|
34027
33981
|
|
|
34028
33982
|
/* template */
|
|
34029
|
-
var __vue_render__$
|
|
33983
|
+
var __vue_render__$7 = function () {
|
|
34030
33984
|
var _vm = this;
|
|
34031
33985
|
var _h = _vm.$createElement;
|
|
34032
33986
|
var _c = _vm._self._c || _h;
|
|
34033
|
-
return
|
|
34034
|
-
class: ["rq-dialog-overlay", {
|
|
34035
|
-
"rq-dialog-overlay--open": _vm.open
|
|
34036
|
-
}]
|
|
34037
|
-
}, [_c("div", {
|
|
34038
|
-
staticClass: "rq-dialog-overlay__backdrop",
|
|
34039
|
-
on: {
|
|
34040
|
-
click: function ($event) {
|
|
34041
|
-
return _vm.$emit("cancel");
|
|
34042
|
-
}
|
|
34043
|
-
}
|
|
34044
|
-
}), _vm._v(" "), _c("div", {
|
|
33987
|
+
return _c("div", {
|
|
34045
33988
|
class: _vm.classes
|
|
34046
|
-
}, [_c("
|
|
34047
|
-
staticClass: "rq-dialog__title"
|
|
34048
|
-
}, [_vm._v(_vm._s(_vm.title))]), _vm._v(" "), _c("p", {
|
|
34049
|
-
staticClass: "rq-dialog__description"
|
|
34050
|
-
}, [_vm._v(_vm._s(_vm.description))]), _vm._v(" "), _c("div", {
|
|
34051
|
-
staticClass: "rq-dialog__actions"
|
|
34052
|
-
}, [_vm.showCancel ? _c("Button", {
|
|
33989
|
+
}, [_c("Input", {
|
|
34053
33990
|
attrs: {
|
|
34054
|
-
|
|
34055
|
-
|
|
33991
|
+
value: _vm.value,
|
|
33992
|
+
"icon-left": "Search",
|
|
33993
|
+
placeholder: _vm.placeholder
|
|
34056
33994
|
},
|
|
34057
33995
|
on: {
|
|
34058
|
-
|
|
34059
|
-
return _vm.$emit("
|
|
34060
|
-
}
|
|
33996
|
+
input: function ($event) {
|
|
33997
|
+
return _vm.$emit("input", $event);
|
|
33998
|
+
},
|
|
33999
|
+
keydown: _vm.onKeydown
|
|
34061
34000
|
}
|
|
34062
|
-
}
|
|
34001
|
+
}), _vm._v(" "), _c("Button", {
|
|
34063
34002
|
attrs: {
|
|
34064
34003
|
variant: "primary",
|
|
34065
|
-
|
|
34004
|
+
"icon-left": "Search"
|
|
34066
34005
|
},
|
|
34067
34006
|
on: {
|
|
34068
34007
|
click: function ($event) {
|
|
34069
|
-
return _vm.$emit("
|
|
34008
|
+
return _vm.$emit("search", _vm.value);
|
|
34070
34009
|
}
|
|
34071
34010
|
}
|
|
34072
|
-
}
|
|
34073
|
-
class: _vm.classes
|
|
34074
|
-
}, _vm.$listeners), [_c("p", {
|
|
34075
|
-
staticClass: "rq-dialog__title"
|
|
34076
|
-
}, [_vm._v(_vm._s(_vm.title))]), _vm._v(" "), _c("p", {
|
|
34077
|
-
staticClass: "rq-dialog__description"
|
|
34078
|
-
}, [_vm._v(_vm._s(_vm.description))]), _vm._v(" "), _c("div", {
|
|
34079
|
-
staticClass: "rq-dialog__actions"
|
|
34080
|
-
}, [_vm.showCancel ? _c("Button", {
|
|
34081
|
-
attrs: {
|
|
34082
|
-
variant: "outline",
|
|
34083
|
-
size: "md"
|
|
34084
|
-
},
|
|
34085
|
-
on: {
|
|
34086
|
-
click: function ($event) {
|
|
34087
|
-
return _vm.$emit("cancel");
|
|
34088
|
-
}
|
|
34089
|
-
}
|
|
34090
|
-
}, [_vm._v(_vm._s(_vm.cancelLabel))]) : _vm._e(), _vm._v(" "), _vm.showConfirm ? _c("Button", {
|
|
34091
|
-
attrs: {
|
|
34092
|
-
variant: "primary",
|
|
34093
|
-
size: "md"
|
|
34094
|
-
},
|
|
34095
|
-
on: {
|
|
34096
|
-
click: function ($event) {
|
|
34097
|
-
return _vm.$emit("confirm");
|
|
34098
|
-
}
|
|
34099
|
-
}
|
|
34100
|
-
}, [_vm._v(_vm._s(_vm.confirmLabel))]) : _vm._e()], 1)]);
|
|
34011
|
+
})], 1);
|
|
34101
34012
|
};
|
|
34102
|
-
var __vue_staticRenderFns__$
|
|
34103
|
-
__vue_render__$
|
|
34013
|
+
var __vue_staticRenderFns__$7 = [];
|
|
34014
|
+
__vue_render__$7._withStripped = true;
|
|
34104
34015
|
|
|
34105
34016
|
/* style */
|
|
34106
|
-
const __vue_inject_styles__$
|
|
34017
|
+
const __vue_inject_styles__$7 = undefined;
|
|
34107
34018
|
/* scoped */
|
|
34108
|
-
const __vue_scope_id__$
|
|
34019
|
+
const __vue_scope_id__$7 = undefined;
|
|
34109
34020
|
/* module identifier */
|
|
34110
|
-
const __vue_module_identifier__$
|
|
34021
|
+
const __vue_module_identifier__$7 = undefined;
|
|
34111
34022
|
/* functional template */
|
|
34112
|
-
const __vue_is_functional_template__$
|
|
34023
|
+
const __vue_is_functional_template__$7 = false;
|
|
34113
34024
|
/* style inject */
|
|
34114
34025
|
|
|
34115
34026
|
/* style inject SSR */
|
|
34116
34027
|
|
|
34117
34028
|
/* style inject shadow dom */
|
|
34118
34029
|
|
|
34119
|
-
const __vue_component__$
|
|
34120
|
-
render: __vue_render__$
|
|
34121
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
34122
|
-
}, __vue_inject_styles__$
|
|
34030
|
+
const __vue_component__$7 = /*#__PURE__*/normalizeComponent({
|
|
34031
|
+
render: __vue_render__$7,
|
|
34032
|
+
staticRenderFns: __vue_staticRenderFns__$7
|
|
34033
|
+
}, __vue_inject_styles__$7, __vue_script__$7, __vue_scope_id__$7, __vue_is_functional_template__$7, __vue_module_identifier__$7, false, undefined, undefined, undefined);
|
|
34034
|
+
|
|
34035
|
+
const pageSizeSelectVariants = cva('rq-page-size-select', {
|
|
34036
|
+
variants: {},
|
|
34037
|
+
defaultVariants: {}
|
|
34038
|
+
});
|
|
34123
34039
|
|
|
34124
34040
|
//
|
|
34125
34041
|
//
|
|
@@ -34134,138 +34050,88 @@ const __vue_component__$4 = /*#__PURE__*/normalizeComponent({
|
|
|
34134
34050
|
//
|
|
34135
34051
|
//
|
|
34136
34052
|
//
|
|
34137
|
-
|
|
34138
|
-
|
|
34139
|
-
|
|
34140
|
-
|
|
34141
|
-
|
|
34142
|
-
|
|
34143
|
-
|
|
34144
|
-
|
|
34145
|
-
|
|
34146
|
-
|
|
34147
|
-
|
|
34148
|
-
|
|
34149
|
-
|
|
34150
|
-
|
|
34151
|
-
|
|
34152
|
-
|
|
34153
|
-
|
|
34154
|
-
|
|
34155
|
-
|
|
34156
|
-
|
|
34157
|
-
|
|
34158
|
-
|
|
34159
|
-
|
|
34160
|
-
|
|
34161
|
-
|
|
34162
|
-
|
|
34163
|
-
|
|
34164
|
-
|
|
34165
|
-
|
|
34166
|
-
|
|
34167
|
-
|
|
34168
|
-
|
|
34169
|
-
|
|
34170
|
-
|
|
34171
|
-
|
|
34172
|
-
|
|
34173
|
-
|
|
34174
|
-
|
|
34175
|
-
|
|
34176
|
-
|
|
34177
|
-
|
|
34178
|
-
|
|
34179
|
-
|
|
34180
|
-
|
|
34181
|
-
|
|
34182
|
-
|
|
34183
|
-
|
|
34184
|
-
|
|
34185
|
-
|
|
34186
|
-
|
|
34187
|
-
|
|
34188
|
-
|
|
34189
|
-
|
|
34190
|
-
|
|
34191
|
-
|
|
34192
|
-
|
|
34193
|
-
|
|
34194
|
-
|
|
34195
|
-
|
|
34196
|
-
|
|
34197
|
-
|
|
34198
|
-
|
|
34199
|
-
|
|
34200
|
-
|
|
34201
|
-
|
|
34202
|
-
|
|
34203
|
-
|
|
34204
|
-
|
|
34205
|
-
|
|
34206
|
-
|
|
34207
|
-
|
|
34208
|
-
|
|
34209
|
-
|
|
34210
|
-
|
|
34211
|
-
|
|
34212
|
-
|
|
34213
|
-
|
|
34214
|
-
|
|
34215
|
-
|
|
34216
|
-
|
|
34217
|
-
|
|
34218
|
-
|
|
34219
|
-
//
|
|
34220
|
-
//
|
|
34221
|
-
//
|
|
34222
|
-
//
|
|
34223
|
-
//
|
|
34224
|
-
//
|
|
34225
|
-
//
|
|
34226
|
-
//
|
|
34227
|
-
//
|
|
34228
|
-
//
|
|
34229
|
-
//
|
|
34230
|
-
//
|
|
34231
|
-
//
|
|
34232
|
-
//
|
|
34233
|
-
//
|
|
34234
|
-
//
|
|
34235
|
-
//
|
|
34236
|
-
//
|
|
34237
|
-
//
|
|
34238
|
-
//
|
|
34239
|
-
//
|
|
34240
|
-
//
|
|
34241
|
-
//
|
|
34242
|
-
//
|
|
34243
|
-
//
|
|
34244
|
-
//
|
|
34245
|
-
//
|
|
34246
|
-
//
|
|
34247
|
-
//
|
|
34248
|
-
//
|
|
34249
|
-
//
|
|
34250
|
-
//
|
|
34251
|
-
//
|
|
34252
|
-
//
|
|
34253
|
-
//
|
|
34254
|
-
//
|
|
34255
|
-
//
|
|
34256
|
-
//
|
|
34257
|
-
//
|
|
34258
|
-
//
|
|
34259
|
-
//
|
|
34260
|
-
//
|
|
34261
|
-
//
|
|
34262
|
-
//
|
|
34263
|
-
//
|
|
34264
|
-
//
|
|
34265
|
-
//
|
|
34266
|
-
//
|
|
34267
|
-
//
|
|
34268
|
-
//
|
|
34053
|
+
|
|
34054
|
+
var script$6 = {
|
|
34055
|
+
name: 'PageSizeSelect',
|
|
34056
|
+
props: {
|
|
34057
|
+
pageSize: {
|
|
34058
|
+
type: Number,
|
|
34059
|
+
default: 10
|
|
34060
|
+
},
|
|
34061
|
+
options: {
|
|
34062
|
+
type: Array,
|
|
34063
|
+
default: () => [10, 25, 50, 100]
|
|
34064
|
+
},
|
|
34065
|
+
label: {
|
|
34066
|
+
type: String,
|
|
34067
|
+
default: 'Filas por página'
|
|
34068
|
+
}
|
|
34069
|
+
},
|
|
34070
|
+
computed: {
|
|
34071
|
+
classes() {
|
|
34072
|
+
return pageSizeSelectVariants();
|
|
34073
|
+
}
|
|
34074
|
+
}
|
|
34075
|
+
};
|
|
34076
|
+
|
|
34077
|
+
/* script */
|
|
34078
|
+
const __vue_script__$6 = script$6;
|
|
34079
|
+
|
|
34080
|
+
/* template */
|
|
34081
|
+
var __vue_render__$6 = function () {
|
|
34082
|
+
var _vm = this;
|
|
34083
|
+
var _h = _vm.$createElement;
|
|
34084
|
+
var _c = _vm._self._c || _h;
|
|
34085
|
+
return _c("div", {
|
|
34086
|
+
class: _vm.classes
|
|
34087
|
+
}, [_c("span", {
|
|
34088
|
+
staticClass: "rq-page-size-select__label"
|
|
34089
|
+
}, [_vm._v(_vm._s(_vm.label))]), _vm._v(" "), _c("select", {
|
|
34090
|
+
staticClass: "rq-page-size-select__select",
|
|
34091
|
+
domProps: {
|
|
34092
|
+
value: _vm.pageSize
|
|
34093
|
+
},
|
|
34094
|
+
on: {
|
|
34095
|
+
change: function ($event) {
|
|
34096
|
+
_vm.$emit("update:page-size", Number($event.target.value));
|
|
34097
|
+
}
|
|
34098
|
+
}
|
|
34099
|
+
}, _vm._l(_vm.options, function (opt) {
|
|
34100
|
+
return _c("option", {
|
|
34101
|
+
key: opt,
|
|
34102
|
+
domProps: {
|
|
34103
|
+
value: opt
|
|
34104
|
+
}
|
|
34105
|
+
}, [_vm._v(_vm._s(opt))]);
|
|
34106
|
+
}), 0)]);
|
|
34107
|
+
};
|
|
34108
|
+
var __vue_staticRenderFns__$6 = [];
|
|
34109
|
+
__vue_render__$6._withStripped = true;
|
|
34110
|
+
|
|
34111
|
+
/* style */
|
|
34112
|
+
const __vue_inject_styles__$6 = undefined;
|
|
34113
|
+
/* scoped */
|
|
34114
|
+
const __vue_scope_id__$6 = undefined;
|
|
34115
|
+
/* module identifier */
|
|
34116
|
+
const __vue_module_identifier__$6 = undefined;
|
|
34117
|
+
/* functional template */
|
|
34118
|
+
const __vue_is_functional_template__$6 = false;
|
|
34119
|
+
/* style inject */
|
|
34120
|
+
|
|
34121
|
+
/* style inject SSR */
|
|
34122
|
+
|
|
34123
|
+
/* style inject shadow dom */
|
|
34124
|
+
|
|
34125
|
+
const __vue_component__$6 = /*#__PURE__*/normalizeComponent({
|
|
34126
|
+
render: __vue_render__$6,
|
|
34127
|
+
staticRenderFns: __vue_staticRenderFns__$6
|
|
34128
|
+
}, __vue_inject_styles__$6, __vue_script__$6, __vue_scope_id__$6, __vue_is_functional_template__$6, __vue_module_identifier__$6, false, undefined, undefined, undefined);
|
|
34129
|
+
|
|
34130
|
+
const selectionBarVariants = cva('rq-selection-bar', {
|
|
34131
|
+
variants: {},
|
|
34132
|
+
defaultVariants: {}
|
|
34133
|
+
});
|
|
34134
|
+
|
|
34269
34135
|
//
|
|
34270
34136
|
//
|
|
34271
34137
|
//
|
|
@@ -34282,576 +34148,89 @@ const __vue_component__$4 = /*#__PURE__*/normalizeComponent({
|
|
|
34282
34148
|
//
|
|
34283
34149
|
//
|
|
34284
34150
|
|
|
34285
|
-
var script$
|
|
34286
|
-
name: '
|
|
34287
|
-
components: {
|
|
34288
|
-
|
|
34289
|
-
|
|
34290
|
-
|
|
34291
|
-
|
|
34292
|
-
|
|
34293
|
-
|
|
34294
|
-
type: Array,
|
|
34295
|
-
default: () => []
|
|
34296
|
-
},
|
|
34297
|
-
rows: {
|
|
34298
|
-
type: Array,
|
|
34299
|
-
default: () => []
|
|
34300
|
-
},
|
|
34301
|
-
selectable: {
|
|
34302
|
-
type: Boolean,
|
|
34303
|
-
default: false
|
|
34304
|
-
},
|
|
34305
|
-
draggableColumns: {
|
|
34306
|
-
type: Boolean,
|
|
34307
|
-
default: false
|
|
34308
|
-
},
|
|
34309
|
-
maxHeight: {
|
|
34310
|
-
type: Number,
|
|
34311
|
-
default: null
|
|
34312
|
-
},
|
|
34313
|
-
emptyTitle: {
|
|
34314
|
-
type: String,
|
|
34315
|
-
default: 'Sin datos'
|
|
34316
|
-
},
|
|
34317
|
-
emptyDescription: {
|
|
34318
|
-
type: String,
|
|
34319
|
-
default: ''
|
|
34320
|
-
},
|
|
34321
|
-
total: {
|
|
34322
|
-
type: Number,
|
|
34323
|
-
default: 0
|
|
34324
|
-
},
|
|
34325
|
-
page: {
|
|
34326
|
-
type: Number,
|
|
34327
|
-
default: 1
|
|
34328
|
-
},
|
|
34329
|
-
pageSize: {
|
|
34330
|
-
type: Number,
|
|
34331
|
-
default: 10
|
|
34332
|
-
},
|
|
34333
|
-
pageSizeOptions: {
|
|
34334
|
-
type: Array,
|
|
34335
|
-
default: () => [10, 25, 50, 100]
|
|
34336
|
-
}
|
|
34337
|
-
},
|
|
34338
|
-
data() {
|
|
34339
|
-
return {
|
|
34340
|
-
selectedRows: [],
|
|
34341
|
-
draggingIndex: null,
|
|
34342
|
-
dragOverIndex: null,
|
|
34343
|
-
activeFilterKey: null,
|
|
34344
|
-
contextMenu: {
|
|
34345
|
-
visible: false,
|
|
34346
|
-
colKey: null,
|
|
34347
|
-
x: 0,
|
|
34348
|
-
y: 0
|
|
34349
|
-
},
|
|
34350
|
-
unpinConfirmKey: null
|
|
34351
|
-
};
|
|
34352
|
-
},
|
|
34353
|
-
computed: {
|
|
34354
|
-
ChevronDownIcon() {
|
|
34355
|
-
return ChevronDown;
|
|
34356
|
-
},
|
|
34357
|
-
GripVerticalIcon() {
|
|
34358
|
-
return GripVertical;
|
|
34359
|
-
},
|
|
34360
|
-
PinIcon() {
|
|
34361
|
-
return Pin;
|
|
34362
|
-
},
|
|
34363
|
-
isEmpty() {
|
|
34364
|
-
return this.rows.length === 0;
|
|
34365
|
-
},
|
|
34366
|
-
totalPages() {
|
|
34367
|
-
return Math.max(1, Math.ceil(this.total / this.pageSize));
|
|
34368
|
-
},
|
|
34369
|
-
fromRecord() {
|
|
34370
|
-
if (this.total === 0) return 0;
|
|
34371
|
-
return (this.page - 1) * this.pageSize + 1;
|
|
34372
|
-
},
|
|
34373
|
-
toRecord() {
|
|
34374
|
-
return Math.min(this.page * this.pageSize, this.total);
|
|
34375
|
-
},
|
|
34376
|
-
allSelected() {
|
|
34377
|
-
return this.rows.length > 0 && this.rows.every(row => this.isSelected(row));
|
|
34378
|
-
},
|
|
34379
|
-
someSelected() {
|
|
34380
|
-
return this.selectedRows.length > 0 && !this.allSelected;
|
|
34381
|
-
},
|
|
34382
|
-
unpinColumn() {
|
|
34383
|
-
if (!this.unpinConfirmKey) return null;
|
|
34384
|
-
return this.columns.find(c => c.key === this.unpinConfirmKey) || null;
|
|
34385
|
-
},
|
|
34386
|
-
pinnedCount() {
|
|
34387
|
-
return this.columns.filter(c => c.pinned).length;
|
|
34388
|
-
},
|
|
34389
|
-
pinnedLeftOffsets() {
|
|
34390
|
-
let offset = this.selectable ? 36 : 0;
|
|
34391
|
-
const offsets = {};
|
|
34392
|
-
for (const col of this.columns) {
|
|
34393
|
-
if (!col.pinned) continue;
|
|
34394
|
-
offsets[col.key] = offset;
|
|
34395
|
-
offset += col.width || col.maxWidth || 200;
|
|
34396
|
-
}
|
|
34397
|
-
return offsets;
|
|
34398
|
-
}
|
|
34399
|
-
},
|
|
34400
|
-
methods: {
|
|
34401
|
-
colStyle(col) {
|
|
34402
|
-
const base = col.width ? {
|
|
34403
|
-
width: col.width + 'px',
|
|
34404
|
-
minWidth: col.width + 'px'
|
|
34405
|
-
} : {
|
|
34406
|
-
maxWidth: (col.maxWidth || 200) + 'px'
|
|
34407
|
-
};
|
|
34408
|
-
if (col.pinned) {
|
|
34409
|
-
return {
|
|
34410
|
-
...base,
|
|
34411
|
-
position: 'sticky',
|
|
34412
|
-
left: this.pinnedLeftOffsets[col.key] + 'px'
|
|
34413
|
-
};
|
|
34414
|
-
}
|
|
34415
|
-
return base;
|
|
34416
|
-
},
|
|
34417
|
-
rowClasses(row, rowIndex) {
|
|
34418
|
-
const selected = this.isSelected(row);
|
|
34419
|
-
if (selected) return 'rq-table__row rq-table__row--selected';
|
|
34420
|
-
return 'rq-table__row rq-table__row--default';
|
|
34421
|
-
},
|
|
34422
|
-
isSelected(row) {
|
|
34423
|
-
return this.selectedRows.includes(row);
|
|
34424
|
-
},
|
|
34425
|
-
toggleRow(row) {
|
|
34426
|
-
const idx = this.selectedRows.indexOf(row);
|
|
34427
|
-
if (idx === -1) {
|
|
34428
|
-
this.selectedRows.push(row);
|
|
34429
|
-
} else {
|
|
34430
|
-
this.selectedRows.splice(idx, 1);
|
|
34431
|
-
}
|
|
34432
|
-
this.$emit('select', this.selectedRows.slice());
|
|
34433
|
-
},
|
|
34434
|
-
toggleSelectAll() {
|
|
34435
|
-
if (this.allSelected || this.someSelected) {
|
|
34436
|
-
this.selectedRows = [];
|
|
34437
|
-
} else {
|
|
34438
|
-
this.selectedRows = this.rows.slice();
|
|
34439
|
-
}
|
|
34440
|
-
this.$emit('select', this.selectedRows.slice());
|
|
34441
|
-
},
|
|
34442
|
-
onDragStart(index, event) {
|
|
34443
|
-
this.draggingIndex = index;
|
|
34444
|
-
event.dataTransfer.effectAllowed = 'move';
|
|
34445
|
-
document.body.style.cursor = 'grabbing';
|
|
34446
|
-
const col = this.columns[index];
|
|
34447
|
-
const colWidth = event.currentTarget.getBoundingClientRect().width;
|
|
34448
|
-
const ghost = document.createElement('div');
|
|
34449
|
-
ghost.style.cssText = ['position:fixed', 'top:-1000px', 'left:-1000px', 'display:inline-flex', 'flex-direction:column', 'border-radius:8px', 'overflow:hidden', 'box-shadow:0px 8px 24px rgba(4,0,69,0.25)', `width:${colWidth}px`, 'font-family:Inter,sans-serif'].join(';');
|
|
34450
|
-
|
|
34451
|
-
// Header
|
|
34452
|
-
const header = document.createElement('div');
|
|
34453
|
-
header.style.cssText = 'background:#040045;color:#ffffff;padding:8px 12px;font-size:12px;font-weight:500;white-space:nowrap;display:flex;align-items:center;gap:6px;';
|
|
34454
|
-
header.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="opacity:0.6;flex-shrink:0"><circle cx="9" cy="5" r="1"/><circle cx="15" cy="5" r="1"/><circle cx="9" cy="12" r="1"/><circle cx="15" cy="12" r="1"/><circle cx="9" cy="19" r="1"/><circle cx="15" cy="19" r="1"/></svg><span>${col.label}</span>`;
|
|
34455
|
-
ghost.appendChild(header);
|
|
34456
|
-
|
|
34457
|
-
// Rows
|
|
34458
|
-
this.rows.forEach(row => {
|
|
34459
|
-
const cell = document.createElement('div');
|
|
34460
|
-
cell.style.cssText = 'background:#ffffff;color:#18181b;padding:6px 12px;font-size:14px;border-bottom:1px solid #e4e4e7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;';
|
|
34461
|
-
const raw = row[col.key];
|
|
34462
|
-
if (raw && typeof raw === 'object') {
|
|
34463
|
-
cell.textContent = [raw.flag, raw.text].filter(Boolean).join(' ');
|
|
34464
|
-
} else {
|
|
34465
|
-
cell.textContent = raw ?? '';
|
|
34466
|
-
}
|
|
34467
|
-
ghost.appendChild(cell);
|
|
34468
|
-
});
|
|
34469
|
-
document.body.appendChild(ghost);
|
|
34470
|
-
event.dataTransfer.setDragImage(ghost, colWidth / 2, 20);
|
|
34471
|
-
setTimeout(() => ghost.remove(), 0);
|
|
34472
|
-
},
|
|
34473
|
-
isDraggable(col) {
|
|
34474
|
-
if (!this.draggableColumns) return false;
|
|
34475
|
-
if (col.pinned) return this.pinnedCount > 1;
|
|
34476
|
-
return true;
|
|
34477
|
-
},
|
|
34478
|
-
onDragOver(index, event) {
|
|
34479
|
-
if (this.draggingIndex === null) return;
|
|
34480
|
-
const draggingPinned = this.columns[this.draggingIndex]?.pinned ?? false;
|
|
34481
|
-
const targetPinned = this.columns[index]?.pinned ?? false;
|
|
34482
|
-
if (draggingPinned !== targetPinned) return;
|
|
34483
|
-
event.preventDefault();
|
|
34484
|
-
event.dataTransfer.dropEffect = 'move';
|
|
34485
|
-
this.dragOverIndex = index;
|
|
34486
|
-
},
|
|
34487
|
-
onDrop(index) {
|
|
34488
|
-
if (this.draggingIndex === null || this.draggingIndex === index) return;
|
|
34489
|
-
const draggingPinned = this.columns[this.draggingIndex]?.pinned ?? false;
|
|
34490
|
-
const targetPinned = this.columns[index]?.pinned ?? false;
|
|
34491
|
-
if (draggingPinned !== targetPinned) return;
|
|
34492
|
-
const reordered = this.columns.slice();
|
|
34493
|
-
const [moved] = reordered.splice(this.draggingIndex, 1);
|
|
34494
|
-
reordered.splice(index, 0, moved);
|
|
34495
|
-
this.$emit('columns-reorder', reordered);
|
|
34496
|
-
this.draggingIndex = null;
|
|
34497
|
-
this.dragOverIndex = null;
|
|
34498
|
-
},
|
|
34499
|
-
onDragEnd() {
|
|
34500
|
-
this.draggingIndex = null;
|
|
34501
|
-
this.dragOverIndex = null;
|
|
34502
|
-
document.body.style.cursor = '';
|
|
34503
|
-
},
|
|
34504
|
-
toggleFilter(key) {
|
|
34505
|
-
this.activeFilterKey = this.activeFilterKey === key ? null : key;
|
|
34506
|
-
this.$emit('filter-open', key);
|
|
34507
|
-
},
|
|
34508
|
-
closeFilter() {
|
|
34509
|
-
this.activeFilterKey = null;
|
|
34510
|
-
},
|
|
34511
|
-
openContextMenu(colKey, event) {
|
|
34512
|
-
const col = this.columns.find(c => c.key === colKey);
|
|
34513
|
-
if (!col || col.pinned) return;
|
|
34514
|
-
event.preventDefault();
|
|
34515
|
-
this.contextMenu = {
|
|
34516
|
-
visible: true,
|
|
34517
|
-
colKey,
|
|
34518
|
-
x: 0,
|
|
34519
|
-
y: 0
|
|
34520
|
-
};
|
|
34521
|
-
},
|
|
34522
|
-
closeContextMenu() {
|
|
34523
|
-
this.contextMenu = {
|
|
34524
|
-
visible: false,
|
|
34525
|
-
colKey: null,
|
|
34526
|
-
x: 0,
|
|
34527
|
-
y: 0
|
|
34528
|
-
};
|
|
34529
|
-
},
|
|
34530
|
-
pinColumn() {
|
|
34531
|
-
this.$emit('column-pin', {
|
|
34532
|
-
key: this.contextMenu.colKey,
|
|
34533
|
-
pinned: true
|
|
34534
|
-
});
|
|
34535
|
-
this.closeContextMenu();
|
|
34536
|
-
},
|
|
34537
|
-
openUnpinConfirm(colKey) {
|
|
34538
|
-
this.unpinConfirmKey = colKey;
|
|
34539
|
-
},
|
|
34540
|
-
confirmUnpin() {
|
|
34541
|
-
this.$emit('column-pin', {
|
|
34542
|
-
key: this.unpinConfirmKey,
|
|
34543
|
-
pinned: false
|
|
34544
|
-
});
|
|
34545
|
-
this.unpinConfirmKey = null;
|
|
34151
|
+
var script$5 = {
|
|
34152
|
+
name: 'SelectionBar',
|
|
34153
|
+
components: {
|
|
34154
|
+
Button: __vue_component__$l
|
|
34155
|
+
},
|
|
34156
|
+
props: {
|
|
34157
|
+
count: {
|
|
34158
|
+
type: Number,
|
|
34159
|
+
default: 0
|
|
34546
34160
|
},
|
|
34547
|
-
|
|
34548
|
-
|
|
34161
|
+
deleteLabel: {
|
|
34162
|
+
type: String,
|
|
34163
|
+
default: 'Eliminar'
|
|
34549
34164
|
}
|
|
34550
34165
|
},
|
|
34551
|
-
|
|
34552
|
-
|
|
34553
|
-
|
|
34554
|
-
|
|
34555
|
-
};
|
|
34556
|
-
document.addEventListener('click', this._onDocClick);
|
|
34557
|
-
this._onKeydownContext = e => {
|
|
34558
|
-
if (e.key === 'Escape') {
|
|
34559
|
-
if (this.contextMenu.visible) this.closeContextMenu();
|
|
34560
|
-
if (this.unpinConfirmKey) this.cancelUnpin();
|
|
34561
|
-
}
|
|
34562
|
-
};
|
|
34563
|
-
document.addEventListener('keydown', this._onKeydownContext);
|
|
34564
|
-
},
|
|
34565
|
-
beforeDestroy() {
|
|
34566
|
-
document.removeEventListener('click', this._onDocClick);
|
|
34567
|
-
document.removeEventListener('keydown', this._onKeydownContext);
|
|
34166
|
+
computed: {
|
|
34167
|
+
classes() {
|
|
34168
|
+
return selectionBarVariants();
|
|
34169
|
+
}
|
|
34568
34170
|
}
|
|
34569
34171
|
};
|
|
34570
34172
|
|
|
34571
34173
|
/* script */
|
|
34572
|
-
const __vue_script__$
|
|
34174
|
+
const __vue_script__$5 = script$5;
|
|
34573
34175
|
|
|
34574
34176
|
/* template */
|
|
34575
|
-
var __vue_render__$
|
|
34177
|
+
var __vue_render__$5 = function () {
|
|
34576
34178
|
var _vm = this;
|
|
34577
34179
|
var _h = _vm.$createElement;
|
|
34578
34180
|
var _c = _vm._self._c || _h;
|
|
34579
34181
|
return _c("div", {
|
|
34580
|
-
|
|
34182
|
+
class: _vm.classes
|
|
34581
34183
|
}, [_c("div", {
|
|
34582
|
-
staticClass: "rq-
|
|
34184
|
+
staticClass: "rq-selection-bar__info"
|
|
34583
34185
|
}, [_c("span", {
|
|
34584
|
-
staticClass: "rq-
|
|
34585
|
-
}, [_vm._v("
|
|
34586
|
-
staticClass: "rq-
|
|
34587
|
-
domProps: {
|
|
34588
|
-
value: _vm.pageSize
|
|
34589
|
-
},
|
|
34590
|
-
on: {
|
|
34591
|
-
change: function ($event) {
|
|
34592
|
-
_vm.$emit("update:page-size", Number($event.target.value));
|
|
34593
|
-
}
|
|
34594
|
-
}
|
|
34595
|
-
}, _vm._l(_vm.pageSizeOptions, function (opt) {
|
|
34596
|
-
return _c("option", {
|
|
34597
|
-
key: opt,
|
|
34598
|
-
domProps: {
|
|
34599
|
-
value: opt
|
|
34600
|
-
}
|
|
34601
|
-
}, [_vm._v(_vm._s(opt))]);
|
|
34602
|
-
}), 0)]), _vm._v(" "), !_vm.isEmpty ? _c("div", {
|
|
34603
|
-
staticClass: "rq-table-wrapper__clip"
|
|
34604
|
-
}, [_c("div", {
|
|
34605
|
-
staticClass: "rq-table-wrapper__scroll"
|
|
34606
|
-
}, [_c("table", {
|
|
34607
|
-
staticClass: "rq-table"
|
|
34608
|
-
}, [_c("thead", {
|
|
34609
|
-
staticClass: "rq-table__thead"
|
|
34610
|
-
}, [_c("tr", [_vm.selectable ? _c("th", {
|
|
34611
|
-
staticClass: "rq-table__th rq-table__th--sticky",
|
|
34612
|
-
staticStyle: {
|
|
34613
|
-
width: "36px"
|
|
34614
|
-
}
|
|
34615
|
-
}, [_c("div", {
|
|
34616
|
-
staticClass: "rq-table__checkbox-header"
|
|
34617
|
-
}, [_c("Checkbox", {
|
|
34186
|
+
staticClass: "rq-selection-bar__dot"
|
|
34187
|
+
}), _vm._v(" "), _c("span", [_vm._v(_vm._s(_vm.count) + " registros seleccionados")]), _vm._v(" "), _c("button", {
|
|
34188
|
+
staticClass: "rq-selection-bar__clear",
|
|
34618
34189
|
attrs: {
|
|
34619
|
-
|
|
34620
|
-
indeterminate: _vm.someSelected
|
|
34190
|
+
type: "button"
|
|
34621
34191
|
},
|
|
34622
34192
|
on: {
|
|
34623
|
-
|
|
34624
|
-
|
|
34625
|
-
})], 1)]) : _vm._e(), _vm._v(" "), _vm._l(_vm.columns, function (col, colIndex) {
|
|
34626
|
-
return _c("th", {
|
|
34627
|
-
key: col.key,
|
|
34628
|
-
staticClass: "rq-table__th",
|
|
34629
|
-
class: {
|
|
34630
|
-
"rq-table__th--filterable": col.filterable,
|
|
34631
|
-
"rq-table__th--draggable": _vm.draggableColumns,
|
|
34632
|
-
"rq-table__th--dragging": _vm.draggableColumns && _vm.draggingIndex === colIndex,
|
|
34633
|
-
"rq-table__th--drag-over": _vm.draggableColumns && _vm.dragOverIndex === colIndex && _vm.draggingIndex !== colIndex,
|
|
34634
|
-
"rq-table__th--pinned": col.pinned
|
|
34635
|
-
},
|
|
34636
|
-
style: _vm.colStyle(col),
|
|
34637
|
-
attrs: {
|
|
34638
|
-
draggable: _vm.isDraggable(col)
|
|
34639
|
-
},
|
|
34640
|
-
on: {
|
|
34641
|
-
dragstart: function ($event) {
|
|
34642
|
-
_vm.draggableColumns && _vm.onDragStart(colIndex, $event);
|
|
34643
|
-
},
|
|
34644
|
-
dragover: function ($event) {
|
|
34645
|
-
_vm.draggableColumns && _vm.onDragOver(colIndex, $event);
|
|
34646
|
-
},
|
|
34647
|
-
drop: function ($event) {
|
|
34648
|
-
_vm.draggableColumns && _vm.onDrop(colIndex);
|
|
34649
|
-
},
|
|
34650
|
-
dragend: function ($event) {
|
|
34651
|
-
_vm.draggableColumns && _vm.onDragEnd();
|
|
34652
|
-
},
|
|
34653
|
-
contextmenu: function ($event) {
|
|
34654
|
-
return _vm.openContextMenu(col.key, $event);
|
|
34655
|
-
}
|
|
34656
|
-
}
|
|
34657
|
-
}, [_c("div", {
|
|
34658
|
-
staticClass: "rq-table__th-inner"
|
|
34659
|
-
}, [_vm.draggableColumns ? _c(_vm.GripVerticalIcon, {
|
|
34660
|
-
tag: "component",
|
|
34661
|
-
staticClass: "rq-table__th-grip",
|
|
34662
|
-
attrs: {
|
|
34663
|
-
size: 14
|
|
34664
|
-
}
|
|
34665
|
-
}) : _vm._e(), _vm._v(" "), _c("span", [_vm._v(_vm._s(col.label))]), _vm._v(" "), col.filterable ? _c(_vm.ChevronDownIcon, {
|
|
34666
|
-
tag: "component",
|
|
34667
|
-
staticClass: "rq-table__th-chevron",
|
|
34668
|
-
class: {
|
|
34669
|
-
"rq-table__th-chevron--open": _vm.activeFilterKey === col.key
|
|
34670
|
-
},
|
|
34671
|
-
attrs: {
|
|
34672
|
-
size: 16
|
|
34673
|
-
},
|
|
34674
|
-
on: {
|
|
34675
|
-
click: function ($event) {
|
|
34676
|
-
$event.stopPropagation();
|
|
34677
|
-
return _vm.toggleFilter(col.key);
|
|
34678
|
-
}
|
|
34679
|
-
}
|
|
34680
|
-
}) : _vm._e(), _vm._v(" "), col.pinned ? _c("span", {
|
|
34681
|
-
staticClass: "rq-table__th-pin",
|
|
34682
|
-
on: {
|
|
34683
|
-
click: function ($event) {
|
|
34684
|
-
$event.stopPropagation();
|
|
34685
|
-
return _vm.openUnpinConfirm(col.key);
|
|
34686
|
-
}
|
|
34687
|
-
}
|
|
34688
|
-
}, [_c(_vm.PinIcon, {
|
|
34689
|
-
tag: "component",
|
|
34690
|
-
attrs: {
|
|
34691
|
-
size: 14
|
|
34692
|
-
}
|
|
34693
|
-
})], 1) : _vm._e()], 1), _vm._v(" "), col.filterable && _vm.activeFilterKey === col.key ? _c("div", {
|
|
34694
|
-
staticClass: "rq-table__filter-popover",
|
|
34695
|
-
on: {
|
|
34696
|
-
click: function ($event) {
|
|
34697
|
-
$event.stopPropagation();
|
|
34698
|
-
}
|
|
34699
|
-
}
|
|
34700
|
-
}, [_vm._t("filter-" + col.key)], 2) : _vm._e(), _vm._v(" "), _vm.contextMenu.visible && _vm.contextMenu.colKey === col.key ? _c("div", {
|
|
34701
|
-
staticClass: "rq-table-context-menu",
|
|
34702
|
-
on: {
|
|
34703
|
-
click: function ($event) {
|
|
34704
|
-
$event.stopPropagation();
|
|
34705
|
-
}
|
|
34706
|
-
}
|
|
34707
|
-
}, [_c("div", {
|
|
34708
|
-
staticClass: "rq-table-context-menu__item",
|
|
34709
|
-
on: {
|
|
34710
|
-
click: _vm.pinColumn
|
|
34711
|
-
}
|
|
34712
|
-
}, [_c(_vm.PinIcon, {
|
|
34713
|
-
tag: "component",
|
|
34714
|
-
attrs: {
|
|
34715
|
-
size: 14
|
|
34193
|
+
click: function ($event) {
|
|
34194
|
+
return _vm.$emit("clear");
|
|
34716
34195
|
}
|
|
34717
|
-
}), _vm._v("\n Fijar\n ")], 1)]) : _vm._e()]);
|
|
34718
|
-
})], 2)])]), _vm._v(" "), _c("div", {
|
|
34719
|
-
staticClass: "rq-table__body-wrapper",
|
|
34720
|
-
style: _vm.maxHeight ? {
|
|
34721
|
-
maxHeight: _vm.maxHeight + "px",
|
|
34722
|
-
overflowY: "auto"
|
|
34723
|
-
} : undefined
|
|
34724
|
-
}, [_c("table", {
|
|
34725
|
-
staticClass: "rq-table"
|
|
34726
|
-
}, [_c("thead", {
|
|
34727
|
-
staticClass: "rq-table__thead--sr-only"
|
|
34728
|
-
}, [_c("tr", [_vm.selectable ? _c("th", {
|
|
34729
|
-
attrs: {
|
|
34730
|
-
scope: "col"
|
|
34731
34196
|
}
|
|
34732
|
-
}
|
|
34733
|
-
return _c("th", {
|
|
34734
|
-
key: col.key,
|
|
34735
|
-
attrs: {
|
|
34736
|
-
scope: "col"
|
|
34737
|
-
}
|
|
34738
|
-
}, [_vm._v(_vm._s(col.label))]);
|
|
34739
|
-
})], 2)]), _vm._v(" "), _c("tbody", _vm._l(_vm.rows, function (row, rowIndex) {
|
|
34740
|
-
return _c("tr", {
|
|
34741
|
-
key: rowIndex,
|
|
34742
|
-
class: _vm.rowClasses(row, rowIndex),
|
|
34743
|
-
on: {
|
|
34744
|
-
click: function ($event) {
|
|
34745
|
-
return _vm.$emit("row-click", row);
|
|
34746
|
-
}
|
|
34747
|
-
}
|
|
34748
|
-
}, [_vm.selectable ? _c("td", {
|
|
34749
|
-
staticClass: "rq-table__td rq-table__td--sticky",
|
|
34750
|
-
staticStyle: {
|
|
34751
|
-
width: "36px"
|
|
34752
|
-
}
|
|
34753
|
-
}, [_c("div", {
|
|
34754
|
-
staticClass: "rq-table__checkbox-cell"
|
|
34755
|
-
}, [_c("Checkbox", {
|
|
34756
|
-
attrs: {
|
|
34757
|
-
checked: _vm.isSelected(row)
|
|
34758
|
-
},
|
|
34759
|
-
on: {
|
|
34760
|
-
change: function ($event) {
|
|
34761
|
-
return _vm.toggleRow(row);
|
|
34762
|
-
}
|
|
34763
|
-
},
|
|
34764
|
-
nativeOn: {
|
|
34765
|
-
click: function ($event) {
|
|
34766
|
-
$event.stopPropagation();
|
|
34767
|
-
}
|
|
34768
|
-
}
|
|
34769
|
-
})], 1)]) : _vm._e(), _vm._v(" "), _vm._l(_vm.columns, function (col, colIndex) {
|
|
34770
|
-
return _c("td", {
|
|
34771
|
-
key: col.key,
|
|
34772
|
-
staticClass: "rq-table__td",
|
|
34773
|
-
class: {
|
|
34774
|
-
"rq-table__td--dragging": _vm.draggingIndex === colIndex,
|
|
34775
|
-
"rq-table__td--pinned": col.pinned
|
|
34776
|
-
},
|
|
34777
|
-
style: _vm.colStyle(col)
|
|
34778
|
-
}, [_vm._t("cell-" + col.key, function () {
|
|
34779
|
-
return [_vm._v("\n " + _vm._s(row[col.key]) + "\n ")];
|
|
34780
|
-
}, {
|
|
34781
|
-
row: row,
|
|
34782
|
-
value: row[col.key]
|
|
34783
|
-
})], 2);
|
|
34784
|
-
})], 2);
|
|
34785
|
-
}), 0)])])])]) : _c("div", {
|
|
34786
|
-
staticClass: "rq-table-empty"
|
|
34787
|
-
}, [_c("div", {
|
|
34788
|
-
staticClass: "rq-table-empty__card"
|
|
34789
|
-
}, [_vm._t("empty", function () {
|
|
34790
|
-
return [_c("p", {
|
|
34791
|
-
staticClass: "rq-table-empty__title"
|
|
34792
|
-
}, [_vm._v(_vm._s(_vm.emptyTitle))]), _vm._v(" "), _vm.emptyDescription ? _c("p", {
|
|
34793
|
-
staticClass: "rq-table-empty__description"
|
|
34794
|
-
}, [_vm._v(_vm._s(_vm.emptyDescription))]) : _vm._e()];
|
|
34795
|
-
})], 2)]), _vm._v(" "), _c("div", {
|
|
34796
|
-
staticClass: "rq-table-pagination"
|
|
34797
|
-
}, [_c("span", {
|
|
34798
|
-
staticClass: "rq-table-pagination__info"
|
|
34799
|
-
}, [_vm.isEmpty ? [_vm._v("Mostrando 0 registros")] : [_vm._v("Mostrando " + _vm._s(_vm.fromRecord) + " – " + _vm._s(_vm.toRecord) + " de " + _vm._s(_vm.total) + " registros")]], 2), _vm._v(" "), !_vm.isEmpty ? _c("Pagination", {
|
|
34197
|
+
}, [_vm._v("\n Limpiar selección\n ")])]), _vm._v(" "), _c("Button", {
|
|
34800
34198
|
attrs: {
|
|
34801
|
-
|
|
34802
|
-
|
|
34199
|
+
variant: "primary",
|
|
34200
|
+
size: "md",
|
|
34201
|
+
"icon-right": "Trash2"
|
|
34803
34202
|
},
|
|
34804
|
-
on: {
|
|
34805
|
-
"update:page": function ($event) {
|
|
34806
|
-
return _vm.$emit("update:page", $event);
|
|
34807
|
-
}
|
|
34808
|
-
}
|
|
34809
|
-
}) : _vm._e()], 1), _vm._v(" "), _vm.unpinConfirmKey ? _c("div", {
|
|
34810
|
-
staticClass: "rq-table-overlay",
|
|
34811
34203
|
on: {
|
|
34812
34204
|
click: function ($event) {
|
|
34813
|
-
|
|
34814
|
-
return null;
|
|
34815
|
-
}
|
|
34816
|
-
return _vm.cancelUnpin.apply(null, arguments);
|
|
34205
|
+
return _vm.$emit("delete");
|
|
34817
34206
|
}
|
|
34818
34207
|
}
|
|
34819
|
-
}, [_vm.
|
|
34820
|
-
attrs: {
|
|
34821
|
-
title: "Desfijar columna",
|
|
34822
|
-
description: '¿Deseas desfijar la columna "' + _vm.unpinColumn.label + '"?',
|
|
34823
|
-
"confirm-label": "Desfijar",
|
|
34824
|
-
"cancel-label": "Cancelar"
|
|
34825
|
-
},
|
|
34826
|
-
on: {
|
|
34827
|
-
confirm: _vm.confirmUnpin,
|
|
34828
|
-
cancel: _vm.cancelUnpin
|
|
34829
|
-
}
|
|
34830
|
-
}) : _vm._e()], 1) : _vm._e()]);
|
|
34208
|
+
}, [_vm._v("\n " + _vm._s(_vm.deleteLabel) + "\n ")])], 1);
|
|
34831
34209
|
};
|
|
34832
|
-
var __vue_staticRenderFns__$
|
|
34833
|
-
__vue_render__$
|
|
34210
|
+
var __vue_staticRenderFns__$5 = [];
|
|
34211
|
+
__vue_render__$5._withStripped = true;
|
|
34834
34212
|
|
|
34835
34213
|
/* style */
|
|
34836
|
-
const __vue_inject_styles__$
|
|
34214
|
+
const __vue_inject_styles__$5 = undefined;
|
|
34837
34215
|
/* scoped */
|
|
34838
|
-
const __vue_scope_id__$
|
|
34216
|
+
const __vue_scope_id__$5 = undefined;
|
|
34839
34217
|
/* module identifier */
|
|
34840
|
-
const __vue_module_identifier__$
|
|
34218
|
+
const __vue_module_identifier__$5 = undefined;
|
|
34841
34219
|
/* functional template */
|
|
34842
|
-
const __vue_is_functional_template__$
|
|
34220
|
+
const __vue_is_functional_template__$5 = false;
|
|
34843
34221
|
/* style inject */
|
|
34844
34222
|
|
|
34845
34223
|
/* style inject SSR */
|
|
34846
34224
|
|
|
34847
34225
|
/* style inject shadow dom */
|
|
34848
34226
|
|
|
34849
|
-
const __vue_component__$
|
|
34850
|
-
render: __vue_render__$
|
|
34851
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
34852
|
-
}, __vue_inject_styles__$
|
|
34227
|
+
const __vue_component__$5 = /*#__PURE__*/normalizeComponent({
|
|
34228
|
+
render: __vue_render__$5,
|
|
34229
|
+
staticRenderFns: __vue_staticRenderFns__$5
|
|
34230
|
+
}, __vue_inject_styles__$5, __vue_script__$5, __vue_scope_id__$5, __vue_is_functional_template__$5, __vue_module_identifier__$5, false, undefined, undefined, undefined);
|
|
34853
34231
|
|
|
34854
|
-
|
|
34232
|
+
// src/components/organisms/Table/Table.variants.js
|
|
34233
|
+
const tableVariants = cva('rq-table', {
|
|
34855
34234
|
variants: {},
|
|
34856
34235
|
defaultVariants: {}
|
|
34857
34236
|
});
|
|
@@ -37796,8 +37175,7 @@ function getCoreRowModel() {
|
|
|
37796
37175
|
}, getMemoOptions(table.options, 'debugTable', 'getRowModel', () => table._autoResetPageIndex()));
|
|
37797
37176
|
}
|
|
37798
37177
|
|
|
37799
|
-
|
|
37800
|
-
function useDataTable(props, emit) {
|
|
37178
|
+
function useTable(props, emit) {
|
|
37801
37179
|
// --- Estado Vue ---
|
|
37802
37180
|
const columnOrder = vue.ref([]);
|
|
37803
37181
|
const columnPinning = vue.ref({
|
|
@@ -37974,6 +37352,10 @@ function useDataTable(props, emit) {
|
|
|
37974
37352
|
emit('select', [...props.rows]);
|
|
37975
37353
|
}
|
|
37976
37354
|
}
|
|
37355
|
+
function clearSelection() {
|
|
37356
|
+
rowSelection.value = {};
|
|
37357
|
+
emit('select', []);
|
|
37358
|
+
}
|
|
37977
37359
|
|
|
37978
37360
|
// --- Handlers de chevron ---
|
|
37979
37361
|
function toggleChevron(columnKey) {
|
|
@@ -37982,14 +37364,6 @@ function useDataTable(props, emit) {
|
|
|
37982
37364
|
function closeChevron() {
|
|
37983
37365
|
activeChevronKey.value = null;
|
|
37984
37366
|
}
|
|
37985
|
-
|
|
37986
|
-
// --- Debounce del buscador ---
|
|
37987
|
-
let searchTimer = null;
|
|
37988
|
-
function onSearchInput(value) {
|
|
37989
|
-
clearTimeout(searchTimer);
|
|
37990
|
-
searchTimer = setTimeout(() => emit('update:search', value), 300);
|
|
37991
|
-
}
|
|
37992
|
-
vue.onUnmounted(() => clearTimeout(searchTimer));
|
|
37993
37367
|
return {
|
|
37994
37368
|
headerGroups,
|
|
37995
37369
|
tableRows,
|
|
@@ -38003,9 +37377,9 @@ function useDataTable(props, emit) {
|
|
|
38003
37377
|
togglePin,
|
|
38004
37378
|
toggleRow,
|
|
38005
37379
|
toggleSelectAll,
|
|
37380
|
+
clearSelection,
|
|
38006
37381
|
toggleChevron,
|
|
38007
37382
|
closeChevron,
|
|
38008
|
-
onSearchInput,
|
|
38009
37383
|
activeChevronKey,
|
|
38010
37384
|
allSelected,
|
|
38011
37385
|
someSelected,
|
|
@@ -38149,59 +37523,17 @@ function useDataTable(props, emit) {
|
|
|
38149
37523
|
//
|
|
38150
37524
|
//
|
|
38151
37525
|
//
|
|
38152
|
-
//
|
|
38153
|
-
//
|
|
38154
|
-
//
|
|
38155
|
-
//
|
|
38156
|
-
//
|
|
38157
|
-
//
|
|
38158
|
-
//
|
|
38159
|
-
//
|
|
38160
|
-
//
|
|
38161
|
-
//
|
|
38162
|
-
//
|
|
38163
|
-
//
|
|
38164
|
-
//
|
|
38165
|
-
//
|
|
38166
|
-
//
|
|
38167
|
-
//
|
|
38168
|
-
//
|
|
38169
|
-
//
|
|
38170
|
-
//
|
|
38171
|
-
//
|
|
38172
|
-
//
|
|
38173
|
-
//
|
|
38174
|
-
//
|
|
38175
|
-
//
|
|
38176
|
-
//
|
|
38177
|
-
//
|
|
38178
|
-
//
|
|
38179
|
-
//
|
|
38180
|
-
//
|
|
38181
|
-
//
|
|
38182
|
-
//
|
|
38183
|
-
//
|
|
38184
|
-
//
|
|
38185
|
-
//
|
|
38186
|
-
//
|
|
38187
|
-
//
|
|
38188
|
-
//
|
|
38189
37526
|
|
|
38190
|
-
var script$
|
|
38191
|
-
name: '
|
|
37527
|
+
var script$4 = {
|
|
37528
|
+
name: 'Table',
|
|
38192
37529
|
components: {
|
|
38193
|
-
|
|
38194
|
-
Checkbox: __vue_component__$g
|
|
37530
|
+
Checkbox: __vue_component__$j
|
|
38195
37531
|
},
|
|
38196
37532
|
props: {
|
|
38197
37533
|
rows: {
|
|
38198
37534
|
type: Array,
|
|
38199
37535
|
default: () => []
|
|
38200
37536
|
},
|
|
38201
|
-
total: {
|
|
38202
|
-
type: Number,
|
|
38203
|
-
default: 0
|
|
38204
|
-
},
|
|
38205
37537
|
columns: {
|
|
38206
37538
|
type: Array,
|
|
38207
37539
|
required: true
|
|
@@ -38214,26 +37546,6 @@ var script$2 = {
|
|
|
38214
37546
|
type: Array,
|
|
38215
37547
|
default: () => []
|
|
38216
37548
|
},
|
|
38217
|
-
page: {
|
|
38218
|
-
type: Number,
|
|
38219
|
-
default: 1
|
|
38220
|
-
},
|
|
38221
|
-
pageSize: {
|
|
38222
|
-
type: Number,
|
|
38223
|
-
default: 10
|
|
38224
|
-
},
|
|
38225
|
-
pageSizeOptions: {
|
|
38226
|
-
type: Array,
|
|
38227
|
-
default: () => [10, 25, 50, 100]
|
|
38228
|
-
},
|
|
38229
|
-
searchText: {
|
|
38230
|
-
type: String,
|
|
38231
|
-
default: ''
|
|
38232
|
-
},
|
|
38233
|
-
showSearch: {
|
|
38234
|
-
type: Boolean,
|
|
38235
|
-
default: true
|
|
38236
|
-
},
|
|
38237
37549
|
selectable: {
|
|
38238
37550
|
type: Boolean,
|
|
38239
37551
|
default: false
|
|
@@ -38251,7 +37563,7 @@ var script$2 = {
|
|
|
38251
37563
|
emit
|
|
38252
37564
|
}) {
|
|
38253
37565
|
return {
|
|
38254
|
-
...
|
|
37566
|
+
...useTable(props, emit)
|
|
38255
37567
|
};
|
|
38256
37568
|
},
|
|
38257
37569
|
data() {
|
|
@@ -38270,22 +37582,13 @@ var script$2 = {
|
|
|
38270
37582
|
},
|
|
38271
37583
|
computed: {
|
|
38272
37584
|
classes() {
|
|
38273
|
-
return
|
|
37585
|
+
return tableVariants();
|
|
38274
37586
|
},
|
|
38275
37587
|
ChevronDownIcon() {
|
|
38276
37588
|
return ChevronDown;
|
|
38277
37589
|
},
|
|
38278
37590
|
PinIcon() {
|
|
38279
37591
|
return Pin;
|
|
38280
|
-
},
|
|
38281
|
-
totalPages() {
|
|
38282
|
-
return Math.max(1, Math.ceil(this.total / this.pageSize));
|
|
38283
|
-
},
|
|
38284
|
-
fromRecord() {
|
|
38285
|
-
return this.total === 0 ? 0 : (this.page - 1) * this.pageSize + 1;
|
|
38286
|
-
},
|
|
38287
|
-
toRecord() {
|
|
38288
|
-
return Math.min(this.page * this.pageSize, this.total);
|
|
38289
37592
|
}
|
|
38290
37593
|
},
|
|
38291
37594
|
methods: {
|
|
@@ -38377,70 +37680,33 @@ var script$2 = {
|
|
|
38377
37680
|
};
|
|
38378
37681
|
|
|
38379
37682
|
/* script */
|
|
38380
|
-
const __vue_script__$
|
|
37683
|
+
const __vue_script__$4 = script$4;
|
|
38381
37684
|
|
|
38382
37685
|
/* template */
|
|
38383
|
-
var __vue_render__$
|
|
37686
|
+
var __vue_render__$4 = function () {
|
|
38384
37687
|
var _vm = this;
|
|
38385
37688
|
var _h = _vm.$createElement;
|
|
38386
37689
|
var _c = _vm._self._c || _h;
|
|
38387
37690
|
return _c("div", _vm._g({
|
|
38388
|
-
class: _vm.classes,
|
|
38389
|
-
on: {
|
|
38390
|
-
click: _vm.closeAll
|
|
38391
|
-
}
|
|
38392
|
-
}, _vm.$listeners), [_vm.showSearch ? _c("div", {
|
|
38393
|
-
staticClass: "rq-data-table__search-bar"
|
|
38394
|
-
}, [_c("input", {
|
|
38395
|
-
staticClass: "rq-data-table__search-input",
|
|
38396
|
-
attrs: {
|
|
38397
|
-
type: "text",
|
|
38398
|
-
placeholder: "Buscar..."
|
|
38399
|
-
},
|
|
38400
|
-
domProps: {
|
|
38401
|
-
value: _vm.searchText
|
|
38402
|
-
},
|
|
38403
|
-
on: {
|
|
38404
|
-
input: function ($event) {
|
|
38405
|
-
return _vm.onSearchInput($event.target.value);
|
|
38406
|
-
}
|
|
38407
|
-
}
|
|
38408
|
-
})]) : _vm._e(), _vm._v(" "), _c("div", {
|
|
38409
|
-
staticClass: "rq-data-table__toolbar"
|
|
38410
|
-
}, [_c("span", {
|
|
38411
|
-
staticClass: "rq-data-table__toolbar-label"
|
|
38412
|
-
}, [_vm._v("Filas por página")]), _vm._v(" "), _c("select", {
|
|
38413
|
-
staticClass: "rq-data-table__toolbar-select",
|
|
38414
|
-
domProps: {
|
|
38415
|
-
value: _vm.pageSize
|
|
38416
|
-
},
|
|
37691
|
+
class: _vm.classes,
|
|
38417
37692
|
on: {
|
|
38418
|
-
|
|
38419
|
-
_vm.$emit("update:page-size", Number($event.target.value));
|
|
38420
|
-
}
|
|
37693
|
+
click: _vm.closeAll
|
|
38421
37694
|
}
|
|
38422
|
-
}, _vm
|
|
38423
|
-
|
|
38424
|
-
key: opt,
|
|
38425
|
-
domProps: {
|
|
38426
|
-
value: opt
|
|
38427
|
-
}
|
|
38428
|
-
}, [_vm._v(_vm._s(opt))]);
|
|
38429
|
-
}), 0)]), _vm._v(" "), _c("div", {
|
|
38430
|
-
staticClass: "rq-data-table__scroll",
|
|
37695
|
+
}, _vm.$listeners), [_c("div", {
|
|
37696
|
+
staticClass: "rq-table__scroll",
|
|
38431
37697
|
style: _vm.maxHeight ? {
|
|
38432
37698
|
maxHeight: _vm.maxHeight + "px"
|
|
38433
37699
|
} : {}
|
|
38434
37700
|
}, [_c("table", {
|
|
38435
|
-
staticClass: "rq-
|
|
37701
|
+
staticClass: "rq-table__table"
|
|
38436
37702
|
}, [_c("thead", {
|
|
38437
|
-
staticClass: "rq-
|
|
37703
|
+
staticClass: "rq-table__thead"
|
|
38438
37704
|
}, _vm._l(_vm.headerGroups, function (headerGroup) {
|
|
38439
37705
|
return _c("tr", {
|
|
38440
37706
|
key: headerGroup.id,
|
|
38441
|
-
staticClass: "rq-
|
|
37707
|
+
staticClass: "rq-table__tr rq-table__tr--head"
|
|
38442
37708
|
}, [_vm.selectable ? _c("th", {
|
|
38443
|
-
staticClass: "rq-
|
|
37709
|
+
staticClass: "rq-table__th rq-table__th--select",
|
|
38444
37710
|
style: {
|
|
38445
37711
|
position: "sticky",
|
|
38446
37712
|
left: 0,
|
|
@@ -38457,11 +37723,11 @@ var __vue_render__$2 = function () {
|
|
|
38457
37723
|
})], 1) : _vm._e(), _vm._v(" "), _vm._l(headerGroup.headers, function (header) {
|
|
38458
37724
|
return _c("th", {
|
|
38459
37725
|
key: header.id,
|
|
38460
|
-
staticClass: "rq-
|
|
37726
|
+
staticClass: "rq-table__th",
|
|
38461
37727
|
class: {
|
|
38462
|
-
"rq-
|
|
38463
|
-
"rq-
|
|
38464
|
-
"rq-
|
|
37728
|
+
"rq-table__th--pinned": header.id in _vm.pinnedLeftWidths,
|
|
37729
|
+
"rq-table__th--dragging": _vm.draggingKey === header.id,
|
|
37730
|
+
"rq-table__th--drag-over": _vm.dragOverKey === header.id
|
|
38465
37731
|
},
|
|
38466
37732
|
style: _vm.getColStyle(header, true),
|
|
38467
37733
|
attrs: {
|
|
@@ -38483,13 +37749,13 @@ var __vue_render__$2 = function () {
|
|
|
38483
37749
|
}
|
|
38484
37750
|
}
|
|
38485
37751
|
}, [_c("div", {
|
|
38486
|
-
staticClass: "rq-
|
|
37752
|
+
staticClass: "rq-table__th-content"
|
|
38487
37753
|
}, [_c("span", {
|
|
38488
|
-
staticClass: "rq-
|
|
37754
|
+
staticClass: "rq-table__th-label"
|
|
38489
37755
|
}, [_vm._v(_vm._s(header.column.columnDef.header))]), _vm._v(" "), _vm.getColumnDef(header.id).hasChevron ? _c("button", {
|
|
38490
|
-
staticClass: "rq-
|
|
37756
|
+
staticClass: "rq-table__chevron-btn",
|
|
38491
37757
|
class: {
|
|
38492
|
-
"rq-
|
|
37758
|
+
"rq-table__chevron-btn--active": _vm.activeChevronKey === header.id
|
|
38493
37759
|
},
|
|
38494
37760
|
attrs: {
|
|
38495
37761
|
type: "button"
|
|
@@ -38508,9 +37774,9 @@ var __vue_render__$2 = function () {
|
|
|
38508
37774
|
})], 1) : _vm._e()])]);
|
|
38509
37775
|
})], 2);
|
|
38510
37776
|
}), 0), _vm._v(" "), _c("tbody", [!_vm.tableRows.length ? _c("tr", {
|
|
38511
|
-
staticClass: "rq-
|
|
37777
|
+
staticClass: "rq-table__tr rq-table__tr--empty"
|
|
38512
37778
|
}, [_c("td", {
|
|
38513
|
-
staticClass: "rq-
|
|
37779
|
+
staticClass: "rq-table__td rq-table__td--empty",
|
|
38514
37780
|
attrs: {
|
|
38515
37781
|
colspan: _vm.columns.length + (_vm.selectable ? 1 : 0)
|
|
38516
37782
|
}
|
|
@@ -38519,14 +37785,14 @@ var __vue_render__$2 = function () {
|
|
|
38519
37785
|
})], 2)]) : _vm._e(), _vm._v(" "), _vm._l(_vm.tableRows, function (row) {
|
|
38520
37786
|
return _c("tr", {
|
|
38521
37787
|
key: row.id,
|
|
38522
|
-
staticClass: "rq-
|
|
37788
|
+
staticClass: "rq-table__tr rq-table__tr--body",
|
|
38523
37789
|
on: {
|
|
38524
37790
|
click: function ($event) {
|
|
38525
37791
|
return _vm.$emit("row-click", row.original);
|
|
38526
37792
|
}
|
|
38527
37793
|
}
|
|
38528
37794
|
}, [_vm.selectable ? _c("td", {
|
|
38529
|
-
staticClass: "rq-
|
|
37795
|
+
staticClass: "rq-table__td rq-table__td--select",
|
|
38530
37796
|
style: {
|
|
38531
37797
|
position: "sticky",
|
|
38532
37798
|
left: 0,
|
|
@@ -38549,96 +37815,381 @@ var __vue_render__$2 = function () {
|
|
|
38549
37815
|
})], 1) : _vm._e(), _vm._v(" "), _vm._l(_vm.headerGroups[0] ? _vm.headerGroups[0].headers : [], function (header) {
|
|
38550
37816
|
return _c("td", {
|
|
38551
37817
|
key: header.id,
|
|
38552
|
-
staticClass: "rq-
|
|
37818
|
+
staticClass: "rq-table__td",
|
|
38553
37819
|
class: {
|
|
38554
|
-
"rq-
|
|
37820
|
+
"rq-table__td--pinned": header.id in _vm.pinnedLeftWidths
|
|
38555
37821
|
},
|
|
38556
37822
|
style: _vm.getColStyle(header)
|
|
38557
37823
|
}, [_vm._t("cell-" + header.id, function () {
|
|
38558
|
-
return [_vm._v("\n
|
|
37824
|
+
return [_vm._v("\n " + _vm._s(row.getValue(header.id)) + "\n ")];
|
|
38559
37825
|
}, {
|
|
38560
37826
|
row: row.original,
|
|
38561
37827
|
value: row.getValue(header.id)
|
|
38562
37828
|
})], 2);
|
|
38563
37829
|
})], 2);
|
|
38564
|
-
})], 2)])]), _vm._v(" "), _c("div", {
|
|
38565
|
-
staticClass: "rq-
|
|
38566
|
-
|
|
38567
|
-
|
|
38568
|
-
|
|
38569
|
-
attrs: {
|
|
38570
|
-
page: _vm.page,
|
|
38571
|
-
total: _vm.totalPages
|
|
37830
|
+
})], 2)])]), _vm._v(" "), _vm.contextMenu.visible ? _c("div", {
|
|
37831
|
+
staticClass: "rq-table__context-menu",
|
|
37832
|
+
style: {
|
|
37833
|
+
top: _vm.contextMenu.y + "px",
|
|
37834
|
+
left: _vm.contextMenu.x + "px"
|
|
38572
37835
|
},
|
|
38573
37836
|
on: {
|
|
38574
|
-
|
|
38575
|
-
|
|
37837
|
+
click: function ($event) {
|
|
37838
|
+
$event.stopPropagation();
|
|
38576
37839
|
}
|
|
38577
37840
|
}
|
|
38578
|
-
}
|
|
38579
|
-
staticClass: "rq-
|
|
37841
|
+
}, [_c("button", {
|
|
37842
|
+
staticClass: "rq-table__context-menu-item",
|
|
37843
|
+
attrs: {
|
|
37844
|
+
type: "button"
|
|
37845
|
+
},
|
|
37846
|
+
on: {
|
|
37847
|
+
click: _vm.togglePinFromMenu
|
|
37848
|
+
}
|
|
37849
|
+
}, [_c(_vm.PinIcon, {
|
|
37850
|
+
tag: "component",
|
|
37851
|
+
attrs: {
|
|
37852
|
+
size: 14
|
|
37853
|
+
}
|
|
37854
|
+
}), _vm._v("\n " + _vm._s(_vm.contextMenu.colKey in _vm.pinnedLeftWidths ? "Desfijar columna" : "Fijar columna") + "\n ")], 1)]) : _vm._e(), _vm._v(" "), _vm.activeChevronKey ? _c("div", {
|
|
37855
|
+
staticClass: "rq-table__chevron-popover",
|
|
38580
37856
|
style: {
|
|
38581
|
-
top: _vm.
|
|
38582
|
-
left: _vm.
|
|
37857
|
+
top: _vm.chevronPopoverPos.top + "px",
|
|
37858
|
+
left: _vm.chevronPopoverPos.left + "px"
|
|
38583
37859
|
},
|
|
38584
37860
|
on: {
|
|
38585
37861
|
click: function ($event) {
|
|
38586
37862
|
$event.stopPropagation();
|
|
38587
37863
|
}
|
|
38588
|
-
}
|
|
38589
|
-
}, [
|
|
38590
|
-
|
|
37864
|
+
}
|
|
37865
|
+
}, [_vm._l(_vm.headerGroups, function (headerGroup) {
|
|
37866
|
+
return [_vm._l(headerGroup.headers, function (header) {
|
|
37867
|
+
return [_vm.activeChevronKey === header.id ? _c("div", {
|
|
37868
|
+
key: header.id
|
|
37869
|
+
}, [_vm._t("chevron-" + header.id)], 2) : _vm._e()];
|
|
37870
|
+
})];
|
|
37871
|
+
})], 2) : _vm._e()]);
|
|
37872
|
+
};
|
|
37873
|
+
var __vue_staticRenderFns__$4 = [];
|
|
37874
|
+
__vue_render__$4._withStripped = true;
|
|
37875
|
+
|
|
37876
|
+
/* style */
|
|
37877
|
+
const __vue_inject_styles__$4 = undefined;
|
|
37878
|
+
/* scoped */
|
|
37879
|
+
const __vue_scope_id__$4 = undefined;
|
|
37880
|
+
/* module identifier */
|
|
37881
|
+
const __vue_module_identifier__$4 = undefined;
|
|
37882
|
+
/* functional template */
|
|
37883
|
+
const __vue_is_functional_template__$4 = false;
|
|
37884
|
+
/* style inject */
|
|
37885
|
+
|
|
37886
|
+
/* style inject SSR */
|
|
37887
|
+
|
|
37888
|
+
/* style inject shadow dom */
|
|
37889
|
+
|
|
37890
|
+
const __vue_component__$4 = /*#__PURE__*/normalizeComponent({
|
|
37891
|
+
render: __vue_render__$4,
|
|
37892
|
+
staticRenderFns: __vue_staticRenderFns__$4
|
|
37893
|
+
}, __vue_inject_styles__$4, __vue_script__$4, __vue_scope_id__$4, __vue_is_functional_template__$4, __vue_module_identifier__$4, false, undefined, undefined, undefined);
|
|
37894
|
+
|
|
37895
|
+
const dataTableVariants = cva('rq-data-table', {
|
|
37896
|
+
variants: {},
|
|
37897
|
+
defaultVariants: {}
|
|
37898
|
+
});
|
|
37899
|
+
|
|
37900
|
+
//
|
|
37901
|
+
//
|
|
37902
|
+
//
|
|
37903
|
+
//
|
|
37904
|
+
//
|
|
37905
|
+
//
|
|
37906
|
+
//
|
|
37907
|
+
//
|
|
37908
|
+
//
|
|
37909
|
+
//
|
|
37910
|
+
//
|
|
37911
|
+
//
|
|
37912
|
+
//
|
|
37913
|
+
//
|
|
37914
|
+
//
|
|
37915
|
+
//
|
|
37916
|
+
//
|
|
37917
|
+
//
|
|
37918
|
+
//
|
|
37919
|
+
//
|
|
37920
|
+
//
|
|
37921
|
+
//
|
|
37922
|
+
//
|
|
37923
|
+
//
|
|
37924
|
+
//
|
|
37925
|
+
//
|
|
37926
|
+
//
|
|
37927
|
+
//
|
|
37928
|
+
//
|
|
37929
|
+
//
|
|
37930
|
+
//
|
|
37931
|
+
//
|
|
37932
|
+
//
|
|
37933
|
+
//
|
|
37934
|
+
//
|
|
37935
|
+
//
|
|
37936
|
+
//
|
|
37937
|
+
//
|
|
37938
|
+
//
|
|
37939
|
+
//
|
|
37940
|
+
//
|
|
37941
|
+
//
|
|
37942
|
+
//
|
|
37943
|
+
//
|
|
37944
|
+
//
|
|
37945
|
+
//
|
|
37946
|
+
//
|
|
37947
|
+
//
|
|
37948
|
+
//
|
|
37949
|
+
//
|
|
37950
|
+
//
|
|
37951
|
+
//
|
|
37952
|
+
//
|
|
37953
|
+
//
|
|
37954
|
+
//
|
|
37955
|
+
//
|
|
37956
|
+
//
|
|
37957
|
+
//
|
|
37958
|
+
//
|
|
37959
|
+
//
|
|
37960
|
+
//
|
|
37961
|
+
//
|
|
37962
|
+
//
|
|
37963
|
+
//
|
|
37964
|
+
|
|
37965
|
+
var script$3 = {
|
|
37966
|
+
name: 'DataTable',
|
|
37967
|
+
components: {
|
|
37968
|
+
Table: __vue_component__$4,
|
|
37969
|
+
SearchInput: __vue_component__$7,
|
|
37970
|
+
PageSizeSelect: __vue_component__$6,
|
|
37971
|
+
SelectionBar: __vue_component__$5,
|
|
37972
|
+
Pagination: __vue_component__$a
|
|
37973
|
+
},
|
|
37974
|
+
props: {
|
|
37975
|
+
rows: {
|
|
37976
|
+
type: Array,
|
|
37977
|
+
default: () => []
|
|
37978
|
+
},
|
|
37979
|
+
total: {
|
|
37980
|
+
type: Number,
|
|
37981
|
+
default: 0
|
|
37982
|
+
},
|
|
37983
|
+
columns: {
|
|
37984
|
+
type: Array,
|
|
37985
|
+
required: true
|
|
37986
|
+
},
|
|
37987
|
+
columnOrder: {
|
|
37988
|
+
type: Array,
|
|
37989
|
+
default: null
|
|
37990
|
+
},
|
|
37991
|
+
pinnedColumns: {
|
|
37992
|
+
type: Array,
|
|
37993
|
+
default: () => []
|
|
37994
|
+
},
|
|
37995
|
+
page: {
|
|
37996
|
+
type: Number,
|
|
37997
|
+
default: 1
|
|
37998
|
+
},
|
|
37999
|
+
pageSize: {
|
|
38000
|
+
type: Number,
|
|
38001
|
+
default: 10
|
|
38002
|
+
},
|
|
38003
|
+
pageSizeOptions: {
|
|
38004
|
+
type: Array,
|
|
38005
|
+
default: () => [10, 25, 50, 100]
|
|
38006
|
+
},
|
|
38007
|
+
searchText: {
|
|
38008
|
+
type: String,
|
|
38009
|
+
default: ''
|
|
38010
|
+
},
|
|
38011
|
+
showSearch: {
|
|
38012
|
+
type: Boolean,
|
|
38013
|
+
default: true
|
|
38014
|
+
},
|
|
38015
|
+
selectable: {
|
|
38016
|
+
type: Boolean,
|
|
38017
|
+
default: false
|
|
38018
|
+
},
|
|
38019
|
+
rowId: {
|
|
38020
|
+
type: String,
|
|
38021
|
+
default: 'id'
|
|
38022
|
+
},
|
|
38023
|
+
maxHeight: {
|
|
38024
|
+
type: Number,
|
|
38025
|
+
default: null
|
|
38026
|
+
},
|
|
38027
|
+
deleteLabel: {
|
|
38028
|
+
type: String,
|
|
38029
|
+
default: 'Eliminar'
|
|
38030
|
+
}
|
|
38031
|
+
},
|
|
38032
|
+
data() {
|
|
38033
|
+
return {
|
|
38034
|
+
selectedRows: []
|
|
38035
|
+
};
|
|
38036
|
+
},
|
|
38037
|
+
computed: {
|
|
38038
|
+
classes() {
|
|
38039
|
+
return dataTableVariants();
|
|
38040
|
+
},
|
|
38041
|
+
totalPages() {
|
|
38042
|
+
return Math.max(1, Math.ceil(this.total / this.pageSize));
|
|
38043
|
+
},
|
|
38044
|
+
fromRecord() {
|
|
38045
|
+
return this.total === 0 ? 0 : (this.page - 1) * this.pageSize + 1;
|
|
38046
|
+
},
|
|
38047
|
+
toRecord() {
|
|
38048
|
+
return Math.min(this.page * this.pageSize, this.total);
|
|
38049
|
+
},
|
|
38050
|
+
selectedCount() {
|
|
38051
|
+
return this.selectedRows.length;
|
|
38052
|
+
}
|
|
38053
|
+
},
|
|
38054
|
+
methods: {
|
|
38055
|
+
onSelect(rows) {
|
|
38056
|
+
this.selectedRows = rows;
|
|
38057
|
+
this.$emit('select', rows);
|
|
38058
|
+
},
|
|
38059
|
+
onClearSelection() {
|
|
38060
|
+
this.$refs.table.clearSelection();
|
|
38061
|
+
}
|
|
38062
|
+
}
|
|
38063
|
+
};
|
|
38064
|
+
|
|
38065
|
+
/* script */
|
|
38066
|
+
const __vue_script__$3 = script$3;
|
|
38067
|
+
|
|
38068
|
+
/* template */
|
|
38069
|
+
var __vue_render__$3 = function () {
|
|
38070
|
+
var _vm = this;
|
|
38071
|
+
var _h = _vm.$createElement;
|
|
38072
|
+
var _c = _vm._self._c || _h;
|
|
38073
|
+
return _c("div", {
|
|
38074
|
+
class: _vm.classes
|
|
38075
|
+
}, [_vm.showSearch ? _c("SearchInput", {
|
|
38076
|
+
staticClass: "rq-data-table__search-bar",
|
|
38077
|
+
attrs: {
|
|
38078
|
+
value: _vm.searchText
|
|
38079
|
+
},
|
|
38080
|
+
on: {
|
|
38081
|
+
input: function ($event) {
|
|
38082
|
+
return _vm.$emit("update:search-text", $event);
|
|
38083
|
+
},
|
|
38084
|
+
search: function ($event) {
|
|
38085
|
+
return _vm.$emit("update:search", $event);
|
|
38086
|
+
}
|
|
38087
|
+
}
|
|
38088
|
+
}) : _vm._e(), _vm._v(" "), _vm.selectable && _vm.selectedCount > 0 ? _c("SelectionBar", {
|
|
38089
|
+
attrs: {
|
|
38090
|
+
count: _vm.selectedCount,
|
|
38091
|
+
"delete-label": _vm.deleteLabel
|
|
38092
|
+
},
|
|
38093
|
+
on: {
|
|
38094
|
+
clear: _vm.onClearSelection,
|
|
38095
|
+
delete: function ($event) {
|
|
38096
|
+
return _vm.$emit("delete-selected", _vm.selectedRows);
|
|
38097
|
+
}
|
|
38098
|
+
}
|
|
38099
|
+
}) : _vm._e(), _vm._v(" "), _c("Table", {
|
|
38100
|
+
ref: "table",
|
|
38101
|
+
attrs: {
|
|
38102
|
+
columns: _vm.columns,
|
|
38103
|
+
rows: _vm.rows,
|
|
38104
|
+
"column-order": _vm.columnOrder,
|
|
38105
|
+
"pinned-columns": _vm.pinnedColumns,
|
|
38106
|
+
selectable: _vm.selectable,
|
|
38107
|
+
"row-id": _vm.rowId,
|
|
38108
|
+
"max-height": _vm.maxHeight
|
|
38109
|
+
},
|
|
38110
|
+
on: {
|
|
38111
|
+
"row-click": function ($event) {
|
|
38112
|
+
return _vm.$emit("row-click", $event);
|
|
38113
|
+
},
|
|
38114
|
+
select: _vm.onSelect,
|
|
38115
|
+
"update:column-order": function ($event) {
|
|
38116
|
+
return _vm.$emit("update:column-order", $event);
|
|
38117
|
+
},
|
|
38118
|
+
"update:pinned-columns": function ($event) {
|
|
38119
|
+
return _vm.$emit("update:pinned-columns", $event);
|
|
38120
|
+
}
|
|
38121
|
+
},
|
|
38122
|
+
scopedSlots: _vm._u([_vm._l(_vm.columns, function (col) {
|
|
38123
|
+
return {
|
|
38124
|
+
key: "cell-" + col.key,
|
|
38125
|
+
fn: function (slotProps) {
|
|
38126
|
+
return [_vm._t("cell-" + col.key, null, null, slotProps)];
|
|
38127
|
+
}
|
|
38128
|
+
};
|
|
38129
|
+
}), _vm._l(_vm.columns, function (col) {
|
|
38130
|
+
return {
|
|
38131
|
+
key: "chevron-" + col.key,
|
|
38132
|
+
fn: function () {
|
|
38133
|
+
return [_vm._t("chevron-" + col.key)];
|
|
38134
|
+
},
|
|
38135
|
+
proxy: true
|
|
38136
|
+
};
|
|
38137
|
+
}), {
|
|
38138
|
+
key: "empty",
|
|
38139
|
+
fn: function () {
|
|
38140
|
+
return [_vm._t("empty")];
|
|
38141
|
+
},
|
|
38142
|
+
proxy: true
|
|
38143
|
+
}], null, true)
|
|
38144
|
+
}), _vm._v(" "), _c("div", {
|
|
38145
|
+
staticClass: "rq-data-table__pagination"
|
|
38146
|
+
}, [_c("span", {
|
|
38147
|
+
staticClass: "rq-data-table__pagination-info"
|
|
38148
|
+
}, [_vm.total === 0 ? [_vm._v("Mostrando 0 registros")] : [_vm._v("Mostrando " + _vm._s(_vm.fromRecord) + " – " + _vm._s(_vm.toRecord) + " de " + _vm._s(_vm.total) + " registros")]], 2), _vm._v(" "), _c("div", {
|
|
38149
|
+
staticClass: "rq-data-table__pagination-controls"
|
|
38150
|
+
}, [_c("PageSizeSelect", {
|
|
38591
38151
|
attrs: {
|
|
38592
|
-
|
|
38152
|
+
"page-size": _vm.pageSize,
|
|
38153
|
+
options: _vm.pageSizeOptions
|
|
38593
38154
|
},
|
|
38594
38155
|
on: {
|
|
38595
|
-
|
|
38156
|
+
"update:page-size": function ($event) {
|
|
38157
|
+
return _vm.$emit("update:page-size", $event);
|
|
38158
|
+
}
|
|
38596
38159
|
}
|
|
38597
|
-
},
|
|
38598
|
-
tag: "component",
|
|
38160
|
+
}), _vm._v(" "), _vm.total > 0 ? _c("Pagination", {
|
|
38599
38161
|
attrs: {
|
|
38600
|
-
|
|
38601
|
-
|
|
38602
|
-
}), _vm._v("\n " + _vm._s(_vm.contextMenu.colKey in _vm.pinnedLeftWidths ? "Desfijar columna" : "Fijar columna") + "\n ")], 1)]) : _vm._e(), _vm._v(" "), _vm.activeChevronKey ? _c("div", {
|
|
38603
|
-
staticClass: "rq-data-table__chevron-popover",
|
|
38604
|
-
style: {
|
|
38605
|
-
top: _vm.chevronPopoverPos.top + "px",
|
|
38606
|
-
left: _vm.chevronPopoverPos.left + "px"
|
|
38162
|
+
page: _vm.page,
|
|
38163
|
+
total: _vm.totalPages
|
|
38607
38164
|
},
|
|
38608
38165
|
on: {
|
|
38609
|
-
|
|
38610
|
-
$event
|
|
38166
|
+
"update:page": function ($event) {
|
|
38167
|
+
return _vm.$emit("update:page", $event);
|
|
38611
38168
|
}
|
|
38612
38169
|
}
|
|
38613
|
-
}
|
|
38614
|
-
return [_vm._l(headerGroup.headers, function (header) {
|
|
38615
|
-
return [_vm.activeChevronKey === header.id ? _c("div", {
|
|
38616
|
-
key: header.id
|
|
38617
|
-
}, [_vm._t("chevron-" + header.id)], 2) : _vm._e()];
|
|
38618
|
-
})];
|
|
38619
|
-
})], 2) : _vm._e()]);
|
|
38170
|
+
}) : _vm._e()], 1)])], 1);
|
|
38620
38171
|
};
|
|
38621
|
-
var __vue_staticRenderFns__$
|
|
38622
|
-
__vue_render__$
|
|
38172
|
+
var __vue_staticRenderFns__$3 = [];
|
|
38173
|
+
__vue_render__$3._withStripped = true;
|
|
38623
38174
|
|
|
38624
38175
|
/* style */
|
|
38625
|
-
const __vue_inject_styles__$
|
|
38176
|
+
const __vue_inject_styles__$3 = undefined;
|
|
38626
38177
|
/* scoped */
|
|
38627
|
-
const __vue_scope_id__$
|
|
38178
|
+
const __vue_scope_id__$3 = undefined;
|
|
38628
38179
|
/* module identifier */
|
|
38629
|
-
const __vue_module_identifier__$
|
|
38180
|
+
const __vue_module_identifier__$3 = undefined;
|
|
38630
38181
|
/* functional template */
|
|
38631
|
-
const __vue_is_functional_template__$
|
|
38182
|
+
const __vue_is_functional_template__$3 = false;
|
|
38632
38183
|
/* style inject */
|
|
38633
38184
|
|
|
38634
38185
|
/* style inject SSR */
|
|
38635
38186
|
|
|
38636
38187
|
/* style inject shadow dom */
|
|
38637
38188
|
|
|
38638
|
-
const __vue_component__$
|
|
38639
|
-
render: __vue_render__$
|
|
38640
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
38641
|
-
}, __vue_inject_styles__$
|
|
38189
|
+
const __vue_component__$3 = /*#__PURE__*/normalizeComponent({
|
|
38190
|
+
render: __vue_render__$3,
|
|
38191
|
+
staticRenderFns: __vue_staticRenderFns__$3
|
|
38192
|
+
}, __vue_inject_styles__$3, __vue_script__$3, __vue_scope_id__$3, __vue_is_functional_template__$3, __vue_module_identifier__$3, false, undefined, undefined, undefined);
|
|
38642
38193
|
|
|
38643
38194
|
const sidebarVariants = cva('rq-sidebar', {
|
|
38644
38195
|
variants: {
|
|
@@ -38707,7 +38258,7 @@ const sidebarVariants = cva('rq-sidebar', {
|
|
|
38707
38258
|
//
|
|
38708
38259
|
//
|
|
38709
38260
|
|
|
38710
|
-
var script$
|
|
38261
|
+
var script$2 = {
|
|
38711
38262
|
name: 'Sidebar',
|
|
38712
38263
|
model: {
|
|
38713
38264
|
prop: 'value',
|
|
@@ -38782,10 +38333,10 @@ var script$1 = {
|
|
|
38782
38333
|
};
|
|
38783
38334
|
|
|
38784
38335
|
/* script */
|
|
38785
|
-
const __vue_script__$
|
|
38336
|
+
const __vue_script__$2 = script$2;
|
|
38786
38337
|
|
|
38787
38338
|
/* template */
|
|
38788
|
-
var __vue_render__$
|
|
38339
|
+
var __vue_render__$2 = function () {
|
|
38789
38340
|
var _vm = this;
|
|
38790
38341
|
var _h = _vm.$createElement;
|
|
38791
38342
|
var _c = _vm._self._c || _h;
|
|
@@ -38861,6 +38412,198 @@ var __vue_render__$1 = function () {
|
|
|
38861
38412
|
}, [_vm._v(_vm._s(_vm.formatBadge(item.badge)))])], 1);
|
|
38862
38413
|
})], 2)]);
|
|
38863
38414
|
};
|
|
38415
|
+
var __vue_staticRenderFns__$2 = [];
|
|
38416
|
+
__vue_render__$2._withStripped = true;
|
|
38417
|
+
|
|
38418
|
+
/* style */
|
|
38419
|
+
const __vue_inject_styles__$2 = undefined;
|
|
38420
|
+
/* scoped */
|
|
38421
|
+
const __vue_scope_id__$2 = undefined;
|
|
38422
|
+
/* module identifier */
|
|
38423
|
+
const __vue_module_identifier__$2 = undefined;
|
|
38424
|
+
/* functional template */
|
|
38425
|
+
const __vue_is_functional_template__$2 = false;
|
|
38426
|
+
/* style inject */
|
|
38427
|
+
|
|
38428
|
+
/* style inject SSR */
|
|
38429
|
+
|
|
38430
|
+
/* style inject shadow dom */
|
|
38431
|
+
|
|
38432
|
+
const __vue_component__$2 = /*#__PURE__*/normalizeComponent({
|
|
38433
|
+
render: __vue_render__$2,
|
|
38434
|
+
staticRenderFns: __vue_staticRenderFns__$2
|
|
38435
|
+
}, __vue_inject_styles__$2, __vue_script__$2, __vue_scope_id__$2, __vue_is_functional_template__$2, __vue_module_identifier__$2, false, undefined, undefined, undefined);
|
|
38436
|
+
|
|
38437
|
+
const dialogVariants = cva('rq-dialog', {
|
|
38438
|
+
variants: {},
|
|
38439
|
+
defaultVariants: {}
|
|
38440
|
+
});
|
|
38441
|
+
|
|
38442
|
+
//
|
|
38443
|
+
//
|
|
38444
|
+
//
|
|
38445
|
+
//
|
|
38446
|
+
//
|
|
38447
|
+
//
|
|
38448
|
+
//
|
|
38449
|
+
//
|
|
38450
|
+
//
|
|
38451
|
+
//
|
|
38452
|
+
//
|
|
38453
|
+
//
|
|
38454
|
+
//
|
|
38455
|
+
//
|
|
38456
|
+
//
|
|
38457
|
+
//
|
|
38458
|
+
//
|
|
38459
|
+
//
|
|
38460
|
+
//
|
|
38461
|
+
//
|
|
38462
|
+
//
|
|
38463
|
+
//
|
|
38464
|
+
//
|
|
38465
|
+
//
|
|
38466
|
+
//
|
|
38467
|
+
//
|
|
38468
|
+
//
|
|
38469
|
+
//
|
|
38470
|
+
|
|
38471
|
+
var script$1 = {
|
|
38472
|
+
name: 'Dialog',
|
|
38473
|
+
components: {
|
|
38474
|
+
Button: __vue_component__$l
|
|
38475
|
+
},
|
|
38476
|
+
props: {
|
|
38477
|
+
title: {
|
|
38478
|
+
type: String,
|
|
38479
|
+
default: ''
|
|
38480
|
+
},
|
|
38481
|
+
description: {
|
|
38482
|
+
type: String,
|
|
38483
|
+
default: ''
|
|
38484
|
+
},
|
|
38485
|
+
confirmLabel: {
|
|
38486
|
+
type: String,
|
|
38487
|
+
default: 'Confirmar'
|
|
38488
|
+
},
|
|
38489
|
+
cancelLabel: {
|
|
38490
|
+
type: String,
|
|
38491
|
+
default: 'Cancelar'
|
|
38492
|
+
},
|
|
38493
|
+
// Envuelve el diálogo en un backdrop centrado sobre el viewport.
|
|
38494
|
+
overlay: {
|
|
38495
|
+
type: Boolean,
|
|
38496
|
+
default: false
|
|
38497
|
+
},
|
|
38498
|
+
// Visibilidad del overlay (solo aplica cuando overlay = true).
|
|
38499
|
+
open: {
|
|
38500
|
+
type: Boolean,
|
|
38501
|
+
default: false
|
|
38502
|
+
},
|
|
38503
|
+
showConfirm: {
|
|
38504
|
+
type: Boolean,
|
|
38505
|
+
default: true
|
|
38506
|
+
},
|
|
38507
|
+
showCancel: {
|
|
38508
|
+
type: Boolean,
|
|
38509
|
+
default: true
|
|
38510
|
+
}
|
|
38511
|
+
},
|
|
38512
|
+
computed: {
|
|
38513
|
+
classes() {
|
|
38514
|
+
return dialogVariants();
|
|
38515
|
+
}
|
|
38516
|
+
},
|
|
38517
|
+
mounted() {
|
|
38518
|
+
if (this.overlay) document.addEventListener('keydown', this.handleKeydown);
|
|
38519
|
+
},
|
|
38520
|
+
beforeDestroy() {
|
|
38521
|
+
document.removeEventListener('keydown', this.handleKeydown);
|
|
38522
|
+
},
|
|
38523
|
+
methods: {
|
|
38524
|
+
handleKeydown(e) {
|
|
38525
|
+
if (e.key === 'Escape' && this.open) this.$emit('cancel');
|
|
38526
|
+
}
|
|
38527
|
+
}
|
|
38528
|
+
};
|
|
38529
|
+
|
|
38530
|
+
/* script */
|
|
38531
|
+
const __vue_script__$1 = script$1;
|
|
38532
|
+
|
|
38533
|
+
/* template */
|
|
38534
|
+
var __vue_render__$1 = function () {
|
|
38535
|
+
var _vm = this;
|
|
38536
|
+
var _h = _vm.$createElement;
|
|
38537
|
+
var _c = _vm._self._c || _h;
|
|
38538
|
+
return _vm.overlay ? _c("div", {
|
|
38539
|
+
class: ["rq-dialog-overlay", {
|
|
38540
|
+
"rq-dialog-overlay--open": _vm.open
|
|
38541
|
+
}]
|
|
38542
|
+
}, [_c("div", {
|
|
38543
|
+
staticClass: "rq-dialog-overlay__backdrop",
|
|
38544
|
+
on: {
|
|
38545
|
+
click: function ($event) {
|
|
38546
|
+
return _vm.$emit("cancel");
|
|
38547
|
+
}
|
|
38548
|
+
}
|
|
38549
|
+
}), _vm._v(" "), _c("div", {
|
|
38550
|
+
class: _vm.classes
|
|
38551
|
+
}, [_c("p", {
|
|
38552
|
+
staticClass: "rq-dialog__title"
|
|
38553
|
+
}, [_vm._v(_vm._s(_vm.title))]), _vm._v(" "), _c("p", {
|
|
38554
|
+
staticClass: "rq-dialog__description"
|
|
38555
|
+
}, [_vm._v(_vm._s(_vm.description))]), _vm._v(" "), _c("div", {
|
|
38556
|
+
staticClass: "rq-dialog__actions"
|
|
38557
|
+
}, [_vm.showCancel ? _c("Button", {
|
|
38558
|
+
attrs: {
|
|
38559
|
+
variant: "outline",
|
|
38560
|
+
size: "md"
|
|
38561
|
+
},
|
|
38562
|
+
on: {
|
|
38563
|
+
click: function ($event) {
|
|
38564
|
+
return _vm.$emit("cancel");
|
|
38565
|
+
}
|
|
38566
|
+
}
|
|
38567
|
+
}, [_vm._v(_vm._s(_vm.cancelLabel))]) : _vm._e(), _vm._v(" "), _vm.showConfirm ? _c("Button", {
|
|
38568
|
+
attrs: {
|
|
38569
|
+
variant: "primary",
|
|
38570
|
+
size: "md"
|
|
38571
|
+
},
|
|
38572
|
+
on: {
|
|
38573
|
+
click: function ($event) {
|
|
38574
|
+
return _vm.$emit("confirm");
|
|
38575
|
+
}
|
|
38576
|
+
}
|
|
38577
|
+
}, [_vm._v(_vm._s(_vm.confirmLabel))]) : _vm._e()], 1)])]) : _c("div", _vm._g({
|
|
38578
|
+
class: _vm.classes
|
|
38579
|
+
}, _vm.$listeners), [_c("p", {
|
|
38580
|
+
staticClass: "rq-dialog__title"
|
|
38581
|
+
}, [_vm._v(_vm._s(_vm.title))]), _vm._v(" "), _c("p", {
|
|
38582
|
+
staticClass: "rq-dialog__description"
|
|
38583
|
+
}, [_vm._v(_vm._s(_vm.description))]), _vm._v(" "), _c("div", {
|
|
38584
|
+
staticClass: "rq-dialog__actions"
|
|
38585
|
+
}, [_vm.showCancel ? _c("Button", {
|
|
38586
|
+
attrs: {
|
|
38587
|
+
variant: "outline",
|
|
38588
|
+
size: "md"
|
|
38589
|
+
},
|
|
38590
|
+
on: {
|
|
38591
|
+
click: function ($event) {
|
|
38592
|
+
return _vm.$emit("cancel");
|
|
38593
|
+
}
|
|
38594
|
+
}
|
|
38595
|
+
}, [_vm._v(_vm._s(_vm.cancelLabel))]) : _vm._e(), _vm._v(" "), _vm.showConfirm ? _c("Button", {
|
|
38596
|
+
attrs: {
|
|
38597
|
+
variant: "primary",
|
|
38598
|
+
size: "md"
|
|
38599
|
+
},
|
|
38600
|
+
on: {
|
|
38601
|
+
click: function ($event) {
|
|
38602
|
+
return _vm.$emit("confirm");
|
|
38603
|
+
}
|
|
38604
|
+
}
|
|
38605
|
+
}, [_vm._v(_vm._s(_vm.confirmLabel))]) : _vm._e()], 1)]);
|
|
38606
|
+
};
|
|
38864
38607
|
var __vue_staticRenderFns__$1 = [];
|
|
38865
38608
|
__vue_render__$1._withStripped = true;
|
|
38866
38609
|
|
|
@@ -39000,25 +38743,28 @@ const __vue_component__ = /*#__PURE__*/normalizeComponent({
|
|
|
39000
38743
|
staticRenderFns: __vue_staticRenderFns__
|
|
39001
38744
|
}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
|
|
39002
38745
|
|
|
39003
|
-
exports.Badge = __vue_component__$
|
|
39004
|
-
exports.Button = __vue_component__$
|
|
39005
|
-
exports.Checkbox = __vue_component__$
|
|
39006
|
-
exports.CheckboxGroup = __vue_component__$
|
|
39007
|
-
exports.Chip = __vue_component__$
|
|
39008
|
-
exports.DataTable = __vue_component__$
|
|
39009
|
-
exports.Dialog = __vue_component__$
|
|
38746
|
+
exports.Badge = __vue_component__$g;
|
|
38747
|
+
exports.Button = __vue_component__$l;
|
|
38748
|
+
exports.Checkbox = __vue_component__$j;
|
|
38749
|
+
exports.CheckboxGroup = __vue_component__$d;
|
|
38750
|
+
exports.Chip = __vue_component__$h;
|
|
38751
|
+
exports.DataTable = __vue_component__$3;
|
|
38752
|
+
exports.Dialog = __vue_component__$1;
|
|
39010
38753
|
exports.Drawer = __vue_component__;
|
|
39011
|
-
exports.Input = __vue_component__$
|
|
39012
|
-
exports.
|
|
39013
|
-
exports.
|
|
39014
|
-
exports.
|
|
39015
|
-
exports.
|
|
39016
|
-
exports.
|
|
39017
|
-
exports.
|
|
39018
|
-
exports.
|
|
39019
|
-
exports.
|
|
39020
|
-
exports.
|
|
39021
|
-
exports.
|
|
39022
|
-
exports.
|
|
39023
|
-
exports.
|
|
39024
|
-
exports.
|
|
38754
|
+
exports.Input = __vue_component__$m;
|
|
38755
|
+
exports.PageSizeSelect = __vue_component__$6;
|
|
38756
|
+
exports.Pagination = __vue_component__$a;
|
|
38757
|
+
exports.RichCheckboxGroup = __vue_component__$e;
|
|
38758
|
+
exports.RichSwitchGroup = __vue_component__$b;
|
|
38759
|
+
exports.RqButton = __vue_component__$o;
|
|
38760
|
+
exports.RqInput = __vue_component__$n;
|
|
38761
|
+
exports.SearchInput = __vue_component__$7;
|
|
38762
|
+
exports.SelectionBar = __vue_component__$5;
|
|
38763
|
+
exports.Sidebar = __vue_component__$2;
|
|
38764
|
+
exports.Switch = __vue_component__$i;
|
|
38765
|
+
exports.SwitchGroup = __vue_component__$c;
|
|
38766
|
+
exports.Table = __vue_component__$4;
|
|
38767
|
+
exports.Tabs = __vue_component__$9;
|
|
38768
|
+
exports.Tooltip = __vue_component__$f;
|
|
38769
|
+
exports.Topbar = __vue_component__$8;
|
|
38770
|
+
exports.Typography = __vue_component__$k;
|