@oniti/quasar-ui-vlank-collection-crud 3.7.60 → 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.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
|
|
|
@@ -1297,7 +1311,6 @@
|
|
|
1297
1311
|
function useExportData(props, pagination, filter) {
|
|
1298
1312
|
var $collectionCrud = vue.inject('vlank-ccrud');
|
|
1299
1313
|
var $q = quasar.useQuasar();
|
|
1300
|
-
var isExporting = vue.ref(false); // Add loading state
|
|
1301
1314
|
|
|
1302
1315
|
function showDlFailure() {
|
|
1303
1316
|
$q.notify({
|
|
@@ -1308,13 +1321,11 @@
|
|
|
1308
1321
|
}
|
|
1309
1322
|
|
|
1310
1323
|
function doExport() {
|
|
1311
|
-
isExporting.value = true; // Set loading state to true
|
|
1312
1324
|
var exportParams = {
|
|
1313
1325
|
'primaryFieldSearch': $collectionCrud.getRouteParameterName(props.value.collection),
|
|
1314
1326
|
'sortBy': pagination.value.sortBy,
|
|
1315
1327
|
'descending': pagination.value.descending,
|
|
1316
1328
|
'filter': filter.value,
|
|
1317
|
-
'export': true,
|
|
1318
1329
|
};
|
|
1319
1330
|
|
|
1320
1331
|
if (props.value.extraRequestParams && props.value.extraRequestParams.index) {
|
|
@@ -1324,10 +1335,7 @@
|
|
|
1324
1335
|
}
|
|
1325
1336
|
|
|
1326
1337
|
var options = props.value.exportOptions;
|
|
1327
|
-
var url = (options && options.url) ? options.url : ("/" + (props.value.collection));
|
|
1328
|
-
if (options && options.subUrl) {
|
|
1329
|
-
url += "/" + (options.subUrl);
|
|
1330
|
-
}
|
|
1338
|
+
var url = (options && options.url) ? options.url : ("/" + (props.value.collection) + "/export");
|
|
1331
1339
|
|
|
1332
1340
|
axiosOniti.axiosClient
|
|
1333
1341
|
.get(url, {
|
|
@@ -1361,17 +1369,14 @@
|
|
|
1361
1369
|
if (status !== true) {
|
|
1362
1370
|
showDlFailure();
|
|
1363
1371
|
}
|
|
1364
|
-
isExporting.value = false; // Set loading state to false
|
|
1365
1372
|
})
|
|
1366
1373
|
.catch(function () {
|
|
1367
1374
|
showDlFailure();
|
|
1368
|
-
isExporting.value = false; // Set loading state to false
|
|
1369
1375
|
});
|
|
1370
1376
|
}
|
|
1371
1377
|
|
|
1372
1378
|
return {
|
|
1373
|
-
doExport: doExport
|
|
1374
|
-
isExporting: isExporting // Return loading state
|
|
1379
|
+
doExport: doExport
|
|
1375
1380
|
}
|
|
1376
1381
|
}
|
|
1377
1382
|
|
|
@@ -1462,12 +1467,14 @@
|
|
|
1462
1467
|
"onEditCellHandler"
|
|
1463
1468
|
],
|
|
1464
1469
|
setup: function setup(__props, ref$1) {
|
|
1465
|
-
var
|
|
1470
|
+
var $emit = ref$1.emit;
|
|
1466
1471
|
|
|
1467
1472
|
|
|
1468
1473
|
var $attrs = __props;
|
|
1469
1474
|
|
|
1470
|
-
|
|
1475
|
+
|
|
1476
|
+
|
|
1477
|
+
|
|
1471
1478
|
|
|
1472
1479
|
var ccrudTable = vue.ref(null);
|
|
1473
1480
|
|
|
@@ -1658,7 +1665,6 @@
|
|
|
1658
1665
|
|
|
1659
1666
|
var ref$9 = useExportData(props, pagination, filter);
|
|
1660
1667
|
var doExport = ref$9.doExport;
|
|
1661
|
-
var isExporting = ref$9.isExporting;
|
|
1662
1668
|
|
|
1663
1669
|
|
|
1664
1670
|
return function (_ctx, _cache) {
|
|
@@ -1694,7 +1700,7 @@
|
|
|
1694
1700
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = function ($event) { return ((filter).value = $event); }),
|
|
1695
1701
|
placeholder: "Recherche",
|
|
1696
1702
|
outlined: "",
|
|
1697
|
-
rounded: isMobile
|
|
1703
|
+
rounded: vue.unref(isMobile),
|
|
1698
1704
|
style: {"width":"180px"}
|
|
1699
1705
|
}, {
|
|
1700
1706
|
append: vue.withCtx(function () { return [
|
|
@@ -1723,7 +1729,6 @@
|
|
|
1723
1729
|
icon: __props.exportOptions.icon ? __props.exportOptions.icon : 'mdi-file-download',
|
|
1724
1730
|
flat: __props.exportOptions.flat !== undefined ? __props.exportOptions.flat : true,
|
|
1725
1731
|
label: __props.exportOptions.label ? __props.exportOptions.label : null,
|
|
1726
|
-
loading: vue.unref(isExporting),
|
|
1727
1732
|
style: {"margin-left":"1em"},
|
|
1728
1733
|
square: ""
|
|
1729
1734
|
}, {
|
|
@@ -1731,7 +1736,7 @@
|
|
|
1731
1736
|
vue.renderSlot(_ctx.$slots, "export-btn-tooltip")
|
|
1732
1737
|
]; }),
|
|
1733
1738
|
_: 3 /* FORWARDED */
|
|
1734
|
-
}, 8 /* PROPS */, ["onClick", "icon", "flat", "label"
|
|
1739
|
+
}, 8 /* PROPS */, ["onClick", "icon", "flat", "label"]))
|
|
1735
1740
|
: vue.createCommentVNode("v-if", true),
|
|
1736
1741
|
(vue.unref(showBtnCreatePage))
|
|
1737
1742
|
? (vue.openBlock(), vue.createBlock(vue.unref(quasar.QBtn), {
|
|
@@ -1792,7 +1797,7 @@
|
|
|
1792
1797
|
color: "primary",
|
|
1793
1798
|
icon: "edit",
|
|
1794
1799
|
flat: "",
|
|
1795
|
-
round: isMobile
|
|
1800
|
+
round: vue.unref(isMobile)
|
|
1796
1801
|
}, null, 8 /* PROPS */, ["onClick", "round"]))
|
|
1797
1802
|
: (vue.unref(showBtnEditPage) && __props.displayActionCallback(props.row, 'edit'))
|
|
1798
1803
|
? (vue.openBlock(), vue.createBlock(vue.unref(quasar.QBtn), {
|
|
@@ -1802,7 +1807,7 @@
|
|
|
1802
1807
|
color: "primary",
|
|
1803
1808
|
icon: "edit",
|
|
1804
1809
|
flat: "",
|
|
1805
|
-
round: isMobile
|
|
1810
|
+
round: vue.unref(isMobile)
|
|
1806
1811
|
}, null, 8 /* PROPS */, ["to", "round"]))
|
|
1807
1812
|
: vue.createCommentVNode("v-if", true),
|
|
1808
1813
|
(!__props.editablePage && vue.unref(showBtnEditPage) && __props.displayActionCallback(props.row, 'show'))
|
|
@@ -1822,7 +1827,7 @@
|
|
|
1822
1827
|
color: "negative",
|
|
1823
1828
|
icon: "delete",
|
|
1824
1829
|
flat: "",
|
|
1825
|
-
round: isMobile
|
|
1830
|
+
round: vue.unref(isMobile)
|
|
1826
1831
|
}, null, 8 /* PROPS */, ["onClick", "round"]))
|
|
1827
1832
|
: vue.createCommentVNode("v-if", true),
|
|
1828
1833
|
vue.renderSlot(_ctx.$slots, "row-action-after-controllers", {
|
|
@@ -1833,14 +1838,13 @@
|
|
|
1833
1838
|
}),
|
|
1834
1839
|
_: 2 /* DYNAMIC */
|
|
1835
1840
|
}, [
|
|
1836
|
-
(isMobile
|
|
1841
|
+
(vue.unref(isMobile))
|
|
1837
1842
|
? {
|
|
1838
1843
|
name: "header",
|
|
1839
|
-
fn: vue.withCtx(function (props) { return []; })
|
|
1840
|
-
key: "0"
|
|
1844
|
+
fn: vue.withCtx(function (props) { return []; })
|
|
1841
1845
|
}
|
|
1842
1846
|
: undefined,
|
|
1843
|
-
(isMobile
|
|
1847
|
+
(vue.unref(isMobile))
|
|
1844
1848
|
? {
|
|
1845
1849
|
name: "body",
|
|
1846
1850
|
fn: vue.withCtx(function (props) { return [
|
|
@@ -1872,8 +1876,8 @@
|
|
|
1872
1876
|
data: props.row,
|
|
1873
1877
|
class: "body-cell-mobile"
|
|
1874
1878
|
})
|
|
1875
|
-
: (mobileColumn
|
|
1876
|
-
? (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 */))
|
|
1877
1881
|
: (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$2, vue.toDisplayString(props.cols[0].value), 1 /* TEXT */))
|
|
1878
1882
|
]; }),
|
|
1879
1883
|
_: 2 /* DYNAMIC */
|
|
@@ -1906,8 +1910,7 @@
|
|
|
1906
1910
|
}, function () { return [
|
|
1907
1911
|
vue.createVNode(vue.unref(quasar.QIcon), { name: "mdi-pencil" })
|
|
1908
1912
|
]; })
|
|
1909
|
-
]; })
|
|
1910
|
-
key: "0"
|
|
1913
|
+
]; })
|
|
1911
1914
|
}
|
|
1912
1915
|
: undefined,
|
|
1913
1916
|
(vue.unref(showBtnDelete))
|
|
@@ -1915,13 +1918,11 @@
|
|
|
1915
1918
|
name: "right",
|
|
1916
1919
|
fn: vue.withCtx(function () { return [
|
|
1917
1920
|
vue.createVNode(vue.unref(quasar.QIcon), { name: "mdi-delete" })
|
|
1918
|
-
]; })
|
|
1919
|
-
key: "1"
|
|
1921
|
+
]; })
|
|
1920
1922
|
}
|
|
1921
1923
|
: undefined
|
|
1922
1924
|
]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["onLeft", "onRight"])
|
|
1923
|
-
]; })
|
|
1924
|
-
key: "1"
|
|
1925
|
+
]; })
|
|
1925
1926
|
}
|
|
1926
1927
|
: undefined,
|
|
1927
1928
|
vue.renderList(vue.unref(customFields), function (options) {
|
|
@@ -2007,7 +2008,7 @@
|
|
|
2007
2008
|
props: vue.unref(props),
|
|
2008
2009
|
alertDelete: alertDelete.value,
|
|
2009
2010
|
onClose: vue.unref(onCloseDeleteModal),
|
|
2010
|
-
isMobile: isMobile
|
|
2011
|
+
isMobile: vue.unref(isMobile)
|
|
2011
2012
|
}, vue.createSlots({ _: 2 /* DYNAMIC */ }, [
|
|
2012
2013
|
vue.renderList(vue.unref($slots), function (_, slot) {
|
|
2013
2014
|
return {
|
|
@@ -2027,7 +2028,7 @@
|
|
|
2027
2028
|
vue.createVNode(script$4, vue.mergeProps({ localDetail: localDetail.value }, vue.unref(props), {
|
|
2028
2029
|
editModal: editModal.value,
|
|
2029
2030
|
onClose: vue.unref(onCloseEditModal),
|
|
2030
|
-
isMobile: isMobile
|
|
2031
|
+
isMobile: vue.unref(isMobile),
|
|
2031
2032
|
closeModalAfterValidation: __props.closeModalAfterValidation,
|
|
2032
2033
|
propsLibelleTitle: __props.propsLibelleTitle
|
|
2033
2034
|
}), vue.createSlots({ _: 2 /* DYNAMIC */ }, [
|
|
@@ -2036,7 +2037,7 @@
|
|
|
2036
2037
|
name: slot,
|
|
2037
2038
|
fn: vue.withCtx(function (scope) { return [
|
|
2038
2039
|
(vue.openBlock(), vue.createElementBlock("div", {
|
|
2039
|
-
class: vue.normalizeClass(isMobile
|
|
2040
|
+
class: vue.normalizeClass(vue.unref(isMobile) ? 'mobile-content modal-content' : 'modal-content'),
|
|
2040
2041
|
key: slot
|
|
2041
2042
|
}, [
|
|
2042
2043
|
vue.renderSlot(_ctx.$slots, slot, vue.normalizeProps(vue.guardReactiveProps(scope)))
|
|
@@ -2090,7 +2091,7 @@
|
|
|
2090
2091
|
emits: [
|
|
2091
2092
|
"collectionCrudUpdateLocalDetail" ],
|
|
2092
2093
|
setup: function setup(__props, ref$1) {
|
|
2093
|
-
var
|
|
2094
|
+
var $emit = ref$1.emit;
|
|
2094
2095
|
|
|
2095
2096
|
|
|
2096
2097
|
var route = vueRouter.useRoute();
|
|
@@ -2103,7 +2104,7 @@
|
|
|
2103
2104
|
onClickBack(route, router);
|
|
2104
2105
|
}
|
|
2105
2106
|
|
|
2106
|
-
|
|
2107
|
+
|
|
2107
2108
|
|
|
2108
2109
|
var localDetail = vue.ref(null);
|
|
2109
2110
|
var containerMode = vue.ref(route.meta.containerMode);
|
|
@@ -2275,21 +2276,21 @@
|
|
|
2275
2276
|
color: "primary",
|
|
2276
2277
|
icon: "arrow_back"
|
|
2277
2278
|
}),
|
|
2278
|
-
vue.createElementVNode("h2", null, vue.toDisplayString(getTitle
|
|
2279
|
+
vue.createElementVNode("h2", null, vue.toDisplayString(vue.unref(getTitle)), 1 /* TEXT */)
|
|
2279
2280
|
]),
|
|
2280
2281
|
(!containerMode.value && editablePage.value)
|
|
2281
2282
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$1, [
|
|
2282
2283
|
(showValidationBtn.value)
|
|
2283
2284
|
? (vue.openBlock(), vue.createBlock(vue.unref(quasar.QBtn), {
|
|
2284
2285
|
key: 0,
|
|
2285
|
-
icon: getSubmitBtn.
|
|
2286
|
+
icon: vue.unref(getSubmitBtn).icon,
|
|
2286
2287
|
onClick: onClickSubmit,
|
|
2287
2288
|
disable: !isLocalDetailUpdated.value,
|
|
2288
2289
|
color: isLocalDetailUpdated.value ? 'primary' : 'grey-5',
|
|
2289
2290
|
loading: submitLoading.value
|
|
2290
2291
|
}, {
|
|
2291
2292
|
default: vue.withCtx(function () { return [
|
|
2292
|
-
vue.createTextVNode(vue.toDisplayString(getSubmitBtn.
|
|
2293
|
+
vue.createTextVNode(vue.toDisplayString(vue.unref(getSubmitBtn).label), 1 /* TEXT */)
|
|
2293
2294
|
]; }),
|
|
2294
2295
|
_: 1 /* STABLE */
|
|
2295
2296
|
}, 8 /* PROPS */, ["icon", "disable", "color", "loading"]))
|
|
@@ -2300,7 +2301,7 @@
|
|
|
2300
2301
|
: vue.createCommentVNode("v-if", true),
|
|
2301
2302
|
(localDetail.value)
|
|
2302
2303
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$1, [
|
|
2303
|
-
(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)]), {
|
|
2304
2305
|
data: localDetail.value,
|
|
2305
2306
|
submitedData: submitedData.value,
|
|
2306
2307
|
key: localDetail.value[vue.unref(route_parameter_name)],
|
|
@@ -2309,7 +2310,7 @@
|
|
|
2309
2310
|
onCustomSubmitBtn: onCustomSubmitBtn,
|
|
2310
2311
|
onUpdateData: updateData,
|
|
2311
2312
|
onEditablePage: onEditablePage
|
|
2312
|
-
}, null, 40 /* PROPS,
|
|
2313
|
+
}, null, 40 /* PROPS, HYDRATE_EVENTS */, ["data", "submitedData"]))
|
|
2313
2314
|
]))
|
|
2314
2315
|
: (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$1, [
|
|
2315
2316
|
vue.createVNode(vue.unref(quasar.QSpinner), {
|
|
@@ -2352,7 +2353,7 @@
|
|
|
2352
2353
|
emits: [
|
|
2353
2354
|
"collectionCrudUpdateLocalDetail" ],
|
|
2354
2355
|
setup: function setup(__props, ref$1) {
|
|
2355
|
-
var
|
|
2356
|
+
var $emit = ref$1.emit;
|
|
2356
2357
|
|
|
2357
2358
|
|
|
2358
2359
|
var route = vueRouter.useRoute();
|
|
@@ -2364,7 +2365,7 @@
|
|
|
2364
2365
|
}
|
|
2365
2366
|
|
|
2366
2367
|
|
|
2367
|
-
|
|
2368
|
+
|
|
2368
2369
|
|
|
2369
2370
|
var localDetail = vue.ref(null);
|
|
2370
2371
|
var containerMode = vue.ref(route.meta.containerMode);
|
|
@@ -2465,18 +2466,18 @@
|
|
|
2465
2466
|
color: "primary",
|
|
2466
2467
|
icon: "arrow_back"
|
|
2467
2468
|
}),
|
|
2468
|
-
vue.createElementVNode("h2", null, vue.toDisplayString(getTitle
|
|
2469
|
+
vue.createElementVNode("h2", null, vue.toDisplayString(vue.unref(getTitle)), 1 /* TEXT */)
|
|
2469
2470
|
]),
|
|
2470
2471
|
(!containerMode.value)
|
|
2471
2472
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3, [
|
|
2472
2473
|
vue.createVNode(vue.unref(quasar.QBtn), {
|
|
2473
2474
|
color: "primary",
|
|
2474
|
-
icon: getSubmitBtn.
|
|
2475
|
+
icon: vue.unref(getSubmitBtn).icon,
|
|
2475
2476
|
onClick: onClickSubmit,
|
|
2476
2477
|
loading: submitLoading.value
|
|
2477
2478
|
}, {
|
|
2478
2479
|
default: vue.withCtx(function () { return [
|
|
2479
|
-
vue.createTextVNode(vue.toDisplayString(getSubmitBtn.
|
|
2480
|
+
vue.createTextVNode(vue.toDisplayString(vue.unref(getSubmitBtn).label), 1 /* TEXT */)
|
|
2480
2481
|
]; }),
|
|
2481
2482
|
_: 1 /* STABLE */
|
|
2482
2483
|
}, 8 /* PROPS */, ["icon", "loading"])
|
|
@@ -2486,13 +2487,13 @@
|
|
|
2486
2487
|
: vue.createCommentVNode("v-if", true),
|
|
2487
2488
|
(localDetail.value)
|
|
2488
2489
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4, [
|
|
2489
|
-
(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)]), {
|
|
2490
2491
|
data: localDetail.value,
|
|
2491
2492
|
submitedData: submitedData.value,
|
|
2492
2493
|
onExtraRequestParams: onExtraRequestParams,
|
|
2493
2494
|
onCustomSubmitBtn: onCustomSubmitBtn,
|
|
2494
2495
|
onUpdateData: updateData
|
|
2495
|
-
}, null, 40 /* PROPS,
|
|
2496
|
+
}, null, 40 /* PROPS, HYDRATE_EVENTS */, ["data", "submitedData"]))
|
|
2496
2497
|
]))
|
|
2497
2498
|
: (vue.openBlock(), vue.createElementBlock("div", _hoisted_5, [
|
|
2498
2499
|
vue.createVNode(vue.unref(quasar.QSpinner), {
|
|
@@ -2514,7 +2515,7 @@
|
|
|
2514
2515
|
script.__scopeId = "data-v-29e3989a";
|
|
2515
2516
|
script.__file = "src/components/VlankCreatePage.vue";
|
|
2516
2517
|
|
|
2517
|
-
var version = '3.7.
|
|
2518
|
+
var version = '3.7.57';
|
|
2518
2519
|
|
|
2519
2520
|
function install (app) {
|
|
2520
2521
|
app.component(script$2.name, script$2);
|