@oniti/quasar-ui-vlank-collection-crud 3.7.60 → 3.7.62
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 +88 -72
- package/dist/index.umd.min.js +2 -2
- package/package.json +1 -1
- package/src/components/Uses/exportData.js +5 -5
- package/src/components/VlankCollectionCrud.vue +1 -1
- package/src/components/VlankTdEdit.vue +2 -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.61
|
|
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: "",
|
|
@@ -467,17 +479,20 @@
|
|
|
467
479
|
props: Object,
|
|
468
480
|
rowIndex: Number,
|
|
469
481
|
cellIndex: Number,
|
|
482
|
+
rowClass: String,
|
|
470
483
|
},
|
|
471
484
|
emits: ['update', 'onEditCellHandler', 'onClickTabHandler'],
|
|
472
485
|
setup: function setup(__props, ref$1) {
|
|
473
|
-
var
|
|
486
|
+
var $emit = ref$1.emit;
|
|
474
487
|
|
|
475
488
|
|
|
476
489
|
var props = __props;
|
|
477
490
|
|
|
491
|
+
|
|
492
|
+
|
|
478
493
|
var localDetail = vue.ref(Object.assign({}, props.data));
|
|
479
494
|
var $collectionCrud = vue.inject('vlank-ccrud');
|
|
480
|
-
|
|
495
|
+
|
|
481
496
|
|
|
482
497
|
|
|
483
498
|
var getRawValue = vue.computed({
|
|
@@ -531,7 +546,9 @@
|
|
|
531
546
|
}
|
|
532
547
|
|
|
533
548
|
return function (_ctx, _cache) {
|
|
534
|
-
return (vue.openBlock(), vue.createElementBlock("td",
|
|
549
|
+
return (vue.openBlock(), vue.createElementBlock("td", vue.mergeProps(props.colOptions, {
|
|
550
|
+
class: props.rowClass
|
|
551
|
+
}), [
|
|
535
552
|
(localDetail.value[props.colOptions.name] && props.colOptions.type === 'boolean')
|
|
536
553
|
? vue.renderSlot(_ctx.$slots, getScopedSlotName('boolean-check', props.colOptions.name), { key: 0 }, function () { return [
|
|
537
554
|
vue.createVNode(vue.unref(quasar.QIcon), {
|
|
@@ -543,7 +560,7 @@
|
|
|
543
560
|
: (props.colOptions.type === 'boolean')
|
|
544
561
|
? vue.renderSlot(_ctx.$slots, getScopedSlotName('boolean-uncheck', props.colOptions.name), { key: 1 })
|
|
545
562
|
: vue.createCommentVNode("v-if", true),
|
|
546
|
-
vue.createTextVNode(" " + vue.toDisplayString(getValue
|
|
563
|
+
vue.createTextVNode(" " + vue.toDisplayString(vue.unref(getValue)) + " ", 1 /* TEXT */),
|
|
547
564
|
vue.createVNode(vue.unref(quasar.QPopupEdit), {
|
|
548
565
|
modelValue: localValue.value,
|
|
549
566
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = function ($event) { return ((localValue).value = $event); }),
|
|
@@ -563,7 +580,7 @@
|
|
|
563
580
|
]; }),
|
|
564
581
|
_: 1 /* STABLE */
|
|
565
582
|
}, 8 /* PROPS */, ["modelValue", "onKeydown"])
|
|
566
|
-
]))
|
|
583
|
+
], 16 /* FULL_PROPS */))
|
|
567
584
|
}
|
|
568
585
|
}
|
|
569
586
|
|
|
@@ -1297,7 +1314,7 @@
|
|
|
1297
1314
|
function useExportData(props, pagination, filter) {
|
|
1298
1315
|
var $collectionCrud = vue.inject('vlank-ccrud');
|
|
1299
1316
|
var $q = quasar.useQuasar();
|
|
1300
|
-
var isExporting = vue.ref(false);
|
|
1317
|
+
var isExporting = vue.ref(false);
|
|
1301
1318
|
|
|
1302
1319
|
function showDlFailure() {
|
|
1303
1320
|
$q.notify({
|
|
@@ -1308,7 +1325,7 @@
|
|
|
1308
1325
|
}
|
|
1309
1326
|
|
|
1310
1327
|
function doExport() {
|
|
1311
|
-
isExporting.value = true;
|
|
1328
|
+
isExporting.value = true;
|
|
1312
1329
|
var exportParams = {
|
|
1313
1330
|
'primaryFieldSearch': $collectionCrud.getRouteParameterName(props.value.collection),
|
|
1314
1331
|
'sortBy': pagination.value.sortBy,
|
|
@@ -1361,17 +1378,17 @@
|
|
|
1361
1378
|
if (status !== true) {
|
|
1362
1379
|
showDlFailure();
|
|
1363
1380
|
}
|
|
1364
|
-
isExporting.value = false;
|
|
1381
|
+
isExporting.value = false;
|
|
1365
1382
|
})
|
|
1366
1383
|
.catch(function () {
|
|
1367
1384
|
showDlFailure();
|
|
1368
|
-
isExporting.value = false;
|
|
1385
|
+
isExporting.value = false;
|
|
1369
1386
|
});
|
|
1370
1387
|
}
|
|
1371
1388
|
|
|
1372
1389
|
return {
|
|
1373
1390
|
doExport: doExport,
|
|
1374
|
-
isExporting: isExporting
|
|
1391
|
+
isExporting: isExporting,
|
|
1375
1392
|
}
|
|
1376
1393
|
}
|
|
1377
1394
|
|
|
@@ -1462,12 +1479,14 @@
|
|
|
1462
1479
|
"onEditCellHandler"
|
|
1463
1480
|
],
|
|
1464
1481
|
setup: function setup(__props, ref$1) {
|
|
1465
|
-
var
|
|
1482
|
+
var $emit = ref$1.emit;
|
|
1466
1483
|
|
|
1467
1484
|
|
|
1468
1485
|
var $attrs = __props;
|
|
1469
1486
|
|
|
1470
|
-
|
|
1487
|
+
|
|
1488
|
+
|
|
1489
|
+
|
|
1471
1490
|
|
|
1472
1491
|
var ccrudTable = vue.ref(null);
|
|
1473
1492
|
|
|
@@ -1694,7 +1713,7 @@
|
|
|
1694
1713
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = function ($event) { return ((filter).value = $event); }),
|
|
1695
1714
|
placeholder: "Recherche",
|
|
1696
1715
|
outlined: "",
|
|
1697
|
-
rounded: isMobile
|
|
1716
|
+
rounded: vue.unref(isMobile),
|
|
1698
1717
|
style: {"width":"180px"}
|
|
1699
1718
|
}, {
|
|
1700
1719
|
append: vue.withCtx(function () { return [
|
|
@@ -1792,7 +1811,7 @@
|
|
|
1792
1811
|
color: "primary",
|
|
1793
1812
|
icon: "edit",
|
|
1794
1813
|
flat: "",
|
|
1795
|
-
round: isMobile
|
|
1814
|
+
round: vue.unref(isMobile)
|
|
1796
1815
|
}, null, 8 /* PROPS */, ["onClick", "round"]))
|
|
1797
1816
|
: (vue.unref(showBtnEditPage) && __props.displayActionCallback(props.row, 'edit'))
|
|
1798
1817
|
? (vue.openBlock(), vue.createBlock(vue.unref(quasar.QBtn), {
|
|
@@ -1802,7 +1821,7 @@
|
|
|
1802
1821
|
color: "primary",
|
|
1803
1822
|
icon: "edit",
|
|
1804
1823
|
flat: "",
|
|
1805
|
-
round: isMobile
|
|
1824
|
+
round: vue.unref(isMobile)
|
|
1806
1825
|
}, null, 8 /* PROPS */, ["to", "round"]))
|
|
1807
1826
|
: vue.createCommentVNode("v-if", true),
|
|
1808
1827
|
(!__props.editablePage && vue.unref(showBtnEditPage) && __props.displayActionCallback(props.row, 'show'))
|
|
@@ -1822,7 +1841,7 @@
|
|
|
1822
1841
|
color: "negative",
|
|
1823
1842
|
icon: "delete",
|
|
1824
1843
|
flat: "",
|
|
1825
|
-
round: isMobile
|
|
1844
|
+
round: vue.unref(isMobile)
|
|
1826
1845
|
}, null, 8 /* PROPS */, ["onClick", "round"]))
|
|
1827
1846
|
: vue.createCommentVNode("v-if", true),
|
|
1828
1847
|
vue.renderSlot(_ctx.$slots, "row-action-after-controllers", {
|
|
@@ -1833,14 +1852,13 @@
|
|
|
1833
1852
|
}),
|
|
1834
1853
|
_: 2 /* DYNAMIC */
|
|
1835
1854
|
}, [
|
|
1836
|
-
(isMobile
|
|
1855
|
+
(vue.unref(isMobile))
|
|
1837
1856
|
? {
|
|
1838
1857
|
name: "header",
|
|
1839
|
-
fn: vue.withCtx(function (props) { return []; })
|
|
1840
|
-
key: "0"
|
|
1858
|
+
fn: vue.withCtx(function (props) { return []; })
|
|
1841
1859
|
}
|
|
1842
1860
|
: undefined,
|
|
1843
|
-
(isMobile
|
|
1861
|
+
(vue.unref(isMobile))
|
|
1844
1862
|
? {
|
|
1845
1863
|
name: "body",
|
|
1846
1864
|
fn: vue.withCtx(function (props) { return [
|
|
@@ -1872,8 +1890,8 @@
|
|
|
1872
1890
|
data: props.row,
|
|
1873
1891
|
class: "body-cell-mobile"
|
|
1874
1892
|
})
|
|
1875
|
-
: (mobileColumn
|
|
1876
|
-
? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$2, vue.toDisplayString(props.cols.filter(function (col) { return col.name === mobileColumn.
|
|
1893
|
+
: (vue.unref(mobileColumn))
|
|
1894
|
+
? (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 */))
|
|
1877
1895
|
: (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$2, vue.toDisplayString(props.cols[0].value), 1 /* TEXT */))
|
|
1878
1896
|
]; }),
|
|
1879
1897
|
_: 2 /* DYNAMIC */
|
|
@@ -1906,8 +1924,7 @@
|
|
|
1906
1924
|
}, function () { return [
|
|
1907
1925
|
vue.createVNode(vue.unref(quasar.QIcon), { name: "mdi-pencil" })
|
|
1908
1926
|
]; })
|
|
1909
|
-
]; })
|
|
1910
|
-
key: "0"
|
|
1927
|
+
]; })
|
|
1911
1928
|
}
|
|
1912
1929
|
: undefined,
|
|
1913
1930
|
(vue.unref(showBtnDelete))
|
|
@@ -1915,13 +1932,11 @@
|
|
|
1915
1932
|
name: "right",
|
|
1916
1933
|
fn: vue.withCtx(function () { return [
|
|
1917
1934
|
vue.createVNode(vue.unref(quasar.QIcon), { name: "mdi-delete" })
|
|
1918
|
-
]; })
|
|
1919
|
-
key: "1"
|
|
1935
|
+
]; })
|
|
1920
1936
|
}
|
|
1921
1937
|
: undefined
|
|
1922
1938
|
]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["onLeft", "onRight"])
|
|
1923
|
-
]; })
|
|
1924
|
-
key: "1"
|
|
1939
|
+
]; })
|
|
1925
1940
|
}
|
|
1926
1941
|
: undefined,
|
|
1927
1942
|
vue.renderList(vue.unref(customFields), function (options) {
|
|
@@ -1985,6 +2000,7 @@
|
|
|
1985
2000
|
colOptions: config.options,
|
|
1986
2001
|
onUpdate: vue.unref(onUpdateTd),
|
|
1987
2002
|
onOnEditCellHandler: onEditCellHandler,
|
|
2003
|
+
rowClass: vue.unref(getAdditionalClassActionBtns)(vue.unref(props).row),
|
|
1988
2004
|
onOnClickTabHandler: onClickTabHandler
|
|
1989
2005
|
}, vue.createSlots({ _: 2 /* DYNAMIC */ }, [
|
|
1990
2006
|
vue.renderList(vue.unref($slots), function (_, slot) {
|
|
@@ -1995,7 +2011,7 @@
|
|
|
1995
2011
|
]; })
|
|
1996
2012
|
}
|
|
1997
2013
|
})
|
|
1998
|
-
]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["rowIndex", "cellIndex", "data", "props", "colOptions", "onUpdate"]))
|
|
2014
|
+
]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["rowIndex", "cellIndex", "data", "props", "colOptions", "onUpdate", "rowClass"]))
|
|
1999
2015
|
: vue.createCommentVNode("v-if", true)
|
|
2000
2016
|
]; })
|
|
2001
2017
|
}
|
|
@@ -2007,7 +2023,7 @@
|
|
|
2007
2023
|
props: vue.unref(props),
|
|
2008
2024
|
alertDelete: alertDelete.value,
|
|
2009
2025
|
onClose: vue.unref(onCloseDeleteModal),
|
|
2010
|
-
isMobile: isMobile
|
|
2026
|
+
isMobile: vue.unref(isMobile)
|
|
2011
2027
|
}, vue.createSlots({ _: 2 /* DYNAMIC */ }, [
|
|
2012
2028
|
vue.renderList(vue.unref($slots), function (_, slot) {
|
|
2013
2029
|
return {
|
|
@@ -2027,7 +2043,7 @@
|
|
|
2027
2043
|
vue.createVNode(script$4, vue.mergeProps({ localDetail: localDetail.value }, vue.unref(props), {
|
|
2028
2044
|
editModal: editModal.value,
|
|
2029
2045
|
onClose: vue.unref(onCloseEditModal),
|
|
2030
|
-
isMobile: isMobile
|
|
2046
|
+
isMobile: vue.unref(isMobile),
|
|
2031
2047
|
closeModalAfterValidation: __props.closeModalAfterValidation,
|
|
2032
2048
|
propsLibelleTitle: __props.propsLibelleTitle
|
|
2033
2049
|
}), vue.createSlots({ _: 2 /* DYNAMIC */ }, [
|
|
@@ -2036,7 +2052,7 @@
|
|
|
2036
2052
|
name: slot,
|
|
2037
2053
|
fn: vue.withCtx(function (scope) { return [
|
|
2038
2054
|
(vue.openBlock(), vue.createElementBlock("div", {
|
|
2039
|
-
class: vue.normalizeClass(isMobile
|
|
2055
|
+
class: vue.normalizeClass(vue.unref(isMobile) ? 'mobile-content modal-content' : 'modal-content'),
|
|
2040
2056
|
key: slot
|
|
2041
2057
|
}, [
|
|
2042
2058
|
vue.renderSlot(_ctx.$slots, slot, vue.normalizeProps(vue.guardReactiveProps(scope)))
|
|
@@ -2090,7 +2106,7 @@
|
|
|
2090
2106
|
emits: [
|
|
2091
2107
|
"collectionCrudUpdateLocalDetail" ],
|
|
2092
2108
|
setup: function setup(__props, ref$1) {
|
|
2093
|
-
var
|
|
2109
|
+
var $emit = ref$1.emit;
|
|
2094
2110
|
|
|
2095
2111
|
|
|
2096
2112
|
var route = vueRouter.useRoute();
|
|
@@ -2103,7 +2119,7 @@
|
|
|
2103
2119
|
onClickBack(route, router);
|
|
2104
2120
|
}
|
|
2105
2121
|
|
|
2106
|
-
|
|
2122
|
+
|
|
2107
2123
|
|
|
2108
2124
|
var localDetail = vue.ref(null);
|
|
2109
2125
|
var containerMode = vue.ref(route.meta.containerMode);
|
|
@@ -2275,21 +2291,21 @@
|
|
|
2275
2291
|
color: "primary",
|
|
2276
2292
|
icon: "arrow_back"
|
|
2277
2293
|
}),
|
|
2278
|
-
vue.createElementVNode("h2", null, vue.toDisplayString(getTitle
|
|
2294
|
+
vue.createElementVNode("h2", null, vue.toDisplayString(vue.unref(getTitle)), 1 /* TEXT */)
|
|
2279
2295
|
]),
|
|
2280
2296
|
(!containerMode.value && editablePage.value)
|
|
2281
2297
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$1, [
|
|
2282
2298
|
(showValidationBtn.value)
|
|
2283
2299
|
? (vue.openBlock(), vue.createBlock(vue.unref(quasar.QBtn), {
|
|
2284
2300
|
key: 0,
|
|
2285
|
-
icon: getSubmitBtn.
|
|
2301
|
+
icon: vue.unref(getSubmitBtn).icon,
|
|
2286
2302
|
onClick: onClickSubmit,
|
|
2287
2303
|
disable: !isLocalDetailUpdated.value,
|
|
2288
2304
|
color: isLocalDetailUpdated.value ? 'primary' : 'grey-5',
|
|
2289
2305
|
loading: submitLoading.value
|
|
2290
2306
|
}, {
|
|
2291
2307
|
default: vue.withCtx(function () { return [
|
|
2292
|
-
vue.createTextVNode(vue.toDisplayString(getSubmitBtn.
|
|
2308
|
+
vue.createTextVNode(vue.toDisplayString(vue.unref(getSubmitBtn).label), 1 /* TEXT */)
|
|
2293
2309
|
]; }),
|
|
2294
2310
|
_: 1 /* STABLE */
|
|
2295
2311
|
}, 8 /* PROPS */, ["icon", "disable", "color", "loading"]))
|
|
@@ -2300,7 +2316,7 @@
|
|
|
2300
2316
|
: vue.createCommentVNode("v-if", true),
|
|
2301
2317
|
(localDetail.value)
|
|
2302
2318
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$1, [
|
|
2303
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(vue.unref(Components__default["default"])[formComponent
|
|
2319
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(vue.unref(Components__default["default"])[vue.unref(formComponent)]), {
|
|
2304
2320
|
data: localDetail.value,
|
|
2305
2321
|
submitedData: submitedData.value,
|
|
2306
2322
|
key: localDetail.value[vue.unref(route_parameter_name)],
|
|
@@ -2309,7 +2325,7 @@
|
|
|
2309
2325
|
onCustomSubmitBtn: onCustomSubmitBtn,
|
|
2310
2326
|
onUpdateData: updateData,
|
|
2311
2327
|
onEditablePage: onEditablePage
|
|
2312
|
-
}, null, 40 /* PROPS,
|
|
2328
|
+
}, null, 40 /* PROPS, HYDRATE_EVENTS */, ["data", "submitedData"]))
|
|
2313
2329
|
]))
|
|
2314
2330
|
: (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$1, [
|
|
2315
2331
|
vue.createVNode(vue.unref(quasar.QSpinner), {
|
|
@@ -2352,7 +2368,7 @@
|
|
|
2352
2368
|
emits: [
|
|
2353
2369
|
"collectionCrudUpdateLocalDetail" ],
|
|
2354
2370
|
setup: function setup(__props, ref$1) {
|
|
2355
|
-
var
|
|
2371
|
+
var $emit = ref$1.emit;
|
|
2356
2372
|
|
|
2357
2373
|
|
|
2358
2374
|
var route = vueRouter.useRoute();
|
|
@@ -2364,7 +2380,7 @@
|
|
|
2364
2380
|
}
|
|
2365
2381
|
|
|
2366
2382
|
|
|
2367
|
-
|
|
2383
|
+
|
|
2368
2384
|
|
|
2369
2385
|
var localDetail = vue.ref(null);
|
|
2370
2386
|
var containerMode = vue.ref(route.meta.containerMode);
|
|
@@ -2465,18 +2481,18 @@
|
|
|
2465
2481
|
color: "primary",
|
|
2466
2482
|
icon: "arrow_back"
|
|
2467
2483
|
}),
|
|
2468
|
-
vue.createElementVNode("h2", null, vue.toDisplayString(getTitle
|
|
2484
|
+
vue.createElementVNode("h2", null, vue.toDisplayString(vue.unref(getTitle)), 1 /* TEXT */)
|
|
2469
2485
|
]),
|
|
2470
2486
|
(!containerMode.value)
|
|
2471
2487
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3, [
|
|
2472
2488
|
vue.createVNode(vue.unref(quasar.QBtn), {
|
|
2473
2489
|
color: "primary",
|
|
2474
|
-
icon: getSubmitBtn.
|
|
2490
|
+
icon: vue.unref(getSubmitBtn).icon,
|
|
2475
2491
|
onClick: onClickSubmit,
|
|
2476
2492
|
loading: submitLoading.value
|
|
2477
2493
|
}, {
|
|
2478
2494
|
default: vue.withCtx(function () { return [
|
|
2479
|
-
vue.createTextVNode(vue.toDisplayString(getSubmitBtn.
|
|
2495
|
+
vue.createTextVNode(vue.toDisplayString(vue.unref(getSubmitBtn).label), 1 /* TEXT */)
|
|
2480
2496
|
]; }),
|
|
2481
2497
|
_: 1 /* STABLE */
|
|
2482
2498
|
}, 8 /* PROPS */, ["icon", "loading"])
|
|
@@ -2486,13 +2502,13 @@
|
|
|
2486
2502
|
: vue.createCommentVNode("v-if", true),
|
|
2487
2503
|
(localDetail.value)
|
|
2488
2504
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4, [
|
|
2489
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(vue.unref(Components__default["default"])[formComponent
|
|
2505
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(vue.unref(Components__default["default"])[vue.unref(formComponent)]), {
|
|
2490
2506
|
data: localDetail.value,
|
|
2491
2507
|
submitedData: submitedData.value,
|
|
2492
2508
|
onExtraRequestParams: onExtraRequestParams,
|
|
2493
2509
|
onCustomSubmitBtn: onCustomSubmitBtn,
|
|
2494
2510
|
onUpdateData: updateData
|
|
2495
|
-
}, null, 40 /* PROPS,
|
|
2511
|
+
}, null, 40 /* PROPS, HYDRATE_EVENTS */, ["data", "submitedData"]))
|
|
2496
2512
|
]))
|
|
2497
2513
|
: (vue.openBlock(), vue.createElementBlock("div", _hoisted_5, [
|
|
2498
2514
|
vue.createVNode(vue.unref(quasar.QSpinner), {
|
|
@@ -2514,7 +2530,7 @@
|
|
|
2514
2530
|
script.__scopeId = "data-v-29e3989a";
|
|
2515
2531
|
script.__file = "src/components/VlankCreatePage.vue";
|
|
2516
2532
|
|
|
2517
|
-
var version = '3.7.
|
|
2533
|
+
var version = '3.7.61';
|
|
2518
2534
|
|
|
2519
2535
|
function install (app) {
|
|
2520
2536
|
app.component(script$2.name, script$2);
|