vueless 0.0.191 → 0.0.193
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/package.json +3 -3
- package/service.storybook/index.js +42 -8
- package/ui.button-toggle-item/index.vue +1 -3
- package/ui.dropdown-item/index.vue +1 -1
- package/ui.form-checkbox/index.vue +6 -8
- package/ui.form-input-rating/composables/attrs.composable.js +24 -22
- package/ui.form-input-rating/configs/default.config.js +28 -13
- package/ui.form-input-rating/index.stories.js +26 -21
- package/ui.form-input-rating/index.vue +99 -68
- package/ui.form-radio/index.vue +7 -8
- package/ui.loader/composables/attrs.composable.js +1 -0
- package/ui.loader/configs/default.config.js +8 -0
- package/ui.loader/index.vue +18 -4
- package/ui.loader-rendering/composables/attrs.composable.js +1 -1
- package/ui.navigation-tab/index.vue +3 -3
- package/web-types.json +319 -60
|
@@ -41,9 +41,17 @@ export default /*tw*/ {
|
|
|
41
41
|
},
|
|
42
42
|
},
|
|
43
43
|
},
|
|
44
|
+
loaderTransition: {
|
|
45
|
+
moveClass: "transition duration-500",
|
|
46
|
+
enterActiveClass: "transition duration-500",
|
|
47
|
+
leaveActiveClass: "transition duration-500 absolute",
|
|
48
|
+
enterFromClass: "opacity-0",
|
|
49
|
+
leaveToClass: "opacity-0",
|
|
50
|
+
},
|
|
44
51
|
defaultVariants: {
|
|
45
52
|
color: "brand",
|
|
46
53
|
size: "md",
|
|
54
|
+
loading: true,
|
|
47
55
|
},
|
|
48
56
|
safelist: (colors) => [{ pattern: `bg-(${colors})-600` }],
|
|
49
57
|
};
|
package/ui.loader/index.vue
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
3
|
-
<div v-
|
|
4
|
-
|
|
2
|
+
<Transition v-bind="config.loaderTransition">
|
|
3
|
+
<div v-if="!loading" v-bind="loaderAttrs">
|
|
4
|
+
<div
|
|
5
|
+
v-for="ellipse in ELLIPSES_AMOUNT"
|
|
6
|
+
:key="ellipse"
|
|
7
|
+
v-bind="ellipseAttrs(ellipseClasses)"
|
|
8
|
+
/>
|
|
9
|
+
</div>
|
|
10
|
+
</Transition>
|
|
5
11
|
</template>
|
|
6
12
|
|
|
7
13
|
<script setup>
|
|
@@ -33,11 +39,19 @@ const props = defineProps({
|
|
|
33
39
|
type: String,
|
|
34
40
|
default: UIService.get(defaultConfig, ULoader).default.color,
|
|
35
41
|
},
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Turn off/on loader.
|
|
45
|
+
*/
|
|
46
|
+
loading: {
|
|
47
|
+
type: Boolean,
|
|
48
|
+
default: UIService.get(defaultConfig, ULoader).default.loading,
|
|
49
|
+
},
|
|
36
50
|
});
|
|
37
51
|
|
|
38
52
|
const ELLIPSES_AMOUNT = 4;
|
|
39
53
|
|
|
40
|
-
const { loaderAttrs, ellipseAttrs } = useAttrs(props);
|
|
54
|
+
const { loaderAttrs, ellipseAttrs, config } = useAttrs(props);
|
|
41
55
|
|
|
42
56
|
const ellipseClasses = computed(() => [
|
|
43
57
|
"vueless-internal-loader-ellipse",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
</template>
|
|
9
9
|
|
|
10
10
|
<script setup>
|
|
11
|
-
import { computed, inject } from "vue";
|
|
11
|
+
import { computed, inject, toValue } from "vue";
|
|
12
12
|
|
|
13
13
|
import UIService from "../service.ui";
|
|
14
14
|
|
|
@@ -68,11 +68,11 @@ const props = defineProps({
|
|
|
68
68
|
});
|
|
69
69
|
|
|
70
70
|
const selected = computed(() => {
|
|
71
|
-
return getUTabsSelectedItem
|
|
71
|
+
return toValue(getUTabsSelectedItem) === props.value && !props.disabled;
|
|
72
72
|
});
|
|
73
73
|
|
|
74
74
|
const size = computed(() => {
|
|
75
|
-
return getUTabsSize
|
|
75
|
+
return toValue(getUTabsSize) || UIService.get(defaultConfig, UTab).default.size;
|
|
76
76
|
});
|
|
77
77
|
|
|
78
78
|
const { wrapperAttrs } = useAttrs(props, { selected, size });
|
package/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"framework": "vue",
|
|
3
3
|
"name": "vueless",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.193",
|
|
5
5
|
"contributions": {
|
|
6
6
|
"html": {
|
|
7
7
|
"description-markup": "markdown",
|
|
@@ -260,7 +260,19 @@
|
|
|
260
260
|
],
|
|
261
261
|
"slots": [
|
|
262
262
|
{
|
|
263
|
-
"name": "`cell-${key}`"
|
|
263
|
+
"name": "`cell-${key}`",
|
|
264
|
+
"scoped": true,
|
|
265
|
+
"bindings": [
|
|
266
|
+
{
|
|
267
|
+
"name": "name"
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"name": "value"
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"name": "row"
|
|
274
|
+
}
|
|
275
|
+
]
|
|
264
276
|
}
|
|
265
277
|
],
|
|
266
278
|
"source": {
|
|
@@ -451,11 +463,23 @@
|
|
|
451
463
|
"description": "Use it to add something above text."
|
|
452
464
|
},
|
|
453
465
|
{
|
|
454
|
-
"name": "title"
|
|
466
|
+
"name": "title",
|
|
467
|
+
"scoped": true,
|
|
468
|
+
"bindings": [
|
|
469
|
+
{
|
|
470
|
+
"name": "title"
|
|
471
|
+
}
|
|
472
|
+
]
|
|
455
473
|
},
|
|
456
474
|
{
|
|
457
475
|
"name": "description",
|
|
458
|
-
"
|
|
476
|
+
"scoped": true,
|
|
477
|
+
"description": "Use it to add something instead of the description.",
|
|
478
|
+
"bindings": [
|
|
479
|
+
{
|
|
480
|
+
"name": "description"
|
|
481
|
+
}
|
|
482
|
+
]
|
|
459
483
|
},
|
|
460
484
|
{
|
|
461
485
|
"name": "left",
|
|
@@ -1681,11 +1705,23 @@
|
|
|
1681
1705
|
"slots": [
|
|
1682
1706
|
{
|
|
1683
1707
|
"name": "label",
|
|
1684
|
-
"
|
|
1708
|
+
"scoped": true,
|
|
1709
|
+
"description": "Use it to modify label.",
|
|
1710
|
+
"bindings": [
|
|
1711
|
+
{
|
|
1712
|
+
"name": "item"
|
|
1713
|
+
}
|
|
1714
|
+
]
|
|
1685
1715
|
},
|
|
1686
1716
|
{
|
|
1687
1717
|
"name": "actions",
|
|
1688
|
-
"
|
|
1718
|
+
"scoped": true,
|
|
1719
|
+
"description": "Use it to add custom actions.",
|
|
1720
|
+
"bindings": [
|
|
1721
|
+
{
|
|
1722
|
+
"name": "item"
|
|
1723
|
+
}
|
|
1724
|
+
]
|
|
1689
1725
|
}
|
|
1690
1726
|
],
|
|
1691
1727
|
"source": {
|
|
@@ -2885,18 +2921,45 @@
|
|
|
2885
2921
|
"slots": [
|
|
2886
2922
|
{
|
|
2887
2923
|
"name": "before-option",
|
|
2888
|
-
"
|
|
2924
|
+
"scoped": true,
|
|
2925
|
+
"description": "Use it to add something before option.",
|
|
2926
|
+
"bindings": [
|
|
2927
|
+
{
|
|
2928
|
+
"name": "option"
|
|
2929
|
+
}
|
|
2930
|
+
]
|
|
2889
2931
|
},
|
|
2890
2932
|
{
|
|
2891
2933
|
"name": "option",
|
|
2892
|
-
"
|
|
2934
|
+
"scoped": true,
|
|
2935
|
+
"description": "Use it to add something before option.",
|
|
2936
|
+
"bindings": [
|
|
2937
|
+
{
|
|
2938
|
+
"name": "option"
|
|
2939
|
+
},
|
|
2940
|
+
{
|
|
2941
|
+
"name": "index"
|
|
2942
|
+
}
|
|
2943
|
+
]
|
|
2893
2944
|
},
|
|
2894
2945
|
{
|
|
2895
2946
|
"name": "after-option",
|
|
2896
|
-
"
|
|
2947
|
+
"scoped": true,
|
|
2948
|
+
"description": "Use it to add something after option.",
|
|
2949
|
+
"bindings": [
|
|
2950
|
+
{
|
|
2951
|
+
"name": "option"
|
|
2952
|
+
}
|
|
2953
|
+
]
|
|
2897
2954
|
},
|
|
2898
2955
|
{
|
|
2899
|
-
"name": "empty"
|
|
2956
|
+
"name": "empty",
|
|
2957
|
+
"scoped": true,
|
|
2958
|
+
"bindings": [
|
|
2959
|
+
{
|
|
2960
|
+
"name": "empty-styles"
|
|
2961
|
+
}
|
|
2962
|
+
]
|
|
2900
2963
|
}
|
|
2901
2964
|
],
|
|
2902
2965
|
"source": {
|
|
@@ -3034,10 +3097,22 @@
|
|
|
3034
3097
|
],
|
|
3035
3098
|
"slots": [
|
|
3036
3099
|
{
|
|
3037
|
-
"name": "left"
|
|
3100
|
+
"name": "left",
|
|
3101
|
+
"scoped": true,
|
|
3102
|
+
"bindings": [
|
|
3103
|
+
{
|
|
3104
|
+
"name": "file"
|
|
3105
|
+
}
|
|
3106
|
+
]
|
|
3038
3107
|
},
|
|
3039
3108
|
{
|
|
3040
|
-
"name": "right"
|
|
3109
|
+
"name": "right",
|
|
3110
|
+
"scoped": true,
|
|
3111
|
+
"bindings": [
|
|
3112
|
+
{
|
|
3113
|
+
"name": "file"
|
|
3114
|
+
}
|
|
3115
|
+
]
|
|
3041
3116
|
}
|
|
3042
3117
|
],
|
|
3043
3118
|
"source": {
|
|
@@ -3110,11 +3185,23 @@
|
|
|
3110
3185
|
},
|
|
3111
3186
|
{
|
|
3112
3187
|
"name": "left",
|
|
3113
|
-
"
|
|
3188
|
+
"scoped": true,
|
|
3189
|
+
"description": "Use it to add something left.",
|
|
3190
|
+
"bindings": [
|
|
3191
|
+
{
|
|
3192
|
+
"name": "file"
|
|
3193
|
+
}
|
|
3194
|
+
]
|
|
3114
3195
|
},
|
|
3115
3196
|
{
|
|
3116
3197
|
"name": "right",
|
|
3117
|
-
"
|
|
3198
|
+
"scoped": true,
|
|
3199
|
+
"description": "Use it to add something right.",
|
|
3200
|
+
"bindings": [
|
|
3201
|
+
{
|
|
3202
|
+
"name": "file"
|
|
3203
|
+
}
|
|
3204
|
+
]
|
|
3118
3205
|
}
|
|
3119
3206
|
],
|
|
3120
3207
|
"source": {
|
|
@@ -4130,18 +4217,9 @@
|
|
|
4130
4217
|
"name": "UInputRating",
|
|
4131
4218
|
"description": "",
|
|
4132
4219
|
"attributes": [
|
|
4133
|
-
{
|
|
4134
|
-
"name": "label",
|
|
4135
|
-
"description": "Set input rating label.",
|
|
4136
|
-
"value": {
|
|
4137
|
-
"kind": "expression",
|
|
4138
|
-
"type": "string"
|
|
4139
|
-
},
|
|
4140
|
-
"default": "\"\""
|
|
4141
|
-
},
|
|
4142
4220
|
{
|
|
4143
4221
|
"name": "modelValue",
|
|
4144
|
-
"description": "
|
|
4222
|
+
"description": "Rating value.",
|
|
4145
4223
|
"value": {
|
|
4146
4224
|
"kind": "expression",
|
|
4147
4225
|
"type": "number"
|
|
@@ -4149,8 +4227,8 @@
|
|
|
4149
4227
|
"default": "0"
|
|
4150
4228
|
},
|
|
4151
4229
|
{
|
|
4152
|
-
"name": "
|
|
4153
|
-
"description": "
|
|
4230
|
+
"name": "stars",
|
|
4231
|
+
"description": "Rating number of stars.",
|
|
4154
4232
|
"value": {
|
|
4155
4233
|
"kind": "expression",
|
|
4156
4234
|
"type": "number"
|
|
@@ -4159,7 +4237,7 @@
|
|
|
4159
4237
|
},
|
|
4160
4238
|
{
|
|
4161
4239
|
"name": "size",
|
|
4162
|
-
"description": "
|
|
4240
|
+
"description": "Rating size.",
|
|
4163
4241
|
"value": {
|
|
4164
4242
|
"kind": "expression",
|
|
4165
4243
|
"type": "'sm' | 'md' | 'lg'"
|
|
@@ -4167,26 +4245,26 @@
|
|
|
4167
4245
|
"default": "md"
|
|
4168
4246
|
},
|
|
4169
4247
|
{
|
|
4170
|
-
"name": "
|
|
4171
|
-
"description": "
|
|
4248
|
+
"name": "label",
|
|
4249
|
+
"description": "Rating label.",
|
|
4172
4250
|
"value": {
|
|
4173
4251
|
"kind": "expression",
|
|
4174
|
-
"type": "
|
|
4252
|
+
"type": "string"
|
|
4175
4253
|
},
|
|
4176
|
-
"default": "
|
|
4254
|
+
"default": "\"\""
|
|
4177
4255
|
},
|
|
4178
4256
|
{
|
|
4179
4257
|
"name": "labelAlign",
|
|
4180
|
-
"description": "
|
|
4258
|
+
"description": "Rating label placement.",
|
|
4181
4259
|
"value": {
|
|
4182
4260
|
"kind": "expression",
|
|
4183
4261
|
"type": "'top' | 'topInside' | 'topWithDesc' | 'bottom' | 'left' | 'right'"
|
|
4184
4262
|
},
|
|
4185
|
-
"default": "
|
|
4263
|
+
"default": "top"
|
|
4186
4264
|
},
|
|
4187
4265
|
{
|
|
4188
4266
|
"name": "error",
|
|
4189
|
-
"description": "
|
|
4267
|
+
"description": "Rating error message.",
|
|
4190
4268
|
"value": {
|
|
4191
4269
|
"kind": "expression",
|
|
4192
4270
|
"type": "string"
|
|
@@ -4195,7 +4273,7 @@
|
|
|
4195
4273
|
},
|
|
4196
4274
|
{
|
|
4197
4275
|
"name": "description",
|
|
4198
|
-
"description": "
|
|
4276
|
+
"description": "Rating description.",
|
|
4199
4277
|
"value": {
|
|
4200
4278
|
"kind": "expression",
|
|
4201
4279
|
"type": "string"
|
|
@@ -4203,8 +4281,26 @@
|
|
|
4203
4281
|
"default": "\"\""
|
|
4204
4282
|
},
|
|
4205
4283
|
{
|
|
4206
|
-
"name": "
|
|
4207
|
-
"description": "
|
|
4284
|
+
"name": "total",
|
|
4285
|
+
"description": "Rating total.",
|
|
4286
|
+
"value": {
|
|
4287
|
+
"kind": "expression",
|
|
4288
|
+
"type": "number"
|
|
4289
|
+
},
|
|
4290
|
+
"default": "0"
|
|
4291
|
+
},
|
|
4292
|
+
{
|
|
4293
|
+
"name": "counter",
|
|
4294
|
+
"description": "Show rating counter.",
|
|
4295
|
+
"value": {
|
|
4296
|
+
"kind": "expression",
|
|
4297
|
+
"type": "boolean"
|
|
4298
|
+
},
|
|
4299
|
+
"default": "false"
|
|
4300
|
+
},
|
|
4301
|
+
{
|
|
4302
|
+
"name": "selectable",
|
|
4303
|
+
"description": "Make rating selectable.",
|
|
4208
4304
|
"value": {
|
|
4209
4305
|
"kind": "expression",
|
|
4210
4306
|
"type": "boolean"
|
|
@@ -4213,7 +4309,7 @@
|
|
|
4213
4309
|
},
|
|
4214
4310
|
{
|
|
4215
4311
|
"name": "config",
|
|
4216
|
-
"description": "
|
|
4312
|
+
"description": "Component ui config object.",
|
|
4217
4313
|
"value": {
|
|
4218
4314
|
"kind": "expression",
|
|
4219
4315
|
"type": "object"
|
|
@@ -4222,7 +4318,7 @@
|
|
|
4222
4318
|
},
|
|
4223
4319
|
{
|
|
4224
4320
|
"name": "dataCy",
|
|
4225
|
-
"description": "
|
|
4321
|
+
"description": "Data-cy attribute for automated testing.",
|
|
4226
4322
|
"value": {
|
|
4227
4323
|
"kind": "expression",
|
|
4228
4324
|
"type": "string"
|
|
@@ -4232,17 +4328,48 @@
|
|
|
4232
4328
|
],
|
|
4233
4329
|
"events": [
|
|
4234
4330
|
{
|
|
4235
|
-
"name": "update:modelValue"
|
|
4331
|
+
"name": "update:modelValue",
|
|
4332
|
+
"description": "Triggers when the rating is changes.",
|
|
4333
|
+
"properties": [
|
|
4334
|
+
{
|
|
4335
|
+
"type": [
|
|
4336
|
+
"number"
|
|
4337
|
+
],
|
|
4338
|
+
"name": "modelValue"
|
|
4339
|
+
}
|
|
4340
|
+
]
|
|
4236
4341
|
}
|
|
4237
4342
|
],
|
|
4238
4343
|
"slots": [
|
|
4239
4344
|
{
|
|
4240
4345
|
"name": "counter",
|
|
4241
|
-
"
|
|
4346
|
+
"scoped": true,
|
|
4347
|
+
"description": "Use it to customise counter.",
|
|
4348
|
+
"bindings": [
|
|
4349
|
+
{
|
|
4350
|
+
"type": "number",
|
|
4351
|
+
"name": "counter"
|
|
4352
|
+
},
|
|
4353
|
+
{
|
|
4354
|
+
"type": "number",
|
|
4355
|
+
"name": "total"
|
|
4356
|
+
}
|
|
4357
|
+
]
|
|
4242
4358
|
},
|
|
4243
4359
|
{
|
|
4244
|
-
"name": "
|
|
4245
|
-
"
|
|
4360
|
+
"name": "total",
|
|
4361
|
+
"scoped": true,
|
|
4362
|
+
"description": "Use it to customise total.",
|
|
4363
|
+
"bindings": [
|
|
4364
|
+
{
|
|
4365
|
+
"type": "number",
|
|
4366
|
+
"name": "counter"
|
|
4367
|
+
},
|
|
4368
|
+
{
|
|
4369
|
+
"type": "number",
|
|
4370
|
+
"name": "total"
|
|
4371
|
+
}
|
|
4372
|
+
]
|
|
4246
4373
|
}
|
|
4247
4374
|
],
|
|
4248
4375
|
"source": {
|
|
@@ -4746,6 +4873,15 @@
|
|
|
4746
4873
|
"type": "'brand' | 'grayscale' | 'gray' | 'red' | 'orange' | 'amber' | 'yellow' | 'lime' | 'green' | 'emerald' | 'teal' | 'cyan' | 'sky' | 'blue' | 'indigo' | 'violet' | 'purple' | 'fuchsia' | 'pink' | 'rose' | 'white'"
|
|
4747
4874
|
},
|
|
4748
4875
|
"default": "brand"
|
|
4876
|
+
},
|
|
4877
|
+
{
|
|
4878
|
+
"name": "loading",
|
|
4879
|
+
"description": "Turn off/on loader.",
|
|
4880
|
+
"value": {
|
|
4881
|
+
"kind": "expression",
|
|
4882
|
+
"type": "boolean"
|
|
4883
|
+
},
|
|
4884
|
+
"default": "true"
|
|
4749
4885
|
}
|
|
4750
4886
|
],
|
|
4751
4887
|
"source": {
|
|
@@ -5758,10 +5894,37 @@
|
|
|
5758
5894
|
],
|
|
5759
5895
|
"slots": [
|
|
5760
5896
|
{
|
|
5761
|
-
"name": "indicator"
|
|
5762
|
-
|
|
5763
|
-
|
|
5764
|
-
|
|
5897
|
+
"name": "indicator",
|
|
5898
|
+
"scoped": true,
|
|
5899
|
+
"bindings": [
|
|
5900
|
+
{
|
|
5901
|
+
"name": "percent"
|
|
5902
|
+
},
|
|
5903
|
+
{
|
|
5904
|
+
"name": "value"
|
|
5905
|
+
},
|
|
5906
|
+
{
|
|
5907
|
+
"name": "max"
|
|
5908
|
+
}
|
|
5909
|
+
]
|
|
5910
|
+
},
|
|
5911
|
+
{
|
|
5912
|
+
"name": "`step-${index}`",
|
|
5913
|
+
"scoped": true,
|
|
5914
|
+
"bindings": [
|
|
5915
|
+
{
|
|
5916
|
+
"name": "name"
|
|
5917
|
+
},
|
|
5918
|
+
{
|
|
5919
|
+
"name": "step"
|
|
5920
|
+
},
|
|
5921
|
+
{
|
|
5922
|
+
"name": "value"
|
|
5923
|
+
},
|
|
5924
|
+
{
|
|
5925
|
+
"name": "max"
|
|
5926
|
+
}
|
|
5927
|
+
]
|
|
5765
5928
|
}
|
|
5766
5929
|
],
|
|
5767
5930
|
"source": {
|
|
@@ -6330,19 +6493,46 @@
|
|
|
6330
6493
|
"slots": [
|
|
6331
6494
|
{
|
|
6332
6495
|
"name": "after-caret",
|
|
6333
|
-
"
|
|
6496
|
+
"scoped": true,
|
|
6497
|
+
"description": "Use it to add something after caret.",
|
|
6498
|
+
"bindings": [
|
|
6499
|
+
{
|
|
6500
|
+
"name": "scope-props"
|
|
6501
|
+
}
|
|
6502
|
+
]
|
|
6334
6503
|
},
|
|
6335
6504
|
{
|
|
6336
6505
|
"name": "before-caret",
|
|
6337
|
-
"
|
|
6506
|
+
"scoped": true,
|
|
6507
|
+
"description": "Use it to add something after caret.",
|
|
6508
|
+
"bindings": [
|
|
6509
|
+
{
|
|
6510
|
+
"name": "scope-props"
|
|
6511
|
+
}
|
|
6512
|
+
]
|
|
6338
6513
|
},
|
|
6339
6514
|
{
|
|
6340
6515
|
"name": "selected-label",
|
|
6341
|
-
"
|
|
6516
|
+
"scoped": true,
|
|
6517
|
+
"description": "Use it to add selected value label.",
|
|
6518
|
+
"bindings": [
|
|
6519
|
+
{
|
|
6520
|
+
"name": "selected-label"
|
|
6521
|
+
},
|
|
6522
|
+
{
|
|
6523
|
+
"name": "value"
|
|
6524
|
+
}
|
|
6525
|
+
]
|
|
6342
6526
|
},
|
|
6343
6527
|
{
|
|
6344
6528
|
"name": "selected-label-after",
|
|
6345
|
-
"
|
|
6529
|
+
"scoped": true,
|
|
6530
|
+
"description": "Use it to add selected value label.",
|
|
6531
|
+
"bindings": [
|
|
6532
|
+
{
|
|
6533
|
+
"name": "scope-props"
|
|
6534
|
+
}
|
|
6535
|
+
]
|
|
6346
6536
|
},
|
|
6347
6537
|
{
|
|
6348
6538
|
"name": "left",
|
|
@@ -6350,14 +6540,35 @@
|
|
|
6350
6540
|
},
|
|
6351
6541
|
{
|
|
6352
6542
|
"name": "before-option",
|
|
6353
|
-
"
|
|
6543
|
+
"scoped": true,
|
|
6544
|
+
"description": "Use it to add something before option.",
|
|
6545
|
+
"bindings": [
|
|
6546
|
+
{
|
|
6547
|
+
"name": "option"
|
|
6548
|
+
}
|
|
6549
|
+
]
|
|
6354
6550
|
},
|
|
6355
6551
|
{
|
|
6356
|
-
"name": "option"
|
|
6552
|
+
"name": "option",
|
|
6553
|
+
"scoped": true,
|
|
6554
|
+
"bindings": [
|
|
6555
|
+
{
|
|
6556
|
+
"name": "option"
|
|
6557
|
+
},
|
|
6558
|
+
{
|
|
6559
|
+
"name": "index"
|
|
6560
|
+
}
|
|
6561
|
+
]
|
|
6357
6562
|
},
|
|
6358
6563
|
{
|
|
6359
6564
|
"name": "after-option",
|
|
6360
|
-
"
|
|
6565
|
+
"scoped": true,
|
|
6566
|
+
"description": "Use it to add something after option.",
|
|
6567
|
+
"bindings": [
|
|
6568
|
+
{
|
|
6569
|
+
"name": "option"
|
|
6570
|
+
}
|
|
6571
|
+
]
|
|
6361
6572
|
}
|
|
6362
6573
|
],
|
|
6363
6574
|
"source": {
|
|
@@ -6719,26 +6930,68 @@
|
|
|
6719
6930
|
"slots": [
|
|
6720
6931
|
{
|
|
6721
6932
|
"name": "header-actions",
|
|
6722
|
-
"
|
|
6933
|
+
"scoped": true,
|
|
6934
|
+
"description": "Use it to add action buttons instead of table row when some rows are selected.",
|
|
6935
|
+
"bindings": [
|
|
6936
|
+
{
|
|
6937
|
+
"name": "selected-rows"
|
|
6938
|
+
}
|
|
6939
|
+
]
|
|
6723
6940
|
},
|
|
6724
6941
|
{
|
|
6725
6942
|
"name": "`header-${column.key}`",
|
|
6726
|
-
"
|
|
6943
|
+
"scoped": true,
|
|
6944
|
+
"description": "Use it to customise table column.",
|
|
6945
|
+
"bindings": [
|
|
6946
|
+
{
|
|
6947
|
+
"name": "name"
|
|
6948
|
+
},
|
|
6949
|
+
{
|
|
6950
|
+
"name": "column"
|
|
6951
|
+
}
|
|
6952
|
+
]
|
|
6727
6953
|
},
|
|
6728
6954
|
{
|
|
6729
6955
|
"name": "`header-${column.key}-after`",
|
|
6730
|
-
"
|
|
6956
|
+
"scoped": true,
|
|
6957
|
+
"description": "Use it to add content after table column.",
|
|
6958
|
+
"bindings": [
|
|
6959
|
+
{
|
|
6960
|
+
"name": "name"
|
|
6961
|
+
},
|
|
6962
|
+
{
|
|
6963
|
+
"name": "column"
|
|
6964
|
+
}
|
|
6965
|
+
]
|
|
6731
6966
|
},
|
|
6732
6967
|
{
|
|
6733
6968
|
"name": "before-header",
|
|
6734
|
-
"
|
|
6969
|
+
"scoped": true,
|
|
6970
|
+
"description": "Use it to add something before header row.",
|
|
6971
|
+
"bindings": [
|
|
6972
|
+
{
|
|
6973
|
+
"name": "cols-count"
|
|
6974
|
+
}
|
|
6975
|
+
]
|
|
6735
6976
|
},
|
|
6736
6977
|
{
|
|
6737
6978
|
"name": "before-first-row",
|
|
6738
6979
|
"description": "Use it to add something before first row."
|
|
6739
6980
|
},
|
|
6740
6981
|
{
|
|
6741
|
-
"name": "`cell-${key}`"
|
|
6982
|
+
"name": "`cell-${key}`",
|
|
6983
|
+
"scoped": true,
|
|
6984
|
+
"bindings": [
|
|
6985
|
+
{
|
|
6986
|
+
"name": "name"
|
|
6987
|
+
},
|
|
6988
|
+
{
|
|
6989
|
+
"name": "value"
|
|
6990
|
+
},
|
|
6991
|
+
{
|
|
6992
|
+
"name": "row"
|
|
6993
|
+
}
|
|
6994
|
+
]
|
|
6742
6995
|
},
|
|
6743
6996
|
{
|
|
6744
6997
|
"name": "after-last-row",
|
|
@@ -6750,7 +7003,13 @@
|
|
|
6750
7003
|
},
|
|
6751
7004
|
{
|
|
6752
7005
|
"name": "footer",
|
|
6753
|
-
"
|
|
7006
|
+
"scoped": true,
|
|
7007
|
+
"description": "Use it to add something in table footer.",
|
|
7008
|
+
"bindings": [
|
|
7009
|
+
{
|
|
7010
|
+
"name": "cols-count"
|
|
7011
|
+
}
|
|
7012
|
+
]
|
|
6754
7013
|
}
|
|
6755
7014
|
],
|
|
6756
7015
|
"source": {
|