@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.js
CHANGED
|
@@ -31461,7 +31461,7 @@ const buttonVariants$1 = cva('rq-button-legacy', {
|
|
|
31461
31461
|
//
|
|
31462
31462
|
//
|
|
31463
31463
|
|
|
31464
|
-
var script$
|
|
31464
|
+
var script$q = {
|
|
31465
31465
|
name: 'RqButton',
|
|
31466
31466
|
props: {
|
|
31467
31467
|
variant: {
|
|
@@ -31595,10 +31595,10 @@ function normalizeComponent(template, style, script, scopeId, isFunctionalTempla
|
|
|
31595
31595
|
}
|
|
31596
31596
|
|
|
31597
31597
|
/* script */
|
|
31598
|
-
const __vue_script__$
|
|
31598
|
+
const __vue_script__$q = script$q;
|
|
31599
31599
|
|
|
31600
31600
|
/* template */
|
|
31601
|
-
var __vue_render__$
|
|
31601
|
+
var __vue_render__$q = function () {
|
|
31602
31602
|
var _vm = this;
|
|
31603
31603
|
var _h = _vm.$createElement;
|
|
31604
31604
|
var _c = _vm._self._c || _h;
|
|
@@ -31624,27 +31624,27 @@ var __vue_render__$p = function () {
|
|
|
31624
31624
|
}
|
|
31625
31625
|
}) : _vm._e()], 2);
|
|
31626
31626
|
};
|
|
31627
|
-
var __vue_staticRenderFns__$
|
|
31628
|
-
__vue_render__$
|
|
31627
|
+
var __vue_staticRenderFns__$q = [];
|
|
31628
|
+
__vue_render__$q._withStripped = true;
|
|
31629
31629
|
|
|
31630
31630
|
/* style */
|
|
31631
|
-
const __vue_inject_styles__$
|
|
31631
|
+
const __vue_inject_styles__$q = undefined;
|
|
31632
31632
|
/* scoped */
|
|
31633
|
-
const __vue_scope_id__$
|
|
31633
|
+
const __vue_scope_id__$q = undefined;
|
|
31634
31634
|
/* module identifier */
|
|
31635
|
-
const __vue_module_identifier__$
|
|
31635
|
+
const __vue_module_identifier__$q = undefined;
|
|
31636
31636
|
/* functional template */
|
|
31637
|
-
const __vue_is_functional_template__$
|
|
31637
|
+
const __vue_is_functional_template__$q = false;
|
|
31638
31638
|
/* style inject */
|
|
31639
31639
|
|
|
31640
31640
|
/* style inject SSR */
|
|
31641
31641
|
|
|
31642
31642
|
/* style inject shadow dom */
|
|
31643
31643
|
|
|
31644
|
-
const __vue_component__$
|
|
31645
|
-
render: __vue_render__$
|
|
31646
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
31647
|
-
}, __vue_inject_styles__$
|
|
31644
|
+
const __vue_component__$q = /*#__PURE__*/normalizeComponent({
|
|
31645
|
+
render: __vue_render__$q,
|
|
31646
|
+
staticRenderFns: __vue_staticRenderFns__$q
|
|
31647
|
+
}, __vue_inject_styles__$q, __vue_script__$q, __vue_scope_id__$q, __vue_is_functional_template__$q, __vue_module_identifier__$q, false, undefined, undefined, undefined);
|
|
31648
31648
|
|
|
31649
31649
|
const inputVariants$1 = cva('rq-input', {
|
|
31650
31650
|
variants: {
|
|
@@ -31697,7 +31697,7 @@ const inputVariants$1 = cva('rq-input', {
|
|
|
31697
31697
|
//
|
|
31698
31698
|
|
|
31699
31699
|
let uid = 0;
|
|
31700
|
-
var script$
|
|
31700
|
+
var script$p = {
|
|
31701
31701
|
name: 'RqInput',
|
|
31702
31702
|
inheritAttrs: false,
|
|
31703
31703
|
props: {
|
|
@@ -31791,10 +31791,10 @@ var script$o = {
|
|
|
31791
31791
|
};
|
|
31792
31792
|
|
|
31793
31793
|
/* script */
|
|
31794
|
-
const __vue_script__$
|
|
31794
|
+
const __vue_script__$p = script$p;
|
|
31795
31795
|
|
|
31796
31796
|
/* template */
|
|
31797
|
-
var __vue_render__$
|
|
31797
|
+
var __vue_render__$p = function () {
|
|
31798
31798
|
var _vm = this;
|
|
31799
31799
|
var _h = _vm.$createElement;
|
|
31800
31800
|
var _c = _vm._self._c || _h;
|
|
@@ -31849,27 +31849,27 @@ var __vue_render__$o = function () {
|
|
|
31849
31849
|
class: ["rq-input__counter", _vm.error && "rq-input__counter--error"]
|
|
31850
31850
|
}, [_vm._v(_vm._s(_vm.currentLength) + "/" + _vm._s(_vm.maxLength))]) : _vm._e()]) : _vm._e()]);
|
|
31851
31851
|
};
|
|
31852
|
-
var __vue_staticRenderFns__$
|
|
31853
|
-
__vue_render__$
|
|
31852
|
+
var __vue_staticRenderFns__$p = [];
|
|
31853
|
+
__vue_render__$p._withStripped = true;
|
|
31854
31854
|
|
|
31855
31855
|
/* style */
|
|
31856
|
-
const __vue_inject_styles__$
|
|
31856
|
+
const __vue_inject_styles__$p = undefined;
|
|
31857
31857
|
/* scoped */
|
|
31858
|
-
const __vue_scope_id__$
|
|
31858
|
+
const __vue_scope_id__$p = undefined;
|
|
31859
31859
|
/* module identifier */
|
|
31860
|
-
const __vue_module_identifier__$
|
|
31860
|
+
const __vue_module_identifier__$p = undefined;
|
|
31861
31861
|
/* functional template */
|
|
31862
|
-
const __vue_is_functional_template__$
|
|
31862
|
+
const __vue_is_functional_template__$p = false;
|
|
31863
31863
|
/* style inject */
|
|
31864
31864
|
|
|
31865
31865
|
/* style inject SSR */
|
|
31866
31866
|
|
|
31867
31867
|
/* style inject shadow dom */
|
|
31868
31868
|
|
|
31869
|
-
const __vue_component__$
|
|
31870
|
-
render: __vue_render__$
|
|
31871
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
31872
|
-
}, __vue_inject_styles__$
|
|
31869
|
+
const __vue_component__$p = /*#__PURE__*/normalizeComponent({
|
|
31870
|
+
render: __vue_render__$p,
|
|
31871
|
+
staticRenderFns: __vue_staticRenderFns__$p
|
|
31872
|
+
}, __vue_inject_styles__$p, __vue_script__$p, __vue_scope_id__$p, __vue_is_functional_template__$p, __vue_module_identifier__$p, false, undefined, undefined, undefined);
|
|
31873
31873
|
|
|
31874
31874
|
const inputVariants = cva('rq-field', {
|
|
31875
31875
|
variants: {
|
|
@@ -31921,7 +31921,7 @@ const inputVariants = cva('rq-field', {
|
|
|
31921
31921
|
//
|
|
31922
31922
|
//
|
|
31923
31923
|
|
|
31924
|
-
var script$
|
|
31924
|
+
var script$o = {
|
|
31925
31925
|
name: 'Input',
|
|
31926
31926
|
inheritAttrs: false,
|
|
31927
31927
|
props: {
|
|
@@ -31994,10 +31994,10 @@ var script$n = {
|
|
|
31994
31994
|
};
|
|
31995
31995
|
|
|
31996
31996
|
/* script */
|
|
31997
|
-
const __vue_script__$
|
|
31997
|
+
const __vue_script__$o = script$o;
|
|
31998
31998
|
|
|
31999
31999
|
/* template */
|
|
32000
|
-
var __vue_render__$
|
|
32000
|
+
var __vue_render__$o = function () {
|
|
32001
32001
|
var _vm = this;
|
|
32002
32002
|
var _h = _vm.$createElement;
|
|
32003
32003
|
var _c = _vm._self._c || _h;
|
|
@@ -32033,27 +32033,27 @@ var __vue_render__$n = function () {
|
|
|
32033
32033
|
}
|
|
32034
32034
|
}) : _vm._e()], 1);
|
|
32035
32035
|
};
|
|
32036
|
-
var __vue_staticRenderFns__$
|
|
32037
|
-
__vue_render__$
|
|
32036
|
+
var __vue_staticRenderFns__$o = [];
|
|
32037
|
+
__vue_render__$o._withStripped = true;
|
|
32038
32038
|
|
|
32039
32039
|
/* style */
|
|
32040
|
-
const __vue_inject_styles__$
|
|
32040
|
+
const __vue_inject_styles__$o = undefined;
|
|
32041
32041
|
/* scoped */
|
|
32042
|
-
const __vue_scope_id__$
|
|
32042
|
+
const __vue_scope_id__$o = undefined;
|
|
32043
32043
|
/* module identifier */
|
|
32044
|
-
const __vue_module_identifier__$
|
|
32044
|
+
const __vue_module_identifier__$o = undefined;
|
|
32045
32045
|
/* functional template */
|
|
32046
|
-
const __vue_is_functional_template__$
|
|
32046
|
+
const __vue_is_functional_template__$o = false;
|
|
32047
32047
|
/* style inject */
|
|
32048
32048
|
|
|
32049
32049
|
/* style inject SSR */
|
|
32050
32050
|
|
|
32051
32051
|
/* style inject shadow dom */
|
|
32052
32052
|
|
|
32053
|
-
const __vue_component__$
|
|
32054
|
-
render: __vue_render__$
|
|
32055
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
32056
|
-
}, __vue_inject_styles__$
|
|
32053
|
+
const __vue_component__$o = /*#__PURE__*/normalizeComponent({
|
|
32054
|
+
render: __vue_render__$o,
|
|
32055
|
+
staticRenderFns: __vue_staticRenderFns__$o
|
|
32056
|
+
}, __vue_inject_styles__$o, __vue_script__$o, __vue_scope_id__$o, __vue_is_functional_template__$o, __vue_module_identifier__$o, false, undefined, undefined, undefined);
|
|
32057
32057
|
|
|
32058
32058
|
const buttonVariants = cva('rq-button', {
|
|
32059
32059
|
variants: {
|
|
@@ -32096,7 +32096,7 @@ const buttonVariants = cva('rq-button', {
|
|
|
32096
32096
|
//
|
|
32097
32097
|
//
|
|
32098
32098
|
|
|
32099
|
-
var script$
|
|
32099
|
+
var script$n = {
|
|
32100
32100
|
name: 'Button',
|
|
32101
32101
|
props: {
|
|
32102
32102
|
variant: {
|
|
@@ -32162,10 +32162,10 @@ var script$m = {
|
|
|
32162
32162
|
};
|
|
32163
32163
|
|
|
32164
32164
|
/* script */
|
|
32165
|
-
const __vue_script__$
|
|
32165
|
+
const __vue_script__$n = script$n;
|
|
32166
32166
|
|
|
32167
32167
|
/* template */
|
|
32168
|
-
var __vue_render__$
|
|
32168
|
+
var __vue_render__$n = function () {
|
|
32169
32169
|
var _vm = this;
|
|
32170
32170
|
var _h = _vm.$createElement;
|
|
32171
32171
|
var _c = _vm._self._c || _h;
|
|
@@ -32192,27 +32192,27 @@ var __vue_render__$m = function () {
|
|
|
32192
32192
|
}
|
|
32193
32193
|
}) : _vm._e()], 2);
|
|
32194
32194
|
};
|
|
32195
|
-
var __vue_staticRenderFns__$
|
|
32196
|
-
__vue_render__$
|
|
32195
|
+
var __vue_staticRenderFns__$n = [];
|
|
32196
|
+
__vue_render__$n._withStripped = true;
|
|
32197
32197
|
|
|
32198
32198
|
/* style */
|
|
32199
|
-
const __vue_inject_styles__$
|
|
32199
|
+
const __vue_inject_styles__$n = undefined;
|
|
32200
32200
|
/* scoped */
|
|
32201
|
-
const __vue_scope_id__$
|
|
32201
|
+
const __vue_scope_id__$n = undefined;
|
|
32202
32202
|
/* module identifier */
|
|
32203
|
-
const __vue_module_identifier__$
|
|
32203
|
+
const __vue_module_identifier__$n = undefined;
|
|
32204
32204
|
/* functional template */
|
|
32205
|
-
const __vue_is_functional_template__$
|
|
32205
|
+
const __vue_is_functional_template__$n = false;
|
|
32206
32206
|
/* style inject */
|
|
32207
32207
|
|
|
32208
32208
|
/* style inject SSR */
|
|
32209
32209
|
|
|
32210
32210
|
/* style inject shadow dom */
|
|
32211
32211
|
|
|
32212
|
-
const __vue_component__$
|
|
32213
|
-
render: __vue_render__$
|
|
32214
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
32215
|
-
}, __vue_inject_styles__$
|
|
32212
|
+
const __vue_component__$n = /*#__PURE__*/normalizeComponent({
|
|
32213
|
+
render: __vue_render__$n,
|
|
32214
|
+
staticRenderFns: __vue_staticRenderFns__$n
|
|
32215
|
+
}, __vue_inject_styles__$n, __vue_script__$n, __vue_scope_id__$n, __vue_is_functional_template__$n, __vue_module_identifier__$n, false, undefined, undefined, undefined);
|
|
32216
32216
|
|
|
32217
32217
|
//
|
|
32218
32218
|
//
|
|
@@ -32286,7 +32286,7 @@ const WEIGHT_MAP = {
|
|
|
32286
32286
|
semibold: 600,
|
|
32287
32287
|
bold: 700
|
|
32288
32288
|
};
|
|
32289
|
-
var script$
|
|
32289
|
+
var script$m = {
|
|
32290
32290
|
name: 'Typography',
|
|
32291
32291
|
props: {
|
|
32292
32292
|
variant: {
|
|
@@ -32320,10 +32320,10 @@ var script$l = {
|
|
|
32320
32320
|
};
|
|
32321
32321
|
|
|
32322
32322
|
/* script */
|
|
32323
|
-
const __vue_script__$
|
|
32323
|
+
const __vue_script__$m = script$m;
|
|
32324
32324
|
|
|
32325
32325
|
/* template */
|
|
32326
|
-
var __vue_render__$
|
|
32326
|
+
var __vue_render__$m = function () {
|
|
32327
32327
|
var _vm = this;
|
|
32328
32328
|
var _h = _vm.$createElement;
|
|
32329
32329
|
var _c = _vm._self._c || _h;
|
|
@@ -32333,27 +32333,27 @@ var __vue_render__$l = function () {
|
|
|
32333
32333
|
style: _vm.weightStyle
|
|
32334
32334
|
}, _vm.$listeners), [_vm._t("default")], 2);
|
|
32335
32335
|
};
|
|
32336
|
-
var __vue_staticRenderFns__$
|
|
32337
|
-
__vue_render__$
|
|
32336
|
+
var __vue_staticRenderFns__$m = [];
|
|
32337
|
+
__vue_render__$m._withStripped = true;
|
|
32338
32338
|
|
|
32339
32339
|
/* style */
|
|
32340
|
-
const __vue_inject_styles__$
|
|
32340
|
+
const __vue_inject_styles__$m = undefined;
|
|
32341
32341
|
/* scoped */
|
|
32342
|
-
const __vue_scope_id__$
|
|
32342
|
+
const __vue_scope_id__$m = undefined;
|
|
32343
32343
|
/* module identifier */
|
|
32344
|
-
const __vue_module_identifier__$
|
|
32344
|
+
const __vue_module_identifier__$m = undefined;
|
|
32345
32345
|
/* functional template */
|
|
32346
|
-
const __vue_is_functional_template__$
|
|
32346
|
+
const __vue_is_functional_template__$m = false;
|
|
32347
32347
|
/* style inject */
|
|
32348
32348
|
|
|
32349
32349
|
/* style inject SSR */
|
|
32350
32350
|
|
|
32351
32351
|
/* style inject shadow dom */
|
|
32352
32352
|
|
|
32353
|
-
const __vue_component__$
|
|
32354
|
-
render: __vue_render__$
|
|
32355
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
32356
|
-
}, __vue_inject_styles__$
|
|
32353
|
+
const __vue_component__$m = /*#__PURE__*/normalizeComponent({
|
|
32354
|
+
render: __vue_render__$m,
|
|
32355
|
+
staticRenderFns: __vue_staticRenderFns__$m
|
|
32356
|
+
}, __vue_inject_styles__$m, __vue_script__$m, __vue_scope_id__$m, __vue_is_functional_template__$m, __vue_module_identifier__$m, false, undefined, undefined, undefined);
|
|
32357
32357
|
|
|
32358
32358
|
const checkboxVariants = cva('rq-checkbox');
|
|
32359
32359
|
|
|
@@ -32384,7 +32384,7 @@ const checkboxVariants = cva('rq-checkbox');
|
|
|
32384
32384
|
//
|
|
32385
32385
|
//
|
|
32386
32386
|
|
|
32387
|
-
var script$
|
|
32387
|
+
var script$l = {
|
|
32388
32388
|
name: 'Checkbox',
|
|
32389
32389
|
model: {
|
|
32390
32390
|
prop: 'checked',
|
|
@@ -32434,10 +32434,10 @@ var script$k = {
|
|
|
32434
32434
|
};
|
|
32435
32435
|
|
|
32436
32436
|
/* script */
|
|
32437
|
-
const __vue_script__$
|
|
32437
|
+
const __vue_script__$l = script$l;
|
|
32438
32438
|
|
|
32439
32439
|
/* template */
|
|
32440
|
-
var __vue_render__$
|
|
32440
|
+
var __vue_render__$l = function () {
|
|
32441
32441
|
var _vm = this;
|
|
32442
32442
|
var _h = _vm.$createElement;
|
|
32443
32443
|
var _c = _vm._self._c || _h;
|
|
@@ -32473,27 +32473,27 @@ var __vue_render__$k = function () {
|
|
|
32473
32473
|
}
|
|
32474
32474
|
}) : _vm._e()], 1);
|
|
32475
32475
|
};
|
|
32476
|
-
var __vue_staticRenderFns__$
|
|
32477
|
-
__vue_render__$
|
|
32476
|
+
var __vue_staticRenderFns__$l = [];
|
|
32477
|
+
__vue_render__$l._withStripped = true;
|
|
32478
32478
|
|
|
32479
32479
|
/* style */
|
|
32480
|
-
const __vue_inject_styles__$
|
|
32480
|
+
const __vue_inject_styles__$l = undefined;
|
|
32481
32481
|
/* scoped */
|
|
32482
|
-
const __vue_scope_id__$
|
|
32482
|
+
const __vue_scope_id__$l = undefined;
|
|
32483
32483
|
/* module identifier */
|
|
32484
|
-
const __vue_module_identifier__$
|
|
32484
|
+
const __vue_module_identifier__$l = undefined;
|
|
32485
32485
|
/* functional template */
|
|
32486
|
-
const __vue_is_functional_template__$
|
|
32486
|
+
const __vue_is_functional_template__$l = false;
|
|
32487
32487
|
/* style inject */
|
|
32488
32488
|
|
|
32489
32489
|
/* style inject SSR */
|
|
32490
32490
|
|
|
32491
32491
|
/* style inject shadow dom */
|
|
32492
32492
|
|
|
32493
|
-
const __vue_component__$
|
|
32494
|
-
render: __vue_render__$
|
|
32495
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
32496
|
-
}, __vue_inject_styles__$
|
|
32493
|
+
const __vue_component__$l = /*#__PURE__*/normalizeComponent({
|
|
32494
|
+
render: __vue_render__$l,
|
|
32495
|
+
staticRenderFns: __vue_staticRenderFns__$l
|
|
32496
|
+
}, __vue_inject_styles__$l, __vue_script__$l, __vue_scope_id__$l, __vue_is_functional_template__$l, __vue_module_identifier__$l, false, undefined, undefined, undefined);
|
|
32497
32497
|
|
|
32498
32498
|
const switchVariants = cva('rq-switch');
|
|
32499
32499
|
|
|
@@ -32513,7 +32513,7 @@ const switchVariants = cva('rq-switch');
|
|
|
32513
32513
|
//
|
|
32514
32514
|
//
|
|
32515
32515
|
|
|
32516
|
-
var script$
|
|
32516
|
+
var script$k = {
|
|
32517
32517
|
name: 'RqSwitch',
|
|
32518
32518
|
model: {
|
|
32519
32519
|
prop: 'checked',
|
|
@@ -32540,10 +32540,10 @@ var script$j = {
|
|
|
32540
32540
|
};
|
|
32541
32541
|
|
|
32542
32542
|
/* script */
|
|
32543
|
-
const __vue_script__$
|
|
32543
|
+
const __vue_script__$k = script$k;
|
|
32544
32544
|
|
|
32545
32545
|
/* template */
|
|
32546
|
-
var __vue_render__$
|
|
32546
|
+
var __vue_render__$k = function () {
|
|
32547
32547
|
var _vm = this;
|
|
32548
32548
|
var _h = _vm.$createElement;
|
|
32549
32549
|
var _c = _vm._self._c || _h;
|
|
@@ -32571,27 +32571,27 @@ var __vue_render__$j = function () {
|
|
|
32571
32571
|
staticClass: "rq-switch__thumb"
|
|
32572
32572
|
})]);
|
|
32573
32573
|
};
|
|
32574
|
-
var __vue_staticRenderFns__$
|
|
32575
|
-
__vue_render__$
|
|
32574
|
+
var __vue_staticRenderFns__$k = [];
|
|
32575
|
+
__vue_render__$k._withStripped = true;
|
|
32576
32576
|
|
|
32577
32577
|
/* style */
|
|
32578
|
-
const __vue_inject_styles__$
|
|
32578
|
+
const __vue_inject_styles__$k = undefined;
|
|
32579
32579
|
/* scoped */
|
|
32580
|
-
const __vue_scope_id__$
|
|
32580
|
+
const __vue_scope_id__$k = undefined;
|
|
32581
32581
|
/* module identifier */
|
|
32582
|
-
const __vue_module_identifier__$
|
|
32582
|
+
const __vue_module_identifier__$k = undefined;
|
|
32583
32583
|
/* functional template */
|
|
32584
|
-
const __vue_is_functional_template__$
|
|
32584
|
+
const __vue_is_functional_template__$k = false;
|
|
32585
32585
|
/* style inject */
|
|
32586
32586
|
|
|
32587
32587
|
/* style inject SSR */
|
|
32588
32588
|
|
|
32589
32589
|
/* style inject shadow dom */
|
|
32590
32590
|
|
|
32591
|
-
const __vue_component__$
|
|
32592
|
-
render: __vue_render__$
|
|
32593
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
32594
|
-
}, __vue_inject_styles__$
|
|
32591
|
+
const __vue_component__$k = /*#__PURE__*/normalizeComponent({
|
|
32592
|
+
render: __vue_render__$k,
|
|
32593
|
+
staticRenderFns: __vue_staticRenderFns__$k
|
|
32594
|
+
}, __vue_inject_styles__$k, __vue_script__$k, __vue_scope_id__$k, __vue_is_functional_template__$k, __vue_module_identifier__$k, false, undefined, undefined, undefined);
|
|
32595
32595
|
|
|
32596
32596
|
const chipVariants = cva('rq-chip', {
|
|
32597
32597
|
variants: {},
|
|
@@ -32614,7 +32614,7 @@ const chipVariants = cva('rq-chip', {
|
|
|
32614
32614
|
//
|
|
32615
32615
|
//
|
|
32616
32616
|
|
|
32617
|
-
var script$
|
|
32617
|
+
var script$j = {
|
|
32618
32618
|
name: 'Chip',
|
|
32619
32619
|
props: {
|
|
32620
32620
|
label: {
|
|
@@ -32643,10 +32643,10 @@ var script$i = {
|
|
|
32643
32643
|
};
|
|
32644
32644
|
|
|
32645
32645
|
/* script */
|
|
32646
|
-
const __vue_script__$
|
|
32646
|
+
const __vue_script__$j = script$j;
|
|
32647
32647
|
|
|
32648
32648
|
/* template */
|
|
32649
|
-
var __vue_render__$
|
|
32649
|
+
var __vue_render__$j = function () {
|
|
32650
32650
|
var _vm = this;
|
|
32651
32651
|
var _h = _vm.$createElement;
|
|
32652
32652
|
var _c = _vm._self._c || _h;
|
|
@@ -32671,27 +32671,27 @@ var __vue_render__$i = function () {
|
|
|
32671
32671
|
}
|
|
32672
32672
|
})], 1) : _vm._e()]);
|
|
32673
32673
|
};
|
|
32674
|
-
var __vue_staticRenderFns__$
|
|
32675
|
-
__vue_render__$
|
|
32674
|
+
var __vue_staticRenderFns__$j = [];
|
|
32675
|
+
__vue_render__$j._withStripped = true;
|
|
32676
32676
|
|
|
32677
32677
|
/* style */
|
|
32678
|
-
const __vue_inject_styles__$
|
|
32678
|
+
const __vue_inject_styles__$j = undefined;
|
|
32679
32679
|
/* scoped */
|
|
32680
|
-
const __vue_scope_id__$
|
|
32680
|
+
const __vue_scope_id__$j = undefined;
|
|
32681
32681
|
/* module identifier */
|
|
32682
|
-
const __vue_module_identifier__$
|
|
32682
|
+
const __vue_module_identifier__$j = undefined;
|
|
32683
32683
|
/* functional template */
|
|
32684
|
-
const __vue_is_functional_template__$
|
|
32684
|
+
const __vue_is_functional_template__$j = false;
|
|
32685
32685
|
/* style inject */
|
|
32686
32686
|
|
|
32687
32687
|
/* style inject SSR */
|
|
32688
32688
|
|
|
32689
32689
|
/* style inject shadow dom */
|
|
32690
32690
|
|
|
32691
|
-
const __vue_component__$
|
|
32692
|
-
render: __vue_render__$
|
|
32693
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
32694
|
-
}, __vue_inject_styles__$
|
|
32691
|
+
const __vue_component__$j = /*#__PURE__*/normalizeComponent({
|
|
32692
|
+
render: __vue_render__$j,
|
|
32693
|
+
staticRenderFns: __vue_staticRenderFns__$j
|
|
32694
|
+
}, __vue_inject_styles__$j, __vue_script__$j, __vue_scope_id__$j, __vue_is_functional_template__$j, __vue_module_identifier__$j, false, undefined, undefined, undefined);
|
|
32695
32695
|
|
|
32696
32696
|
const badgeVariants = cva('rq-badge', {
|
|
32697
32697
|
variants: {
|
|
@@ -32722,7 +32722,7 @@ const badgeVariants = cva('rq-badge', {
|
|
|
32722
32722
|
//
|
|
32723
32723
|
//
|
|
32724
32724
|
|
|
32725
|
-
var script$
|
|
32725
|
+
var script$i = {
|
|
32726
32726
|
name: 'Badge',
|
|
32727
32727
|
inheritAttrs: false,
|
|
32728
32728
|
props: {
|
|
@@ -32782,10 +32782,10 @@ var script$h = {
|
|
|
32782
32782
|
};
|
|
32783
32783
|
|
|
32784
32784
|
/* script */
|
|
32785
|
-
const __vue_script__$
|
|
32785
|
+
const __vue_script__$i = script$i;
|
|
32786
32786
|
|
|
32787
32787
|
/* template */
|
|
32788
|
-
var __vue_render__$
|
|
32788
|
+
var __vue_render__$i = function () {
|
|
32789
32789
|
var _vm = this;
|
|
32790
32790
|
var _h = _vm.$createElement;
|
|
32791
32791
|
var _c = _vm._self._c || _h;
|
|
@@ -32794,27 +32794,27 @@ var __vue_render__$h = function () {
|
|
|
32794
32794
|
style: _vm.inlineStyle
|
|
32795
32795
|
}, "span", _vm.$attrs, false), _vm.$listeners), [_vm._t("left"), _vm._v(" "), _vm._t("default"), _vm._v(" "), _vm._t("right")], 2);
|
|
32796
32796
|
};
|
|
32797
|
-
var __vue_staticRenderFns__$
|
|
32798
|
-
__vue_render__$
|
|
32797
|
+
var __vue_staticRenderFns__$i = [];
|
|
32798
|
+
__vue_render__$i._withStripped = true;
|
|
32799
32799
|
|
|
32800
32800
|
/* style */
|
|
32801
|
-
const __vue_inject_styles__$
|
|
32801
|
+
const __vue_inject_styles__$i = undefined;
|
|
32802
32802
|
/* scoped */
|
|
32803
|
-
const __vue_scope_id__$
|
|
32803
|
+
const __vue_scope_id__$i = undefined;
|
|
32804
32804
|
/* module identifier */
|
|
32805
|
-
const __vue_module_identifier__$
|
|
32805
|
+
const __vue_module_identifier__$i = undefined;
|
|
32806
32806
|
/* functional template */
|
|
32807
|
-
const __vue_is_functional_template__$
|
|
32807
|
+
const __vue_is_functional_template__$i = false;
|
|
32808
32808
|
/* style inject */
|
|
32809
32809
|
|
|
32810
32810
|
/* style inject SSR */
|
|
32811
32811
|
|
|
32812
32812
|
/* style inject shadow dom */
|
|
32813
32813
|
|
|
32814
|
-
const __vue_component__$
|
|
32815
|
-
render: __vue_render__$
|
|
32816
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
32817
|
-
}, __vue_inject_styles__$
|
|
32814
|
+
const __vue_component__$i = /*#__PURE__*/normalizeComponent({
|
|
32815
|
+
render: __vue_render__$i,
|
|
32816
|
+
staticRenderFns: __vue_staticRenderFns__$i
|
|
32817
|
+
}, __vue_inject_styles__$i, __vue_script__$i, __vue_scope_id__$i, __vue_is_functional_template__$i, __vue_module_identifier__$i, false, undefined, undefined, undefined);
|
|
32818
32818
|
|
|
32819
32819
|
const iconVariants = cva('rq-icon', {
|
|
32820
32820
|
variants: {
|
|
@@ -32848,7 +32848,7 @@ const iconVariants = cva('rq-icon', {
|
|
|
32848
32848
|
//
|
|
32849
32849
|
//
|
|
32850
32850
|
|
|
32851
|
-
var script$
|
|
32851
|
+
var script$h = {
|
|
32852
32852
|
name: 'Icon',
|
|
32853
32853
|
inheritAttrs: false,
|
|
32854
32854
|
props: {
|
|
@@ -32900,10 +32900,10 @@ var script$g = {
|
|
|
32900
32900
|
};
|
|
32901
32901
|
|
|
32902
32902
|
/* script */
|
|
32903
|
-
const __vue_script__$
|
|
32903
|
+
const __vue_script__$h = script$h;
|
|
32904
32904
|
|
|
32905
32905
|
/* template */
|
|
32906
|
-
var __vue_render__$
|
|
32906
|
+
var __vue_render__$h = function () {
|
|
32907
32907
|
var _vm = this;
|
|
32908
32908
|
var _h = _vm.$createElement;
|
|
32909
32909
|
var _c = _vm._self._c || _h;
|
|
@@ -32912,6 +32912,70 @@ var __vue_render__$g = function () {
|
|
|
32912
32912
|
style: _vm.fontVariationStyle
|
|
32913
32913
|
}, "span", _vm.mergedAttrs, false), _vm.$listeners), [_vm._v(_vm._s(_vm.name))]);
|
|
32914
32914
|
};
|
|
32915
|
+
var __vue_staticRenderFns__$h = [];
|
|
32916
|
+
__vue_render__$h._withStripped = true;
|
|
32917
|
+
|
|
32918
|
+
/* style */
|
|
32919
|
+
const __vue_inject_styles__$h = undefined;
|
|
32920
|
+
/* scoped */
|
|
32921
|
+
const __vue_scope_id__$h = undefined;
|
|
32922
|
+
/* module identifier */
|
|
32923
|
+
const __vue_module_identifier__$h = undefined;
|
|
32924
|
+
/* functional template */
|
|
32925
|
+
const __vue_is_functional_template__$h = false;
|
|
32926
|
+
/* style inject */
|
|
32927
|
+
|
|
32928
|
+
/* style inject SSR */
|
|
32929
|
+
|
|
32930
|
+
/* style inject shadow dom */
|
|
32931
|
+
|
|
32932
|
+
const __vue_component__$h = /*#__PURE__*/normalizeComponent({
|
|
32933
|
+
render: __vue_render__$h,
|
|
32934
|
+
staticRenderFns: __vue_staticRenderFns__$h
|
|
32935
|
+
}, __vue_inject_styles__$h, __vue_script__$h, __vue_scope_id__$h, __vue_is_functional_template__$h, __vue_module_identifier__$h, false, undefined, undefined, undefined);
|
|
32936
|
+
|
|
32937
|
+
const skeletonVariants = cva('rq-skeleton');
|
|
32938
|
+
|
|
32939
|
+
//
|
|
32940
|
+
//
|
|
32941
|
+
//
|
|
32942
|
+
//
|
|
32943
|
+
|
|
32944
|
+
var script$g = {
|
|
32945
|
+
name: 'Skeleton',
|
|
32946
|
+
props: {
|
|
32947
|
+
width: {
|
|
32948
|
+
type: String,
|
|
32949
|
+
default: '100%'
|
|
32950
|
+
},
|
|
32951
|
+
height: {
|
|
32952
|
+
type: String,
|
|
32953
|
+
default: '16px'
|
|
32954
|
+
}
|
|
32955
|
+
},
|
|
32956
|
+
computed: {
|
|
32957
|
+
classes() {
|
|
32958
|
+
return skeletonVariants();
|
|
32959
|
+
}
|
|
32960
|
+
}
|
|
32961
|
+
};
|
|
32962
|
+
|
|
32963
|
+
/* script */
|
|
32964
|
+
const __vue_script__$g = script$g;
|
|
32965
|
+
|
|
32966
|
+
/* template */
|
|
32967
|
+
var __vue_render__$g = function () {
|
|
32968
|
+
var _vm = this;
|
|
32969
|
+
var _h = _vm.$createElement;
|
|
32970
|
+
var _c = _vm._self._c || _h;
|
|
32971
|
+
return _c("span", _vm._g({
|
|
32972
|
+
class: _vm.classes,
|
|
32973
|
+
style: {
|
|
32974
|
+
width: _vm.width,
|
|
32975
|
+
height: _vm.height
|
|
32976
|
+
}
|
|
32977
|
+
}, _vm.$listeners));
|
|
32978
|
+
};
|
|
32915
32979
|
var __vue_staticRenderFns__$g = [];
|
|
32916
32980
|
__vue_render__$g._withStripped = true;
|
|
32917
32981
|
|
|
@@ -32961,7 +33025,24 @@ const tooltipVariants = cva('rq-tooltip', {
|
|
|
32961
33025
|
//
|
|
32962
33026
|
//
|
|
32963
33027
|
//
|
|
33028
|
+
//
|
|
33029
|
+
//
|
|
33030
|
+
//
|
|
33031
|
+
//
|
|
33032
|
+
//
|
|
33033
|
+
//
|
|
33034
|
+
//
|
|
33035
|
+
//
|
|
33036
|
+
//
|
|
33037
|
+
//
|
|
33038
|
+
//
|
|
33039
|
+
//
|
|
33040
|
+
//
|
|
32964
33041
|
|
|
33042
|
+
|
|
33043
|
+
// Separación entre el trigger y la burbuja, en px. Igual al gap que antes
|
|
33044
|
+
// definía el CSS con calc(100% + 8px).
|
|
33045
|
+
const GAP = 8;
|
|
32965
33046
|
var script$f = {
|
|
32966
33047
|
name: 'Tooltip',
|
|
32967
33048
|
props: {
|
|
@@ -32980,12 +33061,93 @@ var script$f = {
|
|
|
32980
33061
|
default: ''
|
|
32981
33062
|
}
|
|
32982
33063
|
},
|
|
33064
|
+
data() {
|
|
33065
|
+
return {
|
|
33066
|
+
visible: false,
|
|
33067
|
+
coords: null
|
|
33068
|
+
};
|
|
33069
|
+
},
|
|
32983
33070
|
computed: {
|
|
32984
33071
|
classes() {
|
|
32985
33072
|
return tooltipVariants({
|
|
32986
33073
|
side: this.side,
|
|
32987
33074
|
textAlign: this.textAlign
|
|
32988
33075
|
});
|
|
33076
|
+
},
|
|
33077
|
+
// position: fixed lo ancla al viewport, así ningún ancestro con overflow
|
|
33078
|
+
// (celda de tabla, panel con scroll, drawer) puede recortarlo. Además deja
|
|
33079
|
+
// de aportar al área scrolleable del contenedor, que con `absolute`
|
|
33080
|
+
// producía scrollbars horizontales aunque el tooltip estuviera oculto.
|
|
33081
|
+
style() {
|
|
33082
|
+
const base = {
|
|
33083
|
+
position: 'fixed'
|
|
33084
|
+
};
|
|
33085
|
+
if (!this.coords) return {
|
|
33086
|
+
...base,
|
|
33087
|
+
top: '-9999px',
|
|
33088
|
+
left: '-9999px'
|
|
33089
|
+
};
|
|
33090
|
+
return {
|
|
33091
|
+
...base,
|
|
33092
|
+
top: `${this.coords.top}px`,
|
|
33093
|
+
left: `${this.coords.left}px`
|
|
33094
|
+
};
|
|
33095
|
+
}
|
|
33096
|
+
},
|
|
33097
|
+
beforeDestroy() {
|
|
33098
|
+
this.unbindReposition();
|
|
33099
|
+
},
|
|
33100
|
+
methods: {
|
|
33101
|
+
show() {
|
|
33102
|
+
this.updatePosition();
|
|
33103
|
+
this.visible = true;
|
|
33104
|
+
this.bindReposition();
|
|
33105
|
+
},
|
|
33106
|
+
hide() {
|
|
33107
|
+
this.visible = false;
|
|
33108
|
+
this.unbindReposition();
|
|
33109
|
+
},
|
|
33110
|
+
// Al estar fijo al viewport, el tooltip no sigue al trigger cuando la
|
|
33111
|
+
// página o un contenedor interno scrollea: se recalcula mientras se ve.
|
|
33112
|
+
bindReposition() {
|
|
33113
|
+
if (this._reposition) return;
|
|
33114
|
+
this._reposition = () => this.updatePosition();
|
|
33115
|
+
window.addEventListener('scroll', this._reposition, true);
|
|
33116
|
+
window.addEventListener('resize', this._reposition);
|
|
33117
|
+
},
|
|
33118
|
+
unbindReposition() {
|
|
33119
|
+
if (!this._reposition) return;
|
|
33120
|
+
window.removeEventListener('scroll', this._reposition, true);
|
|
33121
|
+
window.removeEventListener('resize', this._reposition);
|
|
33122
|
+
this._reposition = null;
|
|
33123
|
+
},
|
|
33124
|
+
updatePosition() {
|
|
33125
|
+
const trigger = this.$el;
|
|
33126
|
+
const tooltip = this.$refs.tooltip;
|
|
33127
|
+
if (!trigger || !tooltip) return;
|
|
33128
|
+
const t = trigger.getBoundingClientRect();
|
|
33129
|
+
const b = tooltip.getBoundingClientRect();
|
|
33130
|
+
const centerX = t.left + t.width / 2;
|
|
33131
|
+
const centerY = t.top + t.height / 2;
|
|
33132
|
+
const porLado = {
|
|
33133
|
+
top: {
|
|
33134
|
+
top: t.top - b.height - GAP,
|
|
33135
|
+
left: centerX
|
|
33136
|
+
},
|
|
33137
|
+
bottom: {
|
|
33138
|
+
top: t.bottom + GAP,
|
|
33139
|
+
left: centerX
|
|
33140
|
+
},
|
|
33141
|
+
left: {
|
|
33142
|
+
top: centerY,
|
|
33143
|
+
left: t.left - b.width - GAP
|
|
33144
|
+
},
|
|
33145
|
+
right: {
|
|
33146
|
+
top: centerY,
|
|
33147
|
+
left: t.right + GAP
|
|
33148
|
+
}
|
|
33149
|
+
};
|
|
33150
|
+
this.coords = porLado[this.side] || porLado.top;
|
|
32989
33151
|
}
|
|
32990
33152
|
}
|
|
32991
33153
|
};
|
|
@@ -32999,10 +33161,20 @@ var __vue_render__$f = function () {
|
|
|
32999
33161
|
var _h = _vm.$createElement;
|
|
33000
33162
|
var _c = _vm._self._c || _h;
|
|
33001
33163
|
return _c("div", _vm._g({
|
|
33002
|
-
staticClass: "rq-tooltip-wrapper"
|
|
33164
|
+
staticClass: "rq-tooltip-wrapper",
|
|
33165
|
+
on: {
|
|
33166
|
+
mouseenter: _vm.show,
|
|
33167
|
+
mouseleave: _vm.hide,
|
|
33168
|
+
focusin: _vm.show,
|
|
33169
|
+
focusout: _vm.hide
|
|
33170
|
+
}
|
|
33003
33171
|
}, _vm.$listeners), [_vm._t("default"), _vm._v(" "), _c("div", {
|
|
33004
|
-
|
|
33005
|
-
|
|
33172
|
+
ref: "tooltip",
|
|
33173
|
+
class: [_vm.classes, {
|
|
33174
|
+
"rq-tooltip--visible": _vm.visible
|
|
33175
|
+
}],
|
|
33176
|
+
style: _vm.style
|
|
33177
|
+
}, [_vm._v("\n " + _vm._s(_vm.text) + "\n ")])], 2);
|
|
33006
33178
|
};
|
|
33007
33179
|
var __vue_staticRenderFns__$f = [];
|
|
33008
33180
|
__vue_render__$f._withStripped = true;
|
|
@@ -33073,7 +33245,7 @@ const groupMixin = {
|
|
|
33073
33245
|
var script$e = {
|
|
33074
33246
|
name: 'RichCheckboxGroup',
|
|
33075
33247
|
components: {
|
|
33076
|
-
Checkbox: __vue_component__$
|
|
33248
|
+
Checkbox: __vue_component__$l
|
|
33077
33249
|
},
|
|
33078
33250
|
mixins: [groupMixin],
|
|
33079
33251
|
props: {
|
|
@@ -33187,7 +33359,7 @@ const checkboxGroupVariants = cva('rq-checkbox-group', {
|
|
|
33187
33359
|
var script$d = {
|
|
33188
33360
|
name: 'CheckboxGroup',
|
|
33189
33361
|
components: {
|
|
33190
|
-
Checkbox: __vue_component__$
|
|
33362
|
+
Checkbox: __vue_component__$l
|
|
33191
33363
|
},
|
|
33192
33364
|
mixins: [groupMixin],
|
|
33193
33365
|
props: {
|
|
@@ -33296,7 +33468,7 @@ const switchGroupVariants = cva('rq-switch-group', {
|
|
|
33296
33468
|
var script$c = {
|
|
33297
33469
|
name: 'SwitchGroup',
|
|
33298
33470
|
components: {
|
|
33299
|
-
RqSwitch: __vue_component__$
|
|
33471
|
+
RqSwitch: __vue_component__$k
|
|
33300
33472
|
},
|
|
33301
33473
|
mixins: [groupMixin],
|
|
33302
33474
|
props: {
|
|
@@ -33401,7 +33573,7 @@ const richSwitchGroupVariants = cva('rq-rich-switch-group');
|
|
|
33401
33573
|
var script$b = {
|
|
33402
33574
|
name: 'RichSwitchGroup',
|
|
33403
33575
|
components: {
|
|
33404
|
-
RqSwitch: __vue_component__$
|
|
33576
|
+
RqSwitch: __vue_component__$k
|
|
33405
33577
|
},
|
|
33406
33578
|
mixins: [groupMixin],
|
|
33407
33579
|
props: {
|
|
@@ -34117,8 +34289,8 @@ const searchInputVariants = cva('rq-search-input', {
|
|
|
34117
34289
|
var script$7 = {
|
|
34118
34290
|
name: 'SearchInput',
|
|
34119
34291
|
components: {
|
|
34120
|
-
Input: __vue_component__$
|
|
34121
|
-
Button: __vue_component__$
|
|
34292
|
+
Input: __vue_component__$o,
|
|
34293
|
+
Button: __vue_component__$n,
|
|
34122
34294
|
X
|
|
34123
34295
|
},
|
|
34124
34296
|
props: {
|
|
@@ -34359,7 +34531,7 @@ const selectionBarVariants = cva('rq-selection-bar', {
|
|
|
34359
34531
|
var script$5 = {
|
|
34360
34532
|
name: 'SelectionBar',
|
|
34361
34533
|
components: {
|
|
34362
|
-
Button: __vue_component__$
|
|
34534
|
+
Button: __vue_component__$n
|
|
34363
34535
|
},
|
|
34364
34536
|
props: {
|
|
34365
34537
|
count: {
|
|
@@ -37490,6 +37662,19 @@ function useTable(props, emit) {
|
|
|
37490
37662
|
return offsets;
|
|
37491
37663
|
});
|
|
37492
37664
|
|
|
37665
|
+
// Ancho total del área sticky (expand + select + columnas fijas): es el
|
|
37666
|
+
// punto real donde termina la zona siempre-visible y empieza el contenido
|
|
37667
|
+
// scrolleable, sin importar cuánto se haya scrolleado horizontalmente.
|
|
37668
|
+
const pinnedAreaWidth = vue.computed(() => {
|
|
37669
|
+
const left = columnPinning.value.left || [];
|
|
37670
|
+
let total = (props.expandable ? props.expandColWidth || 40 : 0) + (props.selectable ? 40 : 0);
|
|
37671
|
+
left.forEach(key => {
|
|
37672
|
+
const col = props.columns.find(c => c.key === key);
|
|
37673
|
+
total += col?.width || 150;
|
|
37674
|
+
});
|
|
37675
|
+
return total;
|
|
37676
|
+
});
|
|
37677
|
+
|
|
37493
37678
|
// --- Handlers de column pinning ---
|
|
37494
37679
|
function togglePin(columnKey) {
|
|
37495
37680
|
const left = [...(columnPinning.value.left || [])];
|
|
@@ -37585,6 +37770,7 @@ function useTable(props, emit) {
|
|
|
37585
37770
|
headerGroups,
|
|
37586
37771
|
tableRows,
|
|
37587
37772
|
pinnedLeftWidths,
|
|
37773
|
+
pinnedAreaWidth,
|
|
37588
37774
|
draggingKey,
|
|
37589
37775
|
dragOverKey,
|
|
37590
37776
|
onDragStart,
|
|
@@ -37792,11 +37978,60 @@ function useTable(props, emit) {
|
|
|
37792
37978
|
//
|
|
37793
37979
|
//
|
|
37794
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
|
+
//
|
|
38027
|
+
//
|
|
38028
|
+
//
|
|
37795
38029
|
|
|
37796
38030
|
var script$4 = {
|
|
37797
38031
|
name: 'Table',
|
|
37798
38032
|
components: {
|
|
37799
|
-
Checkbox: __vue_component__$
|
|
38033
|
+
Checkbox: __vue_component__$l,
|
|
38034
|
+
Skeleton: __vue_component__$g,
|
|
37800
38035
|
Tooltip: __vue_component__$f
|
|
37801
38036
|
},
|
|
37802
38037
|
props: {
|
|
@@ -37816,6 +38051,16 @@ var script$4 = {
|
|
|
37816
38051
|
type: Array,
|
|
37817
38052
|
default: () => []
|
|
37818
38053
|
},
|
|
38054
|
+
// Habilitan/deshabilitan el drag & drop de reorden y el menú contextual
|
|
38055
|
+
// de pin/unpin para toda la tabla.
|
|
38056
|
+
columnsDraggable: {
|
|
38057
|
+
type: Boolean,
|
|
38058
|
+
default: true
|
|
38059
|
+
},
|
|
38060
|
+
columnsPinnable: {
|
|
38061
|
+
type: Boolean,
|
|
38062
|
+
default: true
|
|
38063
|
+
},
|
|
37819
38064
|
selectable: {
|
|
37820
38065
|
type: Boolean,
|
|
37821
38066
|
default: false
|
|
@@ -37849,6 +38094,16 @@ var script$4 = {
|
|
|
37849
38094
|
emptyState: {
|
|
37850
38095
|
type: Object,
|
|
37851
38096
|
default: null
|
|
38097
|
+
},
|
|
38098
|
+
// Estado de carga: reemplaza tableRows/empty-state por filas fantasma
|
|
38099
|
+
// con el ancho real de cada columna.
|
|
38100
|
+
loading: {
|
|
38101
|
+
type: Boolean,
|
|
38102
|
+
default: false
|
|
38103
|
+
},
|
|
38104
|
+
loadingRows: {
|
|
38105
|
+
type: Number,
|
|
38106
|
+
default: 5
|
|
37852
38107
|
}
|
|
37853
38108
|
},
|
|
37854
38109
|
setup(props, {
|
|
@@ -37871,6 +38126,7 @@ var script$4 = {
|
|
|
37871
38126
|
y: 0
|
|
37872
38127
|
},
|
|
37873
38128
|
truncatedCells: {},
|
|
38129
|
+
cellTexts: {},
|
|
37874
38130
|
expandedRowId: null
|
|
37875
38131
|
};
|
|
37876
38132
|
},
|
|
@@ -37944,6 +38200,61 @@ var script$4 = {
|
|
|
37944
38200
|
this.closeAll();
|
|
37945
38201
|
this.onDragStart(columnKey);
|
|
37946
38202
|
},
|
|
38203
|
+
handleDragOver(columnKey, event) {
|
|
38204
|
+
this.onDragOver(columnKey);
|
|
38205
|
+
this.updateAutoScroll(event.clientX);
|
|
38206
|
+
},
|
|
38207
|
+
handleDrop() {
|
|
38208
|
+
this.stopAutoScroll();
|
|
38209
|
+
this.onDrop();
|
|
38210
|
+
},
|
|
38211
|
+
handleDragEnd() {
|
|
38212
|
+
this.stopAutoScroll();
|
|
38213
|
+
this.onDragEnd();
|
|
38214
|
+
},
|
|
38215
|
+
// Auto-scroll horizontal mientras se arrastra una columna: si el cursor
|
|
38216
|
+
// entra en la franja de `edge` px cerca de un borde del scroll container,
|
|
38217
|
+
// se scrollea hacia ese lado a una velocidad proporcional a la cercanía
|
|
38218
|
+
// al borde. dragover nativo no dispara si el mouse no se mueve, por eso
|
|
38219
|
+
// el loop corre en su propio rAF en vez de depender del evento.
|
|
38220
|
+
//
|
|
38221
|
+
// El borde izquierdo real es el límite del área sticky (pinnedAreaWidth),
|
|
38222
|
+
// no el borde del contenedor: las columnas fijas siempre están visibles
|
|
38223
|
+
// ahí, así que la zona caliente debe arrancar donde termina esa área.
|
|
38224
|
+
updateAutoScroll(clientX) {
|
|
38225
|
+
const scroll = this.$el.querySelector('.rq-table__scroll');
|
|
38226
|
+
if (!scroll) return;
|
|
38227
|
+
const rect = scroll.getBoundingClientRect();
|
|
38228
|
+
const edge = 60;
|
|
38229
|
+
const maxSpeed = 18;
|
|
38230
|
+
const leftBoundary = rect.left + this.pinnedAreaWidth;
|
|
38231
|
+
let speed = 0;
|
|
38232
|
+
if (clientX < leftBoundary + edge) {
|
|
38233
|
+
speed = -maxSpeed * (1 - Math.max(0, clientX - leftBoundary) / edge);
|
|
38234
|
+
} else if (clientX > rect.right - edge) {
|
|
38235
|
+
speed = maxSpeed * (1 - Math.max(0, rect.right - clientX) / edge);
|
|
38236
|
+
}
|
|
38237
|
+
this._autoScrollSpeed = speed;
|
|
38238
|
+
if (speed !== 0) {
|
|
38239
|
+
this.startAutoScroll(scroll);
|
|
38240
|
+
} else {
|
|
38241
|
+
this.stopAutoScroll();
|
|
38242
|
+
}
|
|
38243
|
+
},
|
|
38244
|
+
startAutoScroll(scroll) {
|
|
38245
|
+
if (this._autoScrollRafId) return;
|
|
38246
|
+
const step = () => {
|
|
38247
|
+
scroll.scrollLeft += this._autoScrollSpeed;
|
|
38248
|
+
this._autoScrollRafId = requestAnimationFrame(step);
|
|
38249
|
+
};
|
|
38250
|
+
this._autoScrollRafId = requestAnimationFrame(step);
|
|
38251
|
+
},
|
|
38252
|
+
stopAutoScroll() {
|
|
38253
|
+
if (this._autoScrollRafId) {
|
|
38254
|
+
cancelAnimationFrame(this._autoScrollRafId);
|
|
38255
|
+
this._autoScrollRafId = null;
|
|
38256
|
+
}
|
|
38257
|
+
},
|
|
37947
38258
|
onChevronClick(columnKey, event) {
|
|
37948
38259
|
this.contextMenu = {
|
|
37949
38260
|
visible: false,
|
|
@@ -37972,6 +38283,7 @@ var script$4 = {
|
|
|
37972
38283
|
});
|
|
37973
38284
|
},
|
|
37974
38285
|
openContextMenu(colKey, event) {
|
|
38286
|
+
if (!this.columnsPinnable) return;
|
|
37975
38287
|
this.closeChevron();
|
|
37976
38288
|
const tableRect = this.$el.getBoundingClientRect();
|
|
37977
38289
|
this.contextMenu = {
|
|
@@ -38031,10 +38343,18 @@ var script$4 = {
|
|
|
38031
38343
|
if (!this.$el) return;
|
|
38032
38344
|
const els = this.$el.querySelectorAll('.rq-table__cell-text[data-cell-key]');
|
|
38033
38345
|
const result = {};
|
|
38346
|
+
const texts = {};
|
|
38034
38347
|
els.forEach(el => {
|
|
38035
38348
|
result[el.dataset.cellKey] = el.scrollWidth > el.clientWidth;
|
|
38349
|
+
// Se guarda el texto ya renderizado: si la celda pasa por un slot que
|
|
38350
|
+
// formatea el valor, el tooltip debe mostrar lo que el usuario ve.
|
|
38351
|
+
texts[el.dataset.cellKey] = el.textContent.trim();
|
|
38036
38352
|
});
|
|
38037
38353
|
this.truncatedCells = result;
|
|
38354
|
+
this.cellTexts = texts;
|
|
38355
|
+
},
|
|
38356
|
+
cellTooltipText(rowId, headerId) {
|
|
38357
|
+
return this.cellTexts[this.cellKey(rowId, headerId)] || '';
|
|
38038
38358
|
}
|
|
38039
38359
|
},
|
|
38040
38360
|
watch: {
|
|
@@ -38065,6 +38385,7 @@ var script$4 = {
|
|
|
38065
38385
|
this.$nextTick(this.measureTruncatedCells);
|
|
38066
38386
|
},
|
|
38067
38387
|
beforeDestroy() {
|
|
38388
|
+
this.stopAutoScroll();
|
|
38068
38389
|
document.removeEventListener('keydown', this._onKeydown);
|
|
38069
38390
|
document.removeEventListener('click', this._onDocumentClick);
|
|
38070
38391
|
window.removeEventListener('resize', this._onResize);
|
|
@@ -38136,7 +38457,7 @@ var __vue_render__$4 = function () {
|
|
|
38136
38457
|
},
|
|
38137
38458
|
style: _vm.getColStyle(header, true),
|
|
38138
38459
|
attrs: {
|
|
38139
|
-
draggable:
|
|
38460
|
+
draggable: _vm.columnsDraggable
|
|
38140
38461
|
},
|
|
38141
38462
|
on: {
|
|
38142
38463
|
dragstart: function ($event) {
|
|
@@ -38144,10 +38465,10 @@ var __vue_render__$4 = function () {
|
|
|
38144
38465
|
},
|
|
38145
38466
|
dragover: function ($event) {
|
|
38146
38467
|
$event.preventDefault();
|
|
38147
|
-
return _vm.
|
|
38468
|
+
return _vm.handleDragOver(header.id, $event);
|
|
38148
38469
|
},
|
|
38149
|
-
drop: _vm.
|
|
38150
|
-
dragend: _vm.
|
|
38470
|
+
drop: _vm.handleDrop,
|
|
38471
|
+
dragend: _vm.handleDragEnd,
|
|
38151
38472
|
contextmenu: function ($event) {
|
|
38152
38473
|
$event.preventDefault();
|
|
38153
38474
|
return _vm.openContextMenu(header.id, $event);
|
|
@@ -38178,7 +38499,41 @@ var __vue_render__$4 = function () {
|
|
|
38178
38499
|
}
|
|
38179
38500
|
})], 1) : _vm._e()])]);
|
|
38180
38501
|
})], 2);
|
|
38181
|
-
}), 0), _vm._v(" "), _c("tbody", [
|
|
38502
|
+
}), 0), _vm._v(" "), _c("tbody", [_vm.loading ? _vm._l(_vm.loadingRows, function (n) {
|
|
38503
|
+
return _c("tr", {
|
|
38504
|
+
key: "skeleton-" + n,
|
|
38505
|
+
staticClass: "rq-table__tr rq-table__tr--body rq-table__tr--skeleton"
|
|
38506
|
+
}, [_vm.expandable ? _c("td", {
|
|
38507
|
+
staticClass: "rq-table__td rq-table__td--expand",
|
|
38508
|
+
style: {
|
|
38509
|
+
position: "sticky",
|
|
38510
|
+
left: 0,
|
|
38511
|
+
zIndex: 2,
|
|
38512
|
+
width: _vm.expandColWidth + "px",
|
|
38513
|
+
minWidth: _vm.expandColWidth + "px"
|
|
38514
|
+
}
|
|
38515
|
+
}) : _vm._e(), _vm._v(" "), _vm.selectable ? _c("td", {
|
|
38516
|
+
staticClass: "rq-table__td rq-table__td--select",
|
|
38517
|
+
style: {
|
|
38518
|
+
position: "sticky",
|
|
38519
|
+
left: _vm.selectColOffset + "px",
|
|
38520
|
+
zIndex: 2
|
|
38521
|
+
}
|
|
38522
|
+
}) : _vm._e(), _vm._v(" "), _vm._l(_vm.headerGroups[0] ? _vm.headerGroups[0].headers : [], function (header) {
|
|
38523
|
+
return _c("td", {
|
|
38524
|
+
key: header.id,
|
|
38525
|
+
staticClass: "rq-table__td",
|
|
38526
|
+
class: {
|
|
38527
|
+
"rq-table__td--pinned": header.id in _vm.pinnedLeftWidths
|
|
38528
|
+
},
|
|
38529
|
+
style: _vm.getColStyle(header)
|
|
38530
|
+
}, [_c("Skeleton", {
|
|
38531
|
+
attrs: {
|
|
38532
|
+
height: "16px"
|
|
38533
|
+
}
|
|
38534
|
+
})], 1);
|
|
38535
|
+
})], 2);
|
|
38536
|
+
}) : [!_vm.tableRows.length ? _c("tr", {
|
|
38182
38537
|
staticClass: "rq-table__tr rq-table__tr--empty"
|
|
38183
38538
|
}, [_c("td", {
|
|
38184
38539
|
staticClass: "rq-table__td rq-table__td--empty",
|
|
@@ -38210,6 +38565,31 @@ var __vue_render__$4 = function () {
|
|
|
38210
38565
|
zIndex: 2,
|
|
38211
38566
|
width: _vm.expandColWidth + "px",
|
|
38212
38567
|
minWidth: _vm.expandColWidth + "px"
|
|
38568
|
+
},
|
|
38569
|
+
attrs: {
|
|
38570
|
+
role: "button",
|
|
38571
|
+
tabindex: "0",
|
|
38572
|
+
"aria-expanded": _vm.expandedRowId === row.id
|
|
38573
|
+
},
|
|
38574
|
+
on: {
|
|
38575
|
+
click: function ($event) {
|
|
38576
|
+
$event.stopPropagation();
|
|
38577
|
+
return _vm.toggleExpand(row.id);
|
|
38578
|
+
},
|
|
38579
|
+
keydown: [function ($event) {
|
|
38580
|
+
if (!$event.type.indexOf("key") && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) {
|
|
38581
|
+
return null;
|
|
38582
|
+
}
|
|
38583
|
+
$event.stopPropagation();
|
|
38584
|
+
return _vm.toggleExpand(row.id);
|
|
38585
|
+
}, function ($event) {
|
|
38586
|
+
if (!$event.type.indexOf("key") && _vm._k($event.keyCode, "space", 32, $event.key, [" ", "Spacebar"])) {
|
|
38587
|
+
return null;
|
|
38588
|
+
}
|
|
38589
|
+
$event.preventDefault();
|
|
38590
|
+
$event.stopPropagation();
|
|
38591
|
+
return _vm.toggleExpand(row.id);
|
|
38592
|
+
}]
|
|
38213
38593
|
}
|
|
38214
38594
|
}, [_c("div", {
|
|
38215
38595
|
staticClass: "rq-table__expand-cell"
|
|
@@ -38219,13 +38599,8 @@ var __vue_render__$4 = function () {
|
|
|
38219
38599
|
"rq-table__expand-btn--active": _vm.expandedRowId === row.id
|
|
38220
38600
|
},
|
|
38221
38601
|
attrs: {
|
|
38222
|
-
type: "button"
|
|
38223
|
-
|
|
38224
|
-
on: {
|
|
38225
|
-
click: function ($event) {
|
|
38226
|
-
$event.stopPropagation();
|
|
38227
|
-
return _vm.toggleExpand(row.id);
|
|
38228
|
-
}
|
|
38602
|
+
type: "button",
|
|
38603
|
+
tabindex: "-1"
|
|
38229
38604
|
}
|
|
38230
38605
|
}, [_c(_vm.ExpandIcon, {
|
|
38231
38606
|
tag: "component",
|
|
@@ -38263,27 +38638,32 @@ var __vue_render__$4 = function () {
|
|
|
38263
38638
|
"rq-table__td--pinned": header.id in _vm.pinnedLeftWidths
|
|
38264
38639
|
},
|
|
38265
38640
|
style: _vm.getColStyle(header)
|
|
38641
|
+
}, [_vm.isTruncated(row.id, header.id) ? _c("Tooltip", {
|
|
38642
|
+
staticClass: "rq-table__cell-tooltip",
|
|
38643
|
+
attrs: {
|
|
38644
|
+
text: _vm.cellTooltipText(row.id, header.id)
|
|
38645
|
+
}
|
|
38646
|
+
}, [_c("span", {
|
|
38647
|
+
staticClass: "rq-table__cell-text",
|
|
38648
|
+
attrs: {
|
|
38649
|
+
"data-cell-key": _vm.cellKey(row.id, header.id)
|
|
38650
|
+
}
|
|
38266
38651
|
}, [_vm._t("cell-" + header.id, function () {
|
|
38267
|
-
return [_vm.
|
|
38268
|
-
staticClass: "rq-table__cell-tooltip",
|
|
38269
|
-
attrs: {
|
|
38270
|
-
text: String(row.getValue(header.id))
|
|
38271
|
-
}
|
|
38272
|
-
}, [_c("span", {
|
|
38273
|
-
staticClass: "rq-table__cell-text",
|
|
38274
|
-
attrs: {
|
|
38275
|
-
"data-cell-key": _vm.cellKey(row.id, header.id)
|
|
38276
|
-
}
|
|
38277
|
-
}, [_vm._v(_vm._s(row.getValue(header.id)))])]) : _c("span", {
|
|
38278
|
-
staticClass: "rq-table__cell-text",
|
|
38279
|
-
attrs: {
|
|
38280
|
-
"data-cell-key": _vm.cellKey(row.id, header.id)
|
|
38281
|
-
}
|
|
38282
|
-
}, [_vm._v(_vm._s(row.getValue(header.id)))])];
|
|
38652
|
+
return [_vm._v(_vm._s(row.getValue(header.id)))];
|
|
38283
38653
|
}, {
|
|
38284
38654
|
row: row.original,
|
|
38285
38655
|
value: row.getValue(header.id)
|
|
38286
|
-
})], 2)
|
|
38656
|
+
})], 2)]) : _c("span", {
|
|
38657
|
+
staticClass: "rq-table__cell-text",
|
|
38658
|
+
attrs: {
|
|
38659
|
+
"data-cell-key": _vm.cellKey(row.id, header.id)
|
|
38660
|
+
}
|
|
38661
|
+
}, [_vm._t("cell-" + header.id, function () {
|
|
38662
|
+
return [_vm._v(_vm._s(row.getValue(header.id)))];
|
|
38663
|
+
}, {
|
|
38664
|
+
row: row.original,
|
|
38665
|
+
value: row.getValue(header.id)
|
|
38666
|
+
})], 2)], 1);
|
|
38287
38667
|
})], 2), _vm._v(" "), _vm.expandable && _vm.expandedRowId === row.id ? _c("tr", {
|
|
38288
38668
|
key: row.id + "-expanded",
|
|
38289
38669
|
staticClass: "rq-table__tr rq-table__tr--expanded"
|
|
@@ -38300,7 +38680,7 @@ var __vue_render__$4 = function () {
|
|
|
38300
38680
|
}, [_vm._t("expanded-row", null, {
|
|
38301
38681
|
row: row.original
|
|
38302
38682
|
})], 2)])]) : _vm._e()];
|
|
38303
|
-
})], 2)])]), _vm._v(" "), _vm.contextMenu.visible ? _c("div", {
|
|
38683
|
+
})]], 2)])]), _vm._v(" "), _vm.contextMenu.visible ? _c("div", {
|
|
38304
38684
|
staticClass: "rq-table__context-menu",
|
|
38305
38685
|
style: {
|
|
38306
38686
|
top: _vm.contextMenu.y + "px",
|
|
@@ -38453,6 +38833,10 @@ const dataTableVariants = cva('rq-data-table', {
|
|
|
38453
38833
|
//
|
|
38454
38834
|
//
|
|
38455
38835
|
//
|
|
38836
|
+
//
|
|
38837
|
+
//
|
|
38838
|
+
//
|
|
38839
|
+
//
|
|
38456
38840
|
|
|
38457
38841
|
var script$3 = {
|
|
38458
38842
|
name: 'DataTable',
|
|
@@ -38535,6 +38919,22 @@ var script$3 = {
|
|
|
38535
38919
|
emptyState: {
|
|
38536
38920
|
type: Object,
|
|
38537
38921
|
default: null
|
|
38922
|
+
},
|
|
38923
|
+
columnsDraggable: {
|
|
38924
|
+
type: Boolean,
|
|
38925
|
+
default: true
|
|
38926
|
+
},
|
|
38927
|
+
columnsPinnable: {
|
|
38928
|
+
type: Boolean,
|
|
38929
|
+
default: true
|
|
38930
|
+
},
|
|
38931
|
+
loading: {
|
|
38932
|
+
type: Boolean,
|
|
38933
|
+
default: false
|
|
38934
|
+
},
|
|
38935
|
+
loadingRows: {
|
|
38936
|
+
type: Number,
|
|
38937
|
+
default: 5
|
|
38538
38938
|
}
|
|
38539
38939
|
},
|
|
38540
38940
|
data() {
|
|
@@ -38623,7 +39023,11 @@ var __vue_render__$3 = function () {
|
|
|
38623
39023
|
expandable: _vm.expandable,
|
|
38624
39024
|
"expanded-row-height": _vm.expandedRowHeight,
|
|
38625
39025
|
"expand-col-width": _vm.expandColWidth,
|
|
38626
|
-
"empty-state": _vm.emptyState
|
|
39026
|
+
"empty-state": _vm.emptyState,
|
|
39027
|
+
"columns-draggable": _vm.columnsDraggable,
|
|
39028
|
+
"columns-pinnable": _vm.columnsPinnable,
|
|
39029
|
+
loading: _vm.loading,
|
|
39030
|
+
"loading-rows": _vm.loadingRows
|
|
38627
39031
|
},
|
|
38628
39032
|
on: {
|
|
38629
39033
|
"row-click": function ($event) {
|
|
@@ -39002,7 +39406,7 @@ const dialogVariants = cva('rq-dialog', {
|
|
|
39002
39406
|
var script$1 = {
|
|
39003
39407
|
name: 'Dialog',
|
|
39004
39408
|
components: {
|
|
39005
|
-
Button: __vue_component__$
|
|
39409
|
+
Button: __vue_component__$n
|
|
39006
39410
|
},
|
|
39007
39411
|
props: {
|
|
39008
39412
|
title: {
|
|
@@ -39341,29 +39745,30 @@ const __vue_component__ = /*#__PURE__*/normalizeComponent({
|
|
|
39341
39745
|
staticRenderFns: __vue_staticRenderFns__
|
|
39342
39746
|
}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
|
|
39343
39747
|
|
|
39344
|
-
exports.Badge = __vue_component__$
|
|
39345
|
-
exports.Button = __vue_component__$
|
|
39346
|
-
exports.Checkbox = __vue_component__$
|
|
39748
|
+
exports.Badge = __vue_component__$i;
|
|
39749
|
+
exports.Button = __vue_component__$n;
|
|
39750
|
+
exports.Checkbox = __vue_component__$l;
|
|
39347
39751
|
exports.CheckboxGroup = __vue_component__$d;
|
|
39348
|
-
exports.Chip = __vue_component__$
|
|
39752
|
+
exports.Chip = __vue_component__$j;
|
|
39349
39753
|
exports.DataTable = __vue_component__$3;
|
|
39350
39754
|
exports.Dialog = __vue_component__$1;
|
|
39351
39755
|
exports.Drawer = __vue_component__;
|
|
39352
|
-
exports.Icon = __vue_component__$
|
|
39353
|
-
exports.Input = __vue_component__$
|
|
39756
|
+
exports.Icon = __vue_component__$h;
|
|
39757
|
+
exports.Input = __vue_component__$o;
|
|
39354
39758
|
exports.PageSizeSelect = __vue_component__$6;
|
|
39355
39759
|
exports.Pagination = __vue_component__$a;
|
|
39356
39760
|
exports.RichCheckboxGroup = __vue_component__$e;
|
|
39357
39761
|
exports.RichSwitchGroup = __vue_component__$b;
|
|
39358
|
-
exports.RqButton = __vue_component__$
|
|
39359
|
-
exports.RqInput = __vue_component__$
|
|
39762
|
+
exports.RqButton = __vue_component__$q;
|
|
39763
|
+
exports.RqInput = __vue_component__$p;
|
|
39360
39764
|
exports.SearchInput = __vue_component__$7;
|
|
39361
39765
|
exports.SelectionBar = __vue_component__$5;
|
|
39362
39766
|
exports.Sidebar = __vue_component__$2;
|
|
39363
|
-
exports.
|
|
39767
|
+
exports.Skeleton = __vue_component__$g;
|
|
39768
|
+
exports.Switch = __vue_component__$k;
|
|
39364
39769
|
exports.SwitchGroup = __vue_component__$c;
|
|
39365
39770
|
exports.Table = __vue_component__$4;
|
|
39366
39771
|
exports.Tabs = __vue_component__$9;
|
|
39367
39772
|
exports.Tooltip = __vue_component__$f;
|
|
39368
39773
|
exports.Topbar = __vue_component__$8;
|
|
39369
|
-
exports.Typography = __vue_component__$
|
|
39774
|
+
exports.Typography = __vue_component__$m;
|