@oniti/quasar-ui-vlank-collection-crud 3.7.59 → 3.7.61
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.common.js +2 -2
- package/dist/index.esm.js +2 -2
- package/dist/index.umd.js +79 -71
- package/dist/index.umd.min.js +2 -2
- package/package.json +1 -1
- package/src/components/Uses/exportData.js +7 -2
- package/src/components/VlankCollectionCrud.vue +2 -1
- package/src/components/VlankTdEdit.vue +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @oniti/quasar-ui-vlank-collection-crud v3.7.
|
|
2
|
+
* @oniti/quasar-ui-vlank-collection-crud v3.7.57
|
|
3
3
|
* (c) 2025 Oniti
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -15,6 +15,10 @@
|
|
|
15
15
|
var onitiSseClient__default = /*#__PURE__*/_interopDefaultLegacy(onitiSseClient);
|
|
16
16
|
var Components__default = /*#__PURE__*/_interopDefaultLegacy(Components);
|
|
17
17
|
|
|
18
|
+
var _hoisted_1$4 = /*#__PURE__*/vue.createTextVNode("Suppression");
|
|
19
|
+
var _hoisted_2$4 = /*#__PURE__*/vue.createTextVNode("Confirmez vous la suppression ?");
|
|
20
|
+
|
|
21
|
+
|
|
18
22
|
var script$5 = {
|
|
19
23
|
__name: 'VlankDeleteModal',
|
|
20
24
|
props: {
|
|
@@ -25,14 +29,16 @@
|
|
|
25
29
|
},
|
|
26
30
|
emits: ['close'],
|
|
27
31
|
setup: function setup(__props, ref) {
|
|
28
|
-
var
|
|
32
|
+
var $emit = ref.emit;
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
var props = __props;
|
|
29
36
|
|
|
30
37
|
|
|
31
|
-
var $emit = __emit;
|
|
32
38
|
|
|
33
39
|
var $collectionCrud = vue.inject('vlank-ccrud');
|
|
34
40
|
|
|
35
|
-
|
|
41
|
+
|
|
36
42
|
|
|
37
43
|
function onConfirmeDelete() {
|
|
38
44
|
var obj;
|
|
@@ -66,8 +72,8 @@
|
|
|
66
72
|
var _directive_close_popup = vue.resolveDirective("close-popup");
|
|
67
73
|
|
|
68
74
|
return (vue.openBlock(), vue.createBlock(vue.unref(quasar.QDialog), vue.mergeProps({
|
|
69
|
-
modelValue: alertLocalDelete
|
|
70
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = function ($event) { return ((alertLocalDelete).value = $event); })
|
|
75
|
+
modelValue: vue.unref(alertLocalDelete),
|
|
76
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = function ($event) { return (vue.isRef(alertLocalDelete) ? (alertLocalDelete).value = $event : null); })
|
|
71
77
|
}, props.props.modalDeleteOptions.dialog, {
|
|
72
78
|
"transition-show": __props.isMobile ? 'slide-up' : 'fade',
|
|
73
79
|
"transition-hide": __props.isMobile ? 'slide-down' : 'fade',
|
|
@@ -103,9 +109,9 @@
|
|
|
103
109
|
_: 1 /* STABLE */
|
|
104
110
|
}))
|
|
105
111
|
: (vue.openBlock(), vue.createBlock(vue.unref(quasar.QToolbarTitle), { key: 1 }, {
|
|
106
|
-
default: vue.withCtx(function () { return
|
|
107
|
-
|
|
108
|
-
]
|
|
112
|
+
default: vue.withCtx(function () { return [
|
|
113
|
+
_hoisted_1$4
|
|
114
|
+
]; }),
|
|
109
115
|
_: 1 /* STABLE */
|
|
110
116
|
}))
|
|
111
117
|
]; })
|
|
@@ -117,9 +123,9 @@
|
|
|
117
123
|
align: __props.isMobile ? 'center' : 'left',
|
|
118
124
|
style: {"padding":"30px"}
|
|
119
125
|
}, {
|
|
120
|
-
default: vue.withCtx(function () { return
|
|
121
|
-
|
|
122
|
-
]
|
|
126
|
+
default: vue.withCtx(function () { return [
|
|
127
|
+
_hoisted_2$4
|
|
128
|
+
]; }),
|
|
123
129
|
_: 1 /* STABLE */
|
|
124
130
|
}, 8 /* PROPS */, ["align"])
|
|
125
131
|
]; }),
|
|
@@ -156,6 +162,10 @@
|
|
|
156
162
|
|
|
157
163
|
script$5.__file = "src/components/VlankDeleteModal.vue";
|
|
158
164
|
|
|
165
|
+
var _hoisted_1$3 = /*#__PURE__*/vue.createTextVNode("Création");
|
|
166
|
+
var _hoisted_2$3 = /*#__PURE__*/vue.createTextVNode("Modification");
|
|
167
|
+
|
|
168
|
+
|
|
159
169
|
var script$4 = {
|
|
160
170
|
__name: 'VlankEditModal',
|
|
161
171
|
props: {
|
|
@@ -172,12 +182,14 @@
|
|
|
172
182
|
},
|
|
173
183
|
emits: ['close'],
|
|
174
184
|
setup: function setup(__props, ref$1) {
|
|
175
|
-
var
|
|
185
|
+
var $emit = ref$1.emit;
|
|
176
186
|
|
|
177
187
|
|
|
178
188
|
var props = __props;
|
|
179
189
|
|
|
180
|
-
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
|
|
181
193
|
var slots = vue.useSlots();
|
|
182
194
|
|
|
183
195
|
var $collectionCrud = vue.inject('vlank-ccrud');
|
|
@@ -270,8 +282,8 @@
|
|
|
270
282
|
|
|
271
283
|
return (vue.openBlock(), vue.createBlock(vue.unref(quasar.QDialog), vue.mergeProps({
|
|
272
284
|
class: { 'mobile-modal': __props.isMobile },
|
|
273
|
-
modelValue: editModalLocal
|
|
274
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = function ($event) { return ((editModalLocal).value = $event); })
|
|
285
|
+
modelValue: vue.unref(editModalLocal),
|
|
286
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = function ($event) { return (vue.isRef(editModalLocal) ? (editModalLocal).value = $event : null); })
|
|
275
287
|
}, props.modalEditOptions.dialog, {
|
|
276
288
|
"transition-show": __props.isMobile ? 'slide-left' : 'fade',
|
|
277
289
|
"transition-hide": __props.isMobile ? 'slide-right' : 'fade',
|
|
@@ -311,9 +323,9 @@
|
|
|
311
323
|
})),
|
|
312
324
|
(!props.localDetail.uuid)
|
|
313
325
|
? (vue.openBlock(), vue.createBlock(vue.unref(quasar.QToolbarTitle), { key: 2 }, {
|
|
314
|
-
default: vue.withCtx(function () { return
|
|
315
|
-
|
|
316
|
-
]
|
|
326
|
+
default: vue.withCtx(function () { return [
|
|
327
|
+
_hoisted_1$3
|
|
328
|
+
]; }),
|
|
317
329
|
_: 1 /* STABLE */
|
|
318
330
|
}))
|
|
319
331
|
: (
|
|
@@ -329,13 +341,13 @@
|
|
|
329
341
|
_: 1 /* STABLE */
|
|
330
342
|
}, 8 /* PROPS */, ["class"]))
|
|
331
343
|
: (vue.openBlock(), vue.createBlock(vue.unref(quasar.QToolbarTitle), { key: 4 }, {
|
|
332
|
-
default: vue.withCtx(function () { return
|
|
333
|
-
|
|
334
|
-
]
|
|
344
|
+
default: vue.withCtx(function () { return [
|
|
345
|
+
_hoisted_2$3
|
|
346
|
+
]; }),
|
|
335
347
|
_: 1 /* STABLE */
|
|
336
348
|
}))
|
|
337
349
|
]; }),
|
|
338
|
-
(__props.isMobile && !hasCustomModalActions
|
|
350
|
+
(__props.isMobile && !vue.unref(hasCustomModalActions) && props.modalEditOptions.showBtn.valid)
|
|
339
351
|
? (vue.openBlock(), vue.createBlock(vue.unref(quasar.QBtn), {
|
|
340
352
|
key: 0,
|
|
341
353
|
flat: "",
|
|
@@ -393,7 +405,7 @@
|
|
|
393
405
|
close: close,
|
|
394
406
|
data: props.localDetail
|
|
395
407
|
}),
|
|
396
|
-
(!hasCustomModalActions
|
|
408
|
+
(!vue.unref(hasCustomModalActions) && props.modalEditOptions.showBtn.cancel)
|
|
397
409
|
? vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(quasar.QBtn), {
|
|
398
410
|
key: 0,
|
|
399
411
|
flat: "",
|
|
@@ -403,7 +415,7 @@
|
|
|
403
415
|
[_directive_close_popup]
|
|
404
416
|
])
|
|
405
417
|
: vue.createCommentVNode("v-if", true),
|
|
406
|
-
(!hasCustomModalActions
|
|
418
|
+
(!vue.unref(hasCustomModalActions) && props.modalEditOptions.showBtn.valid)
|
|
407
419
|
? (vue.openBlock(), vue.createBlock(vue.unref(quasar.QBtn), {
|
|
408
420
|
key: 1,
|
|
409
421
|
flat: "",
|
|
@@ -470,14 +482,16 @@
|
|
|
470
482
|
},
|
|
471
483
|
emits: ['update', 'onEditCellHandler', 'onClickTabHandler'],
|
|
472
484
|
setup: function setup(__props, ref$1) {
|
|
473
|
-
var
|
|
485
|
+
var $emit = ref$1.emit;
|
|
474
486
|
|
|
475
487
|
|
|
476
488
|
var props = __props;
|
|
477
489
|
|
|
490
|
+
|
|
491
|
+
|
|
478
492
|
var localDetail = vue.ref(Object.assign({}, props.data));
|
|
479
493
|
var $collectionCrud = vue.inject('vlank-ccrud');
|
|
480
|
-
|
|
494
|
+
|
|
481
495
|
|
|
482
496
|
|
|
483
497
|
var getRawValue = vue.computed({
|
|
@@ -531,7 +545,7 @@
|
|
|
531
545
|
}
|
|
532
546
|
|
|
533
547
|
return function (_ctx, _cache) {
|
|
534
|
-
return (vue.openBlock(), vue.createElementBlock("td",
|
|
548
|
+
return (vue.openBlock(), vue.createElementBlock("td", vue.normalizeProps(vue.guardReactiveProps(props.colOptions)), [
|
|
535
549
|
(localDetail.value[props.colOptions.name] && props.colOptions.type === 'boolean')
|
|
536
550
|
? vue.renderSlot(_ctx.$slots, getScopedSlotName('boolean-check', props.colOptions.name), { key: 0 }, function () { return [
|
|
537
551
|
vue.createVNode(vue.unref(quasar.QIcon), {
|
|
@@ -543,7 +557,7 @@
|
|
|
543
557
|
: (props.colOptions.type === 'boolean')
|
|
544
558
|
? vue.renderSlot(_ctx.$slots, getScopedSlotName('boolean-uncheck', props.colOptions.name), { key: 1 })
|
|
545
559
|
: vue.createCommentVNode("v-if", true),
|
|
546
|
-
vue.createTextVNode(" " + vue.toDisplayString(getValue
|
|
560
|
+
vue.createTextVNode(" " + vue.toDisplayString(vue.unref(getValue)) + " ", 1 /* TEXT */),
|
|
547
561
|
vue.createVNode(vue.unref(quasar.QPopupEdit), {
|
|
548
562
|
modelValue: localValue.value,
|
|
549
563
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = function ($event) { return ((localValue).value = $event); }),
|
|
@@ -563,7 +577,7 @@
|
|
|
563
577
|
]; }),
|
|
564
578
|
_: 1 /* STABLE */
|
|
565
579
|
}, 8 /* PROPS */, ["modelValue", "onKeydown"])
|
|
566
|
-
]))
|
|
580
|
+
], 16 /* FULL_PROPS */))
|
|
567
581
|
}
|
|
568
582
|
}
|
|
569
583
|
|
|
@@ -1312,7 +1326,6 @@
|
|
|
1312
1326
|
'sortBy': pagination.value.sortBy,
|
|
1313
1327
|
'descending': pagination.value.descending,
|
|
1314
1328
|
'filter': filter.value,
|
|
1315
|
-
'export': true,
|
|
1316
1329
|
};
|
|
1317
1330
|
|
|
1318
1331
|
if (props.value.extraRequestParams && props.value.extraRequestParams.index) {
|
|
@@ -1322,10 +1335,7 @@
|
|
|
1322
1335
|
}
|
|
1323
1336
|
|
|
1324
1337
|
var options = props.value.exportOptions;
|
|
1325
|
-
var url = (options && options.url) ? options.url : ("/" + (props.value.collection));
|
|
1326
|
-
if (options && options.subUrl) {
|
|
1327
|
-
url += "/" + (options.subUrl);
|
|
1328
|
-
}
|
|
1338
|
+
var url = (options && options.url) ? options.url : ("/" + (props.value.collection) + "/export");
|
|
1329
1339
|
|
|
1330
1340
|
axiosOniti.axiosClient
|
|
1331
1341
|
.get(url, {
|
|
@@ -1457,12 +1467,14 @@
|
|
|
1457
1467
|
"onEditCellHandler"
|
|
1458
1468
|
],
|
|
1459
1469
|
setup: function setup(__props, ref$1) {
|
|
1460
|
-
var
|
|
1470
|
+
var $emit = ref$1.emit;
|
|
1461
1471
|
|
|
1462
1472
|
|
|
1463
1473
|
var $attrs = __props;
|
|
1464
1474
|
|
|
1465
|
-
|
|
1475
|
+
|
|
1476
|
+
|
|
1477
|
+
|
|
1466
1478
|
|
|
1467
1479
|
var ccrudTable = vue.ref(null);
|
|
1468
1480
|
|
|
@@ -1688,7 +1700,7 @@
|
|
|
1688
1700
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = function ($event) { return ((filter).value = $event); }),
|
|
1689
1701
|
placeholder: "Recherche",
|
|
1690
1702
|
outlined: "",
|
|
1691
|
-
rounded: isMobile
|
|
1703
|
+
rounded: vue.unref(isMobile),
|
|
1692
1704
|
style: {"width":"180px"}
|
|
1693
1705
|
}, {
|
|
1694
1706
|
append: vue.withCtx(function () { return [
|
|
@@ -1785,7 +1797,7 @@
|
|
|
1785
1797
|
color: "primary",
|
|
1786
1798
|
icon: "edit",
|
|
1787
1799
|
flat: "",
|
|
1788
|
-
round: isMobile
|
|
1800
|
+
round: vue.unref(isMobile)
|
|
1789
1801
|
}, null, 8 /* PROPS */, ["onClick", "round"]))
|
|
1790
1802
|
: (vue.unref(showBtnEditPage) && __props.displayActionCallback(props.row, 'edit'))
|
|
1791
1803
|
? (vue.openBlock(), vue.createBlock(vue.unref(quasar.QBtn), {
|
|
@@ -1795,7 +1807,7 @@
|
|
|
1795
1807
|
color: "primary",
|
|
1796
1808
|
icon: "edit",
|
|
1797
1809
|
flat: "",
|
|
1798
|
-
round: isMobile
|
|
1810
|
+
round: vue.unref(isMobile)
|
|
1799
1811
|
}, null, 8 /* PROPS */, ["to", "round"]))
|
|
1800
1812
|
: vue.createCommentVNode("v-if", true),
|
|
1801
1813
|
(!__props.editablePage && vue.unref(showBtnEditPage) && __props.displayActionCallback(props.row, 'show'))
|
|
@@ -1815,7 +1827,7 @@
|
|
|
1815
1827
|
color: "negative",
|
|
1816
1828
|
icon: "delete",
|
|
1817
1829
|
flat: "",
|
|
1818
|
-
round: isMobile
|
|
1830
|
+
round: vue.unref(isMobile)
|
|
1819
1831
|
}, null, 8 /* PROPS */, ["onClick", "round"]))
|
|
1820
1832
|
: vue.createCommentVNode("v-if", true),
|
|
1821
1833
|
vue.renderSlot(_ctx.$slots, "row-action-after-controllers", {
|
|
@@ -1826,14 +1838,13 @@
|
|
|
1826
1838
|
}),
|
|
1827
1839
|
_: 2 /* DYNAMIC */
|
|
1828
1840
|
}, [
|
|
1829
|
-
(isMobile
|
|
1841
|
+
(vue.unref(isMobile))
|
|
1830
1842
|
? {
|
|
1831
1843
|
name: "header",
|
|
1832
|
-
fn: vue.withCtx(function (props) { return []; })
|
|
1833
|
-
key: "0"
|
|
1844
|
+
fn: vue.withCtx(function (props) { return []; })
|
|
1834
1845
|
}
|
|
1835
1846
|
: undefined,
|
|
1836
|
-
(isMobile
|
|
1847
|
+
(vue.unref(isMobile))
|
|
1837
1848
|
? {
|
|
1838
1849
|
name: "body",
|
|
1839
1850
|
fn: vue.withCtx(function (props) { return [
|
|
@@ -1865,8 +1876,8 @@
|
|
|
1865
1876
|
data: props.row,
|
|
1866
1877
|
class: "body-cell-mobile"
|
|
1867
1878
|
})
|
|
1868
|
-
: (mobileColumn
|
|
1869
|
-
? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$2, vue.toDisplayString(props.cols.filter(function (col) { return col.name === mobileColumn.
|
|
1879
|
+
: (vue.unref(mobileColumn))
|
|
1880
|
+
? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$2, vue.toDisplayString(props.cols.filter(function (col) { return col.name === vue.unref(mobileColumn).name; })[0].value), 1 /* TEXT */))
|
|
1870
1881
|
: (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$2, vue.toDisplayString(props.cols[0].value), 1 /* TEXT */))
|
|
1871
1882
|
]; }),
|
|
1872
1883
|
_: 2 /* DYNAMIC */
|
|
@@ -1899,8 +1910,7 @@
|
|
|
1899
1910
|
}, function () { return [
|
|
1900
1911
|
vue.createVNode(vue.unref(quasar.QIcon), { name: "mdi-pencil" })
|
|
1901
1912
|
]; })
|
|
1902
|
-
]; })
|
|
1903
|
-
key: "0"
|
|
1913
|
+
]; })
|
|
1904
1914
|
}
|
|
1905
1915
|
: undefined,
|
|
1906
1916
|
(vue.unref(showBtnDelete))
|
|
@@ -1908,13 +1918,11 @@
|
|
|
1908
1918
|
name: "right",
|
|
1909
1919
|
fn: vue.withCtx(function () { return [
|
|
1910
1920
|
vue.createVNode(vue.unref(quasar.QIcon), { name: "mdi-delete" })
|
|
1911
|
-
]; })
|
|
1912
|
-
key: "1"
|
|
1921
|
+
]; })
|
|
1913
1922
|
}
|
|
1914
1923
|
: undefined
|
|
1915
1924
|
]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["onLeft", "onRight"])
|
|
1916
|
-
]; })
|
|
1917
|
-
key: "1"
|
|
1925
|
+
]; })
|
|
1918
1926
|
}
|
|
1919
1927
|
: undefined,
|
|
1920
1928
|
vue.renderList(vue.unref(customFields), function (options) {
|
|
@@ -2000,7 +2008,7 @@
|
|
|
2000
2008
|
props: vue.unref(props),
|
|
2001
2009
|
alertDelete: alertDelete.value,
|
|
2002
2010
|
onClose: vue.unref(onCloseDeleteModal),
|
|
2003
|
-
isMobile: isMobile
|
|
2011
|
+
isMobile: vue.unref(isMobile)
|
|
2004
2012
|
}, vue.createSlots({ _: 2 /* DYNAMIC */ }, [
|
|
2005
2013
|
vue.renderList(vue.unref($slots), function (_, slot) {
|
|
2006
2014
|
return {
|
|
@@ -2020,7 +2028,7 @@
|
|
|
2020
2028
|
vue.createVNode(script$4, vue.mergeProps({ localDetail: localDetail.value }, vue.unref(props), {
|
|
2021
2029
|
editModal: editModal.value,
|
|
2022
2030
|
onClose: vue.unref(onCloseEditModal),
|
|
2023
|
-
isMobile: isMobile
|
|
2031
|
+
isMobile: vue.unref(isMobile),
|
|
2024
2032
|
closeModalAfterValidation: __props.closeModalAfterValidation,
|
|
2025
2033
|
propsLibelleTitle: __props.propsLibelleTitle
|
|
2026
2034
|
}), vue.createSlots({ _: 2 /* DYNAMIC */ }, [
|
|
@@ -2029,7 +2037,7 @@
|
|
|
2029
2037
|
name: slot,
|
|
2030
2038
|
fn: vue.withCtx(function (scope) { return [
|
|
2031
2039
|
(vue.openBlock(), vue.createElementBlock("div", {
|
|
2032
|
-
class: vue.normalizeClass(isMobile
|
|
2040
|
+
class: vue.normalizeClass(vue.unref(isMobile) ? 'mobile-content modal-content' : 'modal-content'),
|
|
2033
2041
|
key: slot
|
|
2034
2042
|
}, [
|
|
2035
2043
|
vue.renderSlot(_ctx.$slots, slot, vue.normalizeProps(vue.guardReactiveProps(scope)))
|
|
@@ -2083,7 +2091,7 @@
|
|
|
2083
2091
|
emits: [
|
|
2084
2092
|
"collectionCrudUpdateLocalDetail" ],
|
|
2085
2093
|
setup: function setup(__props, ref$1) {
|
|
2086
|
-
var
|
|
2094
|
+
var $emit = ref$1.emit;
|
|
2087
2095
|
|
|
2088
2096
|
|
|
2089
2097
|
var route = vueRouter.useRoute();
|
|
@@ -2096,7 +2104,7 @@
|
|
|
2096
2104
|
onClickBack(route, router);
|
|
2097
2105
|
}
|
|
2098
2106
|
|
|
2099
|
-
|
|
2107
|
+
|
|
2100
2108
|
|
|
2101
2109
|
var localDetail = vue.ref(null);
|
|
2102
2110
|
var containerMode = vue.ref(route.meta.containerMode);
|
|
@@ -2268,21 +2276,21 @@
|
|
|
2268
2276
|
color: "primary",
|
|
2269
2277
|
icon: "arrow_back"
|
|
2270
2278
|
}),
|
|
2271
|
-
vue.createElementVNode("h2", null, vue.toDisplayString(getTitle
|
|
2279
|
+
vue.createElementVNode("h2", null, vue.toDisplayString(vue.unref(getTitle)), 1 /* TEXT */)
|
|
2272
2280
|
]),
|
|
2273
2281
|
(!containerMode.value && editablePage.value)
|
|
2274
2282
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$1, [
|
|
2275
2283
|
(showValidationBtn.value)
|
|
2276
2284
|
? (vue.openBlock(), vue.createBlock(vue.unref(quasar.QBtn), {
|
|
2277
2285
|
key: 0,
|
|
2278
|
-
icon: getSubmitBtn.
|
|
2286
|
+
icon: vue.unref(getSubmitBtn).icon,
|
|
2279
2287
|
onClick: onClickSubmit,
|
|
2280
2288
|
disable: !isLocalDetailUpdated.value,
|
|
2281
2289
|
color: isLocalDetailUpdated.value ? 'primary' : 'grey-5',
|
|
2282
2290
|
loading: submitLoading.value
|
|
2283
2291
|
}, {
|
|
2284
2292
|
default: vue.withCtx(function () { return [
|
|
2285
|
-
vue.createTextVNode(vue.toDisplayString(getSubmitBtn.
|
|
2293
|
+
vue.createTextVNode(vue.toDisplayString(vue.unref(getSubmitBtn).label), 1 /* TEXT */)
|
|
2286
2294
|
]; }),
|
|
2287
2295
|
_: 1 /* STABLE */
|
|
2288
2296
|
}, 8 /* PROPS */, ["icon", "disable", "color", "loading"]))
|
|
@@ -2293,7 +2301,7 @@
|
|
|
2293
2301
|
: vue.createCommentVNode("v-if", true),
|
|
2294
2302
|
(localDetail.value)
|
|
2295
2303
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$1, [
|
|
2296
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(vue.unref(Components__default["default"])[formComponent
|
|
2304
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(vue.unref(Components__default["default"])[vue.unref(formComponent)]), {
|
|
2297
2305
|
data: localDetail.value,
|
|
2298
2306
|
submitedData: submitedData.value,
|
|
2299
2307
|
key: localDetail.value[vue.unref(route_parameter_name)],
|
|
@@ -2302,7 +2310,7 @@
|
|
|
2302
2310
|
onCustomSubmitBtn: onCustomSubmitBtn,
|
|
2303
2311
|
onUpdateData: updateData,
|
|
2304
2312
|
onEditablePage: onEditablePage
|
|
2305
|
-
}, null, 40 /* PROPS,
|
|
2313
|
+
}, null, 40 /* PROPS, HYDRATE_EVENTS */, ["data", "submitedData"]))
|
|
2306
2314
|
]))
|
|
2307
2315
|
: (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$1, [
|
|
2308
2316
|
vue.createVNode(vue.unref(quasar.QSpinner), {
|
|
@@ -2345,7 +2353,7 @@
|
|
|
2345
2353
|
emits: [
|
|
2346
2354
|
"collectionCrudUpdateLocalDetail" ],
|
|
2347
2355
|
setup: function setup(__props, ref$1) {
|
|
2348
|
-
var
|
|
2356
|
+
var $emit = ref$1.emit;
|
|
2349
2357
|
|
|
2350
2358
|
|
|
2351
2359
|
var route = vueRouter.useRoute();
|
|
@@ -2357,7 +2365,7 @@
|
|
|
2357
2365
|
}
|
|
2358
2366
|
|
|
2359
2367
|
|
|
2360
|
-
|
|
2368
|
+
|
|
2361
2369
|
|
|
2362
2370
|
var localDetail = vue.ref(null);
|
|
2363
2371
|
var containerMode = vue.ref(route.meta.containerMode);
|
|
@@ -2458,18 +2466,18 @@
|
|
|
2458
2466
|
color: "primary",
|
|
2459
2467
|
icon: "arrow_back"
|
|
2460
2468
|
}),
|
|
2461
|
-
vue.createElementVNode("h2", null, vue.toDisplayString(getTitle
|
|
2469
|
+
vue.createElementVNode("h2", null, vue.toDisplayString(vue.unref(getTitle)), 1 /* TEXT */)
|
|
2462
2470
|
]),
|
|
2463
2471
|
(!containerMode.value)
|
|
2464
2472
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3, [
|
|
2465
2473
|
vue.createVNode(vue.unref(quasar.QBtn), {
|
|
2466
2474
|
color: "primary",
|
|
2467
|
-
icon: getSubmitBtn.
|
|
2475
|
+
icon: vue.unref(getSubmitBtn).icon,
|
|
2468
2476
|
onClick: onClickSubmit,
|
|
2469
2477
|
loading: submitLoading.value
|
|
2470
2478
|
}, {
|
|
2471
2479
|
default: vue.withCtx(function () { return [
|
|
2472
|
-
vue.createTextVNode(vue.toDisplayString(getSubmitBtn.
|
|
2480
|
+
vue.createTextVNode(vue.toDisplayString(vue.unref(getSubmitBtn).label), 1 /* TEXT */)
|
|
2473
2481
|
]; }),
|
|
2474
2482
|
_: 1 /* STABLE */
|
|
2475
2483
|
}, 8 /* PROPS */, ["icon", "loading"])
|
|
@@ -2479,13 +2487,13 @@
|
|
|
2479
2487
|
: vue.createCommentVNode("v-if", true),
|
|
2480
2488
|
(localDetail.value)
|
|
2481
2489
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4, [
|
|
2482
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(vue.unref(Components__default["default"])[formComponent
|
|
2490
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(vue.unref(Components__default["default"])[vue.unref(formComponent)]), {
|
|
2483
2491
|
data: localDetail.value,
|
|
2484
2492
|
submitedData: submitedData.value,
|
|
2485
2493
|
onExtraRequestParams: onExtraRequestParams,
|
|
2486
2494
|
onCustomSubmitBtn: onCustomSubmitBtn,
|
|
2487
2495
|
onUpdateData: updateData
|
|
2488
|
-
}, null, 40 /* PROPS,
|
|
2496
|
+
}, null, 40 /* PROPS, HYDRATE_EVENTS */, ["data", "submitedData"]))
|
|
2489
2497
|
]))
|
|
2490
2498
|
: (vue.openBlock(), vue.createElementBlock("div", _hoisted_5, [
|
|
2491
2499
|
vue.createVNode(vue.unref(quasar.QSpinner), {
|
|
@@ -2507,7 +2515,7 @@
|
|
|
2507
2515
|
script.__scopeId = "data-v-29e3989a";
|
|
2508
2516
|
script.__file = "src/components/VlankCreatePage.vue";
|
|
2509
2517
|
|
|
2510
|
-
var version = '3.7.
|
|
2518
|
+
var version = '3.7.57';
|
|
2511
2519
|
|
|
2512
2520
|
function install (app) {
|
|
2513
2521
|
app.component(script$2.name, script$2);
|