@oniti/quasar-ui-vlank-collection-crud 3.7.55 → 3.7.57
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 +98 -76
- package/dist/index.umd.min.js +2 -2
- package/package.json +1 -1
- package/src/components/Uses/{exportCSV.js → exportData.js} +7 -1
- package/src/components/VlankCollectionCrud.vue +2 -2
- package/src/components/VlankEditPage.vue +2 -0
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.56
|
|
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({
|
|
@@ -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); }),
|
|
@@ -1294,7 +1308,7 @@
|
|
|
1294
1308
|
}
|
|
1295
1309
|
}
|
|
1296
1310
|
|
|
1297
|
-
function
|
|
1311
|
+
function useExportData(props, pagination, filter) {
|
|
1298
1312
|
var $collectionCrud = vue.inject('vlank-ccrud');
|
|
1299
1313
|
var $q = quasar.useQuasar();
|
|
1300
1314
|
|
|
@@ -1314,6 +1328,12 @@
|
|
|
1314
1328
|
'filter': filter.value,
|
|
1315
1329
|
};
|
|
1316
1330
|
|
|
1331
|
+
if (props.value.extraRequestParams && props.value.extraRequestParams.index) {
|
|
1332
|
+
for (var key in props.value.extraRequestParams.index) {
|
|
1333
|
+
exportParams[key] = props.value.extraRequestParams.index[key];
|
|
1334
|
+
}
|
|
1335
|
+
}
|
|
1336
|
+
|
|
1317
1337
|
var options = props.value.exportOptions;
|
|
1318
1338
|
var url = (options && options.url) ? options.url : ("/" + (props.value.collection) + "/export");
|
|
1319
1339
|
|
|
@@ -1447,12 +1467,14 @@
|
|
|
1447
1467
|
"onEditCellHandler"
|
|
1448
1468
|
],
|
|
1449
1469
|
setup: function setup(__props, ref$1) {
|
|
1450
|
-
var
|
|
1470
|
+
var $emit = ref$1.emit;
|
|
1451
1471
|
|
|
1452
1472
|
|
|
1453
1473
|
var $attrs = __props;
|
|
1454
1474
|
|
|
1455
|
-
|
|
1475
|
+
|
|
1476
|
+
|
|
1477
|
+
|
|
1456
1478
|
|
|
1457
1479
|
var ccrudTable = vue.ref(null);
|
|
1458
1480
|
|
|
@@ -1641,7 +1663,7 @@
|
|
|
1641
1663
|
filter.value = "";
|
|
1642
1664
|
}
|
|
1643
1665
|
|
|
1644
|
-
var ref$9 =
|
|
1666
|
+
var ref$9 = useExportData(props, pagination, filter);
|
|
1645
1667
|
var doExport = ref$9.doExport;
|
|
1646
1668
|
|
|
1647
1669
|
|
|
@@ -1678,7 +1700,7 @@
|
|
|
1678
1700
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = function ($event) { return ((filter).value = $event); }),
|
|
1679
1701
|
placeholder: "Recherche",
|
|
1680
1702
|
outlined: "",
|
|
1681
|
-
rounded: isMobile
|
|
1703
|
+
rounded: vue.unref(isMobile),
|
|
1682
1704
|
style: {"width":"180px"}
|
|
1683
1705
|
}, {
|
|
1684
1706
|
append: vue.withCtx(function () { return [
|
|
@@ -1775,7 +1797,7 @@
|
|
|
1775
1797
|
color: "primary",
|
|
1776
1798
|
icon: "edit",
|
|
1777
1799
|
flat: "",
|
|
1778
|
-
round: isMobile
|
|
1800
|
+
round: vue.unref(isMobile)
|
|
1779
1801
|
}, null, 8 /* PROPS */, ["onClick", "round"]))
|
|
1780
1802
|
: (vue.unref(showBtnEditPage) && __props.displayActionCallback(props.row, 'edit'))
|
|
1781
1803
|
? (vue.openBlock(), vue.createBlock(vue.unref(quasar.QBtn), {
|
|
@@ -1785,7 +1807,7 @@
|
|
|
1785
1807
|
color: "primary",
|
|
1786
1808
|
icon: "edit",
|
|
1787
1809
|
flat: "",
|
|
1788
|
-
round: isMobile
|
|
1810
|
+
round: vue.unref(isMobile)
|
|
1789
1811
|
}, null, 8 /* PROPS */, ["to", "round"]))
|
|
1790
1812
|
: vue.createCommentVNode("v-if", true),
|
|
1791
1813
|
(!__props.editablePage && vue.unref(showBtnEditPage) && __props.displayActionCallback(props.row, 'show'))
|
|
@@ -1805,7 +1827,7 @@
|
|
|
1805
1827
|
color: "negative",
|
|
1806
1828
|
icon: "delete",
|
|
1807
1829
|
flat: "",
|
|
1808
|
-
round: isMobile
|
|
1830
|
+
round: vue.unref(isMobile)
|
|
1809
1831
|
}, null, 8 /* PROPS */, ["onClick", "round"]))
|
|
1810
1832
|
: vue.createCommentVNode("v-if", true),
|
|
1811
1833
|
vue.renderSlot(_ctx.$slots, "row-action-after-controllers", {
|
|
@@ -1816,14 +1838,13 @@
|
|
|
1816
1838
|
}),
|
|
1817
1839
|
_: 2 /* DYNAMIC */
|
|
1818
1840
|
}, [
|
|
1819
|
-
(isMobile
|
|
1841
|
+
(vue.unref(isMobile))
|
|
1820
1842
|
? {
|
|
1821
1843
|
name: "header",
|
|
1822
|
-
fn: vue.withCtx(function (props) { return []; })
|
|
1823
|
-
key: "0"
|
|
1844
|
+
fn: vue.withCtx(function (props) { return []; })
|
|
1824
1845
|
}
|
|
1825
1846
|
: undefined,
|
|
1826
|
-
(isMobile
|
|
1847
|
+
(vue.unref(isMobile))
|
|
1827
1848
|
? {
|
|
1828
1849
|
name: "body",
|
|
1829
1850
|
fn: vue.withCtx(function (props) { return [
|
|
@@ -1855,8 +1876,8 @@
|
|
|
1855
1876
|
data: props.row,
|
|
1856
1877
|
class: "body-cell-mobile"
|
|
1857
1878
|
})
|
|
1858
|
-
: (mobileColumn
|
|
1859
|
-
? (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 */))
|
|
1860
1881
|
: (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$2, vue.toDisplayString(props.cols[0].value), 1 /* TEXT */))
|
|
1861
1882
|
]; }),
|
|
1862
1883
|
_: 2 /* DYNAMIC */
|
|
@@ -1889,8 +1910,7 @@
|
|
|
1889
1910
|
}, function () { return [
|
|
1890
1911
|
vue.createVNode(vue.unref(quasar.QIcon), { name: "mdi-pencil" })
|
|
1891
1912
|
]; })
|
|
1892
|
-
]; })
|
|
1893
|
-
key: "0"
|
|
1913
|
+
]; })
|
|
1894
1914
|
}
|
|
1895
1915
|
: undefined,
|
|
1896
1916
|
(vue.unref(showBtnDelete))
|
|
@@ -1898,13 +1918,11 @@
|
|
|
1898
1918
|
name: "right",
|
|
1899
1919
|
fn: vue.withCtx(function () { return [
|
|
1900
1920
|
vue.createVNode(vue.unref(quasar.QIcon), { name: "mdi-delete" })
|
|
1901
|
-
]; })
|
|
1902
|
-
key: "1"
|
|
1921
|
+
]; })
|
|
1903
1922
|
}
|
|
1904
1923
|
: undefined
|
|
1905
1924
|
]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["onLeft", "onRight"])
|
|
1906
|
-
]; })
|
|
1907
|
-
key: "1"
|
|
1925
|
+
]; })
|
|
1908
1926
|
}
|
|
1909
1927
|
: undefined,
|
|
1910
1928
|
vue.renderList(vue.unref(customFields), function (options) {
|
|
@@ -1990,7 +2008,7 @@
|
|
|
1990
2008
|
props: vue.unref(props),
|
|
1991
2009
|
alertDelete: alertDelete.value,
|
|
1992
2010
|
onClose: vue.unref(onCloseDeleteModal),
|
|
1993
|
-
isMobile: isMobile
|
|
2011
|
+
isMobile: vue.unref(isMobile)
|
|
1994
2012
|
}, vue.createSlots({ _: 2 /* DYNAMIC */ }, [
|
|
1995
2013
|
vue.renderList(vue.unref($slots), function (_, slot) {
|
|
1996
2014
|
return {
|
|
@@ -2010,7 +2028,7 @@
|
|
|
2010
2028
|
vue.createVNode(script$4, vue.mergeProps({ localDetail: localDetail.value }, vue.unref(props), {
|
|
2011
2029
|
editModal: editModal.value,
|
|
2012
2030
|
onClose: vue.unref(onCloseEditModal),
|
|
2013
|
-
isMobile: isMobile
|
|
2031
|
+
isMobile: vue.unref(isMobile),
|
|
2014
2032
|
closeModalAfterValidation: __props.closeModalAfterValidation,
|
|
2015
2033
|
propsLibelleTitle: __props.propsLibelleTitle
|
|
2016
2034
|
}), vue.createSlots({ _: 2 /* DYNAMIC */ }, [
|
|
@@ -2019,7 +2037,7 @@
|
|
|
2019
2037
|
name: slot,
|
|
2020
2038
|
fn: vue.withCtx(function (scope) { return [
|
|
2021
2039
|
(vue.openBlock(), vue.createElementBlock("div", {
|
|
2022
|
-
class: vue.normalizeClass(isMobile
|
|
2040
|
+
class: vue.normalizeClass(vue.unref(isMobile) ? 'mobile-content modal-content' : 'modal-content'),
|
|
2023
2041
|
key: slot
|
|
2024
2042
|
}, [
|
|
2025
2043
|
vue.renderSlot(_ctx.$slots, slot, vue.normalizeProps(vue.guardReactiveProps(scope)))
|
|
@@ -2073,7 +2091,7 @@
|
|
|
2073
2091
|
emits: [
|
|
2074
2092
|
"collectionCrudUpdateLocalDetail" ],
|
|
2075
2093
|
setup: function setup(__props, ref$1) {
|
|
2076
|
-
var
|
|
2094
|
+
var $emit = ref$1.emit;
|
|
2077
2095
|
|
|
2078
2096
|
|
|
2079
2097
|
var route = vueRouter.useRoute();
|
|
@@ -2086,10 +2104,11 @@
|
|
|
2086
2104
|
onClickBack(route, router);
|
|
2087
2105
|
}
|
|
2088
2106
|
|
|
2089
|
-
|
|
2107
|
+
|
|
2090
2108
|
|
|
2091
2109
|
var localDetail = vue.ref(null);
|
|
2092
2110
|
var containerMode = vue.ref(route.meta.containerMode);
|
|
2111
|
+
var showValidationBtn = vue.ref(route.meta.showValidationBtn);
|
|
2093
2112
|
var extraRequestParams = vue.ref({});
|
|
2094
2113
|
var propsLibelleTitle = vue.ref(route.meta.propsLibelleTitle);
|
|
2095
2114
|
var customTitle = vue.ref(null);
|
|
@@ -2257,29 +2276,32 @@
|
|
|
2257
2276
|
color: "primary",
|
|
2258
2277
|
icon: "arrow_back"
|
|
2259
2278
|
}),
|
|
2260
|
-
vue.createElementVNode("h2", null, vue.toDisplayString(getTitle
|
|
2279
|
+
vue.createElementVNode("h2", null, vue.toDisplayString(vue.unref(getTitle)), 1 /* TEXT */)
|
|
2261
2280
|
]),
|
|
2262
2281
|
(!containerMode.value && editablePage.value)
|
|
2263
2282
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$1, [
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2283
|
+
(showValidationBtn.value)
|
|
2284
|
+
? (vue.openBlock(), vue.createBlock(vue.unref(quasar.QBtn), {
|
|
2285
|
+
key: 0,
|
|
2286
|
+
icon: vue.unref(getSubmitBtn).icon,
|
|
2287
|
+
onClick: onClickSubmit,
|
|
2288
|
+
disable: !isLocalDetailUpdated.value,
|
|
2289
|
+
color: isLocalDetailUpdated.value ? 'primary' : 'grey-5',
|
|
2290
|
+
loading: submitLoading.value
|
|
2291
|
+
}, {
|
|
2292
|
+
default: vue.withCtx(function () { return [
|
|
2293
|
+
vue.createTextVNode(vue.toDisplayString(vue.unref(getSubmitBtn).label), 1 /* TEXT */)
|
|
2294
|
+
]; }),
|
|
2295
|
+
_: 1 /* STABLE */
|
|
2296
|
+
}, 8 /* PROPS */, ["icon", "disable", "color", "loading"]))
|
|
2297
|
+
: vue.createCommentVNode("v-if", true)
|
|
2276
2298
|
]))
|
|
2277
2299
|
: vue.createCommentVNode("v-if", true)
|
|
2278
2300
|
]))
|
|
2279
2301
|
: vue.createCommentVNode("v-if", true),
|
|
2280
2302
|
(localDetail.value)
|
|
2281
2303
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$1, [
|
|
2282
|
-
(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)]), {
|
|
2283
2305
|
data: localDetail.value,
|
|
2284
2306
|
submitedData: submitedData.value,
|
|
2285
2307
|
key: localDetail.value[vue.unref(route_parameter_name)],
|
|
@@ -2288,7 +2310,7 @@
|
|
|
2288
2310
|
onCustomSubmitBtn: onCustomSubmitBtn,
|
|
2289
2311
|
onUpdateData: updateData,
|
|
2290
2312
|
onEditablePage: onEditablePage
|
|
2291
|
-
}, null, 40 /* PROPS,
|
|
2313
|
+
}, null, 40 /* PROPS, HYDRATE_EVENTS */, ["data", "submitedData"]))
|
|
2292
2314
|
]))
|
|
2293
2315
|
: (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$1, [
|
|
2294
2316
|
vue.createVNode(vue.unref(quasar.QSpinner), {
|
|
@@ -2331,7 +2353,7 @@
|
|
|
2331
2353
|
emits: [
|
|
2332
2354
|
"collectionCrudUpdateLocalDetail" ],
|
|
2333
2355
|
setup: function setup(__props, ref$1) {
|
|
2334
|
-
var
|
|
2356
|
+
var $emit = ref$1.emit;
|
|
2335
2357
|
|
|
2336
2358
|
|
|
2337
2359
|
var route = vueRouter.useRoute();
|
|
@@ -2343,7 +2365,7 @@
|
|
|
2343
2365
|
}
|
|
2344
2366
|
|
|
2345
2367
|
|
|
2346
|
-
|
|
2368
|
+
|
|
2347
2369
|
|
|
2348
2370
|
var localDetail = vue.ref(null);
|
|
2349
2371
|
var containerMode = vue.ref(route.meta.containerMode);
|
|
@@ -2444,18 +2466,18 @@
|
|
|
2444
2466
|
color: "primary",
|
|
2445
2467
|
icon: "arrow_back"
|
|
2446
2468
|
}),
|
|
2447
|
-
vue.createElementVNode("h2", null, vue.toDisplayString(getTitle
|
|
2469
|
+
vue.createElementVNode("h2", null, vue.toDisplayString(vue.unref(getTitle)), 1 /* TEXT */)
|
|
2448
2470
|
]),
|
|
2449
2471
|
(!containerMode.value)
|
|
2450
2472
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3, [
|
|
2451
2473
|
vue.createVNode(vue.unref(quasar.QBtn), {
|
|
2452
2474
|
color: "primary",
|
|
2453
|
-
icon: getSubmitBtn.
|
|
2475
|
+
icon: vue.unref(getSubmitBtn).icon,
|
|
2454
2476
|
onClick: onClickSubmit,
|
|
2455
2477
|
loading: submitLoading.value
|
|
2456
2478
|
}, {
|
|
2457
2479
|
default: vue.withCtx(function () { return [
|
|
2458
|
-
vue.createTextVNode(vue.toDisplayString(getSubmitBtn.
|
|
2480
|
+
vue.createTextVNode(vue.toDisplayString(vue.unref(getSubmitBtn).label), 1 /* TEXT */)
|
|
2459
2481
|
]; }),
|
|
2460
2482
|
_: 1 /* STABLE */
|
|
2461
2483
|
}, 8 /* PROPS */, ["icon", "loading"])
|
|
@@ -2465,13 +2487,13 @@
|
|
|
2465
2487
|
: vue.createCommentVNode("v-if", true),
|
|
2466
2488
|
(localDetail.value)
|
|
2467
2489
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4, [
|
|
2468
|
-
(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)]), {
|
|
2469
2491
|
data: localDetail.value,
|
|
2470
2492
|
submitedData: submitedData.value,
|
|
2471
2493
|
onExtraRequestParams: onExtraRequestParams,
|
|
2472
2494
|
onCustomSubmitBtn: onCustomSubmitBtn,
|
|
2473
2495
|
onUpdateData: updateData
|
|
2474
|
-
}, null, 40 /* PROPS,
|
|
2496
|
+
}, null, 40 /* PROPS, HYDRATE_EVENTS */, ["data", "submitedData"]))
|
|
2475
2497
|
]))
|
|
2476
2498
|
: (vue.openBlock(), vue.createElementBlock("div", _hoisted_5, [
|
|
2477
2499
|
vue.createVNode(vue.unref(quasar.QSpinner), {
|
|
@@ -2493,7 +2515,7 @@
|
|
|
2493
2515
|
script.__scopeId = "data-v-29e3989a";
|
|
2494
2516
|
script.__file = "src/components/VlankCreatePage.vue";
|
|
2495
2517
|
|
|
2496
|
-
var version = '3.7.
|
|
2518
|
+
var version = '3.7.56';
|
|
2497
2519
|
|
|
2498
2520
|
function install (app) {
|
|
2499
2521
|
app.component(script$2.name, script$2);
|