@regcheq/ui-vue-2 1.12.0 → 1.13.0
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 +30 -13
- package/dist/index.esm.js +568 -164
- package/dist/index.js +578 -173
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -31459,7 +31459,7 @@ const buttonVariants$1 = cva('rq-button-legacy', {
|
|
|
31459
31459
|
//
|
|
31460
31460
|
//
|
|
31461
31461
|
|
|
31462
|
-
var script$
|
|
31462
|
+
var script$q = {
|
|
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__$q = script$q;
|
|
31597
31597
|
|
|
31598
31598
|
/* template */
|
|
31599
|
-
var __vue_render__$
|
|
31599
|
+
var __vue_render__$q = 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__$p = function () {
|
|
|
31622
31622
|
}
|
|
31623
31623
|
}) : _vm._e()], 2);
|
|
31624
31624
|
};
|
|
31625
|
-
var __vue_staticRenderFns__$
|
|
31626
|
-
__vue_render__$
|
|
31625
|
+
var __vue_staticRenderFns__$q = [];
|
|
31626
|
+
__vue_render__$q._withStripped = true;
|
|
31627
31627
|
|
|
31628
31628
|
/* style */
|
|
31629
|
-
const __vue_inject_styles__$
|
|
31629
|
+
const __vue_inject_styles__$q = undefined;
|
|
31630
31630
|
/* scoped */
|
|
31631
|
-
const __vue_scope_id__$
|
|
31631
|
+
const __vue_scope_id__$q = undefined;
|
|
31632
31632
|
/* module identifier */
|
|
31633
|
-
const __vue_module_identifier__$
|
|
31633
|
+
const __vue_module_identifier__$q = undefined;
|
|
31634
31634
|
/* functional template */
|
|
31635
|
-
const __vue_is_functional_template__$
|
|
31635
|
+
const __vue_is_functional_template__$q = 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__$q = /*#__PURE__*/normalizeComponent({
|
|
31643
|
+
render: __vue_render__$q,
|
|
31644
|
+
staticRenderFns: __vue_staticRenderFns__$q
|
|
31645
|
+
}, __vue_inject_styles__$q, __vue_script__$q, __vue_scope_id__$q, __vue_is_functional_template__$q, __vue_module_identifier__$q, 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$p = {
|
|
31699
31699
|
name: 'RqInput',
|
|
31700
31700
|
inheritAttrs: false,
|
|
31701
31701
|
props: {
|
|
@@ -31789,10 +31789,10 @@ var script$o = {
|
|
|
31789
31789
|
};
|
|
31790
31790
|
|
|
31791
31791
|
/* script */
|
|
31792
|
-
const __vue_script__$
|
|
31792
|
+
const __vue_script__$p = script$p;
|
|
31793
31793
|
|
|
31794
31794
|
/* template */
|
|
31795
|
-
var __vue_render__$
|
|
31795
|
+
var __vue_render__$p = 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__$o = 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__$p = [];
|
|
31851
|
+
__vue_render__$p._withStripped = true;
|
|
31852
31852
|
|
|
31853
31853
|
/* style */
|
|
31854
|
-
const __vue_inject_styles__$
|
|
31854
|
+
const __vue_inject_styles__$p = undefined;
|
|
31855
31855
|
/* scoped */
|
|
31856
|
-
const __vue_scope_id__$
|
|
31856
|
+
const __vue_scope_id__$p = undefined;
|
|
31857
31857
|
/* module identifier */
|
|
31858
|
-
const __vue_module_identifier__$
|
|
31858
|
+
const __vue_module_identifier__$p = undefined;
|
|
31859
31859
|
/* functional template */
|
|
31860
|
-
const __vue_is_functional_template__$
|
|
31860
|
+
const __vue_is_functional_template__$p = 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__$p = /*#__PURE__*/normalizeComponent({
|
|
31868
|
+
render: __vue_render__$p,
|
|
31869
|
+
staticRenderFns: __vue_staticRenderFns__$p
|
|
31870
|
+
}, __vue_inject_styles__$p, __vue_script__$p, __vue_scope_id__$p, __vue_is_functional_template__$p, __vue_module_identifier__$p, 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$o = {
|
|
31923
31923
|
name: 'Input',
|
|
31924
31924
|
inheritAttrs: false,
|
|
31925
31925
|
props: {
|
|
@@ -31992,10 +31992,10 @@ var script$n = {
|
|
|
31992
31992
|
};
|
|
31993
31993
|
|
|
31994
31994
|
/* script */
|
|
31995
|
-
const __vue_script__$
|
|
31995
|
+
const __vue_script__$o = script$o;
|
|
31996
31996
|
|
|
31997
31997
|
/* template */
|
|
31998
|
-
var __vue_render__$
|
|
31998
|
+
var __vue_render__$o = 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__$n = function () {
|
|
|
32031
32031
|
}
|
|
32032
32032
|
}) : _vm._e()], 1);
|
|
32033
32033
|
};
|
|
32034
|
-
var __vue_staticRenderFns__$
|
|
32035
|
-
__vue_render__$
|
|
32034
|
+
var __vue_staticRenderFns__$o = [];
|
|
32035
|
+
__vue_render__$o._withStripped = true;
|
|
32036
32036
|
|
|
32037
32037
|
/* style */
|
|
32038
|
-
const __vue_inject_styles__$
|
|
32038
|
+
const __vue_inject_styles__$o = undefined;
|
|
32039
32039
|
/* scoped */
|
|
32040
|
-
const __vue_scope_id__$
|
|
32040
|
+
const __vue_scope_id__$o = undefined;
|
|
32041
32041
|
/* module identifier */
|
|
32042
|
-
const __vue_module_identifier__$
|
|
32042
|
+
const __vue_module_identifier__$o = undefined;
|
|
32043
32043
|
/* functional template */
|
|
32044
|
-
const __vue_is_functional_template__$
|
|
32044
|
+
const __vue_is_functional_template__$o = 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__$o = /*#__PURE__*/normalizeComponent({
|
|
32052
|
+
render: __vue_render__$o,
|
|
32053
|
+
staticRenderFns: __vue_staticRenderFns__$o
|
|
32054
|
+
}, __vue_inject_styles__$o, __vue_script__$o, __vue_scope_id__$o, __vue_is_functional_template__$o, __vue_module_identifier__$o, 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$n = {
|
|
32098
32098
|
name: 'Button',
|
|
32099
32099
|
props: {
|
|
32100
32100
|
variant: {
|
|
@@ -32160,10 +32160,10 @@ var script$m = {
|
|
|
32160
32160
|
};
|
|
32161
32161
|
|
|
32162
32162
|
/* script */
|
|
32163
|
-
const __vue_script__$
|
|
32163
|
+
const __vue_script__$n = script$n;
|
|
32164
32164
|
|
|
32165
32165
|
/* template */
|
|
32166
|
-
var __vue_render__$
|
|
32166
|
+
var __vue_render__$n = 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__$m = function () {
|
|
|
32190
32190
|
}
|
|
32191
32191
|
}) : _vm._e()], 2);
|
|
32192
32192
|
};
|
|
32193
|
-
var __vue_staticRenderFns__$
|
|
32194
|
-
__vue_render__$
|
|
32193
|
+
var __vue_staticRenderFns__$n = [];
|
|
32194
|
+
__vue_render__$n._withStripped = true;
|
|
32195
32195
|
|
|
32196
32196
|
/* style */
|
|
32197
|
-
const __vue_inject_styles__$
|
|
32197
|
+
const __vue_inject_styles__$n = undefined;
|
|
32198
32198
|
/* scoped */
|
|
32199
|
-
const __vue_scope_id__$
|
|
32199
|
+
const __vue_scope_id__$n = undefined;
|
|
32200
32200
|
/* module identifier */
|
|
32201
|
-
const __vue_module_identifier__$
|
|
32201
|
+
const __vue_module_identifier__$n = undefined;
|
|
32202
32202
|
/* functional template */
|
|
32203
|
-
const __vue_is_functional_template__$
|
|
32203
|
+
const __vue_is_functional_template__$n = 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__$n = /*#__PURE__*/normalizeComponent({
|
|
32211
|
+
render: __vue_render__$n,
|
|
32212
|
+
staticRenderFns: __vue_staticRenderFns__$n
|
|
32213
|
+
}, __vue_inject_styles__$n, __vue_script__$n, __vue_scope_id__$n, __vue_is_functional_template__$n, __vue_module_identifier__$n, 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$m = {
|
|
32288
32288
|
name: 'Typography',
|
|
32289
32289
|
props: {
|
|
32290
32290
|
variant: {
|
|
@@ -32318,10 +32318,10 @@ var script$l = {
|
|
|
32318
32318
|
};
|
|
32319
32319
|
|
|
32320
32320
|
/* script */
|
|
32321
|
-
const __vue_script__$
|
|
32321
|
+
const __vue_script__$m = script$m;
|
|
32322
32322
|
|
|
32323
32323
|
/* template */
|
|
32324
|
-
var __vue_render__$
|
|
32324
|
+
var __vue_render__$m = 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__$l = 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__$m = [];
|
|
32335
|
+
__vue_render__$m._withStripped = true;
|
|
32336
32336
|
|
|
32337
32337
|
/* style */
|
|
32338
|
-
const __vue_inject_styles__$
|
|
32338
|
+
const __vue_inject_styles__$m = undefined;
|
|
32339
32339
|
/* scoped */
|
|
32340
|
-
const __vue_scope_id__$
|
|
32340
|
+
const __vue_scope_id__$m = undefined;
|
|
32341
32341
|
/* module identifier */
|
|
32342
|
-
const __vue_module_identifier__$
|
|
32342
|
+
const __vue_module_identifier__$m = undefined;
|
|
32343
32343
|
/* functional template */
|
|
32344
|
-
const __vue_is_functional_template__$
|
|
32344
|
+
const __vue_is_functional_template__$m = 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__$m = /*#__PURE__*/normalizeComponent({
|
|
32352
|
+
render: __vue_render__$m,
|
|
32353
|
+
staticRenderFns: __vue_staticRenderFns__$m
|
|
32354
|
+
}, __vue_inject_styles__$m, __vue_script__$m, __vue_scope_id__$m, __vue_is_functional_template__$m, __vue_module_identifier__$m, 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$l = {
|
|
32386
32386
|
name: 'Checkbox',
|
|
32387
32387
|
model: {
|
|
32388
32388
|
prop: 'checked',
|
|
@@ -32432,10 +32432,10 @@ var script$k = {
|
|
|
32432
32432
|
};
|
|
32433
32433
|
|
|
32434
32434
|
/* script */
|
|
32435
|
-
const __vue_script__$
|
|
32435
|
+
const __vue_script__$l = script$l;
|
|
32436
32436
|
|
|
32437
32437
|
/* template */
|
|
32438
|
-
var __vue_render__$
|
|
32438
|
+
var __vue_render__$l = 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__$k = function () {
|
|
|
32471
32471
|
}
|
|
32472
32472
|
}) : _vm._e()], 1);
|
|
32473
32473
|
};
|
|
32474
|
-
var __vue_staticRenderFns__$
|
|
32475
|
-
__vue_render__$
|
|
32474
|
+
var __vue_staticRenderFns__$l = [];
|
|
32475
|
+
__vue_render__$l._withStripped = true;
|
|
32476
32476
|
|
|
32477
32477
|
/* style */
|
|
32478
|
-
const __vue_inject_styles__$
|
|
32478
|
+
const __vue_inject_styles__$l = undefined;
|
|
32479
32479
|
/* scoped */
|
|
32480
|
-
const __vue_scope_id__$
|
|
32480
|
+
const __vue_scope_id__$l = undefined;
|
|
32481
32481
|
/* module identifier */
|
|
32482
|
-
const __vue_module_identifier__$
|
|
32482
|
+
const __vue_module_identifier__$l = undefined;
|
|
32483
32483
|
/* functional template */
|
|
32484
|
-
const __vue_is_functional_template__$
|
|
32484
|
+
const __vue_is_functional_template__$l = 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__$l = /*#__PURE__*/normalizeComponent({
|
|
32492
|
+
render: __vue_render__$l,
|
|
32493
|
+
staticRenderFns: __vue_staticRenderFns__$l
|
|
32494
|
+
}, __vue_inject_styles__$l, __vue_script__$l, __vue_scope_id__$l, __vue_is_functional_template__$l, __vue_module_identifier__$l, 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$k = {
|
|
32515
32515
|
name: 'RqSwitch',
|
|
32516
32516
|
model: {
|
|
32517
32517
|
prop: 'checked',
|
|
@@ -32538,10 +32538,10 @@ var script$j = {
|
|
|
32538
32538
|
};
|
|
32539
32539
|
|
|
32540
32540
|
/* script */
|
|
32541
|
-
const __vue_script__$
|
|
32541
|
+
const __vue_script__$k = script$k;
|
|
32542
32542
|
|
|
32543
32543
|
/* template */
|
|
32544
|
-
var __vue_render__$
|
|
32544
|
+
var __vue_render__$k = 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__$j = function () {
|
|
|
32569
32569
|
staticClass: "rq-switch__thumb"
|
|
32570
32570
|
})]);
|
|
32571
32571
|
};
|
|
32572
|
-
var __vue_staticRenderFns__$
|
|
32573
|
-
__vue_render__$
|
|
32572
|
+
var __vue_staticRenderFns__$k = [];
|
|
32573
|
+
__vue_render__$k._withStripped = true;
|
|
32574
32574
|
|
|
32575
32575
|
/* style */
|
|
32576
|
-
const __vue_inject_styles__$
|
|
32576
|
+
const __vue_inject_styles__$k = undefined;
|
|
32577
32577
|
/* scoped */
|
|
32578
|
-
const __vue_scope_id__$
|
|
32578
|
+
const __vue_scope_id__$k = undefined;
|
|
32579
32579
|
/* module identifier */
|
|
32580
|
-
const __vue_module_identifier__$
|
|
32580
|
+
const __vue_module_identifier__$k = undefined;
|
|
32581
32581
|
/* functional template */
|
|
32582
|
-
const __vue_is_functional_template__$
|
|
32582
|
+
const __vue_is_functional_template__$k = 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__$k = /*#__PURE__*/normalizeComponent({
|
|
32590
|
+
render: __vue_render__$k,
|
|
32591
|
+
staticRenderFns: __vue_staticRenderFns__$k
|
|
32592
|
+
}, __vue_inject_styles__$k, __vue_script__$k, __vue_scope_id__$k, __vue_is_functional_template__$k, __vue_module_identifier__$k, 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$j = {
|
|
32616
32616
|
name: 'Chip',
|
|
32617
32617
|
props: {
|
|
32618
32618
|
label: {
|
|
@@ -32641,10 +32641,10 @@ var script$i = {
|
|
|
32641
32641
|
};
|
|
32642
32642
|
|
|
32643
32643
|
/* script */
|
|
32644
|
-
const __vue_script__$
|
|
32644
|
+
const __vue_script__$j = script$j;
|
|
32645
32645
|
|
|
32646
32646
|
/* template */
|
|
32647
|
-
var __vue_render__$
|
|
32647
|
+
var __vue_render__$j = 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__$i = function () {
|
|
|
32669
32669
|
}
|
|
32670
32670
|
})], 1) : _vm._e()]);
|
|
32671
32671
|
};
|
|
32672
|
-
var __vue_staticRenderFns__$
|
|
32673
|
-
__vue_render__$
|
|
32672
|
+
var __vue_staticRenderFns__$j = [];
|
|
32673
|
+
__vue_render__$j._withStripped = true;
|
|
32674
32674
|
|
|
32675
32675
|
/* style */
|
|
32676
|
-
const __vue_inject_styles__$
|
|
32676
|
+
const __vue_inject_styles__$j = undefined;
|
|
32677
32677
|
/* scoped */
|
|
32678
|
-
const __vue_scope_id__$
|
|
32678
|
+
const __vue_scope_id__$j = undefined;
|
|
32679
32679
|
/* module identifier */
|
|
32680
|
-
const __vue_module_identifier__$
|
|
32680
|
+
const __vue_module_identifier__$j = undefined;
|
|
32681
32681
|
/* functional template */
|
|
32682
|
-
const __vue_is_functional_template__$
|
|
32682
|
+
const __vue_is_functional_template__$j = 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__$j = /*#__PURE__*/normalizeComponent({
|
|
32690
|
+
render: __vue_render__$j,
|
|
32691
|
+
staticRenderFns: __vue_staticRenderFns__$j
|
|
32692
|
+
}, __vue_inject_styles__$j, __vue_script__$j, __vue_scope_id__$j, __vue_is_functional_template__$j, __vue_module_identifier__$j, 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$i = {
|
|
32724
32724
|
name: 'Badge',
|
|
32725
32725
|
inheritAttrs: false,
|
|
32726
32726
|
props: {
|
|
@@ -32780,10 +32780,10 @@ var script$h = {
|
|
|
32780
32780
|
};
|
|
32781
32781
|
|
|
32782
32782
|
/* script */
|
|
32783
|
-
const __vue_script__$
|
|
32783
|
+
const __vue_script__$i = script$i;
|
|
32784
32784
|
|
|
32785
32785
|
/* template */
|
|
32786
|
-
var __vue_render__$
|
|
32786
|
+
var __vue_render__$i = function () {
|
|
32787
32787
|
var _vm = this;
|
|
32788
32788
|
var _h = _vm.$createElement;
|
|
32789
32789
|
var _c = _vm._self._c || _h;
|
|
@@ -32792,27 +32792,27 @@ var __vue_render__$h = function () {
|
|
|
32792
32792
|
style: _vm.inlineStyle
|
|
32793
32793
|
}, "span", _vm.$attrs, false), _vm.$listeners), [_vm._t("left"), _vm._v(" "), _vm._t("default"), _vm._v(" "), _vm._t("right")], 2);
|
|
32794
32794
|
};
|
|
32795
|
-
var __vue_staticRenderFns__$
|
|
32796
|
-
__vue_render__$
|
|
32795
|
+
var __vue_staticRenderFns__$i = [];
|
|
32796
|
+
__vue_render__$i._withStripped = true;
|
|
32797
32797
|
|
|
32798
32798
|
/* style */
|
|
32799
|
-
const __vue_inject_styles__$
|
|
32799
|
+
const __vue_inject_styles__$i = undefined;
|
|
32800
32800
|
/* scoped */
|
|
32801
|
-
const __vue_scope_id__$
|
|
32801
|
+
const __vue_scope_id__$i = undefined;
|
|
32802
32802
|
/* module identifier */
|
|
32803
|
-
const __vue_module_identifier__$
|
|
32803
|
+
const __vue_module_identifier__$i = undefined;
|
|
32804
32804
|
/* functional template */
|
|
32805
|
-
const __vue_is_functional_template__$
|
|
32805
|
+
const __vue_is_functional_template__$i = false;
|
|
32806
32806
|
/* style inject */
|
|
32807
32807
|
|
|
32808
32808
|
/* style inject SSR */
|
|
32809
32809
|
|
|
32810
32810
|
/* style inject shadow dom */
|
|
32811
32811
|
|
|
32812
|
-
const __vue_component__$
|
|
32813
|
-
render: __vue_render__$
|
|
32814
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
32815
|
-
}, __vue_inject_styles__$
|
|
32812
|
+
const __vue_component__$i = /*#__PURE__*/normalizeComponent({
|
|
32813
|
+
render: __vue_render__$i,
|
|
32814
|
+
staticRenderFns: __vue_staticRenderFns__$i
|
|
32815
|
+
}, __vue_inject_styles__$i, __vue_script__$i, __vue_scope_id__$i, __vue_is_functional_template__$i, __vue_module_identifier__$i, false, undefined, undefined, undefined);
|
|
32816
32816
|
|
|
32817
32817
|
const iconVariants = cva('rq-icon', {
|
|
32818
32818
|
variants: {
|
|
@@ -32846,7 +32846,7 @@ const iconVariants = cva('rq-icon', {
|
|
|
32846
32846
|
//
|
|
32847
32847
|
//
|
|
32848
32848
|
|
|
32849
|
-
var script$
|
|
32849
|
+
var script$h = {
|
|
32850
32850
|
name: 'Icon',
|
|
32851
32851
|
inheritAttrs: false,
|
|
32852
32852
|
props: {
|
|
@@ -32898,10 +32898,10 @@ var script$g = {
|
|
|
32898
32898
|
};
|
|
32899
32899
|
|
|
32900
32900
|
/* script */
|
|
32901
|
-
const __vue_script__$
|
|
32901
|
+
const __vue_script__$h = script$h;
|
|
32902
32902
|
|
|
32903
32903
|
/* template */
|
|
32904
|
-
var __vue_render__$
|
|
32904
|
+
var __vue_render__$h = function () {
|
|
32905
32905
|
var _vm = this;
|
|
32906
32906
|
var _h = _vm.$createElement;
|
|
32907
32907
|
var _c = _vm._self._c || _h;
|
|
@@ -32910,6 +32910,70 @@ var __vue_render__$g = function () {
|
|
|
32910
32910
|
style: _vm.fontVariationStyle
|
|
32911
32911
|
}, "span", _vm.mergedAttrs, false), _vm.$listeners), [_vm._v(_vm._s(_vm.name))]);
|
|
32912
32912
|
};
|
|
32913
|
+
var __vue_staticRenderFns__$h = [];
|
|
32914
|
+
__vue_render__$h._withStripped = true;
|
|
32915
|
+
|
|
32916
|
+
/* style */
|
|
32917
|
+
const __vue_inject_styles__$h = undefined;
|
|
32918
|
+
/* scoped */
|
|
32919
|
+
const __vue_scope_id__$h = undefined;
|
|
32920
|
+
/* module identifier */
|
|
32921
|
+
const __vue_module_identifier__$h = undefined;
|
|
32922
|
+
/* functional template */
|
|
32923
|
+
const __vue_is_functional_template__$h = false;
|
|
32924
|
+
/* style inject */
|
|
32925
|
+
|
|
32926
|
+
/* style inject SSR */
|
|
32927
|
+
|
|
32928
|
+
/* style inject shadow dom */
|
|
32929
|
+
|
|
32930
|
+
const __vue_component__$h = /*#__PURE__*/normalizeComponent({
|
|
32931
|
+
render: __vue_render__$h,
|
|
32932
|
+
staticRenderFns: __vue_staticRenderFns__$h
|
|
32933
|
+
}, __vue_inject_styles__$h, __vue_script__$h, __vue_scope_id__$h, __vue_is_functional_template__$h, __vue_module_identifier__$h, false, undefined, undefined, undefined);
|
|
32934
|
+
|
|
32935
|
+
const skeletonVariants = cva('rq-skeleton');
|
|
32936
|
+
|
|
32937
|
+
//
|
|
32938
|
+
//
|
|
32939
|
+
//
|
|
32940
|
+
//
|
|
32941
|
+
|
|
32942
|
+
var script$g = {
|
|
32943
|
+
name: 'Skeleton',
|
|
32944
|
+
props: {
|
|
32945
|
+
width: {
|
|
32946
|
+
type: String,
|
|
32947
|
+
default: '100%'
|
|
32948
|
+
},
|
|
32949
|
+
height: {
|
|
32950
|
+
type: String,
|
|
32951
|
+
default: '16px'
|
|
32952
|
+
}
|
|
32953
|
+
},
|
|
32954
|
+
computed: {
|
|
32955
|
+
classes() {
|
|
32956
|
+
return skeletonVariants();
|
|
32957
|
+
}
|
|
32958
|
+
}
|
|
32959
|
+
};
|
|
32960
|
+
|
|
32961
|
+
/* script */
|
|
32962
|
+
const __vue_script__$g = script$g;
|
|
32963
|
+
|
|
32964
|
+
/* template */
|
|
32965
|
+
var __vue_render__$g = function () {
|
|
32966
|
+
var _vm = this;
|
|
32967
|
+
var _h = _vm.$createElement;
|
|
32968
|
+
var _c = _vm._self._c || _h;
|
|
32969
|
+
return _c("span", _vm._g({
|
|
32970
|
+
class: _vm.classes,
|
|
32971
|
+
style: {
|
|
32972
|
+
width: _vm.width,
|
|
32973
|
+
height: _vm.height
|
|
32974
|
+
}
|
|
32975
|
+
}, _vm.$listeners));
|
|
32976
|
+
};
|
|
32913
32977
|
var __vue_staticRenderFns__$g = [];
|
|
32914
32978
|
__vue_render__$g._withStripped = true;
|
|
32915
32979
|
|
|
@@ -32959,7 +33023,24 @@ const tooltipVariants = cva('rq-tooltip', {
|
|
|
32959
33023
|
//
|
|
32960
33024
|
//
|
|
32961
33025
|
//
|
|
33026
|
+
//
|
|
33027
|
+
//
|
|
33028
|
+
//
|
|
33029
|
+
//
|
|
33030
|
+
//
|
|
33031
|
+
//
|
|
33032
|
+
//
|
|
33033
|
+
//
|
|
33034
|
+
//
|
|
33035
|
+
//
|
|
33036
|
+
//
|
|
33037
|
+
//
|
|
33038
|
+
//
|
|
32962
33039
|
|
|
33040
|
+
|
|
33041
|
+
// Separación entre el trigger y la burbuja, en px. Igual al gap que antes
|
|
33042
|
+
// definía el CSS con calc(100% + 8px).
|
|
33043
|
+
const GAP = 8;
|
|
32963
33044
|
var script$f = {
|
|
32964
33045
|
name: 'Tooltip',
|
|
32965
33046
|
props: {
|
|
@@ -32978,12 +33059,93 @@ var script$f = {
|
|
|
32978
33059
|
default: ''
|
|
32979
33060
|
}
|
|
32980
33061
|
},
|
|
33062
|
+
data() {
|
|
33063
|
+
return {
|
|
33064
|
+
visible: false,
|
|
33065
|
+
coords: null
|
|
33066
|
+
};
|
|
33067
|
+
},
|
|
32981
33068
|
computed: {
|
|
32982
33069
|
classes() {
|
|
32983
33070
|
return tooltipVariants({
|
|
32984
33071
|
side: this.side,
|
|
32985
33072
|
textAlign: this.textAlign
|
|
32986
33073
|
});
|
|
33074
|
+
},
|
|
33075
|
+
// position: fixed lo ancla al viewport, así ningún ancestro con overflow
|
|
33076
|
+
// (celda de tabla, panel con scroll, drawer) puede recortarlo. Además deja
|
|
33077
|
+
// de aportar al área scrolleable del contenedor, que con `absolute`
|
|
33078
|
+
// producía scrollbars horizontales aunque el tooltip estuviera oculto.
|
|
33079
|
+
style() {
|
|
33080
|
+
const base = {
|
|
33081
|
+
position: 'fixed'
|
|
33082
|
+
};
|
|
33083
|
+
if (!this.coords) return {
|
|
33084
|
+
...base,
|
|
33085
|
+
top: '-9999px',
|
|
33086
|
+
left: '-9999px'
|
|
33087
|
+
};
|
|
33088
|
+
return {
|
|
33089
|
+
...base,
|
|
33090
|
+
top: `${this.coords.top}px`,
|
|
33091
|
+
left: `${this.coords.left}px`
|
|
33092
|
+
};
|
|
33093
|
+
}
|
|
33094
|
+
},
|
|
33095
|
+
beforeDestroy() {
|
|
33096
|
+
this.unbindReposition();
|
|
33097
|
+
},
|
|
33098
|
+
methods: {
|
|
33099
|
+
show() {
|
|
33100
|
+
this.updatePosition();
|
|
33101
|
+
this.visible = true;
|
|
33102
|
+
this.bindReposition();
|
|
33103
|
+
},
|
|
33104
|
+
hide() {
|
|
33105
|
+
this.visible = false;
|
|
33106
|
+
this.unbindReposition();
|
|
33107
|
+
},
|
|
33108
|
+
// Al estar fijo al viewport, el tooltip no sigue al trigger cuando la
|
|
33109
|
+
// página o un contenedor interno scrollea: se recalcula mientras se ve.
|
|
33110
|
+
bindReposition() {
|
|
33111
|
+
if (this._reposition) return;
|
|
33112
|
+
this._reposition = () => this.updatePosition();
|
|
33113
|
+
window.addEventListener('scroll', this._reposition, true);
|
|
33114
|
+
window.addEventListener('resize', this._reposition);
|
|
33115
|
+
},
|
|
33116
|
+
unbindReposition() {
|
|
33117
|
+
if (!this._reposition) return;
|
|
33118
|
+
window.removeEventListener('scroll', this._reposition, true);
|
|
33119
|
+
window.removeEventListener('resize', this._reposition);
|
|
33120
|
+
this._reposition = null;
|
|
33121
|
+
},
|
|
33122
|
+
updatePosition() {
|
|
33123
|
+
const trigger = this.$el;
|
|
33124
|
+
const tooltip = this.$refs.tooltip;
|
|
33125
|
+
if (!trigger || !tooltip) return;
|
|
33126
|
+
const t = trigger.getBoundingClientRect();
|
|
33127
|
+
const b = tooltip.getBoundingClientRect();
|
|
33128
|
+
const centerX = t.left + t.width / 2;
|
|
33129
|
+
const centerY = t.top + t.height / 2;
|
|
33130
|
+
const porLado = {
|
|
33131
|
+
top: {
|
|
33132
|
+
top: t.top - b.height - GAP,
|
|
33133
|
+
left: centerX
|
|
33134
|
+
},
|
|
33135
|
+
bottom: {
|
|
33136
|
+
top: t.bottom + GAP,
|
|
33137
|
+
left: centerX
|
|
33138
|
+
},
|
|
33139
|
+
left: {
|
|
33140
|
+
top: centerY,
|
|
33141
|
+
left: t.left - b.width - GAP
|
|
33142
|
+
},
|
|
33143
|
+
right: {
|
|
33144
|
+
top: centerY,
|
|
33145
|
+
left: t.right + GAP
|
|
33146
|
+
}
|
|
33147
|
+
};
|
|
33148
|
+
this.coords = porLado[this.side] || porLado.top;
|
|
32987
33149
|
}
|
|
32988
33150
|
}
|
|
32989
33151
|
};
|
|
@@ -32997,10 +33159,20 @@ var __vue_render__$f = function () {
|
|
|
32997
33159
|
var _h = _vm.$createElement;
|
|
32998
33160
|
var _c = _vm._self._c || _h;
|
|
32999
33161
|
return _c("div", _vm._g({
|
|
33000
|
-
staticClass: "rq-tooltip-wrapper"
|
|
33162
|
+
staticClass: "rq-tooltip-wrapper",
|
|
33163
|
+
on: {
|
|
33164
|
+
mouseenter: _vm.show,
|
|
33165
|
+
mouseleave: _vm.hide,
|
|
33166
|
+
focusin: _vm.show,
|
|
33167
|
+
focusout: _vm.hide
|
|
33168
|
+
}
|
|
33001
33169
|
}, _vm.$listeners), [_vm._t("default"), _vm._v(" "), _c("div", {
|
|
33002
|
-
|
|
33003
|
-
|
|
33170
|
+
ref: "tooltip",
|
|
33171
|
+
class: [_vm.classes, {
|
|
33172
|
+
"rq-tooltip--visible": _vm.visible
|
|
33173
|
+
}],
|
|
33174
|
+
style: _vm.style
|
|
33175
|
+
}, [_vm._v("\n " + _vm._s(_vm.text) + "\n ")])], 2);
|
|
33004
33176
|
};
|
|
33005
33177
|
var __vue_staticRenderFns__$f = [];
|
|
33006
33178
|
__vue_render__$f._withStripped = true;
|
|
@@ -33071,7 +33243,7 @@ const groupMixin = {
|
|
|
33071
33243
|
var script$e = {
|
|
33072
33244
|
name: 'RichCheckboxGroup',
|
|
33073
33245
|
components: {
|
|
33074
|
-
Checkbox: __vue_component__$
|
|
33246
|
+
Checkbox: __vue_component__$l
|
|
33075
33247
|
},
|
|
33076
33248
|
mixins: [groupMixin],
|
|
33077
33249
|
props: {
|
|
@@ -33185,7 +33357,7 @@ const checkboxGroupVariants = cva('rq-checkbox-group', {
|
|
|
33185
33357
|
var script$d = {
|
|
33186
33358
|
name: 'CheckboxGroup',
|
|
33187
33359
|
components: {
|
|
33188
|
-
Checkbox: __vue_component__$
|
|
33360
|
+
Checkbox: __vue_component__$l
|
|
33189
33361
|
},
|
|
33190
33362
|
mixins: [groupMixin],
|
|
33191
33363
|
props: {
|
|
@@ -33294,7 +33466,7 @@ const switchGroupVariants = cva('rq-switch-group', {
|
|
|
33294
33466
|
var script$c = {
|
|
33295
33467
|
name: 'SwitchGroup',
|
|
33296
33468
|
components: {
|
|
33297
|
-
RqSwitch: __vue_component__$
|
|
33469
|
+
RqSwitch: __vue_component__$k
|
|
33298
33470
|
},
|
|
33299
33471
|
mixins: [groupMixin],
|
|
33300
33472
|
props: {
|
|
@@ -33399,7 +33571,7 @@ const richSwitchGroupVariants = cva('rq-rich-switch-group');
|
|
|
33399
33571
|
var script$b = {
|
|
33400
33572
|
name: 'RichSwitchGroup',
|
|
33401
33573
|
components: {
|
|
33402
|
-
RqSwitch: __vue_component__$
|
|
33574
|
+
RqSwitch: __vue_component__$k
|
|
33403
33575
|
},
|
|
33404
33576
|
mixins: [groupMixin],
|
|
33405
33577
|
props: {
|
|
@@ -34115,8 +34287,8 @@ const searchInputVariants = cva('rq-search-input', {
|
|
|
34115
34287
|
var script$7 = {
|
|
34116
34288
|
name: 'SearchInput',
|
|
34117
34289
|
components: {
|
|
34118
|
-
Input: __vue_component__$
|
|
34119
|
-
Button: __vue_component__$
|
|
34290
|
+
Input: __vue_component__$o,
|
|
34291
|
+
Button: __vue_component__$n,
|
|
34120
34292
|
X
|
|
34121
34293
|
},
|
|
34122
34294
|
props: {
|
|
@@ -34357,7 +34529,7 @@ const selectionBarVariants = cva('rq-selection-bar', {
|
|
|
34357
34529
|
var script$5 = {
|
|
34358
34530
|
name: 'SelectionBar',
|
|
34359
34531
|
components: {
|
|
34360
|
-
Button: __vue_component__$
|
|
34532
|
+
Button: __vue_component__$n
|
|
34361
34533
|
},
|
|
34362
34534
|
props: {
|
|
34363
34535
|
count: {
|
|
@@ -37488,6 +37660,19 @@ function useTable(props, emit) {
|
|
|
37488
37660
|
return offsets;
|
|
37489
37661
|
});
|
|
37490
37662
|
|
|
37663
|
+
// Ancho total del área sticky (expand + select + columnas fijas): es el
|
|
37664
|
+
// punto real donde termina la zona siempre-visible y empieza el contenido
|
|
37665
|
+
// scrolleable, sin importar cuánto se haya scrolleado horizontalmente.
|
|
37666
|
+
const pinnedAreaWidth = computed(() => {
|
|
37667
|
+
const left = columnPinning.value.left || [];
|
|
37668
|
+
let total = (props.expandable ? props.expandColWidth || 40 : 0) + (props.selectable ? 40 : 0);
|
|
37669
|
+
left.forEach(key => {
|
|
37670
|
+
const col = props.columns.find(c => c.key === key);
|
|
37671
|
+
total += col?.width || 150;
|
|
37672
|
+
});
|
|
37673
|
+
return total;
|
|
37674
|
+
});
|
|
37675
|
+
|
|
37491
37676
|
// --- Handlers de column pinning ---
|
|
37492
37677
|
function togglePin(columnKey) {
|
|
37493
37678
|
const left = [...(columnPinning.value.left || [])];
|
|
@@ -37583,6 +37768,7 @@ function useTable(props, emit) {
|
|
|
37583
37768
|
headerGroups,
|
|
37584
37769
|
tableRows,
|
|
37585
37770
|
pinnedLeftWidths,
|
|
37771
|
+
pinnedAreaWidth,
|
|
37586
37772
|
draggingKey,
|
|
37587
37773
|
dragOverKey,
|
|
37588
37774
|
onDragStart,
|
|
@@ -37790,11 +37976,60 @@ function useTable(props, emit) {
|
|
|
37790
37976
|
//
|
|
37791
37977
|
//
|
|
37792
37978
|
//
|
|
37979
|
+
//
|
|
37980
|
+
//
|
|
37981
|
+
//
|
|
37982
|
+
//
|
|
37983
|
+
//
|
|
37984
|
+
//
|
|
37985
|
+
//
|
|
37986
|
+
//
|
|
37987
|
+
//
|
|
37988
|
+
//
|
|
37989
|
+
//
|
|
37990
|
+
//
|
|
37991
|
+
//
|
|
37992
|
+
//
|
|
37993
|
+
//
|
|
37994
|
+
//
|
|
37995
|
+
//
|
|
37996
|
+
//
|
|
37997
|
+
//
|
|
37998
|
+
//
|
|
37999
|
+
//
|
|
38000
|
+
//
|
|
38001
|
+
//
|
|
38002
|
+
//
|
|
38003
|
+
//
|
|
38004
|
+
//
|
|
38005
|
+
//
|
|
38006
|
+
//
|
|
38007
|
+
//
|
|
38008
|
+
//
|
|
38009
|
+
//
|
|
38010
|
+
//
|
|
38011
|
+
//
|
|
38012
|
+
//
|
|
38013
|
+
//
|
|
38014
|
+
//
|
|
38015
|
+
//
|
|
38016
|
+
//
|
|
38017
|
+
//
|
|
38018
|
+
//
|
|
38019
|
+
//
|
|
38020
|
+
//
|
|
38021
|
+
//
|
|
38022
|
+
//
|
|
38023
|
+
//
|
|
38024
|
+
//
|
|
38025
|
+
//
|
|
38026
|
+
//
|
|
37793
38027
|
|
|
37794
38028
|
var script$4 = {
|
|
37795
38029
|
name: 'Table',
|
|
37796
38030
|
components: {
|
|
37797
|
-
Checkbox: __vue_component__$
|
|
38031
|
+
Checkbox: __vue_component__$l,
|
|
38032
|
+
Skeleton: __vue_component__$g,
|
|
37798
38033
|
Tooltip: __vue_component__$f
|
|
37799
38034
|
},
|
|
37800
38035
|
props: {
|
|
@@ -37814,6 +38049,16 @@ var script$4 = {
|
|
|
37814
38049
|
type: Array,
|
|
37815
38050
|
default: () => []
|
|
37816
38051
|
},
|
|
38052
|
+
// Habilitan/deshabilitan el drag & drop de reorden y el menú contextual
|
|
38053
|
+
// de pin/unpin para toda la tabla.
|
|
38054
|
+
columnsDraggable: {
|
|
38055
|
+
type: Boolean,
|
|
38056
|
+
default: true
|
|
38057
|
+
},
|
|
38058
|
+
columnsPinnable: {
|
|
38059
|
+
type: Boolean,
|
|
38060
|
+
default: true
|
|
38061
|
+
},
|
|
37817
38062
|
selectable: {
|
|
37818
38063
|
type: Boolean,
|
|
37819
38064
|
default: false
|
|
@@ -37847,6 +38092,16 @@ var script$4 = {
|
|
|
37847
38092
|
emptyState: {
|
|
37848
38093
|
type: Object,
|
|
37849
38094
|
default: null
|
|
38095
|
+
},
|
|
38096
|
+
// Estado de carga: reemplaza tableRows/empty-state por filas fantasma
|
|
38097
|
+
// con el ancho real de cada columna.
|
|
38098
|
+
loading: {
|
|
38099
|
+
type: Boolean,
|
|
38100
|
+
default: false
|
|
38101
|
+
},
|
|
38102
|
+
loadingRows: {
|
|
38103
|
+
type: Number,
|
|
38104
|
+
default: 5
|
|
37850
38105
|
}
|
|
37851
38106
|
},
|
|
37852
38107
|
setup(props, {
|
|
@@ -37869,6 +38124,7 @@ var script$4 = {
|
|
|
37869
38124
|
y: 0
|
|
37870
38125
|
},
|
|
37871
38126
|
truncatedCells: {},
|
|
38127
|
+
cellTexts: {},
|
|
37872
38128
|
expandedRowId: null
|
|
37873
38129
|
};
|
|
37874
38130
|
},
|
|
@@ -37942,6 +38198,61 @@ var script$4 = {
|
|
|
37942
38198
|
this.closeAll();
|
|
37943
38199
|
this.onDragStart(columnKey);
|
|
37944
38200
|
},
|
|
38201
|
+
handleDragOver(columnKey, event) {
|
|
38202
|
+
this.onDragOver(columnKey);
|
|
38203
|
+
this.updateAutoScroll(event.clientX);
|
|
38204
|
+
},
|
|
38205
|
+
handleDrop() {
|
|
38206
|
+
this.stopAutoScroll();
|
|
38207
|
+
this.onDrop();
|
|
38208
|
+
},
|
|
38209
|
+
handleDragEnd() {
|
|
38210
|
+
this.stopAutoScroll();
|
|
38211
|
+
this.onDragEnd();
|
|
38212
|
+
},
|
|
38213
|
+
// Auto-scroll horizontal mientras se arrastra una columna: si el cursor
|
|
38214
|
+
// entra en la franja de `edge` px cerca de un borde del scroll container,
|
|
38215
|
+
// se scrollea hacia ese lado a una velocidad proporcional a la cercanía
|
|
38216
|
+
// al borde. dragover nativo no dispara si el mouse no se mueve, por eso
|
|
38217
|
+
// el loop corre en su propio rAF en vez de depender del evento.
|
|
38218
|
+
//
|
|
38219
|
+
// El borde izquierdo real es el límite del área sticky (pinnedAreaWidth),
|
|
38220
|
+
// no el borde del contenedor: las columnas fijas siempre están visibles
|
|
38221
|
+
// ahí, así que la zona caliente debe arrancar donde termina esa área.
|
|
38222
|
+
updateAutoScroll(clientX) {
|
|
38223
|
+
const scroll = this.$el.querySelector('.rq-table__scroll');
|
|
38224
|
+
if (!scroll) return;
|
|
38225
|
+
const rect = scroll.getBoundingClientRect();
|
|
38226
|
+
const edge = 60;
|
|
38227
|
+
const maxSpeed = 18;
|
|
38228
|
+
const leftBoundary = rect.left + this.pinnedAreaWidth;
|
|
38229
|
+
let speed = 0;
|
|
38230
|
+
if (clientX < leftBoundary + edge) {
|
|
38231
|
+
speed = -maxSpeed * (1 - Math.max(0, clientX - leftBoundary) / edge);
|
|
38232
|
+
} else if (clientX > rect.right - edge) {
|
|
38233
|
+
speed = maxSpeed * (1 - Math.max(0, rect.right - clientX) / edge);
|
|
38234
|
+
}
|
|
38235
|
+
this._autoScrollSpeed = speed;
|
|
38236
|
+
if (speed !== 0) {
|
|
38237
|
+
this.startAutoScroll(scroll);
|
|
38238
|
+
} else {
|
|
38239
|
+
this.stopAutoScroll();
|
|
38240
|
+
}
|
|
38241
|
+
},
|
|
38242
|
+
startAutoScroll(scroll) {
|
|
38243
|
+
if (this._autoScrollRafId) return;
|
|
38244
|
+
const step = () => {
|
|
38245
|
+
scroll.scrollLeft += this._autoScrollSpeed;
|
|
38246
|
+
this._autoScrollRafId = requestAnimationFrame(step);
|
|
38247
|
+
};
|
|
38248
|
+
this._autoScrollRafId = requestAnimationFrame(step);
|
|
38249
|
+
},
|
|
38250
|
+
stopAutoScroll() {
|
|
38251
|
+
if (this._autoScrollRafId) {
|
|
38252
|
+
cancelAnimationFrame(this._autoScrollRafId);
|
|
38253
|
+
this._autoScrollRafId = null;
|
|
38254
|
+
}
|
|
38255
|
+
},
|
|
37945
38256
|
onChevronClick(columnKey, event) {
|
|
37946
38257
|
this.contextMenu = {
|
|
37947
38258
|
visible: false,
|
|
@@ -37970,6 +38281,7 @@ var script$4 = {
|
|
|
37970
38281
|
});
|
|
37971
38282
|
},
|
|
37972
38283
|
openContextMenu(colKey, event) {
|
|
38284
|
+
if (!this.columnsPinnable) return;
|
|
37973
38285
|
this.closeChevron();
|
|
37974
38286
|
const tableRect = this.$el.getBoundingClientRect();
|
|
37975
38287
|
this.contextMenu = {
|
|
@@ -38029,10 +38341,18 @@ var script$4 = {
|
|
|
38029
38341
|
if (!this.$el) return;
|
|
38030
38342
|
const els = this.$el.querySelectorAll('.rq-table__cell-text[data-cell-key]');
|
|
38031
38343
|
const result = {};
|
|
38344
|
+
const texts = {};
|
|
38032
38345
|
els.forEach(el => {
|
|
38033
38346
|
result[el.dataset.cellKey] = el.scrollWidth > el.clientWidth;
|
|
38347
|
+
// Se guarda el texto ya renderizado: si la celda pasa por un slot que
|
|
38348
|
+
// formatea el valor, el tooltip debe mostrar lo que el usuario ve.
|
|
38349
|
+
texts[el.dataset.cellKey] = el.textContent.trim();
|
|
38034
38350
|
});
|
|
38035
38351
|
this.truncatedCells = result;
|
|
38352
|
+
this.cellTexts = texts;
|
|
38353
|
+
},
|
|
38354
|
+
cellTooltipText(rowId, headerId) {
|
|
38355
|
+
return this.cellTexts[this.cellKey(rowId, headerId)] || '';
|
|
38036
38356
|
}
|
|
38037
38357
|
},
|
|
38038
38358
|
watch: {
|
|
@@ -38063,6 +38383,7 @@ var script$4 = {
|
|
|
38063
38383
|
this.$nextTick(this.measureTruncatedCells);
|
|
38064
38384
|
},
|
|
38065
38385
|
beforeDestroy() {
|
|
38386
|
+
this.stopAutoScroll();
|
|
38066
38387
|
document.removeEventListener('keydown', this._onKeydown);
|
|
38067
38388
|
document.removeEventListener('click', this._onDocumentClick);
|
|
38068
38389
|
window.removeEventListener('resize', this._onResize);
|
|
@@ -38134,7 +38455,7 @@ var __vue_render__$4 = function () {
|
|
|
38134
38455
|
},
|
|
38135
38456
|
style: _vm.getColStyle(header, true),
|
|
38136
38457
|
attrs: {
|
|
38137
|
-
draggable:
|
|
38458
|
+
draggable: _vm.columnsDraggable
|
|
38138
38459
|
},
|
|
38139
38460
|
on: {
|
|
38140
38461
|
dragstart: function ($event) {
|
|
@@ -38142,10 +38463,10 @@ var __vue_render__$4 = function () {
|
|
|
38142
38463
|
},
|
|
38143
38464
|
dragover: function ($event) {
|
|
38144
38465
|
$event.preventDefault();
|
|
38145
|
-
return _vm.
|
|
38466
|
+
return _vm.handleDragOver(header.id, $event);
|
|
38146
38467
|
},
|
|
38147
|
-
drop: _vm.
|
|
38148
|
-
dragend: _vm.
|
|
38468
|
+
drop: _vm.handleDrop,
|
|
38469
|
+
dragend: _vm.handleDragEnd,
|
|
38149
38470
|
contextmenu: function ($event) {
|
|
38150
38471
|
$event.preventDefault();
|
|
38151
38472
|
return _vm.openContextMenu(header.id, $event);
|
|
@@ -38176,7 +38497,41 @@ var __vue_render__$4 = function () {
|
|
|
38176
38497
|
}
|
|
38177
38498
|
})], 1) : _vm._e()])]);
|
|
38178
38499
|
})], 2);
|
|
38179
|
-
}), 0), _vm._v(" "), _c("tbody", [
|
|
38500
|
+
}), 0), _vm._v(" "), _c("tbody", [_vm.loading ? _vm._l(_vm.loadingRows, function (n) {
|
|
38501
|
+
return _c("tr", {
|
|
38502
|
+
key: "skeleton-" + n,
|
|
38503
|
+
staticClass: "rq-table__tr rq-table__tr--body rq-table__tr--skeleton"
|
|
38504
|
+
}, [_vm.expandable ? _c("td", {
|
|
38505
|
+
staticClass: "rq-table__td rq-table__td--expand",
|
|
38506
|
+
style: {
|
|
38507
|
+
position: "sticky",
|
|
38508
|
+
left: 0,
|
|
38509
|
+
zIndex: 2,
|
|
38510
|
+
width: _vm.expandColWidth + "px",
|
|
38511
|
+
minWidth: _vm.expandColWidth + "px"
|
|
38512
|
+
}
|
|
38513
|
+
}) : _vm._e(), _vm._v(" "), _vm.selectable ? _c("td", {
|
|
38514
|
+
staticClass: "rq-table__td rq-table__td--select",
|
|
38515
|
+
style: {
|
|
38516
|
+
position: "sticky",
|
|
38517
|
+
left: _vm.selectColOffset + "px",
|
|
38518
|
+
zIndex: 2
|
|
38519
|
+
}
|
|
38520
|
+
}) : _vm._e(), _vm._v(" "), _vm._l(_vm.headerGroups[0] ? _vm.headerGroups[0].headers : [], function (header) {
|
|
38521
|
+
return _c("td", {
|
|
38522
|
+
key: header.id,
|
|
38523
|
+
staticClass: "rq-table__td",
|
|
38524
|
+
class: {
|
|
38525
|
+
"rq-table__td--pinned": header.id in _vm.pinnedLeftWidths
|
|
38526
|
+
},
|
|
38527
|
+
style: _vm.getColStyle(header)
|
|
38528
|
+
}, [_c("Skeleton", {
|
|
38529
|
+
attrs: {
|
|
38530
|
+
height: "16px"
|
|
38531
|
+
}
|
|
38532
|
+
})], 1);
|
|
38533
|
+
})], 2);
|
|
38534
|
+
}) : [!_vm.tableRows.length ? _c("tr", {
|
|
38180
38535
|
staticClass: "rq-table__tr rq-table__tr--empty"
|
|
38181
38536
|
}, [_c("td", {
|
|
38182
38537
|
staticClass: "rq-table__td rq-table__td--empty",
|
|
@@ -38208,6 +38563,31 @@ var __vue_render__$4 = function () {
|
|
|
38208
38563
|
zIndex: 2,
|
|
38209
38564
|
width: _vm.expandColWidth + "px",
|
|
38210
38565
|
minWidth: _vm.expandColWidth + "px"
|
|
38566
|
+
},
|
|
38567
|
+
attrs: {
|
|
38568
|
+
role: "button",
|
|
38569
|
+
tabindex: "0",
|
|
38570
|
+
"aria-expanded": _vm.expandedRowId === row.id
|
|
38571
|
+
},
|
|
38572
|
+
on: {
|
|
38573
|
+
click: function ($event) {
|
|
38574
|
+
$event.stopPropagation();
|
|
38575
|
+
return _vm.toggleExpand(row.id);
|
|
38576
|
+
},
|
|
38577
|
+
keydown: [function ($event) {
|
|
38578
|
+
if (!$event.type.indexOf("key") && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) {
|
|
38579
|
+
return null;
|
|
38580
|
+
}
|
|
38581
|
+
$event.stopPropagation();
|
|
38582
|
+
return _vm.toggleExpand(row.id);
|
|
38583
|
+
}, function ($event) {
|
|
38584
|
+
if (!$event.type.indexOf("key") && _vm._k($event.keyCode, "space", 32, $event.key, [" ", "Spacebar"])) {
|
|
38585
|
+
return null;
|
|
38586
|
+
}
|
|
38587
|
+
$event.preventDefault();
|
|
38588
|
+
$event.stopPropagation();
|
|
38589
|
+
return _vm.toggleExpand(row.id);
|
|
38590
|
+
}]
|
|
38211
38591
|
}
|
|
38212
38592
|
}, [_c("div", {
|
|
38213
38593
|
staticClass: "rq-table__expand-cell"
|
|
@@ -38217,13 +38597,8 @@ var __vue_render__$4 = function () {
|
|
|
38217
38597
|
"rq-table__expand-btn--active": _vm.expandedRowId === row.id
|
|
38218
38598
|
},
|
|
38219
38599
|
attrs: {
|
|
38220
|
-
type: "button"
|
|
38221
|
-
|
|
38222
|
-
on: {
|
|
38223
|
-
click: function ($event) {
|
|
38224
|
-
$event.stopPropagation();
|
|
38225
|
-
return _vm.toggleExpand(row.id);
|
|
38226
|
-
}
|
|
38600
|
+
type: "button",
|
|
38601
|
+
tabindex: "-1"
|
|
38227
38602
|
}
|
|
38228
38603
|
}, [_c(_vm.ExpandIcon, {
|
|
38229
38604
|
tag: "component",
|
|
@@ -38261,27 +38636,32 @@ var __vue_render__$4 = function () {
|
|
|
38261
38636
|
"rq-table__td--pinned": header.id in _vm.pinnedLeftWidths
|
|
38262
38637
|
},
|
|
38263
38638
|
style: _vm.getColStyle(header)
|
|
38639
|
+
}, [_vm.isTruncated(row.id, header.id) ? _c("Tooltip", {
|
|
38640
|
+
staticClass: "rq-table__cell-tooltip",
|
|
38641
|
+
attrs: {
|
|
38642
|
+
text: _vm.cellTooltipText(row.id, header.id)
|
|
38643
|
+
}
|
|
38644
|
+
}, [_c("span", {
|
|
38645
|
+
staticClass: "rq-table__cell-text",
|
|
38646
|
+
attrs: {
|
|
38647
|
+
"data-cell-key": _vm.cellKey(row.id, header.id)
|
|
38648
|
+
}
|
|
38264
38649
|
}, [_vm._t("cell-" + header.id, function () {
|
|
38265
|
-
return [_vm.
|
|
38266
|
-
staticClass: "rq-table__cell-tooltip",
|
|
38267
|
-
attrs: {
|
|
38268
|
-
text: String(row.getValue(header.id))
|
|
38269
|
-
}
|
|
38270
|
-
}, [_c("span", {
|
|
38271
|
-
staticClass: "rq-table__cell-text",
|
|
38272
|
-
attrs: {
|
|
38273
|
-
"data-cell-key": _vm.cellKey(row.id, header.id)
|
|
38274
|
-
}
|
|
38275
|
-
}, [_vm._v(_vm._s(row.getValue(header.id)))])]) : _c("span", {
|
|
38276
|
-
staticClass: "rq-table__cell-text",
|
|
38277
|
-
attrs: {
|
|
38278
|
-
"data-cell-key": _vm.cellKey(row.id, header.id)
|
|
38279
|
-
}
|
|
38280
|
-
}, [_vm._v(_vm._s(row.getValue(header.id)))])];
|
|
38650
|
+
return [_vm._v(_vm._s(row.getValue(header.id)))];
|
|
38281
38651
|
}, {
|
|
38282
38652
|
row: row.original,
|
|
38283
38653
|
value: row.getValue(header.id)
|
|
38284
|
-
})], 2)
|
|
38654
|
+
})], 2)]) : _c("span", {
|
|
38655
|
+
staticClass: "rq-table__cell-text",
|
|
38656
|
+
attrs: {
|
|
38657
|
+
"data-cell-key": _vm.cellKey(row.id, header.id)
|
|
38658
|
+
}
|
|
38659
|
+
}, [_vm._t("cell-" + header.id, function () {
|
|
38660
|
+
return [_vm._v(_vm._s(row.getValue(header.id)))];
|
|
38661
|
+
}, {
|
|
38662
|
+
row: row.original,
|
|
38663
|
+
value: row.getValue(header.id)
|
|
38664
|
+
})], 2)], 1);
|
|
38285
38665
|
})], 2), _vm._v(" "), _vm.expandable && _vm.expandedRowId === row.id ? _c("tr", {
|
|
38286
38666
|
key: row.id + "-expanded",
|
|
38287
38667
|
staticClass: "rq-table__tr rq-table__tr--expanded"
|
|
@@ -38298,7 +38678,7 @@ var __vue_render__$4 = function () {
|
|
|
38298
38678
|
}, [_vm._t("expanded-row", null, {
|
|
38299
38679
|
row: row.original
|
|
38300
38680
|
})], 2)])]) : _vm._e()];
|
|
38301
|
-
})], 2)])]), _vm._v(" "), _vm.contextMenu.visible ? _c("div", {
|
|
38681
|
+
})]], 2)])]), _vm._v(" "), _vm.contextMenu.visible ? _c("div", {
|
|
38302
38682
|
staticClass: "rq-table__context-menu",
|
|
38303
38683
|
style: {
|
|
38304
38684
|
top: _vm.contextMenu.y + "px",
|
|
@@ -38451,6 +38831,10 @@ const dataTableVariants = cva('rq-data-table', {
|
|
|
38451
38831
|
//
|
|
38452
38832
|
//
|
|
38453
38833
|
//
|
|
38834
|
+
//
|
|
38835
|
+
//
|
|
38836
|
+
//
|
|
38837
|
+
//
|
|
38454
38838
|
|
|
38455
38839
|
var script$3 = {
|
|
38456
38840
|
name: 'DataTable',
|
|
@@ -38533,6 +38917,22 @@ var script$3 = {
|
|
|
38533
38917
|
emptyState: {
|
|
38534
38918
|
type: Object,
|
|
38535
38919
|
default: null
|
|
38920
|
+
},
|
|
38921
|
+
columnsDraggable: {
|
|
38922
|
+
type: Boolean,
|
|
38923
|
+
default: true
|
|
38924
|
+
},
|
|
38925
|
+
columnsPinnable: {
|
|
38926
|
+
type: Boolean,
|
|
38927
|
+
default: true
|
|
38928
|
+
},
|
|
38929
|
+
loading: {
|
|
38930
|
+
type: Boolean,
|
|
38931
|
+
default: false
|
|
38932
|
+
},
|
|
38933
|
+
loadingRows: {
|
|
38934
|
+
type: Number,
|
|
38935
|
+
default: 5
|
|
38536
38936
|
}
|
|
38537
38937
|
},
|
|
38538
38938
|
data() {
|
|
@@ -38621,7 +39021,11 @@ var __vue_render__$3 = function () {
|
|
|
38621
39021
|
expandable: _vm.expandable,
|
|
38622
39022
|
"expanded-row-height": _vm.expandedRowHeight,
|
|
38623
39023
|
"expand-col-width": _vm.expandColWidth,
|
|
38624
|
-
"empty-state": _vm.emptyState
|
|
39024
|
+
"empty-state": _vm.emptyState,
|
|
39025
|
+
"columns-draggable": _vm.columnsDraggable,
|
|
39026
|
+
"columns-pinnable": _vm.columnsPinnable,
|
|
39027
|
+
loading: _vm.loading,
|
|
39028
|
+
"loading-rows": _vm.loadingRows
|
|
38625
39029
|
},
|
|
38626
39030
|
on: {
|
|
38627
39031
|
"row-click": function ($event) {
|
|
@@ -39000,7 +39404,7 @@ const dialogVariants = cva('rq-dialog', {
|
|
|
39000
39404
|
var script$1 = {
|
|
39001
39405
|
name: 'Dialog',
|
|
39002
39406
|
components: {
|
|
39003
|
-
Button: __vue_component__$
|
|
39407
|
+
Button: __vue_component__$n
|
|
39004
39408
|
},
|
|
39005
39409
|
props: {
|
|
39006
39410
|
title: {
|
|
@@ -39339,4 +39743,4 @@ const __vue_component__ = /*#__PURE__*/normalizeComponent({
|
|
|
39339
39743
|
staticRenderFns: __vue_staticRenderFns__
|
|
39340
39744
|
}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
|
|
39341
39745
|
|
|
39342
|
-
export { __vue_component__$
|
|
39746
|
+
export { __vue_component__$i as Badge, __vue_component__$n as Button, __vue_component__$l as Checkbox, __vue_component__$d as CheckboxGroup, __vue_component__$j as Chip, __vue_component__$3 as DataTable, __vue_component__$1 as Dialog, __vue_component__ as Drawer, __vue_component__$h as Icon, __vue_component__$o as Input, __vue_component__$6 as PageSizeSelect, __vue_component__$a as Pagination, __vue_component__$e as RichCheckboxGroup, __vue_component__$b as RichSwitchGroup, __vue_component__$q as RqButton, __vue_component__$p as RqInput, __vue_component__$7 as SearchInput, __vue_component__$5 as SelectionBar, __vue_component__$2 as Sidebar, __vue_component__$g as Skeleton, __vue_component__$k 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__$m as Typography };
|