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