@bildvitta/quasar-ui-asteroid 3.0.0 → 3.1.0-beta.2

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.
Files changed (32) hide show
  1. package/dist/api/QasFormGenerator.json +5 -0
  2. package/dist/api/QasNestedFields.json +22 -1
  3. package/dist/asteroid.cjs.css +1 -1
  4. package/dist/asteroid.cjs.js +257 -175
  5. package/dist/asteroid.cjs.min.js +2 -2
  6. package/dist/asteroid.esm.css +1 -1
  7. package/dist/asteroid.esm.js +257 -175
  8. package/dist/asteroid.esm.min.js +2 -2
  9. package/dist/asteroid.umd.css +1 -1
  10. package/dist/asteroid.umd.js +260 -179
  11. package/dist/asteroid.umd.min.js +2 -2
  12. package/dist/vetur/asteroid-attributes.json +12 -0
  13. package/dist/vetur/asteroid-tags.json +3 -0
  14. package/package.json +2 -1
  15. package/src/components/app-bar/QasAppBar.vue +2 -2
  16. package/src/components/box/QasBox.vue +1 -1
  17. package/src/components/card/QasCard.vue +1 -1
  18. package/src/components/delete/QasDelete.vue +6 -1
  19. package/src/components/filters/QasFilters.vue +15 -9
  20. package/src/components/form-generator/QasFormGenerator.vue +6 -2
  21. package/src/components/form-generator/QasFormGenerator.yml +5 -0
  22. package/src/components/form-view/QasFormView.vue +11 -2
  23. package/src/components/grid-generator/QasGridGenerator.vue +2 -2
  24. package/src/components/list-items/QasListItems.vue +5 -3
  25. package/src/components/list-view/QasListView.vue +8 -3
  26. package/src/components/nested-fields/QasNestedFields.vue +31 -5
  27. package/src/components/nested-fields/QasNestedFields.yml +16 -1
  28. package/src/components/single-view/QasSingleView.vue +7 -2
  29. package/src/components/sortable/QasSortable.vue +8 -3
  30. package/src/css/variables/index.scss +0 -1
  31. package/src/mixins/search-filter.js +12 -7
  32. package/src/css/variables/shadow.scss +0 -33
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @bildvitta/quasar-ui-asteroid v3.0.0
2
+ * @bildvitta/quasar-ui-asteroid v3.1.0-beta.2
3
3
  * (c) 2022 Bild & Vitta <systemteam@bild.com.br>
4
4
  * Released under the MIT License.
5
5
  */
@@ -8,6 +8,7 @@ import { camelize, camelizeKeys, decamelize } from 'humps';
8
8
  import { parseISO, format, isMatch } from 'date-fns';
9
9
  import { ptBR } from 'date-fns/locale';
10
10
  import { copyToClipboard, date as date$1, Dialog as Dialog$1, Notify, Screen as Screen$1, Platform, Loading, extend, uid, createMetaMixin, QInfiniteScroll, Quasar } from 'quasar';
11
+ import { getAction, getState, getGetter } from '@bildvitta/store-adapter';
11
12
  import { findLastIndex, isEqual, isEqualWith, isObject, castArray, sortBy } from 'lodash-es';
12
13
  import AutoNumeric from 'autonumeric';
13
14
  import Pica from 'pica';
@@ -47,7 +48,7 @@ var script$L = {
47
48
  };
48
49
 
49
50
  const _hoisted_1$t = { class: "col-12 col-sm-auto" };
50
- const _hoisted_2$l = { class: "col-12 col-sm-auto" };
51
+ const _hoisted_2$m = { class: "col-12 col-sm-auto" };
51
52
 
52
53
  function render$L(_ctx, _cache, $props, $setup, $data, $options) {
53
54
  return (openBlock(), createElementBlock("div", {
@@ -56,7 +57,7 @@ function render$L(_ctx, _cache, $props, $setup, $data, $options) {
56
57
  createElementVNode("div", _hoisted_1$t, [
57
58
  renderSlot(_ctx.$slots, "secondary")
58
59
  ]),
59
- createElementVNode("div", _hoisted_2$l, [
60
+ createElementVNode("div", _hoisted_2$m, [
60
61
  renderSlot(_ctx.$slots, "primary")
61
62
  ])
62
63
  ], 2 /* CLASS */))
@@ -182,7 +183,7 @@ var script$J = {
182
183
  };
183
184
 
184
185
  const _hoisted_1$s = { class: "flex items-center justify-center q-gutter-x-md" };
185
- const _hoisted_2$k = { class: "flex items-center justify-center q-gutter-x-sm" };
186
+ const _hoisted_2$l = { class: "flex items-center justify-center q-gutter-x-sm" };
186
187
 
187
188
  function render$J(_ctx, _cache, $props, $setup, $data, $options) {
188
189
  const _component_q_icon = resolveComponent("q-icon");
@@ -246,7 +247,7 @@ function render$J(_ctx, _cache, $props, $setup, $data, $options) {
246
247
  default: withCtx(() => [
247
248
  createVNode(_component_q_item_section, null, {
248
249
  default: withCtx(() => [
249
- createElementVNode("div", _hoisted_2$k, [
250
+ createElementVNode("div", _hoisted_2$l, [
250
251
  createVNode(_component_q_icon, {
251
252
  name: $props.deleteIcon,
252
253
  size: "sm"
@@ -750,7 +751,7 @@ var script$H = {
750
751
  };
751
752
 
752
753
  const _hoisted_1$r = { class: "q-gutter-md q-mr-lg" };
753
- const _hoisted_2$j = {
754
+ const _hoisted_2$k = {
754
755
  key: 0,
755
756
  class: "text-bold text-h5"
756
757
  };
@@ -776,7 +777,7 @@ function render$H(_ctx, _cache, $props, $setup, $data, $options) {
776
777
  createElementVNode("div", _hoisted_1$r, [
777
778
  renderSlot(_ctx.$slots, "header", {}, () => [
778
779
  ($props.title)
779
- ? (openBlock(), createElementBlock("h5", _hoisted_2$j, toDisplayString($props.title), 1 /* TEXT */))
780
+ ? (openBlock(), createElementBlock("h5", _hoisted_2$k, toDisplayString($props.title), 1 /* TEXT */))
780
781
  : createCommentVNode("v-if", true)
781
782
  ]),
782
783
  renderSlot(_ctx.$slots, "default", {}, () => [
@@ -1013,7 +1014,7 @@ var script$F = {
1013
1014
  };
1014
1015
 
1015
1016
  const _hoisted_1$q = ["alt", "src"];
1016
- const _hoisted_2$i = {
1017
+ const _hoisted_2$j = {
1017
1018
  key: 1,
1018
1019
  class: "text-bold text-grey-9 text-subtitle1 text-uppercase"
1019
1020
  };
@@ -1045,7 +1046,7 @@ function render$F(_ctx, _cache, $props, $setup, $data, $options) {
1045
1046
  const _directive_close_popup = resolveDirective("close-popup");
1046
1047
 
1047
1048
  return (openBlock(), createBlock(_component_q_header, {
1048
- class: "bg-white qas-app-bar shadow-14",
1049
+ class: "bg-white qas-app-bar shadow-2",
1049
1050
  "height-hint": "70"
1050
1051
  }, {
1051
1052
  default: withCtx(() => [
@@ -1082,7 +1083,7 @@ function render$F(_ctx, _cache, $props, $setup, $data, $options) {
1082
1083
  }, null, 8 /* PROPS */, _hoisted_1$q))
1083
1084
  : createCommentVNode("v-if", true),
1084
1085
  ($options.showTitle)
1085
- ? (openBlock(), createElementBlock("span", _hoisted_2$i, toDisplayString($props.title), 1 /* TEXT */))
1086
+ ? (openBlock(), createElementBlock("span", _hoisted_2$j, toDisplayString($props.title), 1 /* TEXT */))
1086
1087
  : createCommentVNode("v-if", true),
1087
1088
  ($options.hasDevelopmentBadge)
1088
1089
  ? (openBlock(), createBlock(_component_q_badge, {
@@ -1148,7 +1149,7 @@ function render$F(_ctx, _cache, $props, $setup, $data, $options) {
1148
1149
  ]),
1149
1150
  createVNode(_component_q_menu, {
1150
1151
  anchor: "bottom end",
1151
- class: "shadow-14",
1152
+ class: "shadow-2",
1152
1153
  "max-height": "400px",
1153
1154
  offset: [0, 5],
1154
1155
  self: "top end"
@@ -1346,7 +1347,7 @@ var script$E = {
1346
1347
  };
1347
1348
 
1348
1349
  const _hoisted_1$p = { class: "column flex full-height justify-between no-wrap overflow-x-hidden" };
1349
- const _hoisted_2$h = {
1350
+ const _hoisted_2$i = {
1350
1351
  key: 0,
1351
1352
  class: "q-ma-md"
1352
1353
  };
@@ -1381,7 +1382,7 @@ function render$E(_ctx, _cache, $props, $setup, $data, $options) {
1381
1382
  createElementVNode("div", _hoisted_1$p, [
1382
1383
  createElementVNode("div", null, [
1383
1384
  ($options.displayModuleSection)
1384
- ? (openBlock(), createElementBlock("div", _hoisted_2$h, [
1385
+ ? (openBlock(), createElementBlock("div", _hoisted_2$i, [
1385
1386
  _hoisted_3$d,
1386
1387
  createVNode(_component_qas_select, {
1387
1388
  modelValue: $data.module,
@@ -1534,7 +1535,7 @@ var script$D = {
1534
1535
  boxClass () {
1535
1536
  return {
1536
1537
  'border-primary-contrast': this.outlined,
1537
- 'shadow-14': !this.unelevated
1538
+ 'shadow-2': !this.unelevated
1538
1539
  }
1539
1540
  }
1540
1541
  }
@@ -1596,7 +1597,7 @@ var script$C = {
1596
1597
 
1597
1598
  cardClasses () {
1598
1599
  return {
1599
- 'shadow-14': !this.unelevated,
1600
+ 'shadow-2': !this.unelevated,
1600
1601
  'border-primary': this.outlined,
1601
1602
  'no-shadow': this.outlined,
1602
1603
  'bg-white': this.outlined
@@ -1632,7 +1633,7 @@ var script$C = {
1632
1633
  };
1633
1634
 
1634
1635
  const _hoisted_1$o = { class: "col-12 col-lg-3 col-md-4 col-sm-6" };
1635
- const _hoisted_2$g = {
1636
+ const _hoisted_2$h = {
1636
1637
  key: 0,
1637
1638
  class: "overflow-hidden relative-position w-full"
1638
1639
  };
@@ -1655,7 +1656,7 @@ function render$C(_ctx, _cache, $props, $setup, $data, $options) {
1655
1656
  }, {
1656
1657
  default: withCtx(() => [
1657
1658
  ($props.useHeader)
1658
- ? (openBlock(), createElementBlock("header", _hoisted_2$g, [
1659
+ ? (openBlock(), createElementBlock("header", _hoisted_2$h, [
1659
1660
  renderSlot(_ctx.$slots, "header", {}, () => [
1660
1661
  createVNode(_component_q_carousel, {
1661
1662
  modelValue: $data.slideImage,
@@ -2196,12 +2197,12 @@ var script$y = {
2196
2197
  };
2197
2198
 
2198
2199
  const _hoisted_1$m = { class: "bg-grey-3 q-my-md q-pa-md rounded-borders" };
2199
- const _hoisted_2$f = /*#__PURE__*/createElementVNode("summary", null, "Debugger", -1 /* HOISTED */);
2200
+ const _hoisted_2$g = /*#__PURE__*/createElementVNode("summary", null, "Debugger", -1 /* HOISTED */);
2200
2201
  const _hoisted_3$b = { class: "row" };
2201
2202
 
2202
2203
  function render$y(_ctx, _cache, $props, $setup, $data, $options) {
2203
2204
  return (openBlock(), createElementBlock("details", _hoisted_1$m, [
2204
- _hoisted_2$f,
2205
+ _hoisted_2$g,
2205
2206
  createElementVNode("div", _hoisted_3$b, [
2206
2207
  (openBlock(true), createElementBlock(Fragment, null, renderList($props.inspect, (item, index) => {
2207
2208
  return (openBlock(), createElementBlock("pre", {
@@ -2369,7 +2370,7 @@ var script$x = {
2369
2370
  };
2370
2371
 
2371
2372
  const _hoisted_1$l = { class: "justify-between row" };
2372
- const _hoisted_2$e = { class: "text-bold text-h6" };
2373
+ const _hoisted_2$f = { class: "text-bold text-h6" };
2373
2374
  const _hoisted_3$a = { key: 0 };
2374
2375
 
2375
2376
  function render$x(_ctx, _cache, $props, $setup, $data, $options) {
@@ -2394,7 +2395,7 @@ function render$x(_ctx, _cache, $props, $setup, $data, $options) {
2394
2395
  default: withCtx(() => [
2395
2396
  renderSlot(_ctx.$slots, "header", {}, () => [
2396
2397
  createElementVNode("div", _hoisted_1$l, [
2397
- createElementVNode("div", _hoisted_2$e, toDisplayString($props.card.title), 1 /* TEXT */),
2398
+ createElementVNode("div", _hoisted_2$f, toDisplayString($props.card.title), 1 /* TEXT */),
2398
2399
  ($props.useCloseButton)
2399
2400
  ? withDirectives((openBlock(), createBlock(_component_qas_btn, {
2400
2401
  key: 0,
@@ -2716,7 +2717,11 @@ var script$w = {
2716
2717
  `QasDelete - destroy -> Payload do parâmetro do ${this.entity}/destroy`, [payload]
2717
2718
  );
2718
2719
 
2719
- await this.$store.dispatch(`${this.entity}/destroy`, payload);
2720
+ await getAction.call(this, {
2721
+ entity: this.entity,
2722
+ key: 'destroy',
2723
+ payload
2724
+ });
2720
2725
 
2721
2726
  NotifySuccess('Item deletado com sucesso!');
2722
2727
 
@@ -3914,7 +3919,7 @@ var script$q = {
3914
3919
  };
3915
3920
 
3916
3921
  const _hoisted_1$i = { class: "flex flex-center full-width justify-between no-border no-wrap q-gutter-xs q-pa-sm text-white transparent" };
3917
- const _hoisted_2$d = { class: "col column items-start justify-center" };
3922
+ const _hoisted_2$e = { class: "col column items-start justify-center" };
3918
3923
  const _hoisted_3$9 = {
3919
3924
  key: 0,
3920
3925
  class: "q-uploader__title"
@@ -3973,7 +3978,7 @@ function render$q(_ctx, _cache, $props, $setup, $data, $options) {
3973
3978
  size: "24px"
3974
3979
  }))
3975
3980
  : createCommentVNode("v-if", true),
3976
- createElementVNode("div", _hoisted_2$d, [
3981
+ createElementVNode("div", _hoisted_2$e, [
3977
3982
  (_ctx.$attrs.label)
3978
3983
  ? (openBlock(), createElementBlock("div", _hoisted_3$9, toDisplayString(_ctx.$attrs.label), 1 /* TEXT */))
3979
3984
  : createCommentVNode("v-if", true),
@@ -4208,7 +4213,7 @@ const _hoisted_1$h = {
4208
4213
  ref: "signatureContainer",
4209
4214
  class: "qas-signature-pad relative-position"
4210
4215
  };
4211
- const _hoisted_2$c = ["id", "height"];
4216
+ const _hoisted_2$d = ["id", "height"];
4212
4217
 
4213
4218
  function render$p(_ctx, _cache, $props, $setup, $data, $options) {
4214
4219
  const _component_qas_btn = resolveComponent("qas-btn");
@@ -4220,7 +4225,7 @@ function render$p(_ctx, _cache, $props, $setup, $data, $options) {
4220
4225
  ref: _ctx.$attrs.ref,
4221
4226
  class: "qas-signature-pad__canvas rounded-borders vertical-bottom",
4222
4227
  height: $props.height
4223
- }, null, 8 /* PROPS */, _hoisted_2$c),
4228
+ }, null, 8 /* PROPS */, _hoisted_2$d),
4224
4229
  (!$props.empty)
4225
4230
  ? (openBlock(), createBlock(_component_qas_btn, {
4226
4231
  key: 0,
@@ -4379,7 +4384,7 @@ var script$o = {
4379
4384
  };
4380
4385
 
4381
4386
  const _hoisted_1$g = { class: "col column items-start justify-center" };
4382
- const _hoisted_2$b = {
4387
+ const _hoisted_2$c = {
4383
4388
  key: 0,
4384
4389
  class: "q-uploader__title"
4385
4390
  };
@@ -4407,7 +4412,7 @@ function render$o(_ctx, _cache, $props, $setup, $data, $options) {
4407
4412
  }, [
4408
4413
  createElementVNode("div", _hoisted_1$g, [
4409
4414
  ($props.uploadLabel)
4410
- ? (openBlock(), createElementBlock("div", _hoisted_2$b, toDisplayString($props.uploadLabel), 1 /* TEXT */))
4415
+ ? (openBlock(), createElementBlock("div", _hoisted_2$c, toDisplayString($props.uploadLabel), 1 /* TEXT */))
4411
4416
  : createCommentVNode("v-if", true)
4412
4417
  ]),
4413
4418
  (!$props.readonly)
@@ -4791,7 +4796,7 @@ var script$m = {
4791
4796
  },
4792
4797
 
4793
4798
  fields () {
4794
- return this.$store.getters[`${this.entity}/filters`]
4799
+ return getState.call(this, { entity: this.entity, key: 'filters' })
4795
4800
  },
4796
4801
 
4797
4802
  filterButtonColor () {
@@ -4807,7 +4812,7 @@ var script$m = {
4807
4812
  },
4808
4813
 
4809
4814
  hasFields () {
4810
- return !!Object.keys(this.fields).length
4815
+ return !!Object.keys(this.fields || {}).length
4811
4816
  },
4812
4817
 
4813
4818
  hasSearch () {
@@ -4889,7 +4894,12 @@ var script$m = {
4889
4894
  [{ url: this.url }]
4890
4895
  );
4891
4896
 
4892
- const response = await this.$store.dispatch(`${this.entity}/fetchFilters`, { url: this.url });
4897
+ const response = await getAction.call(this, {
4898
+ entity: this.entity,
4899
+ key: 'fetchFilters',
4900
+ payload: { url: this.url }
4901
+ });
4902
+
4893
4903
  this.$emit('fetch-success', response);
4894
4904
 
4895
4905
  this.$qas.logger.group(
@@ -4963,7 +4973,7 @@ var script$m = {
4963
4973
  };
4964
4974
 
4965
4975
  const _hoisted_1$f = { class: "q-mb-lg" };
4966
- const _hoisted_2$a = {
4976
+ const _hoisted_2$b = {
4967
4977
  key: 0,
4968
4978
  class: "q-gutter-x-md row"
4969
4979
  };
@@ -4997,7 +5007,7 @@ function render$m(_ctx, _cache, $props, $setup, $data, $options) {
4997
5007
 
4998
5008
  return (openBlock(), createElementBlock("section", _hoisted_1$f, [
4999
5009
  ($options.showFilters)
5000
- ? (openBlock(), createElementBlock("div", _hoisted_2$a, [
5010
+ ? (openBlock(), createElementBlock("div", _hoisted_2$b, [
5001
5011
  ($options.showSearch)
5002
5012
  ? (openBlock(), createElementBlock("div", _hoisted_3$7, [
5003
5013
  renderSlot(_ctx.$slots, "search", { filter: $options.filter }, () => [
@@ -5010,6 +5020,7 @@ function render$m(_ctx, _cache, $props, $setup, $data, $options) {
5010
5020
  createVNode(_component_qas_input, {
5011
5021
  modelValue: $data.search,
5012
5022
  "onUpdate:modelValue": _cache[1] || (_cache[1] = $event => (($data.search) = $event)),
5023
+ "data-cy": "filters-search-input",
5013
5024
  debounce: $options.debounce,
5014
5025
  dense: "",
5015
5026
  "hide-bottom-space": "",
@@ -5058,6 +5069,7 @@ function render$m(_ctx, _cache, $props, $setup, $data, $options) {
5058
5069
  ? (openBlock(), createBlock(_component_qas_btn, {
5059
5070
  key: 0,
5060
5071
  color: $options.filterButtonColor,
5072
+ "data-cy": "filters-btn",
5061
5073
  flat: "",
5062
5074
  icon: "o_filter_list",
5063
5075
  label: $options.filterButtonLabel
@@ -5094,14 +5106,16 @@ function render$m(_ctx, _cache, $props, $setup, $data, $options) {
5094
5106
  createVNode(_component_qas_field, {
5095
5107
  modelValue: $data.filters[field.name],
5096
5108
  "onUpdate:modelValue": $event => (($data.filters[field.name]) = $event),
5109
+ "data-cy": `filters-${field.name}-field`,
5097
5110
  dense: "",
5098
5111
  field: field
5099
- }, null, 8 /* PROPS */, ["modelValue", "onUpdate:modelValue", "field"])
5112
+ }, null, 8 /* PROPS */, ["modelValue", "onUpdate:modelValue", "data-cy", "field"])
5100
5113
  ]))
5101
5114
  }), 128 /* KEYED_FRAGMENT */)),
5102
5115
  createElementVNode("div", _hoisted_6$2, [
5103
5116
  createVNode(_component_qas_btn, {
5104
5117
  class: "q-mr-sm",
5118
+ "data-cy": "filters-clear-btn",
5105
5119
  flat: "",
5106
5120
  label: "Limpar",
5107
5121
  "no-caps": false,
@@ -5111,6 +5125,7 @@ function render$m(_ctx, _cache, $props, $setup, $data, $options) {
5111
5125
  }, null, 8 /* PROPS */, ["onClick"]),
5112
5126
  createVNode(_component_qas_btn, {
5113
5127
  color: "primary",
5128
+ "data-cy": "filters-submit-btn",
5114
5129
  label: "Filtrar",
5115
5130
  "no-caps": false,
5116
5131
  size: "12px",
@@ -5138,6 +5153,7 @@ function render$m(_ctx, _cache, $props, $setup, $data, $options) {
5138
5153
  return (openBlock(), createBlock(_component_q_chip, {
5139
5154
  key: key,
5140
5155
  color: "primary",
5156
+ "data-cy": `filters-${filterItem.value}-chip`,
5141
5157
  dense: "",
5142
5158
  removable: "",
5143
5159
  size: "md",
@@ -5148,7 +5164,7 @@ function render$m(_ctx, _cache, $props, $setup, $data, $options) {
5148
5164
  createTextVNode(toDisplayString(filterItem.label) + " = \"" + toDisplayString($options.getChipValue(filterItem.value)) + "\"", 1 /* TEXT */)
5149
5165
  ]),
5150
5166
  _: 2 /* DYNAMIC */
5151
- }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["onRemove"]))
5167
+ }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["data-cy", "onRemove"]))
5152
5168
  }), 128 /* KEYED_FRAGMENT */))
5153
5169
  ]))
5154
5170
  : createCommentVNode("v-if", true),
@@ -5301,6 +5317,10 @@ var script$l = {
5301
5317
  validator: value => {
5302
5318
  return typeof value === 'boolean' || ['xs', 'sm', 'md', 'lg', 'xl'].includes(value)
5303
5319
  }
5320
+ },
5321
+
5322
+ disable: {
5323
+ type: Boolean
5304
5324
  }
5305
5325
  },
5306
5326
 
@@ -5422,12 +5442,12 @@ function render$l(_ctx, _cache, $props, $setup, $data, $options) {
5422
5442
  class: normalizeClass(_ctx.mx_getFieldClass(key))
5423
5443
  }, [
5424
5444
  renderSlot(_ctx.$slots, `field-${field.name}`, { field: field }, () => [
5425
- createVNode(_component_qas_field, mergeProps($props.fieldsProps[field.name], {
5445
+ createVNode(_component_qas_field, mergeProps({ disable: $props.disable }, $props.fieldsProps[field.name], {
5426
5446
  error: $props.errors[key],
5427
5447
  field: field,
5428
5448
  "model-value": $props.modelValue[field.name],
5429
5449
  "onUpdate:modelValue": $event => ($options.updateModelValue(field.name, $event))
5430
- }), null, 16 /* FULL_PROPS */, ["error", "field", "model-value", "onUpdate:modelValue"])
5450
+ }), null, 16 /* FULL_PROPS */, ["disable", "error", "field", "model-value", "onUpdate:modelValue"])
5431
5451
  ])
5432
5452
  ], 2 /* CLASS */))
5433
5453
  }), 128 /* KEYED_FRAGMENT */))
@@ -5435,11 +5455,11 @@ function render$l(_ctx, _cache, $props, $setup, $data, $options) {
5435
5455
  (openBlock(true), createElementBlock(Fragment, null, renderList(fieldsetItem.fields.hidden, (field, key) => {
5436
5456
  return (openBlock(), createElementBlock("div", { key: key }, [
5437
5457
  renderSlot(_ctx.$slots, `field-${field.name}`, { field: field }, () => [
5438
- createVNode(_component_qas_field, mergeProps($props.fieldsProps[field.name], {
5458
+ createVNode(_component_qas_field, mergeProps({ disable: $props.disable }, $props.fieldsProps[field.name], {
5439
5459
  field: field,
5440
5460
  "model-value": $props.modelValue[field.name],
5441
5461
  "onUpdate:modelValue": $event => ($options.updateModelValue(field.name, $event))
5442
- }), null, 16 /* FULL_PROPS */, ["field", "model-value", "onUpdate:modelValue"])
5462
+ }), null, 16 /* FULL_PROPS */, ["disable", "field", "model-value", "onUpdate:modelValue"])
5443
5463
  ])
5444
5464
  ]))
5445
5465
  }), 128 /* KEYED_FRAGMENT */))
@@ -5598,13 +5618,17 @@ var searchFilterMixin = {
5598
5618
 
5599
5619
  const { url, params, decamelizeFieldName } = this.mx_defaultLazyLoadingProps;
5600
5620
 
5601
- const { data } = await this.$store.dispatch(`${this.entity}/fetchFieldOptions`, {
5602
- url,
5603
- field: decamelizeFieldName ? decamelize(this.name, { separator: '-' }) : this.name,
5604
- params: {
5605
- ...params,
5606
- search: this.mx_search,
5607
- offset: (this.mx_pagination.page - 1) * params.limit
5621
+ const { data } = await getAction.call(this, {
5622
+ entity: this.entity,
5623
+ key: 'fetchFieldOptions',
5624
+ payload: {
5625
+ url,
5626
+ field: decamelizeFieldName ? decamelize(this.name, { separator: '-' }) : this.name,
5627
+ params: {
5628
+ ...params,
5629
+ search: this.mx_search,
5630
+ offset: (this.mx_pagination.page - 1) * params.limit
5631
+ }
5608
5632
  }
5609
5633
  });
5610
5634
 
@@ -6040,7 +6064,11 @@ var script$k = {
6040
6064
  `QasFormView - fetchSingle -> payload do parâmetro do ${this.entity}/fetchSingle`, [payload]
6041
6065
  );
6042
6066
 
6043
- const response = await this.$store.dispatch(`${this.entity}/fetchSingle`, payload);
6067
+ const response = await getAction.call(this, {
6068
+ entity: this.entity,
6069
+ key: 'fetchSingle',
6070
+ payload
6071
+ });
6044
6072
 
6045
6073
  const { errors, fields, metadata, result } = response.data;
6046
6074
 
@@ -6175,7 +6203,11 @@ var script$k = {
6175
6203
  `QasFormView - submit -> payload do ${this.entity}/${this.mode}`, [payload]
6176
6204
  );
6177
6205
 
6178
- const response = await this.$store.dispatch(`${this.entity}/${this.mode}`, payload);
6206
+ const response = await getAction.call(this, {
6207
+ entity: this.entity,
6208
+ key: this.mode,
6209
+ payload
6210
+ });
6179
6211
 
6180
6212
  if (this.useDialogOnUnsavedChanges) {
6181
6213
  this.cachedResult = extend(true, {}, this.modelValue);
@@ -6221,7 +6253,7 @@ var script$k = {
6221
6253
  };
6222
6254
 
6223
6255
  const _hoisted_1$e = { key: 0 };
6224
- const _hoisted_2$9 = { class: "justify-end q-col-gutter-md q-my-lg row" };
6256
+ const _hoisted_2$a = { class: "justify-end q-col-gutter-md q-my-lg row" };
6225
6257
  const _hoisted_3$6 = { key: 1 };
6226
6258
 
6227
6259
  function render$k(_ctx, _cache, $props, $setup, $data, $options) {
@@ -6249,7 +6281,7 @@ function render$k(_ctx, _cache, $props, $setup, $data, $options) {
6249
6281
  renderSlot(_ctx.$slots, "default"),
6250
6282
  ($props.useActions)
6251
6283
  ? renderSlot(_ctx.$slots, "actions", { key: 0 }, () => [
6252
- createElementVNode("div", _hoisted_2$9, [
6284
+ createElementVNode("div", _hoisted_2$a, [
6253
6285
  ($options.hasCancelButton)
6254
6286
  ? (openBlock(), createElementBlock("div", {
6255
6287
  key: 0,
@@ -6435,7 +6467,7 @@ var script$j = {
6435
6467
  };
6436
6468
 
6437
6469
  const _hoisted_1$d = { class: "q-col-gutter-md row" };
6438
- const _hoisted_2$8 = {
6470
+ const _hoisted_2$9 = {
6439
6471
  key: 0,
6440
6472
  class: "full-width text-center"
6441
6473
  };
@@ -6473,7 +6505,7 @@ function render$j(_ctx, _cache, $props, $setup, $data, $options) {
6473
6505
  }), 128 /* KEYED_FRAGMENT */)),
6474
6506
  renderSlot(_ctx.$slots, "default", {}, () => [
6475
6507
  (!$options.hideShowMore)
6476
- ? (openBlock(), createElementBlock("div", _hoisted_2$8, [
6508
+ ? (openBlock(), createElementBlock("div", _hoisted_2$9, [
6477
6509
  createVNode(_component_qas_btn, {
6478
6510
  class: "text-weight-bolder",
6479
6511
  color: "primary",
@@ -6660,6 +6692,9 @@ var script$i = {
6660
6692
  }
6661
6693
  };
6662
6694
 
6695
+ const _hoisted_1$c = ["data-cy"];
6696
+ const _hoisted_2$8 = ["data-cy"];
6697
+
6663
6698
  function render$i(_ctx, _cache, $props, $setup, $data, $options) {
6664
6699
  return (openBlock(), createElementBlock("div", {
6665
6700
  class: normalizeClass(_ctx.mx_classes)
@@ -6676,15 +6711,17 @@ function render$i(_ctx, _cache, $props, $setup, $data, $options) {
6676
6711
  field: $data.slotValue[key]
6677
6712
  }, () => [
6678
6713
  createElementVNode("header", {
6679
- class: normalizeClass($props.headerClass)
6680
- }, toDisplayString(field.label), 3 /* TEXT, CLASS */)
6714
+ class: normalizeClass($props.headerClass),
6715
+ "data-cy": `grid-generator-${field.name}-field`
6716
+ }, toDisplayString(field.label), 11 /* TEXT, CLASS, PROPS */, _hoisted_1$c)
6681
6717
  ]),
6682
6718
  renderSlot(_ctx.$slots, "content", {
6683
6719
  field: $data.slotValue[key]
6684
6720
  }, () => [
6685
6721
  createElementVNode("div", {
6686
- class: normalizeClass($props.contentClass)
6687
- }, toDisplayString($options.resultsByFields[key]), 3 /* TEXT, CLASS */)
6722
+ class: normalizeClass($props.contentClass),
6723
+ "data-cy": `grid-generator-${field.name}-result`
6724
+ }, toDisplayString($options.resultsByFields[key]), 11 /* TEXT, CLASS, PROPS */, _hoisted_2$8)
6688
6725
  ])
6689
6726
  ])
6690
6727
  ], 2 /* CLASS */))
@@ -6840,6 +6877,7 @@ var script$f = {
6840
6877
  name: 'QasListItems',
6841
6878
 
6842
6879
  components: {
6880
+ QasBox: script$D,
6843
6881
  QasBtn: script$K
6844
6882
  },
6845
6883
 
@@ -6881,79 +6919,77 @@ var script$f = {
6881
6919
  }
6882
6920
  };
6883
6921
 
6884
- const _hoisted_1$c = { class: "qas-list-items shadow-14" };
6885
-
6886
6922
  function render$f(_ctx, _cache, $props, $setup, $data, $options) {
6887
6923
  const _component_q_item_section = resolveComponent("q-item-section");
6888
6924
  const _component_q_icon = resolveComponent("q-icon");
6889
6925
  const _component_qas_btn = resolveComponent("qas-btn");
6890
6926
  const _component_q_item = resolveComponent("q-item");
6891
6927
  const _component_q_list = resolveComponent("q-list");
6928
+ const _component_qas_box = resolveComponent("qas-box");
6892
6929
  const _directive_ripple = resolveDirective("ripple");
6893
6930
 
6894
- return (openBlock(), createElementBlock("div", _hoisted_1$c, [
6895
- createVNode(_component_q_list, {
6896
- bordered: "",
6897
- class: "rounded-borders",
6898
- separator: ""
6899
- }, {
6900
- default: withCtx(() => [
6901
- (openBlock(true), createElementBlock(Fragment, null, renderList($props.list, (item, index) => {
6902
- return withDirectives((openBlock(), createBlock(_component_q_item, {
6903
- key: index,
6904
- clickable: $props.useClickableItem,
6905
- onClick: $event => ($options.onClick({ item, index }, true))
6906
- }, {
6907
- default: withCtx(() => [
6908
- renderSlot(_ctx.$slots, "item", {
6909
- index: index,
6910
- item: item
6911
- }, () => [
6912
- createVNode(_component_q_item_section, null, {
6913
- default: withCtx(() => [
6914
- renderSlot(_ctx.$slots, "item-section", {
6915
- index: index,
6916
- item: item
6917
- })
6918
- ]),
6919
- _: 2 /* DYNAMIC */
6920
- }, 1024 /* DYNAMIC_SLOTS */),
6921
- ($props.useSectionActions)
6922
- ? (openBlock(), createBlock(_component_q_item_section, {
6923
- key: 0,
6924
- side: ""
6925
- }, {
6926
- default: withCtx(() => [
6927
- renderSlot(_ctx.$slots, "item-section-side", {
6928
- index: index,
6929
- item: item
6930
- }, () => [
6931
- createVNode(_component_qas_btn, {
6932
- flat: "",
6933
- round: "",
6934
- onClick: $event => ($options.onClick({ item, index }))
6935
- }, {
6936
- default: withCtx(() => [
6937
- createVNode(_component_q_icon, normalizeProps(guardReactiveProps($props.iconProps)), null, 16 /* FULL_PROPS */)
6938
- ]),
6939
- _: 2 /* DYNAMIC */
6940
- }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["onClick"])
6941
- ])
6942
- ]),
6943
- _: 2 /* DYNAMIC */
6944
- }, 1024 /* DYNAMIC_SLOTS */))
6945
- : createCommentVNode("v-if", true)
6946
- ])
6947
- ]),
6948
- _: 2 /* DYNAMIC */
6949
- }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["clickable", "onClick"])), [
6950
- [_directive_ripple]
6951
- ])
6952
- }), 128 /* KEYED_FRAGMENT */))
6953
- ]),
6954
- _: 3 /* FORWARDED */
6955
- })
6956
- ]))
6931
+ return (openBlock(), createBlock(_component_qas_box, { class: "qas-list-items" }, {
6932
+ default: withCtx(() => [
6933
+ createVNode(_component_q_list, { separator: "" }, {
6934
+ default: withCtx(() => [
6935
+ (openBlock(true), createElementBlock(Fragment, null, renderList($props.list, (item, index) => {
6936
+ return withDirectives((openBlock(), createBlock(_component_q_item, {
6937
+ key: index,
6938
+ clickable: $props.useClickableItem,
6939
+ onClick: $event => ($options.onClick({ item, index }, true))
6940
+ }, {
6941
+ default: withCtx(() => [
6942
+ renderSlot(_ctx.$slots, "item", {
6943
+ index: index,
6944
+ item: item
6945
+ }, () => [
6946
+ createVNode(_component_q_item_section, null, {
6947
+ default: withCtx(() => [
6948
+ renderSlot(_ctx.$slots, "item-section", {
6949
+ index: index,
6950
+ item: item
6951
+ })
6952
+ ]),
6953
+ _: 2 /* DYNAMIC */
6954
+ }, 1024 /* DYNAMIC_SLOTS */),
6955
+ ($props.useSectionActions)
6956
+ ? (openBlock(), createBlock(_component_q_item_section, {
6957
+ key: 0,
6958
+ side: ""
6959
+ }, {
6960
+ default: withCtx(() => [
6961
+ renderSlot(_ctx.$slots, "item-section-side", {
6962
+ index: index,
6963
+ item: item
6964
+ }, () => [
6965
+ createVNode(_component_qas_btn, {
6966
+ flat: "",
6967
+ round: "",
6968
+ onClick: $event => ($options.onClick({ item, index }))
6969
+ }, {
6970
+ default: withCtx(() => [
6971
+ createVNode(_component_q_icon, normalizeProps(guardReactiveProps($props.iconProps)), null, 16 /* FULL_PROPS */)
6972
+ ]),
6973
+ _: 2 /* DYNAMIC */
6974
+ }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["onClick"])
6975
+ ])
6976
+ ]),
6977
+ _: 2 /* DYNAMIC */
6978
+ }, 1024 /* DYNAMIC_SLOTS */))
6979
+ : createCommentVNode("v-if", true)
6980
+ ])
6981
+ ]),
6982
+ _: 2 /* DYNAMIC */
6983
+ }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["clickable", "onClick"])), [
6984
+ [_directive_ripple]
6985
+ ])
6986
+ }), 128 /* KEYED_FRAGMENT */))
6987
+ ]),
6988
+ _: 3 /* FORWARDED */
6989
+ })
6990
+ ]),
6991
+ _: 3 /* FORWARDED */
6992
+ }))
6957
6993
  }
6958
6994
 
6959
6995
  script$f.render = render$f;
@@ -7019,11 +7055,11 @@ var script$e = {
7019
7055
  },
7020
7056
 
7021
7057
  resultsModel () {
7022
- return this.$store.getters[`${this.entity}/list`]
7058
+ return getState.call(this, { entity: this.entity, key: 'list' })
7023
7059
  },
7024
7060
 
7025
7061
  totalPages () {
7026
- return this.$store.getters[`${this.entity}/totalPages`]
7062
+ return getState.call(this, { entity: this.entity, key: 'totalPages' })
7027
7063
  },
7028
7064
 
7029
7065
  showResults () {
@@ -7074,7 +7110,11 @@ var script$e = {
7074
7110
  `QasListView - fetchList -> Payload do parâmetro do ${this.entity}/fetchList`, [payload]
7075
7111
  );
7076
7112
 
7077
- const response = await this.$store.dispatch(`${this.entity}/fetchList`, payload);
7113
+ const response = await getAction.call(this, {
7114
+ entity: this.entity,
7115
+ key: 'fetchList',
7116
+ payload
7117
+ });
7078
7118
 
7079
7119
  const { errors, fields, metadata } = response.data;
7080
7120
 
@@ -7379,6 +7419,11 @@ var script$c = {
7379
7419
  default: 'destroyed'
7380
7420
  },
7381
7421
 
7422
+ disabledRows: {
7423
+ type: [Array, Boolean],
7424
+ default: false
7425
+ },
7426
+
7382
7427
  errors: {
7383
7428
  type: [Array, Object],
7384
7429
  default: () => ({})
@@ -7428,6 +7473,11 @@ var script$c = {
7428
7473
  default: () => ({})
7429
7474
  },
7430
7475
 
7476
+ useAdd: {
7477
+ type: Boolean,
7478
+ default: true
7479
+ },
7480
+
7431
7481
  useAnimation: {
7432
7482
  type: Boolean,
7433
7483
  default: true
@@ -7601,6 +7651,22 @@ var script$c = {
7601
7651
  }
7602
7652
 
7603
7653
  return this.fieldLabel
7654
+ },
7655
+
7656
+ isDisabledRow (row) {
7657
+ if (!this.disabledRows) return false
7658
+
7659
+ if (typeof this.disabledRows === 'boolean') return true
7660
+
7661
+ return this.disabledRows.includes(row[this.identifierItemKey])
7662
+ },
7663
+
7664
+ hasBlockActions (row) {
7665
+ return !this.useInlineActions && !this.isDisabledRow(row)
7666
+ },
7667
+
7668
+ hasInlineActions (row) {
7669
+ return this.useInlineActions && !this.isDisabledRow(row)
7604
7670
  }
7605
7671
  }
7606
7672
  };
@@ -7621,7 +7687,10 @@ const _hoisted_7 = {
7621
7687
  const _hoisted_8 = { class: "col-auto" };
7622
7688
  const _hoisted_9 = { class: "col-auto" };
7623
7689
  const _hoisted_10 = { class: "col-12" };
7624
- const _hoisted_11 = { class: "q-mt-md" };
7690
+ const _hoisted_11 = {
7691
+ key: 0,
7692
+ class: "q-mt-md"
7693
+ };
7625
7694
  const _hoisted_12 = { class: "col" };
7626
7695
  const _hoisted_13 = { class: "col-auto" };
7627
7696
  const _hoisted_14 = {
@@ -7669,7 +7738,7 @@ function render$c(_ctx, _cache, $props, $setup, $data, $options) {
7669
7738
  label: $options.getRowLabel(index)
7670
7739
  }, null, 8 /* PROPS */, ["label"]))
7671
7740
  : createCommentVNode("v-if", true),
7672
- (!$props.useInlineActions)
7741
+ ($options.hasBlockActions(row))
7673
7742
  ? (openBlock(), createElementBlock("div", _hoisted_6, [
7674
7743
  ($props.useDuplicate)
7675
7744
  ? (openBlock(), createBlock(_component_qas_btn, mergeProps({ key: 0 }, $props.buttonDuplicateProps, {
@@ -7700,6 +7769,7 @@ function render$c(_ctx, _cache, $props, $setup, $data, $options) {
7700
7769
  "onUpdate:modelValue": [$event => (($data.nested[index]) = $event), $event => ($options.updateValuesFromInput($event, index))],
7701
7770
  class: normalizeClass($options.formClasses),
7702
7771
  columns: $props.formColumns,
7772
+ disable: $options.isDisabledRow(row),
7703
7773
  errors: $options.transformedErrors[index],
7704
7774
  fields: $options.children,
7705
7775
  "fields-props": $props.fieldsProps
@@ -7709,15 +7779,16 @@ function render$c(_ctx, _cache, $props, $setup, $data, $options) {
7709
7779
  name: key,
7710
7780
  fn: withCtx((scope) => [
7711
7781
  renderSlot(_ctx.$slots, key, mergeProps(scope, {
7782
+ disabled: $options.isDisabledRow(row),
7712
7783
  errors: $options.transformedErrors,
7713
7784
  index: index
7714
7785
  }))
7715
7786
  ])
7716
7787
  }
7717
7788
  })
7718
- ]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["modelValue", "onUpdate:modelValue", "class", "columns", "errors", "fields", "fields-props"])
7789
+ ]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["modelValue", "onUpdate:modelValue", "class", "columns", "disable", "errors", "fields", "fields-props"])
7719
7790
  ]),
7720
- ($props.useInlineActions)
7791
+ ($options.hasInlineActions(row))
7721
7792
  ? (openBlock(), createElementBlock("div", _hoisted_7, [
7722
7793
  createElementVNode("div", _hoisted_8, [
7723
7794
  ($props.useDuplicate)
@@ -7762,47 +7833,49 @@ function render$c(_ctx, _cache, $props, $setup, $data, $options) {
7762
7833
  ]),
7763
7834
  _: 3 /* FORWARDED */
7764
7835
  }, 16 /* FULL_PROPS */)),
7765
- createElementVNode("div", _hoisted_11, [
7766
- renderSlot(_ctx.$slots, "add-input", { add: $options.add }, () => [
7767
- ($props.useInlineActions)
7768
- ? (openBlock(), createElementBlock("div", {
7769
- key: 0,
7770
- class: "cursor-pointer items-center q-col-gutter-x-md q-mt-md row",
7771
- onClick: _cache[1] || (_cache[1] = $event => ($options.add()))
7772
- }, [
7773
- createElementVNode("div", _hoisted_12, [
7774
- createVNode(_component_qas_input, {
7775
- class: "disabled no-pointer-events",
7776
- "hide-bottom-space": "",
7777
- label: $props.addInputLabel,
7778
- outlined: "",
7779
- onFocus: _cache[0] || (_cache[0] = $event => ($options.add()))
7780
- }, null, 8 /* PROPS */, ["label"])
7781
- ]),
7782
- createElementVNode("div", _hoisted_13, [
7783
- createVNode(_component_qas_btn, {
7784
- color: "green",
7785
- flat: "",
7786
- icon: "o_add_circle_outline",
7787
- round: ""
7788
- })
7789
- ])
7790
- ]))
7791
- : (openBlock(), createElementBlock("div", _hoisted_14, [
7792
- createVNode(_component_qas_btn, {
7793
- class: "full-width q-py-md",
7794
- icon: "o_add",
7795
- outline: "",
7796
- onClick: _cache[2] || (_cache[2] = $event => ($options.add()))
7797
- }, {
7798
- default: withCtx(() => [
7799
- createTextVNode(toDisplayString($props.addInputLabel), 1 /* TEXT */)
7800
- ]),
7801
- _: 1 /* STABLE */
7802
- })
7803
- ]))
7804
- ])
7805
- ])
7836
+ ($props.useAdd)
7837
+ ? (openBlock(), createElementBlock("div", _hoisted_11, [
7838
+ renderSlot(_ctx.$slots, "add-input", { add: $options.add }, () => [
7839
+ ($props.useInlineActions)
7840
+ ? (openBlock(), createElementBlock("div", {
7841
+ key: 0,
7842
+ class: "cursor-pointer items-center q-col-gutter-x-md q-mt-md row",
7843
+ onClick: _cache[1] || (_cache[1] = $event => ($options.add()))
7844
+ }, [
7845
+ createElementVNode("div", _hoisted_12, [
7846
+ createVNode(_component_qas_input, {
7847
+ class: "disabled no-pointer-events",
7848
+ "hide-bottom-space": "",
7849
+ label: $props.addInputLabel,
7850
+ outlined: "",
7851
+ onFocus: _cache[0] || (_cache[0] = $event => ($options.add()))
7852
+ }, null, 8 /* PROPS */, ["label"])
7853
+ ]),
7854
+ createElementVNode("div", _hoisted_13, [
7855
+ createVNode(_component_qas_btn, {
7856
+ color: "green",
7857
+ flat: "",
7858
+ icon: "o_add_circle_outline",
7859
+ round: ""
7860
+ })
7861
+ ])
7862
+ ]))
7863
+ : (openBlock(), createElementBlock("div", _hoisted_14, [
7864
+ createVNode(_component_qas_btn, {
7865
+ class: "full-width q-py-md",
7866
+ icon: "o_add",
7867
+ outline: "",
7868
+ onClick: _cache[2] || (_cache[2] = $event => ($options.add()))
7869
+ }, {
7870
+ default: withCtx(() => [
7871
+ createTextVNode(toDisplayString($props.addInputLabel), 1 /* TEXT */)
7872
+ ]),
7873
+ _: 1 /* STABLE */
7874
+ })
7875
+ ]))
7876
+ ])
7877
+ ]))
7878
+ : createCommentVNode("v-if", true)
7806
7879
  ], 512 /* NEED_PATCH */)
7807
7880
  ], 8 /* PROPS */, _hoisted_1$9))
7808
7881
  }
@@ -8951,7 +9024,7 @@ var script$5 = {
8951
9024
  },
8952
9025
 
8953
9026
  resultModel () {
8954
- return this.$store.getters[`${this.entity}/byId`](this.id) || {}
9027
+ return getGetter.call(this, { entity: this.entity, key: 'byId' })(this.id) || {}
8955
9028
  }
8956
9029
  },
8957
9030
 
@@ -8983,7 +9056,11 @@ var script$5 = {
8983
9056
  [payload]
8984
9057
  );
8985
9058
 
8986
- const response = await this.$store.dispatch(`${this.entity}/fetchSingle`, payload);
9059
+ const response = await getAction.call(this, {
9060
+ entity: this.entity,
9061
+ key: 'fetchSingle',
9062
+ payload
9063
+ });
8987
9064
 
8988
9065
  const { errors, fields, metadata } = response.data;
8989
9066
 
@@ -9174,9 +9251,13 @@ var script$4 = {
9174
9251
  Loading.show();
9175
9252
 
9176
9253
  try {
9177
- const response = await this.$store.dispatch(`${this.entity}/replace`, {
9178
- payload: { order: this.identifiers },
9179
- url: this.url || `${this.entity}/sort`
9254
+ const response = await getAction.call(this, {
9255
+ entity: this.entity,
9256
+ key: 'replace',
9257
+ payload: {
9258
+ payload: { order: this.identifiers },
9259
+ url: this.url || `${this.entity}/sort`
9260
+ }
9180
9261
  });
9181
9262
 
9182
9263
  this.$emit('success', response);
@@ -10063,7 +10144,7 @@ script.__file = "src/components/transfer/QasTransfer.vue";
10063
10144
 
10064
10145
  var name = "@bildvitta/quasar-ui-asteroid";
10065
10146
  var description = "Asteroid";
10066
- var version$1 = "3.0.0";
10147
+ var version$1 = "3.1.0-beta.2";
10067
10148
  var author = "Bild & Vitta <systemteam@bild.com.br>";
10068
10149
  var license = "MIT";
10069
10150
  var main = "dist/asteroid.cjs.min.js";
@@ -10107,6 +10188,7 @@ var devDependencies = {
10107
10188
  sass: "^1.49.0"
10108
10189
  };
10109
10190
  var dependencies = {
10191
+ "@bildvitta/store-adapter": "^1.0.0-beta.22",
10110
10192
  "@fawmi/vue-google-maps": "^0.9.4",
10111
10193
  autonumeric: "^4.6.0",
10112
10194
  axios: "^0.21.1",