@regcheq/ui-vue-2 1.12.1 → 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 +27 -0
- package/dist/index.esm.js +417 -144
- package/dist/index.js +427 -153
- 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
|
|
|
@@ -33181,7 +33245,7 @@ const groupMixin = {
|
|
|
33181
33245
|
var script$e = {
|
|
33182
33246
|
name: 'RichCheckboxGroup',
|
|
33183
33247
|
components: {
|
|
33184
|
-
Checkbox: __vue_component__$
|
|
33248
|
+
Checkbox: __vue_component__$l
|
|
33185
33249
|
},
|
|
33186
33250
|
mixins: [groupMixin],
|
|
33187
33251
|
props: {
|
|
@@ -33295,7 +33359,7 @@ const checkboxGroupVariants = cva('rq-checkbox-group', {
|
|
|
33295
33359
|
var script$d = {
|
|
33296
33360
|
name: 'CheckboxGroup',
|
|
33297
33361
|
components: {
|
|
33298
|
-
Checkbox: __vue_component__$
|
|
33362
|
+
Checkbox: __vue_component__$l
|
|
33299
33363
|
},
|
|
33300
33364
|
mixins: [groupMixin],
|
|
33301
33365
|
props: {
|
|
@@ -33404,7 +33468,7 @@ const switchGroupVariants = cva('rq-switch-group', {
|
|
|
33404
33468
|
var script$c = {
|
|
33405
33469
|
name: 'SwitchGroup',
|
|
33406
33470
|
components: {
|
|
33407
|
-
RqSwitch: __vue_component__$
|
|
33471
|
+
RqSwitch: __vue_component__$k
|
|
33408
33472
|
},
|
|
33409
33473
|
mixins: [groupMixin],
|
|
33410
33474
|
props: {
|
|
@@ -33509,7 +33573,7 @@ const richSwitchGroupVariants = cva('rq-rich-switch-group');
|
|
|
33509
33573
|
var script$b = {
|
|
33510
33574
|
name: 'RichSwitchGroup',
|
|
33511
33575
|
components: {
|
|
33512
|
-
RqSwitch: __vue_component__$
|
|
33576
|
+
RqSwitch: __vue_component__$k
|
|
33513
33577
|
},
|
|
33514
33578
|
mixins: [groupMixin],
|
|
33515
33579
|
props: {
|
|
@@ -34225,8 +34289,8 @@ const searchInputVariants = cva('rq-search-input', {
|
|
|
34225
34289
|
var script$7 = {
|
|
34226
34290
|
name: 'SearchInput',
|
|
34227
34291
|
components: {
|
|
34228
|
-
Input: __vue_component__$
|
|
34229
|
-
Button: __vue_component__$
|
|
34292
|
+
Input: __vue_component__$o,
|
|
34293
|
+
Button: __vue_component__$n,
|
|
34230
34294
|
X
|
|
34231
34295
|
},
|
|
34232
34296
|
props: {
|
|
@@ -34467,7 +34531,7 @@ const selectionBarVariants = cva('rq-selection-bar', {
|
|
|
34467
34531
|
var script$5 = {
|
|
34468
34532
|
name: 'SelectionBar',
|
|
34469
34533
|
components: {
|
|
34470
|
-
Button: __vue_component__$
|
|
34534
|
+
Button: __vue_component__$n
|
|
34471
34535
|
},
|
|
34472
34536
|
props: {
|
|
34473
34537
|
count: {
|
|
@@ -37598,6 +37662,19 @@ function useTable(props, emit) {
|
|
|
37598
37662
|
return offsets;
|
|
37599
37663
|
});
|
|
37600
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
|
+
|
|
37601
37678
|
// --- Handlers de column pinning ---
|
|
37602
37679
|
function togglePin(columnKey) {
|
|
37603
37680
|
const left = [...(columnPinning.value.left || [])];
|
|
@@ -37693,6 +37770,7 @@ function useTable(props, emit) {
|
|
|
37693
37770
|
headerGroups,
|
|
37694
37771
|
tableRows,
|
|
37695
37772
|
pinnedLeftWidths,
|
|
37773
|
+
pinnedAreaWidth,
|
|
37696
37774
|
draggingKey,
|
|
37697
37775
|
dragOverKey,
|
|
37698
37776
|
onDragStart,
|
|
@@ -37909,11 +37987,51 @@ function useTable(props, emit) {
|
|
|
37909
37987
|
//
|
|
37910
37988
|
//
|
|
37911
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
|
+
//
|
|
37912
38029
|
|
|
37913
38030
|
var script$4 = {
|
|
37914
38031
|
name: 'Table',
|
|
37915
38032
|
components: {
|
|
37916
|
-
Checkbox: __vue_component__$
|
|
38033
|
+
Checkbox: __vue_component__$l,
|
|
38034
|
+
Skeleton: __vue_component__$g,
|
|
37917
38035
|
Tooltip: __vue_component__$f
|
|
37918
38036
|
},
|
|
37919
38037
|
props: {
|
|
@@ -37933,6 +38051,16 @@ var script$4 = {
|
|
|
37933
38051
|
type: Array,
|
|
37934
38052
|
default: () => []
|
|
37935
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
|
+
},
|
|
37936
38064
|
selectable: {
|
|
37937
38065
|
type: Boolean,
|
|
37938
38066
|
default: false
|
|
@@ -37966,6 +38094,16 @@ var script$4 = {
|
|
|
37966
38094
|
emptyState: {
|
|
37967
38095
|
type: Object,
|
|
37968
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
|
|
37969
38107
|
}
|
|
37970
38108
|
},
|
|
37971
38109
|
setup(props, {
|
|
@@ -38062,6 +38200,61 @@ var script$4 = {
|
|
|
38062
38200
|
this.closeAll();
|
|
38063
38201
|
this.onDragStart(columnKey);
|
|
38064
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
|
+
},
|
|
38065
38258
|
onChevronClick(columnKey, event) {
|
|
38066
38259
|
this.contextMenu = {
|
|
38067
38260
|
visible: false,
|
|
@@ -38090,6 +38283,7 @@ var script$4 = {
|
|
|
38090
38283
|
});
|
|
38091
38284
|
},
|
|
38092
38285
|
openContextMenu(colKey, event) {
|
|
38286
|
+
if (!this.columnsPinnable) return;
|
|
38093
38287
|
this.closeChevron();
|
|
38094
38288
|
const tableRect = this.$el.getBoundingClientRect();
|
|
38095
38289
|
this.contextMenu = {
|
|
@@ -38191,6 +38385,7 @@ var script$4 = {
|
|
|
38191
38385
|
this.$nextTick(this.measureTruncatedCells);
|
|
38192
38386
|
},
|
|
38193
38387
|
beforeDestroy() {
|
|
38388
|
+
this.stopAutoScroll();
|
|
38194
38389
|
document.removeEventListener('keydown', this._onKeydown);
|
|
38195
38390
|
document.removeEventListener('click', this._onDocumentClick);
|
|
38196
38391
|
window.removeEventListener('resize', this._onResize);
|
|
@@ -38262,7 +38457,7 @@ var __vue_render__$4 = function () {
|
|
|
38262
38457
|
},
|
|
38263
38458
|
style: _vm.getColStyle(header, true),
|
|
38264
38459
|
attrs: {
|
|
38265
|
-
draggable:
|
|
38460
|
+
draggable: _vm.columnsDraggable
|
|
38266
38461
|
},
|
|
38267
38462
|
on: {
|
|
38268
38463
|
dragstart: function ($event) {
|
|
@@ -38270,10 +38465,10 @@ var __vue_render__$4 = function () {
|
|
|
38270
38465
|
},
|
|
38271
38466
|
dragover: function ($event) {
|
|
38272
38467
|
$event.preventDefault();
|
|
38273
|
-
return _vm.
|
|
38468
|
+
return _vm.handleDragOver(header.id, $event);
|
|
38274
38469
|
},
|
|
38275
|
-
drop: _vm.
|
|
38276
|
-
dragend: _vm.
|
|
38470
|
+
drop: _vm.handleDrop,
|
|
38471
|
+
dragend: _vm.handleDragEnd,
|
|
38277
38472
|
contextmenu: function ($event) {
|
|
38278
38473
|
$event.preventDefault();
|
|
38279
38474
|
return _vm.openContextMenu(header.id, $event);
|
|
@@ -38304,7 +38499,41 @@ var __vue_render__$4 = function () {
|
|
|
38304
38499
|
}
|
|
38305
38500
|
})], 1) : _vm._e()])]);
|
|
38306
38501
|
})], 2);
|
|
38307
|
-
}), 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", {
|
|
38308
38537
|
staticClass: "rq-table__tr rq-table__tr--empty"
|
|
38309
38538
|
}, [_c("td", {
|
|
38310
38539
|
staticClass: "rq-table__td rq-table__td--empty",
|
|
@@ -38336,6 +38565,31 @@ var __vue_render__$4 = function () {
|
|
|
38336
38565
|
zIndex: 2,
|
|
38337
38566
|
width: _vm.expandColWidth + "px",
|
|
38338
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
|
+
}]
|
|
38339
38593
|
}
|
|
38340
38594
|
}, [_c("div", {
|
|
38341
38595
|
staticClass: "rq-table__expand-cell"
|
|
@@ -38345,13 +38599,8 @@ var __vue_render__$4 = function () {
|
|
|
38345
38599
|
"rq-table__expand-btn--active": _vm.expandedRowId === row.id
|
|
38346
38600
|
},
|
|
38347
38601
|
attrs: {
|
|
38348
|
-
type: "button"
|
|
38349
|
-
|
|
38350
|
-
on: {
|
|
38351
|
-
click: function ($event) {
|
|
38352
|
-
$event.stopPropagation();
|
|
38353
|
-
return _vm.toggleExpand(row.id);
|
|
38354
|
-
}
|
|
38602
|
+
type: "button",
|
|
38603
|
+
tabindex: "-1"
|
|
38355
38604
|
}
|
|
38356
38605
|
}, [_c(_vm.ExpandIcon, {
|
|
38357
38606
|
tag: "component",
|
|
@@ -38431,7 +38680,7 @@ var __vue_render__$4 = function () {
|
|
|
38431
38680
|
}, [_vm._t("expanded-row", null, {
|
|
38432
38681
|
row: row.original
|
|
38433
38682
|
})], 2)])]) : _vm._e()];
|
|
38434
|
-
})], 2)])]), _vm._v(" "), _vm.contextMenu.visible ? _c("div", {
|
|
38683
|
+
})]], 2)])]), _vm._v(" "), _vm.contextMenu.visible ? _c("div", {
|
|
38435
38684
|
staticClass: "rq-table__context-menu",
|
|
38436
38685
|
style: {
|
|
38437
38686
|
top: _vm.contextMenu.y + "px",
|
|
@@ -38584,6 +38833,10 @@ const dataTableVariants = cva('rq-data-table', {
|
|
|
38584
38833
|
//
|
|
38585
38834
|
//
|
|
38586
38835
|
//
|
|
38836
|
+
//
|
|
38837
|
+
//
|
|
38838
|
+
//
|
|
38839
|
+
//
|
|
38587
38840
|
|
|
38588
38841
|
var script$3 = {
|
|
38589
38842
|
name: 'DataTable',
|
|
@@ -38666,6 +38919,22 @@ var script$3 = {
|
|
|
38666
38919
|
emptyState: {
|
|
38667
38920
|
type: Object,
|
|
38668
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
|
|
38669
38938
|
}
|
|
38670
38939
|
},
|
|
38671
38940
|
data() {
|
|
@@ -38754,7 +39023,11 @@ var __vue_render__$3 = function () {
|
|
|
38754
39023
|
expandable: _vm.expandable,
|
|
38755
39024
|
"expanded-row-height": _vm.expandedRowHeight,
|
|
38756
39025
|
"expand-col-width": _vm.expandColWidth,
|
|
38757
|
-
"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
|
|
38758
39031
|
},
|
|
38759
39032
|
on: {
|
|
38760
39033
|
"row-click": function ($event) {
|
|
@@ -39133,7 +39406,7 @@ const dialogVariants = cva('rq-dialog', {
|
|
|
39133
39406
|
var script$1 = {
|
|
39134
39407
|
name: 'Dialog',
|
|
39135
39408
|
components: {
|
|
39136
|
-
Button: __vue_component__$
|
|
39409
|
+
Button: __vue_component__$n
|
|
39137
39410
|
},
|
|
39138
39411
|
props: {
|
|
39139
39412
|
title: {
|
|
@@ -39472,29 +39745,30 @@ const __vue_component__ = /*#__PURE__*/normalizeComponent({
|
|
|
39472
39745
|
staticRenderFns: __vue_staticRenderFns__
|
|
39473
39746
|
}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
|
|
39474
39747
|
|
|
39475
|
-
exports.Badge = __vue_component__$
|
|
39476
|
-
exports.Button = __vue_component__$
|
|
39477
|
-
exports.Checkbox = __vue_component__$
|
|
39748
|
+
exports.Badge = __vue_component__$i;
|
|
39749
|
+
exports.Button = __vue_component__$n;
|
|
39750
|
+
exports.Checkbox = __vue_component__$l;
|
|
39478
39751
|
exports.CheckboxGroup = __vue_component__$d;
|
|
39479
|
-
exports.Chip = __vue_component__$
|
|
39752
|
+
exports.Chip = __vue_component__$j;
|
|
39480
39753
|
exports.DataTable = __vue_component__$3;
|
|
39481
39754
|
exports.Dialog = __vue_component__$1;
|
|
39482
39755
|
exports.Drawer = __vue_component__;
|
|
39483
|
-
exports.Icon = __vue_component__$
|
|
39484
|
-
exports.Input = __vue_component__$
|
|
39756
|
+
exports.Icon = __vue_component__$h;
|
|
39757
|
+
exports.Input = __vue_component__$o;
|
|
39485
39758
|
exports.PageSizeSelect = __vue_component__$6;
|
|
39486
39759
|
exports.Pagination = __vue_component__$a;
|
|
39487
39760
|
exports.RichCheckboxGroup = __vue_component__$e;
|
|
39488
39761
|
exports.RichSwitchGroup = __vue_component__$b;
|
|
39489
|
-
exports.RqButton = __vue_component__$
|
|
39490
|
-
exports.RqInput = __vue_component__$
|
|
39762
|
+
exports.RqButton = __vue_component__$q;
|
|
39763
|
+
exports.RqInput = __vue_component__$p;
|
|
39491
39764
|
exports.SearchInput = __vue_component__$7;
|
|
39492
39765
|
exports.SelectionBar = __vue_component__$5;
|
|
39493
39766
|
exports.Sidebar = __vue_component__$2;
|
|
39494
|
-
exports.
|
|
39767
|
+
exports.Skeleton = __vue_component__$g;
|
|
39768
|
+
exports.Switch = __vue_component__$k;
|
|
39495
39769
|
exports.SwitchGroup = __vue_component__$c;
|
|
39496
39770
|
exports.Table = __vue_component__$4;
|
|
39497
39771
|
exports.Tabs = __vue_component__$9;
|
|
39498
39772
|
exports.Tooltip = __vue_component__$f;
|
|
39499
39773
|
exports.Topbar = __vue_component__$8;
|
|
39500
|
-
exports.Typography = __vue_component__$
|
|
39774
|
+
exports.Typography = __vue_component__$m;
|