@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.esm.js
CHANGED
|
@@ -31459,7 +31459,7 @@ const buttonVariants$1 = cva('rq-button-legacy', {
|
|
|
31459
31459
|
//
|
|
31460
31460
|
//
|
|
31461
31461
|
|
|
31462
|
-
var script$
|
|
31462
|
+
var script$q = {
|
|
31463
31463
|
name: 'RqButton',
|
|
31464
31464
|
props: {
|
|
31465
31465
|
variant: {
|
|
@@ -31593,10 +31593,10 @@ function normalizeComponent(template, style, script, scopeId, isFunctionalTempla
|
|
|
31593
31593
|
}
|
|
31594
31594
|
|
|
31595
31595
|
/* script */
|
|
31596
|
-
const __vue_script__$
|
|
31596
|
+
const __vue_script__$q = script$q;
|
|
31597
31597
|
|
|
31598
31598
|
/* template */
|
|
31599
|
-
var __vue_render__$
|
|
31599
|
+
var __vue_render__$q = function () {
|
|
31600
31600
|
var _vm = this;
|
|
31601
31601
|
var _h = _vm.$createElement;
|
|
31602
31602
|
var _c = _vm._self._c || _h;
|
|
@@ -31622,27 +31622,27 @@ var __vue_render__$p = function () {
|
|
|
31622
31622
|
}
|
|
31623
31623
|
}) : _vm._e()], 2);
|
|
31624
31624
|
};
|
|
31625
|
-
var __vue_staticRenderFns__$
|
|
31626
|
-
__vue_render__$
|
|
31625
|
+
var __vue_staticRenderFns__$q = [];
|
|
31626
|
+
__vue_render__$q._withStripped = true;
|
|
31627
31627
|
|
|
31628
31628
|
/* style */
|
|
31629
|
-
const __vue_inject_styles__$
|
|
31629
|
+
const __vue_inject_styles__$q = undefined;
|
|
31630
31630
|
/* scoped */
|
|
31631
|
-
const __vue_scope_id__$
|
|
31631
|
+
const __vue_scope_id__$q = undefined;
|
|
31632
31632
|
/* module identifier */
|
|
31633
|
-
const __vue_module_identifier__$
|
|
31633
|
+
const __vue_module_identifier__$q = undefined;
|
|
31634
31634
|
/* functional template */
|
|
31635
|
-
const __vue_is_functional_template__$
|
|
31635
|
+
const __vue_is_functional_template__$q = false;
|
|
31636
31636
|
/* style inject */
|
|
31637
31637
|
|
|
31638
31638
|
/* style inject SSR */
|
|
31639
31639
|
|
|
31640
31640
|
/* style inject shadow dom */
|
|
31641
31641
|
|
|
31642
|
-
const __vue_component__$
|
|
31643
|
-
render: __vue_render__$
|
|
31644
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
31645
|
-
}, __vue_inject_styles__$
|
|
31642
|
+
const __vue_component__$q = /*#__PURE__*/normalizeComponent({
|
|
31643
|
+
render: __vue_render__$q,
|
|
31644
|
+
staticRenderFns: __vue_staticRenderFns__$q
|
|
31645
|
+
}, __vue_inject_styles__$q, __vue_script__$q, __vue_scope_id__$q, __vue_is_functional_template__$q, __vue_module_identifier__$q, false, undefined, undefined, undefined);
|
|
31646
31646
|
|
|
31647
31647
|
const inputVariants$1 = cva('rq-input', {
|
|
31648
31648
|
variants: {
|
|
@@ -31695,7 +31695,7 @@ const inputVariants$1 = cva('rq-input', {
|
|
|
31695
31695
|
//
|
|
31696
31696
|
|
|
31697
31697
|
let uid = 0;
|
|
31698
|
-
var script$
|
|
31698
|
+
var script$p = {
|
|
31699
31699
|
name: 'RqInput',
|
|
31700
31700
|
inheritAttrs: false,
|
|
31701
31701
|
props: {
|
|
@@ -31789,10 +31789,10 @@ var script$o = {
|
|
|
31789
31789
|
};
|
|
31790
31790
|
|
|
31791
31791
|
/* script */
|
|
31792
|
-
const __vue_script__$
|
|
31792
|
+
const __vue_script__$p = script$p;
|
|
31793
31793
|
|
|
31794
31794
|
/* template */
|
|
31795
|
-
var __vue_render__$
|
|
31795
|
+
var __vue_render__$p = function () {
|
|
31796
31796
|
var _vm = this;
|
|
31797
31797
|
var _h = _vm.$createElement;
|
|
31798
31798
|
var _c = _vm._self._c || _h;
|
|
@@ -31847,27 +31847,27 @@ var __vue_render__$o = function () {
|
|
|
31847
31847
|
class: ["rq-input__counter", _vm.error && "rq-input__counter--error"]
|
|
31848
31848
|
}, [_vm._v(_vm._s(_vm.currentLength) + "/" + _vm._s(_vm.maxLength))]) : _vm._e()]) : _vm._e()]);
|
|
31849
31849
|
};
|
|
31850
|
-
var __vue_staticRenderFns__$
|
|
31851
|
-
__vue_render__$
|
|
31850
|
+
var __vue_staticRenderFns__$p = [];
|
|
31851
|
+
__vue_render__$p._withStripped = true;
|
|
31852
31852
|
|
|
31853
31853
|
/* style */
|
|
31854
|
-
const __vue_inject_styles__$
|
|
31854
|
+
const __vue_inject_styles__$p = undefined;
|
|
31855
31855
|
/* scoped */
|
|
31856
|
-
const __vue_scope_id__$
|
|
31856
|
+
const __vue_scope_id__$p = undefined;
|
|
31857
31857
|
/* module identifier */
|
|
31858
|
-
const __vue_module_identifier__$
|
|
31858
|
+
const __vue_module_identifier__$p = undefined;
|
|
31859
31859
|
/* functional template */
|
|
31860
|
-
const __vue_is_functional_template__$
|
|
31860
|
+
const __vue_is_functional_template__$p = false;
|
|
31861
31861
|
/* style inject */
|
|
31862
31862
|
|
|
31863
31863
|
/* style inject SSR */
|
|
31864
31864
|
|
|
31865
31865
|
/* style inject shadow dom */
|
|
31866
31866
|
|
|
31867
|
-
const __vue_component__$
|
|
31868
|
-
render: __vue_render__$
|
|
31869
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
31870
|
-
}, __vue_inject_styles__$
|
|
31867
|
+
const __vue_component__$p = /*#__PURE__*/normalizeComponent({
|
|
31868
|
+
render: __vue_render__$p,
|
|
31869
|
+
staticRenderFns: __vue_staticRenderFns__$p
|
|
31870
|
+
}, __vue_inject_styles__$p, __vue_script__$p, __vue_scope_id__$p, __vue_is_functional_template__$p, __vue_module_identifier__$p, false, undefined, undefined, undefined);
|
|
31871
31871
|
|
|
31872
31872
|
const inputVariants = cva('rq-field', {
|
|
31873
31873
|
variants: {
|
|
@@ -31919,7 +31919,7 @@ const inputVariants = cva('rq-field', {
|
|
|
31919
31919
|
//
|
|
31920
31920
|
//
|
|
31921
31921
|
|
|
31922
|
-
var script$
|
|
31922
|
+
var script$o = {
|
|
31923
31923
|
name: 'Input',
|
|
31924
31924
|
inheritAttrs: false,
|
|
31925
31925
|
props: {
|
|
@@ -31992,10 +31992,10 @@ var script$n = {
|
|
|
31992
31992
|
};
|
|
31993
31993
|
|
|
31994
31994
|
/* script */
|
|
31995
|
-
const __vue_script__$
|
|
31995
|
+
const __vue_script__$o = script$o;
|
|
31996
31996
|
|
|
31997
31997
|
/* template */
|
|
31998
|
-
var __vue_render__$
|
|
31998
|
+
var __vue_render__$o = function () {
|
|
31999
31999
|
var _vm = this;
|
|
32000
32000
|
var _h = _vm.$createElement;
|
|
32001
32001
|
var _c = _vm._self._c || _h;
|
|
@@ -32031,27 +32031,27 @@ var __vue_render__$n = function () {
|
|
|
32031
32031
|
}
|
|
32032
32032
|
}) : _vm._e()], 1);
|
|
32033
32033
|
};
|
|
32034
|
-
var __vue_staticRenderFns__$
|
|
32035
|
-
__vue_render__$
|
|
32034
|
+
var __vue_staticRenderFns__$o = [];
|
|
32035
|
+
__vue_render__$o._withStripped = true;
|
|
32036
32036
|
|
|
32037
32037
|
/* style */
|
|
32038
|
-
const __vue_inject_styles__$
|
|
32038
|
+
const __vue_inject_styles__$o = undefined;
|
|
32039
32039
|
/* scoped */
|
|
32040
|
-
const __vue_scope_id__$
|
|
32040
|
+
const __vue_scope_id__$o = undefined;
|
|
32041
32041
|
/* module identifier */
|
|
32042
|
-
const __vue_module_identifier__$
|
|
32042
|
+
const __vue_module_identifier__$o = undefined;
|
|
32043
32043
|
/* functional template */
|
|
32044
|
-
const __vue_is_functional_template__$
|
|
32044
|
+
const __vue_is_functional_template__$o = false;
|
|
32045
32045
|
/* style inject */
|
|
32046
32046
|
|
|
32047
32047
|
/* style inject SSR */
|
|
32048
32048
|
|
|
32049
32049
|
/* style inject shadow dom */
|
|
32050
32050
|
|
|
32051
|
-
const __vue_component__$
|
|
32052
|
-
render: __vue_render__$
|
|
32053
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
32054
|
-
}, __vue_inject_styles__$
|
|
32051
|
+
const __vue_component__$o = /*#__PURE__*/normalizeComponent({
|
|
32052
|
+
render: __vue_render__$o,
|
|
32053
|
+
staticRenderFns: __vue_staticRenderFns__$o
|
|
32054
|
+
}, __vue_inject_styles__$o, __vue_script__$o, __vue_scope_id__$o, __vue_is_functional_template__$o, __vue_module_identifier__$o, false, undefined, undefined, undefined);
|
|
32055
32055
|
|
|
32056
32056
|
const buttonVariants = cva('rq-button', {
|
|
32057
32057
|
variants: {
|
|
@@ -32094,7 +32094,7 @@ const buttonVariants = cva('rq-button', {
|
|
|
32094
32094
|
//
|
|
32095
32095
|
//
|
|
32096
32096
|
|
|
32097
|
-
var script$
|
|
32097
|
+
var script$n = {
|
|
32098
32098
|
name: 'Button',
|
|
32099
32099
|
props: {
|
|
32100
32100
|
variant: {
|
|
@@ -32160,10 +32160,10 @@ var script$m = {
|
|
|
32160
32160
|
};
|
|
32161
32161
|
|
|
32162
32162
|
/* script */
|
|
32163
|
-
const __vue_script__$
|
|
32163
|
+
const __vue_script__$n = script$n;
|
|
32164
32164
|
|
|
32165
32165
|
/* template */
|
|
32166
|
-
var __vue_render__$
|
|
32166
|
+
var __vue_render__$n = function () {
|
|
32167
32167
|
var _vm = this;
|
|
32168
32168
|
var _h = _vm.$createElement;
|
|
32169
32169
|
var _c = _vm._self._c || _h;
|
|
@@ -32190,27 +32190,27 @@ var __vue_render__$m = function () {
|
|
|
32190
32190
|
}
|
|
32191
32191
|
}) : _vm._e()], 2);
|
|
32192
32192
|
};
|
|
32193
|
-
var __vue_staticRenderFns__$
|
|
32194
|
-
__vue_render__$
|
|
32193
|
+
var __vue_staticRenderFns__$n = [];
|
|
32194
|
+
__vue_render__$n._withStripped = true;
|
|
32195
32195
|
|
|
32196
32196
|
/* style */
|
|
32197
|
-
const __vue_inject_styles__$
|
|
32197
|
+
const __vue_inject_styles__$n = undefined;
|
|
32198
32198
|
/* scoped */
|
|
32199
|
-
const __vue_scope_id__$
|
|
32199
|
+
const __vue_scope_id__$n = undefined;
|
|
32200
32200
|
/* module identifier */
|
|
32201
|
-
const __vue_module_identifier__$
|
|
32201
|
+
const __vue_module_identifier__$n = undefined;
|
|
32202
32202
|
/* functional template */
|
|
32203
|
-
const __vue_is_functional_template__$
|
|
32203
|
+
const __vue_is_functional_template__$n = false;
|
|
32204
32204
|
/* style inject */
|
|
32205
32205
|
|
|
32206
32206
|
/* style inject SSR */
|
|
32207
32207
|
|
|
32208
32208
|
/* style inject shadow dom */
|
|
32209
32209
|
|
|
32210
|
-
const __vue_component__$
|
|
32211
|
-
render: __vue_render__$
|
|
32212
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
32213
|
-
}, __vue_inject_styles__$
|
|
32210
|
+
const __vue_component__$n = /*#__PURE__*/normalizeComponent({
|
|
32211
|
+
render: __vue_render__$n,
|
|
32212
|
+
staticRenderFns: __vue_staticRenderFns__$n
|
|
32213
|
+
}, __vue_inject_styles__$n, __vue_script__$n, __vue_scope_id__$n, __vue_is_functional_template__$n, __vue_module_identifier__$n, false, undefined, undefined, undefined);
|
|
32214
32214
|
|
|
32215
32215
|
//
|
|
32216
32216
|
//
|
|
@@ -32284,7 +32284,7 @@ const WEIGHT_MAP = {
|
|
|
32284
32284
|
semibold: 600,
|
|
32285
32285
|
bold: 700
|
|
32286
32286
|
};
|
|
32287
|
-
var script$
|
|
32287
|
+
var script$m = {
|
|
32288
32288
|
name: 'Typography',
|
|
32289
32289
|
props: {
|
|
32290
32290
|
variant: {
|
|
@@ -32318,10 +32318,10 @@ var script$l = {
|
|
|
32318
32318
|
};
|
|
32319
32319
|
|
|
32320
32320
|
/* script */
|
|
32321
|
-
const __vue_script__$
|
|
32321
|
+
const __vue_script__$m = script$m;
|
|
32322
32322
|
|
|
32323
32323
|
/* template */
|
|
32324
|
-
var __vue_render__$
|
|
32324
|
+
var __vue_render__$m = function () {
|
|
32325
32325
|
var _vm = this;
|
|
32326
32326
|
var _h = _vm.$createElement;
|
|
32327
32327
|
var _c = _vm._self._c || _h;
|
|
@@ -32331,27 +32331,27 @@ var __vue_render__$l = function () {
|
|
|
32331
32331
|
style: _vm.weightStyle
|
|
32332
32332
|
}, _vm.$listeners), [_vm._t("default")], 2);
|
|
32333
32333
|
};
|
|
32334
|
-
var __vue_staticRenderFns__$
|
|
32335
|
-
__vue_render__$
|
|
32334
|
+
var __vue_staticRenderFns__$m = [];
|
|
32335
|
+
__vue_render__$m._withStripped = true;
|
|
32336
32336
|
|
|
32337
32337
|
/* style */
|
|
32338
|
-
const __vue_inject_styles__$
|
|
32338
|
+
const __vue_inject_styles__$m = undefined;
|
|
32339
32339
|
/* scoped */
|
|
32340
|
-
const __vue_scope_id__$
|
|
32340
|
+
const __vue_scope_id__$m = undefined;
|
|
32341
32341
|
/* module identifier */
|
|
32342
|
-
const __vue_module_identifier__$
|
|
32342
|
+
const __vue_module_identifier__$m = undefined;
|
|
32343
32343
|
/* functional template */
|
|
32344
|
-
const __vue_is_functional_template__$
|
|
32344
|
+
const __vue_is_functional_template__$m = false;
|
|
32345
32345
|
/* style inject */
|
|
32346
32346
|
|
|
32347
32347
|
/* style inject SSR */
|
|
32348
32348
|
|
|
32349
32349
|
/* style inject shadow dom */
|
|
32350
32350
|
|
|
32351
|
-
const __vue_component__$
|
|
32352
|
-
render: __vue_render__$
|
|
32353
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
32354
|
-
}, __vue_inject_styles__$
|
|
32351
|
+
const __vue_component__$m = /*#__PURE__*/normalizeComponent({
|
|
32352
|
+
render: __vue_render__$m,
|
|
32353
|
+
staticRenderFns: __vue_staticRenderFns__$m
|
|
32354
|
+
}, __vue_inject_styles__$m, __vue_script__$m, __vue_scope_id__$m, __vue_is_functional_template__$m, __vue_module_identifier__$m, false, undefined, undefined, undefined);
|
|
32355
32355
|
|
|
32356
32356
|
const checkboxVariants = cva('rq-checkbox');
|
|
32357
32357
|
|
|
@@ -32382,7 +32382,7 @@ const checkboxVariants = cva('rq-checkbox');
|
|
|
32382
32382
|
//
|
|
32383
32383
|
//
|
|
32384
32384
|
|
|
32385
|
-
var script$
|
|
32385
|
+
var script$l = {
|
|
32386
32386
|
name: 'Checkbox',
|
|
32387
32387
|
model: {
|
|
32388
32388
|
prop: 'checked',
|
|
@@ -32432,10 +32432,10 @@ var script$k = {
|
|
|
32432
32432
|
};
|
|
32433
32433
|
|
|
32434
32434
|
/* script */
|
|
32435
|
-
const __vue_script__$
|
|
32435
|
+
const __vue_script__$l = script$l;
|
|
32436
32436
|
|
|
32437
32437
|
/* template */
|
|
32438
|
-
var __vue_render__$
|
|
32438
|
+
var __vue_render__$l = function () {
|
|
32439
32439
|
var _vm = this;
|
|
32440
32440
|
var _h = _vm.$createElement;
|
|
32441
32441
|
var _c = _vm._self._c || _h;
|
|
@@ -32471,27 +32471,27 @@ var __vue_render__$k = function () {
|
|
|
32471
32471
|
}
|
|
32472
32472
|
}) : _vm._e()], 1);
|
|
32473
32473
|
};
|
|
32474
|
-
var __vue_staticRenderFns__$
|
|
32475
|
-
__vue_render__$
|
|
32474
|
+
var __vue_staticRenderFns__$l = [];
|
|
32475
|
+
__vue_render__$l._withStripped = true;
|
|
32476
32476
|
|
|
32477
32477
|
/* style */
|
|
32478
|
-
const __vue_inject_styles__$
|
|
32478
|
+
const __vue_inject_styles__$l = undefined;
|
|
32479
32479
|
/* scoped */
|
|
32480
|
-
const __vue_scope_id__$
|
|
32480
|
+
const __vue_scope_id__$l = undefined;
|
|
32481
32481
|
/* module identifier */
|
|
32482
|
-
const __vue_module_identifier__$
|
|
32482
|
+
const __vue_module_identifier__$l = undefined;
|
|
32483
32483
|
/* functional template */
|
|
32484
|
-
const __vue_is_functional_template__$
|
|
32484
|
+
const __vue_is_functional_template__$l = false;
|
|
32485
32485
|
/* style inject */
|
|
32486
32486
|
|
|
32487
32487
|
/* style inject SSR */
|
|
32488
32488
|
|
|
32489
32489
|
/* style inject shadow dom */
|
|
32490
32490
|
|
|
32491
|
-
const __vue_component__$
|
|
32492
|
-
render: __vue_render__$
|
|
32493
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
32494
|
-
}, __vue_inject_styles__$
|
|
32491
|
+
const __vue_component__$l = /*#__PURE__*/normalizeComponent({
|
|
32492
|
+
render: __vue_render__$l,
|
|
32493
|
+
staticRenderFns: __vue_staticRenderFns__$l
|
|
32494
|
+
}, __vue_inject_styles__$l, __vue_script__$l, __vue_scope_id__$l, __vue_is_functional_template__$l, __vue_module_identifier__$l, false, undefined, undefined, undefined);
|
|
32495
32495
|
|
|
32496
32496
|
const switchVariants = cva('rq-switch');
|
|
32497
32497
|
|
|
@@ -32511,7 +32511,7 @@ const switchVariants = cva('rq-switch');
|
|
|
32511
32511
|
//
|
|
32512
32512
|
//
|
|
32513
32513
|
|
|
32514
|
-
var script$
|
|
32514
|
+
var script$k = {
|
|
32515
32515
|
name: 'RqSwitch',
|
|
32516
32516
|
model: {
|
|
32517
32517
|
prop: 'checked',
|
|
@@ -32538,10 +32538,10 @@ var script$j = {
|
|
|
32538
32538
|
};
|
|
32539
32539
|
|
|
32540
32540
|
/* script */
|
|
32541
|
-
const __vue_script__$
|
|
32541
|
+
const __vue_script__$k = script$k;
|
|
32542
32542
|
|
|
32543
32543
|
/* template */
|
|
32544
|
-
var __vue_render__$
|
|
32544
|
+
var __vue_render__$k = function () {
|
|
32545
32545
|
var _vm = this;
|
|
32546
32546
|
var _h = _vm.$createElement;
|
|
32547
32547
|
var _c = _vm._self._c || _h;
|
|
@@ -32569,27 +32569,27 @@ var __vue_render__$j = function () {
|
|
|
32569
32569
|
staticClass: "rq-switch__thumb"
|
|
32570
32570
|
})]);
|
|
32571
32571
|
};
|
|
32572
|
-
var __vue_staticRenderFns__$
|
|
32573
|
-
__vue_render__$
|
|
32572
|
+
var __vue_staticRenderFns__$k = [];
|
|
32573
|
+
__vue_render__$k._withStripped = true;
|
|
32574
32574
|
|
|
32575
32575
|
/* style */
|
|
32576
|
-
const __vue_inject_styles__$
|
|
32576
|
+
const __vue_inject_styles__$k = undefined;
|
|
32577
32577
|
/* scoped */
|
|
32578
|
-
const __vue_scope_id__$
|
|
32578
|
+
const __vue_scope_id__$k = undefined;
|
|
32579
32579
|
/* module identifier */
|
|
32580
|
-
const __vue_module_identifier__$
|
|
32580
|
+
const __vue_module_identifier__$k = undefined;
|
|
32581
32581
|
/* functional template */
|
|
32582
|
-
const __vue_is_functional_template__$
|
|
32582
|
+
const __vue_is_functional_template__$k = false;
|
|
32583
32583
|
/* style inject */
|
|
32584
32584
|
|
|
32585
32585
|
/* style inject SSR */
|
|
32586
32586
|
|
|
32587
32587
|
/* style inject shadow dom */
|
|
32588
32588
|
|
|
32589
|
-
const __vue_component__$
|
|
32590
|
-
render: __vue_render__$
|
|
32591
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
32592
|
-
}, __vue_inject_styles__$
|
|
32589
|
+
const __vue_component__$k = /*#__PURE__*/normalizeComponent({
|
|
32590
|
+
render: __vue_render__$k,
|
|
32591
|
+
staticRenderFns: __vue_staticRenderFns__$k
|
|
32592
|
+
}, __vue_inject_styles__$k, __vue_script__$k, __vue_scope_id__$k, __vue_is_functional_template__$k, __vue_module_identifier__$k, false, undefined, undefined, undefined);
|
|
32593
32593
|
|
|
32594
32594
|
const chipVariants = cva('rq-chip', {
|
|
32595
32595
|
variants: {},
|
|
@@ -32612,7 +32612,7 @@ const chipVariants = cva('rq-chip', {
|
|
|
32612
32612
|
//
|
|
32613
32613
|
//
|
|
32614
32614
|
|
|
32615
|
-
var script$
|
|
32615
|
+
var script$j = {
|
|
32616
32616
|
name: 'Chip',
|
|
32617
32617
|
props: {
|
|
32618
32618
|
label: {
|
|
@@ -32641,10 +32641,10 @@ var script$i = {
|
|
|
32641
32641
|
};
|
|
32642
32642
|
|
|
32643
32643
|
/* script */
|
|
32644
|
-
const __vue_script__$
|
|
32644
|
+
const __vue_script__$j = script$j;
|
|
32645
32645
|
|
|
32646
32646
|
/* template */
|
|
32647
|
-
var __vue_render__$
|
|
32647
|
+
var __vue_render__$j = function () {
|
|
32648
32648
|
var _vm = this;
|
|
32649
32649
|
var _h = _vm.$createElement;
|
|
32650
32650
|
var _c = _vm._self._c || _h;
|
|
@@ -32669,27 +32669,27 @@ var __vue_render__$i = function () {
|
|
|
32669
32669
|
}
|
|
32670
32670
|
})], 1) : _vm._e()]);
|
|
32671
32671
|
};
|
|
32672
|
-
var __vue_staticRenderFns__$
|
|
32673
|
-
__vue_render__$
|
|
32672
|
+
var __vue_staticRenderFns__$j = [];
|
|
32673
|
+
__vue_render__$j._withStripped = true;
|
|
32674
32674
|
|
|
32675
32675
|
/* style */
|
|
32676
|
-
const __vue_inject_styles__$
|
|
32676
|
+
const __vue_inject_styles__$j = undefined;
|
|
32677
32677
|
/* scoped */
|
|
32678
|
-
const __vue_scope_id__$
|
|
32678
|
+
const __vue_scope_id__$j = undefined;
|
|
32679
32679
|
/* module identifier */
|
|
32680
|
-
const __vue_module_identifier__$
|
|
32680
|
+
const __vue_module_identifier__$j = undefined;
|
|
32681
32681
|
/* functional template */
|
|
32682
|
-
const __vue_is_functional_template__$
|
|
32682
|
+
const __vue_is_functional_template__$j = false;
|
|
32683
32683
|
/* style inject */
|
|
32684
32684
|
|
|
32685
32685
|
/* style inject SSR */
|
|
32686
32686
|
|
|
32687
32687
|
/* style inject shadow dom */
|
|
32688
32688
|
|
|
32689
|
-
const __vue_component__$
|
|
32690
|
-
render: __vue_render__$
|
|
32691
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
32692
|
-
}, __vue_inject_styles__$
|
|
32689
|
+
const __vue_component__$j = /*#__PURE__*/normalizeComponent({
|
|
32690
|
+
render: __vue_render__$j,
|
|
32691
|
+
staticRenderFns: __vue_staticRenderFns__$j
|
|
32692
|
+
}, __vue_inject_styles__$j, __vue_script__$j, __vue_scope_id__$j, __vue_is_functional_template__$j, __vue_module_identifier__$j, false, undefined, undefined, undefined);
|
|
32693
32693
|
|
|
32694
32694
|
const badgeVariants = cva('rq-badge', {
|
|
32695
32695
|
variants: {
|
|
@@ -32720,7 +32720,7 @@ const badgeVariants = cva('rq-badge', {
|
|
|
32720
32720
|
//
|
|
32721
32721
|
//
|
|
32722
32722
|
|
|
32723
|
-
var script$
|
|
32723
|
+
var script$i = {
|
|
32724
32724
|
name: 'Badge',
|
|
32725
32725
|
inheritAttrs: false,
|
|
32726
32726
|
props: {
|
|
@@ -32780,10 +32780,10 @@ var script$h = {
|
|
|
32780
32780
|
};
|
|
32781
32781
|
|
|
32782
32782
|
/* script */
|
|
32783
|
-
const __vue_script__$
|
|
32783
|
+
const __vue_script__$i = script$i;
|
|
32784
32784
|
|
|
32785
32785
|
/* template */
|
|
32786
|
-
var __vue_render__$
|
|
32786
|
+
var __vue_render__$i = function () {
|
|
32787
32787
|
var _vm = this;
|
|
32788
32788
|
var _h = _vm.$createElement;
|
|
32789
32789
|
var _c = _vm._self._c || _h;
|
|
@@ -32792,27 +32792,27 @@ var __vue_render__$h = function () {
|
|
|
32792
32792
|
style: _vm.inlineStyle
|
|
32793
32793
|
}, "span", _vm.$attrs, false), _vm.$listeners), [_vm._t("left"), _vm._v(" "), _vm._t("default"), _vm._v(" "), _vm._t("right")], 2);
|
|
32794
32794
|
};
|
|
32795
|
-
var __vue_staticRenderFns__$
|
|
32796
|
-
__vue_render__$
|
|
32795
|
+
var __vue_staticRenderFns__$i = [];
|
|
32796
|
+
__vue_render__$i._withStripped = true;
|
|
32797
32797
|
|
|
32798
32798
|
/* style */
|
|
32799
|
-
const __vue_inject_styles__$
|
|
32799
|
+
const __vue_inject_styles__$i = undefined;
|
|
32800
32800
|
/* scoped */
|
|
32801
|
-
const __vue_scope_id__$
|
|
32801
|
+
const __vue_scope_id__$i = undefined;
|
|
32802
32802
|
/* module identifier */
|
|
32803
|
-
const __vue_module_identifier__$
|
|
32803
|
+
const __vue_module_identifier__$i = undefined;
|
|
32804
32804
|
/* functional template */
|
|
32805
|
-
const __vue_is_functional_template__$
|
|
32805
|
+
const __vue_is_functional_template__$i = false;
|
|
32806
32806
|
/* style inject */
|
|
32807
32807
|
|
|
32808
32808
|
/* style inject SSR */
|
|
32809
32809
|
|
|
32810
32810
|
/* style inject shadow dom */
|
|
32811
32811
|
|
|
32812
|
-
const __vue_component__$
|
|
32813
|
-
render: __vue_render__$
|
|
32814
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
32815
|
-
}, __vue_inject_styles__$
|
|
32812
|
+
const __vue_component__$i = /*#__PURE__*/normalizeComponent({
|
|
32813
|
+
render: __vue_render__$i,
|
|
32814
|
+
staticRenderFns: __vue_staticRenderFns__$i
|
|
32815
|
+
}, __vue_inject_styles__$i, __vue_script__$i, __vue_scope_id__$i, __vue_is_functional_template__$i, __vue_module_identifier__$i, false, undefined, undefined, undefined);
|
|
32816
32816
|
|
|
32817
32817
|
const iconVariants = cva('rq-icon', {
|
|
32818
32818
|
variants: {
|
|
@@ -32846,7 +32846,7 @@ const iconVariants = cva('rq-icon', {
|
|
|
32846
32846
|
//
|
|
32847
32847
|
//
|
|
32848
32848
|
|
|
32849
|
-
var script$
|
|
32849
|
+
var script$h = {
|
|
32850
32850
|
name: 'Icon',
|
|
32851
32851
|
inheritAttrs: false,
|
|
32852
32852
|
props: {
|
|
@@ -32898,10 +32898,10 @@ var script$g = {
|
|
|
32898
32898
|
};
|
|
32899
32899
|
|
|
32900
32900
|
/* script */
|
|
32901
|
-
const __vue_script__$
|
|
32901
|
+
const __vue_script__$h = script$h;
|
|
32902
32902
|
|
|
32903
32903
|
/* template */
|
|
32904
|
-
var __vue_render__$
|
|
32904
|
+
var __vue_render__$h = function () {
|
|
32905
32905
|
var _vm = this;
|
|
32906
32906
|
var _h = _vm.$createElement;
|
|
32907
32907
|
var _c = _vm._self._c || _h;
|
|
@@ -32910,6 +32910,70 @@ var __vue_render__$g = function () {
|
|
|
32910
32910
|
style: _vm.fontVariationStyle
|
|
32911
32911
|
}, "span", _vm.mergedAttrs, false), _vm.$listeners), [_vm._v(_vm._s(_vm.name))]);
|
|
32912
32912
|
};
|
|
32913
|
+
var __vue_staticRenderFns__$h = [];
|
|
32914
|
+
__vue_render__$h._withStripped = true;
|
|
32915
|
+
|
|
32916
|
+
/* style */
|
|
32917
|
+
const __vue_inject_styles__$h = undefined;
|
|
32918
|
+
/* scoped */
|
|
32919
|
+
const __vue_scope_id__$h = undefined;
|
|
32920
|
+
/* module identifier */
|
|
32921
|
+
const __vue_module_identifier__$h = undefined;
|
|
32922
|
+
/* functional template */
|
|
32923
|
+
const __vue_is_functional_template__$h = false;
|
|
32924
|
+
/* style inject */
|
|
32925
|
+
|
|
32926
|
+
/* style inject SSR */
|
|
32927
|
+
|
|
32928
|
+
/* style inject shadow dom */
|
|
32929
|
+
|
|
32930
|
+
const __vue_component__$h = /*#__PURE__*/normalizeComponent({
|
|
32931
|
+
render: __vue_render__$h,
|
|
32932
|
+
staticRenderFns: __vue_staticRenderFns__$h
|
|
32933
|
+
}, __vue_inject_styles__$h, __vue_script__$h, __vue_scope_id__$h, __vue_is_functional_template__$h, __vue_module_identifier__$h, false, undefined, undefined, undefined);
|
|
32934
|
+
|
|
32935
|
+
const skeletonVariants = cva('rq-skeleton');
|
|
32936
|
+
|
|
32937
|
+
//
|
|
32938
|
+
//
|
|
32939
|
+
//
|
|
32940
|
+
//
|
|
32941
|
+
|
|
32942
|
+
var script$g = {
|
|
32943
|
+
name: 'Skeleton',
|
|
32944
|
+
props: {
|
|
32945
|
+
width: {
|
|
32946
|
+
type: String,
|
|
32947
|
+
default: '100%'
|
|
32948
|
+
},
|
|
32949
|
+
height: {
|
|
32950
|
+
type: String,
|
|
32951
|
+
default: '16px'
|
|
32952
|
+
}
|
|
32953
|
+
},
|
|
32954
|
+
computed: {
|
|
32955
|
+
classes() {
|
|
32956
|
+
return skeletonVariants();
|
|
32957
|
+
}
|
|
32958
|
+
}
|
|
32959
|
+
};
|
|
32960
|
+
|
|
32961
|
+
/* script */
|
|
32962
|
+
const __vue_script__$g = script$g;
|
|
32963
|
+
|
|
32964
|
+
/* template */
|
|
32965
|
+
var __vue_render__$g = function () {
|
|
32966
|
+
var _vm = this;
|
|
32967
|
+
var _h = _vm.$createElement;
|
|
32968
|
+
var _c = _vm._self._c || _h;
|
|
32969
|
+
return _c("span", _vm._g({
|
|
32970
|
+
class: _vm.classes,
|
|
32971
|
+
style: {
|
|
32972
|
+
width: _vm.width,
|
|
32973
|
+
height: _vm.height
|
|
32974
|
+
}
|
|
32975
|
+
}, _vm.$listeners));
|
|
32976
|
+
};
|
|
32913
32977
|
var __vue_staticRenderFns__$g = [];
|
|
32914
32978
|
__vue_render__$g._withStripped = true;
|
|
32915
32979
|
|
|
@@ -33179,7 +33243,7 @@ const groupMixin = {
|
|
|
33179
33243
|
var script$e = {
|
|
33180
33244
|
name: 'RichCheckboxGroup',
|
|
33181
33245
|
components: {
|
|
33182
|
-
Checkbox: __vue_component__$
|
|
33246
|
+
Checkbox: __vue_component__$l
|
|
33183
33247
|
},
|
|
33184
33248
|
mixins: [groupMixin],
|
|
33185
33249
|
props: {
|
|
@@ -33293,7 +33357,7 @@ const checkboxGroupVariants = cva('rq-checkbox-group', {
|
|
|
33293
33357
|
var script$d = {
|
|
33294
33358
|
name: 'CheckboxGroup',
|
|
33295
33359
|
components: {
|
|
33296
|
-
Checkbox: __vue_component__$
|
|
33360
|
+
Checkbox: __vue_component__$l
|
|
33297
33361
|
},
|
|
33298
33362
|
mixins: [groupMixin],
|
|
33299
33363
|
props: {
|
|
@@ -33402,7 +33466,7 @@ const switchGroupVariants = cva('rq-switch-group', {
|
|
|
33402
33466
|
var script$c = {
|
|
33403
33467
|
name: 'SwitchGroup',
|
|
33404
33468
|
components: {
|
|
33405
|
-
RqSwitch: __vue_component__$
|
|
33469
|
+
RqSwitch: __vue_component__$k
|
|
33406
33470
|
},
|
|
33407
33471
|
mixins: [groupMixin],
|
|
33408
33472
|
props: {
|
|
@@ -33507,7 +33571,7 @@ const richSwitchGroupVariants = cva('rq-rich-switch-group');
|
|
|
33507
33571
|
var script$b = {
|
|
33508
33572
|
name: 'RichSwitchGroup',
|
|
33509
33573
|
components: {
|
|
33510
|
-
RqSwitch: __vue_component__$
|
|
33574
|
+
RqSwitch: __vue_component__$k
|
|
33511
33575
|
},
|
|
33512
33576
|
mixins: [groupMixin],
|
|
33513
33577
|
props: {
|
|
@@ -34223,8 +34287,8 @@ const searchInputVariants = cva('rq-search-input', {
|
|
|
34223
34287
|
var script$7 = {
|
|
34224
34288
|
name: 'SearchInput',
|
|
34225
34289
|
components: {
|
|
34226
|
-
Input: __vue_component__$
|
|
34227
|
-
Button: __vue_component__$
|
|
34290
|
+
Input: __vue_component__$o,
|
|
34291
|
+
Button: __vue_component__$n,
|
|
34228
34292
|
X
|
|
34229
34293
|
},
|
|
34230
34294
|
props: {
|
|
@@ -34465,7 +34529,7 @@ const selectionBarVariants = cva('rq-selection-bar', {
|
|
|
34465
34529
|
var script$5 = {
|
|
34466
34530
|
name: 'SelectionBar',
|
|
34467
34531
|
components: {
|
|
34468
|
-
Button: __vue_component__$
|
|
34532
|
+
Button: __vue_component__$n
|
|
34469
34533
|
},
|
|
34470
34534
|
props: {
|
|
34471
34535
|
count: {
|
|
@@ -37596,6 +37660,19 @@ function useTable(props, emit) {
|
|
|
37596
37660
|
return offsets;
|
|
37597
37661
|
});
|
|
37598
37662
|
|
|
37663
|
+
// Ancho total del área sticky (expand + select + columnas fijas): es el
|
|
37664
|
+
// punto real donde termina la zona siempre-visible y empieza el contenido
|
|
37665
|
+
// scrolleable, sin importar cuánto se haya scrolleado horizontalmente.
|
|
37666
|
+
const pinnedAreaWidth = computed(() => {
|
|
37667
|
+
const left = columnPinning.value.left || [];
|
|
37668
|
+
let total = (props.expandable ? props.expandColWidth || 40 : 0) + (props.selectable ? 40 : 0);
|
|
37669
|
+
left.forEach(key => {
|
|
37670
|
+
const col = props.columns.find(c => c.key === key);
|
|
37671
|
+
total += col?.width || 150;
|
|
37672
|
+
});
|
|
37673
|
+
return total;
|
|
37674
|
+
});
|
|
37675
|
+
|
|
37599
37676
|
// --- Handlers de column pinning ---
|
|
37600
37677
|
function togglePin(columnKey) {
|
|
37601
37678
|
const left = [...(columnPinning.value.left || [])];
|
|
@@ -37691,6 +37768,7 @@ function useTable(props, emit) {
|
|
|
37691
37768
|
headerGroups,
|
|
37692
37769
|
tableRows,
|
|
37693
37770
|
pinnedLeftWidths,
|
|
37771
|
+
pinnedAreaWidth,
|
|
37694
37772
|
draggingKey,
|
|
37695
37773
|
dragOverKey,
|
|
37696
37774
|
onDragStart,
|
|
@@ -37907,11 +37985,51 @@ function useTable(props, emit) {
|
|
|
37907
37985
|
//
|
|
37908
37986
|
//
|
|
37909
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
|
+
//
|
|
37910
38027
|
|
|
37911
38028
|
var script$4 = {
|
|
37912
38029
|
name: 'Table',
|
|
37913
38030
|
components: {
|
|
37914
|
-
Checkbox: __vue_component__$
|
|
38031
|
+
Checkbox: __vue_component__$l,
|
|
38032
|
+
Skeleton: __vue_component__$g,
|
|
37915
38033
|
Tooltip: __vue_component__$f
|
|
37916
38034
|
},
|
|
37917
38035
|
props: {
|
|
@@ -37931,6 +38049,16 @@ var script$4 = {
|
|
|
37931
38049
|
type: Array,
|
|
37932
38050
|
default: () => []
|
|
37933
38051
|
},
|
|
38052
|
+
// Habilitan/deshabilitan el drag & drop de reorden y el menú contextual
|
|
38053
|
+
// de pin/unpin para toda la tabla.
|
|
38054
|
+
columnsDraggable: {
|
|
38055
|
+
type: Boolean,
|
|
38056
|
+
default: true
|
|
38057
|
+
},
|
|
38058
|
+
columnsPinnable: {
|
|
38059
|
+
type: Boolean,
|
|
38060
|
+
default: true
|
|
38061
|
+
},
|
|
37934
38062
|
selectable: {
|
|
37935
38063
|
type: Boolean,
|
|
37936
38064
|
default: false
|
|
@@ -37964,6 +38092,16 @@ var script$4 = {
|
|
|
37964
38092
|
emptyState: {
|
|
37965
38093
|
type: Object,
|
|
37966
38094
|
default: null
|
|
38095
|
+
},
|
|
38096
|
+
// Estado de carga: reemplaza tableRows/empty-state por filas fantasma
|
|
38097
|
+
// con el ancho real de cada columna.
|
|
38098
|
+
loading: {
|
|
38099
|
+
type: Boolean,
|
|
38100
|
+
default: false
|
|
38101
|
+
},
|
|
38102
|
+
loadingRows: {
|
|
38103
|
+
type: Number,
|
|
38104
|
+
default: 5
|
|
37967
38105
|
}
|
|
37968
38106
|
},
|
|
37969
38107
|
setup(props, {
|
|
@@ -38060,6 +38198,61 @@ var script$4 = {
|
|
|
38060
38198
|
this.closeAll();
|
|
38061
38199
|
this.onDragStart(columnKey);
|
|
38062
38200
|
},
|
|
38201
|
+
handleDragOver(columnKey, event) {
|
|
38202
|
+
this.onDragOver(columnKey);
|
|
38203
|
+
this.updateAutoScroll(event.clientX);
|
|
38204
|
+
},
|
|
38205
|
+
handleDrop() {
|
|
38206
|
+
this.stopAutoScroll();
|
|
38207
|
+
this.onDrop();
|
|
38208
|
+
},
|
|
38209
|
+
handleDragEnd() {
|
|
38210
|
+
this.stopAutoScroll();
|
|
38211
|
+
this.onDragEnd();
|
|
38212
|
+
},
|
|
38213
|
+
// Auto-scroll horizontal mientras se arrastra una columna: si el cursor
|
|
38214
|
+
// entra en la franja de `edge` px cerca de un borde del scroll container,
|
|
38215
|
+
// se scrollea hacia ese lado a una velocidad proporcional a la cercanía
|
|
38216
|
+
// al borde. dragover nativo no dispara si el mouse no se mueve, por eso
|
|
38217
|
+
// el loop corre en su propio rAF en vez de depender del evento.
|
|
38218
|
+
//
|
|
38219
|
+
// El borde izquierdo real es el límite del área sticky (pinnedAreaWidth),
|
|
38220
|
+
// no el borde del contenedor: las columnas fijas siempre están visibles
|
|
38221
|
+
// ahí, así que la zona caliente debe arrancar donde termina esa área.
|
|
38222
|
+
updateAutoScroll(clientX) {
|
|
38223
|
+
const scroll = this.$el.querySelector('.rq-table__scroll');
|
|
38224
|
+
if (!scroll) return;
|
|
38225
|
+
const rect = scroll.getBoundingClientRect();
|
|
38226
|
+
const edge = 60;
|
|
38227
|
+
const maxSpeed = 18;
|
|
38228
|
+
const leftBoundary = rect.left + this.pinnedAreaWidth;
|
|
38229
|
+
let speed = 0;
|
|
38230
|
+
if (clientX < leftBoundary + edge) {
|
|
38231
|
+
speed = -maxSpeed * (1 - Math.max(0, clientX - leftBoundary) / edge);
|
|
38232
|
+
} else if (clientX > rect.right - edge) {
|
|
38233
|
+
speed = maxSpeed * (1 - Math.max(0, rect.right - clientX) / edge);
|
|
38234
|
+
}
|
|
38235
|
+
this._autoScrollSpeed = speed;
|
|
38236
|
+
if (speed !== 0) {
|
|
38237
|
+
this.startAutoScroll(scroll);
|
|
38238
|
+
} else {
|
|
38239
|
+
this.stopAutoScroll();
|
|
38240
|
+
}
|
|
38241
|
+
},
|
|
38242
|
+
startAutoScroll(scroll) {
|
|
38243
|
+
if (this._autoScrollRafId) return;
|
|
38244
|
+
const step = () => {
|
|
38245
|
+
scroll.scrollLeft += this._autoScrollSpeed;
|
|
38246
|
+
this._autoScrollRafId = requestAnimationFrame(step);
|
|
38247
|
+
};
|
|
38248
|
+
this._autoScrollRafId = requestAnimationFrame(step);
|
|
38249
|
+
},
|
|
38250
|
+
stopAutoScroll() {
|
|
38251
|
+
if (this._autoScrollRafId) {
|
|
38252
|
+
cancelAnimationFrame(this._autoScrollRafId);
|
|
38253
|
+
this._autoScrollRafId = null;
|
|
38254
|
+
}
|
|
38255
|
+
},
|
|
38063
38256
|
onChevronClick(columnKey, event) {
|
|
38064
38257
|
this.contextMenu = {
|
|
38065
38258
|
visible: false,
|
|
@@ -38088,6 +38281,7 @@ var script$4 = {
|
|
|
38088
38281
|
});
|
|
38089
38282
|
},
|
|
38090
38283
|
openContextMenu(colKey, event) {
|
|
38284
|
+
if (!this.columnsPinnable) return;
|
|
38091
38285
|
this.closeChevron();
|
|
38092
38286
|
const tableRect = this.$el.getBoundingClientRect();
|
|
38093
38287
|
this.contextMenu = {
|
|
@@ -38189,6 +38383,7 @@ var script$4 = {
|
|
|
38189
38383
|
this.$nextTick(this.measureTruncatedCells);
|
|
38190
38384
|
},
|
|
38191
38385
|
beforeDestroy() {
|
|
38386
|
+
this.stopAutoScroll();
|
|
38192
38387
|
document.removeEventListener('keydown', this._onKeydown);
|
|
38193
38388
|
document.removeEventListener('click', this._onDocumentClick);
|
|
38194
38389
|
window.removeEventListener('resize', this._onResize);
|
|
@@ -38260,7 +38455,7 @@ var __vue_render__$4 = function () {
|
|
|
38260
38455
|
},
|
|
38261
38456
|
style: _vm.getColStyle(header, true),
|
|
38262
38457
|
attrs: {
|
|
38263
|
-
draggable:
|
|
38458
|
+
draggable: _vm.columnsDraggable
|
|
38264
38459
|
},
|
|
38265
38460
|
on: {
|
|
38266
38461
|
dragstart: function ($event) {
|
|
@@ -38268,10 +38463,10 @@ var __vue_render__$4 = function () {
|
|
|
38268
38463
|
},
|
|
38269
38464
|
dragover: function ($event) {
|
|
38270
38465
|
$event.preventDefault();
|
|
38271
|
-
return _vm.
|
|
38466
|
+
return _vm.handleDragOver(header.id, $event);
|
|
38272
38467
|
},
|
|
38273
|
-
drop: _vm.
|
|
38274
|
-
dragend: _vm.
|
|
38468
|
+
drop: _vm.handleDrop,
|
|
38469
|
+
dragend: _vm.handleDragEnd,
|
|
38275
38470
|
contextmenu: function ($event) {
|
|
38276
38471
|
$event.preventDefault();
|
|
38277
38472
|
return _vm.openContextMenu(header.id, $event);
|
|
@@ -38302,7 +38497,41 @@ var __vue_render__$4 = function () {
|
|
|
38302
38497
|
}
|
|
38303
38498
|
})], 1) : _vm._e()])]);
|
|
38304
38499
|
})], 2);
|
|
38305
|
-
}), 0), _vm._v(" "), _c("tbody", [
|
|
38500
|
+
}), 0), _vm._v(" "), _c("tbody", [_vm.loading ? _vm._l(_vm.loadingRows, function (n) {
|
|
38501
|
+
return _c("tr", {
|
|
38502
|
+
key: "skeleton-" + n,
|
|
38503
|
+
staticClass: "rq-table__tr rq-table__tr--body rq-table__tr--skeleton"
|
|
38504
|
+
}, [_vm.expandable ? _c("td", {
|
|
38505
|
+
staticClass: "rq-table__td rq-table__td--expand",
|
|
38506
|
+
style: {
|
|
38507
|
+
position: "sticky",
|
|
38508
|
+
left: 0,
|
|
38509
|
+
zIndex: 2,
|
|
38510
|
+
width: _vm.expandColWidth + "px",
|
|
38511
|
+
minWidth: _vm.expandColWidth + "px"
|
|
38512
|
+
}
|
|
38513
|
+
}) : _vm._e(), _vm._v(" "), _vm.selectable ? _c("td", {
|
|
38514
|
+
staticClass: "rq-table__td rq-table__td--select",
|
|
38515
|
+
style: {
|
|
38516
|
+
position: "sticky",
|
|
38517
|
+
left: _vm.selectColOffset + "px",
|
|
38518
|
+
zIndex: 2
|
|
38519
|
+
}
|
|
38520
|
+
}) : _vm._e(), _vm._v(" "), _vm._l(_vm.headerGroups[0] ? _vm.headerGroups[0].headers : [], function (header) {
|
|
38521
|
+
return _c("td", {
|
|
38522
|
+
key: header.id,
|
|
38523
|
+
staticClass: "rq-table__td",
|
|
38524
|
+
class: {
|
|
38525
|
+
"rq-table__td--pinned": header.id in _vm.pinnedLeftWidths
|
|
38526
|
+
},
|
|
38527
|
+
style: _vm.getColStyle(header)
|
|
38528
|
+
}, [_c("Skeleton", {
|
|
38529
|
+
attrs: {
|
|
38530
|
+
height: "16px"
|
|
38531
|
+
}
|
|
38532
|
+
})], 1);
|
|
38533
|
+
})], 2);
|
|
38534
|
+
}) : [!_vm.tableRows.length ? _c("tr", {
|
|
38306
38535
|
staticClass: "rq-table__tr rq-table__tr--empty"
|
|
38307
38536
|
}, [_c("td", {
|
|
38308
38537
|
staticClass: "rq-table__td rq-table__td--empty",
|
|
@@ -38334,6 +38563,31 @@ var __vue_render__$4 = function () {
|
|
|
38334
38563
|
zIndex: 2,
|
|
38335
38564
|
width: _vm.expandColWidth + "px",
|
|
38336
38565
|
minWidth: _vm.expandColWidth + "px"
|
|
38566
|
+
},
|
|
38567
|
+
attrs: {
|
|
38568
|
+
role: "button",
|
|
38569
|
+
tabindex: "0",
|
|
38570
|
+
"aria-expanded": _vm.expandedRowId === row.id
|
|
38571
|
+
},
|
|
38572
|
+
on: {
|
|
38573
|
+
click: function ($event) {
|
|
38574
|
+
$event.stopPropagation();
|
|
38575
|
+
return _vm.toggleExpand(row.id);
|
|
38576
|
+
},
|
|
38577
|
+
keydown: [function ($event) {
|
|
38578
|
+
if (!$event.type.indexOf("key") && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) {
|
|
38579
|
+
return null;
|
|
38580
|
+
}
|
|
38581
|
+
$event.stopPropagation();
|
|
38582
|
+
return _vm.toggleExpand(row.id);
|
|
38583
|
+
}, function ($event) {
|
|
38584
|
+
if (!$event.type.indexOf("key") && _vm._k($event.keyCode, "space", 32, $event.key, [" ", "Spacebar"])) {
|
|
38585
|
+
return null;
|
|
38586
|
+
}
|
|
38587
|
+
$event.preventDefault();
|
|
38588
|
+
$event.stopPropagation();
|
|
38589
|
+
return _vm.toggleExpand(row.id);
|
|
38590
|
+
}]
|
|
38337
38591
|
}
|
|
38338
38592
|
}, [_c("div", {
|
|
38339
38593
|
staticClass: "rq-table__expand-cell"
|
|
@@ -38343,13 +38597,8 @@ var __vue_render__$4 = function () {
|
|
|
38343
38597
|
"rq-table__expand-btn--active": _vm.expandedRowId === row.id
|
|
38344
38598
|
},
|
|
38345
38599
|
attrs: {
|
|
38346
|
-
type: "button"
|
|
38347
|
-
|
|
38348
|
-
on: {
|
|
38349
|
-
click: function ($event) {
|
|
38350
|
-
$event.stopPropagation();
|
|
38351
|
-
return _vm.toggleExpand(row.id);
|
|
38352
|
-
}
|
|
38600
|
+
type: "button",
|
|
38601
|
+
tabindex: "-1"
|
|
38353
38602
|
}
|
|
38354
38603
|
}, [_c(_vm.ExpandIcon, {
|
|
38355
38604
|
tag: "component",
|
|
@@ -38429,7 +38678,7 @@ var __vue_render__$4 = function () {
|
|
|
38429
38678
|
}, [_vm._t("expanded-row", null, {
|
|
38430
38679
|
row: row.original
|
|
38431
38680
|
})], 2)])]) : _vm._e()];
|
|
38432
|
-
})], 2)])]), _vm._v(" "), _vm.contextMenu.visible ? _c("div", {
|
|
38681
|
+
})]], 2)])]), _vm._v(" "), _vm.contextMenu.visible ? _c("div", {
|
|
38433
38682
|
staticClass: "rq-table__context-menu",
|
|
38434
38683
|
style: {
|
|
38435
38684
|
top: _vm.contextMenu.y + "px",
|
|
@@ -38582,6 +38831,10 @@ const dataTableVariants = cva('rq-data-table', {
|
|
|
38582
38831
|
//
|
|
38583
38832
|
//
|
|
38584
38833
|
//
|
|
38834
|
+
//
|
|
38835
|
+
//
|
|
38836
|
+
//
|
|
38837
|
+
//
|
|
38585
38838
|
|
|
38586
38839
|
var script$3 = {
|
|
38587
38840
|
name: 'DataTable',
|
|
@@ -38664,6 +38917,22 @@ var script$3 = {
|
|
|
38664
38917
|
emptyState: {
|
|
38665
38918
|
type: Object,
|
|
38666
38919
|
default: null
|
|
38920
|
+
},
|
|
38921
|
+
columnsDraggable: {
|
|
38922
|
+
type: Boolean,
|
|
38923
|
+
default: true
|
|
38924
|
+
},
|
|
38925
|
+
columnsPinnable: {
|
|
38926
|
+
type: Boolean,
|
|
38927
|
+
default: true
|
|
38928
|
+
},
|
|
38929
|
+
loading: {
|
|
38930
|
+
type: Boolean,
|
|
38931
|
+
default: false
|
|
38932
|
+
},
|
|
38933
|
+
loadingRows: {
|
|
38934
|
+
type: Number,
|
|
38935
|
+
default: 5
|
|
38667
38936
|
}
|
|
38668
38937
|
},
|
|
38669
38938
|
data() {
|
|
@@ -38752,7 +39021,11 @@ var __vue_render__$3 = function () {
|
|
|
38752
39021
|
expandable: _vm.expandable,
|
|
38753
39022
|
"expanded-row-height": _vm.expandedRowHeight,
|
|
38754
39023
|
"expand-col-width": _vm.expandColWidth,
|
|
38755
|
-
"empty-state": _vm.emptyState
|
|
39024
|
+
"empty-state": _vm.emptyState,
|
|
39025
|
+
"columns-draggable": _vm.columnsDraggable,
|
|
39026
|
+
"columns-pinnable": _vm.columnsPinnable,
|
|
39027
|
+
loading: _vm.loading,
|
|
39028
|
+
"loading-rows": _vm.loadingRows
|
|
38756
39029
|
},
|
|
38757
39030
|
on: {
|
|
38758
39031
|
"row-click": function ($event) {
|
|
@@ -39131,7 +39404,7 @@ const dialogVariants = cva('rq-dialog', {
|
|
|
39131
39404
|
var script$1 = {
|
|
39132
39405
|
name: 'Dialog',
|
|
39133
39406
|
components: {
|
|
39134
|
-
Button: __vue_component__$
|
|
39407
|
+
Button: __vue_component__$n
|
|
39135
39408
|
},
|
|
39136
39409
|
props: {
|
|
39137
39410
|
title: {
|
|
@@ -39470,4 +39743,4 @@ const __vue_component__ = /*#__PURE__*/normalizeComponent({
|
|
|
39470
39743
|
staticRenderFns: __vue_staticRenderFns__
|
|
39471
39744
|
}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
|
|
39472
39745
|
|
|
39473
|
-
export { __vue_component__$
|
|
39746
|
+
export { __vue_component__$i as Badge, __vue_component__$n as Button, __vue_component__$l as Checkbox, __vue_component__$d as CheckboxGroup, __vue_component__$j as Chip, __vue_component__$3 as DataTable, __vue_component__$1 as Dialog, __vue_component__ as Drawer, __vue_component__$h as Icon, __vue_component__$o as Input, __vue_component__$6 as PageSizeSelect, __vue_component__$a as Pagination, __vue_component__$e as RichCheckboxGroup, __vue_component__$b as RichSwitchGroup, __vue_component__$q as RqButton, __vue_component__$p as RqInput, __vue_component__$7 as SearchInput, __vue_component__$5 as SelectionBar, __vue_component__$2 as Sidebar, __vue_component__$g as Skeleton, __vue_component__$k as Switch, __vue_component__$c as SwitchGroup, __vue_component__$4 as Table, __vue_component__$9 as Tabs, __vue_component__$f as Tooltip, __vue_component__$8 as Topbar, __vue_component__$m as Typography };
|