@oniti/quasar-ui-vlank-collection-crud 3.7.51 → 3.7.53
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 +355 -364
- package/dist/index.umd.min.js +2 -2
- package/package.json +1 -1
- package/src/components/VlankCollectionCrud.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.52
|
|
3
3
|
* (c) 2025 Oniti
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -15,10 +15,6 @@
|
|
|
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
|
-
|
|
22
18
|
var script$5 = {
|
|
23
19
|
__name: 'VlankDeleteModal',
|
|
24
20
|
props: {
|
|
@@ -29,16 +25,14 @@
|
|
|
29
25
|
},
|
|
30
26
|
emits: ['close'],
|
|
31
27
|
setup: function setup(__props, ref) {
|
|
32
|
-
var
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
var props = __props;
|
|
28
|
+
var __emit = ref.emit;
|
|
36
29
|
|
|
37
30
|
|
|
31
|
+
var $emit = __emit;
|
|
38
32
|
|
|
39
33
|
var $collectionCrud = vue.inject('vlank-ccrud');
|
|
40
34
|
|
|
41
|
-
|
|
35
|
+
var props = __props;
|
|
42
36
|
|
|
43
37
|
function onConfirmeDelete() {
|
|
44
38
|
var obj;
|
|
@@ -72,8 +66,8 @@
|
|
|
72
66
|
var _directive_close_popup = vue.resolveDirective("close-popup");
|
|
73
67
|
|
|
74
68
|
return (vue.openBlock(), vue.createBlock(vue.unref(quasar.QDialog), vue.mergeProps({
|
|
75
|
-
modelValue:
|
|
76
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = function ($event) { return (
|
|
69
|
+
modelValue: alertLocalDelete.value,
|
|
70
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = function ($event) { return ((alertLocalDelete).value = $event); })
|
|
77
71
|
}, props.props.modalDeleteOptions.dialog, {
|
|
78
72
|
"transition-show": __props.isMobile ? 'slide-up' : 'fade',
|
|
79
73
|
"transition-hide": __props.isMobile ? 'slide-down' : 'fade',
|
|
@@ -109,9 +103,9 @@
|
|
|
109
103
|
_: 1 /* STABLE */
|
|
110
104
|
}))
|
|
111
105
|
: (vue.openBlock(), vue.createBlock(vue.unref(quasar.QToolbarTitle), { key: 1 }, {
|
|
112
|
-
default: vue.withCtx(function () { return [
|
|
113
|
-
|
|
114
|
-
]; }),
|
|
106
|
+
default: vue.withCtx(function () { return _cache[1] || (_cache[1] = [
|
|
107
|
+
vue.createTextVNode("Suppression")
|
|
108
|
+
]); }),
|
|
115
109
|
_: 1 /* STABLE */
|
|
116
110
|
}))
|
|
117
111
|
]; })
|
|
@@ -123,9 +117,9 @@
|
|
|
123
117
|
align: __props.isMobile ? 'center' : 'left',
|
|
124
118
|
style: {"padding":"30px"}
|
|
125
119
|
}, {
|
|
126
|
-
default: vue.withCtx(function () { return [
|
|
127
|
-
|
|
128
|
-
]; }),
|
|
120
|
+
default: vue.withCtx(function () { return _cache[2] || (_cache[2] = [
|
|
121
|
+
vue.createTextVNode("Confirmez vous la suppression ?")
|
|
122
|
+
]); }),
|
|
129
123
|
_: 1 /* STABLE */
|
|
130
124
|
}, 8 /* PROPS */, ["align"])
|
|
131
125
|
]; }),
|
|
@@ -162,10 +156,6 @@
|
|
|
162
156
|
|
|
163
157
|
script$5.__file = "src/components/VlankDeleteModal.vue";
|
|
164
158
|
|
|
165
|
-
var _hoisted_1$3 = /*#__PURE__*/vue.createTextVNode("Création");
|
|
166
|
-
var _hoisted_2$3 = /*#__PURE__*/vue.createTextVNode("Modification");
|
|
167
|
-
|
|
168
|
-
|
|
169
159
|
var script$4 = {
|
|
170
160
|
__name: 'VlankEditModal',
|
|
171
161
|
props: {
|
|
@@ -182,14 +172,12 @@
|
|
|
182
172
|
},
|
|
183
173
|
emits: ['close'],
|
|
184
174
|
setup: function setup(__props, ref$1) {
|
|
185
|
-
var
|
|
175
|
+
var __emit = ref$1.emit;
|
|
186
176
|
|
|
187
177
|
|
|
188
178
|
var props = __props;
|
|
189
179
|
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
180
|
+
var $emit = __emit;
|
|
193
181
|
var slots = vue.useSlots();
|
|
194
182
|
|
|
195
183
|
var $collectionCrud = vue.inject('vlank-ccrud');
|
|
@@ -282,8 +270,8 @@
|
|
|
282
270
|
|
|
283
271
|
return (vue.openBlock(), vue.createBlock(vue.unref(quasar.QDialog), vue.mergeProps({
|
|
284
272
|
class: { 'mobile-modal': __props.isMobile },
|
|
285
|
-
modelValue:
|
|
286
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = function ($event) { return (
|
|
273
|
+
modelValue: editModalLocal.value,
|
|
274
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = function ($event) { return ((editModalLocal).value = $event); })
|
|
287
275
|
}, props.modalEditOptions.dialog, {
|
|
288
276
|
"transition-show": __props.isMobile ? 'slide-left' : 'fade',
|
|
289
277
|
"transition-hide": __props.isMobile ? 'slide-right' : 'fade',
|
|
@@ -323,9 +311,9 @@
|
|
|
323
311
|
})),
|
|
324
312
|
(!props.localDetail.uuid)
|
|
325
313
|
? (vue.openBlock(), vue.createBlock(vue.unref(quasar.QToolbarTitle), { key: 2 }, {
|
|
326
|
-
default: vue.withCtx(function () { return [
|
|
327
|
-
|
|
328
|
-
]; }),
|
|
314
|
+
default: vue.withCtx(function () { return _cache[1] || (_cache[1] = [
|
|
315
|
+
vue.createTextVNode("Création")
|
|
316
|
+
]); }),
|
|
329
317
|
_: 1 /* STABLE */
|
|
330
318
|
}))
|
|
331
319
|
: (
|
|
@@ -341,13 +329,13 @@
|
|
|
341
329
|
_: 1 /* STABLE */
|
|
342
330
|
}, 8 /* PROPS */, ["class"]))
|
|
343
331
|
: (vue.openBlock(), vue.createBlock(vue.unref(quasar.QToolbarTitle), { key: 4 }, {
|
|
344
|
-
default: vue.withCtx(function () { return [
|
|
345
|
-
|
|
346
|
-
]; }),
|
|
332
|
+
default: vue.withCtx(function () { return _cache[2] || (_cache[2] = [
|
|
333
|
+
vue.createTextVNode("Modification")
|
|
334
|
+
]); }),
|
|
347
335
|
_: 1 /* STABLE */
|
|
348
336
|
}))
|
|
349
337
|
]; }),
|
|
350
|
-
(__props.isMobile && !
|
|
338
|
+
(__props.isMobile && !hasCustomModalActions.value && props.modalEditOptions.showBtn.valid)
|
|
351
339
|
? (vue.openBlock(), vue.createBlock(vue.unref(quasar.QBtn), {
|
|
352
340
|
key: 0,
|
|
353
341
|
flat: "",
|
|
@@ -405,7 +393,7 @@
|
|
|
405
393
|
close: close,
|
|
406
394
|
data: props.localDetail
|
|
407
395
|
}),
|
|
408
|
-
(!
|
|
396
|
+
(!hasCustomModalActions.value && props.modalEditOptions.showBtn.cancel)
|
|
409
397
|
? vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(quasar.QBtn), {
|
|
410
398
|
key: 0,
|
|
411
399
|
flat: "",
|
|
@@ -415,7 +403,7 @@
|
|
|
415
403
|
[_directive_close_popup]
|
|
416
404
|
])
|
|
417
405
|
: vue.createCommentVNode("v-if", true),
|
|
418
|
-
(!
|
|
406
|
+
(!hasCustomModalActions.value && props.modalEditOptions.showBtn.valid)
|
|
419
407
|
? (vue.openBlock(), vue.createBlock(vue.unref(quasar.QBtn), {
|
|
420
408
|
key: 1,
|
|
421
409
|
flat: "",
|
|
@@ -482,16 +470,14 @@
|
|
|
482
470
|
},
|
|
483
471
|
emits: ['update', 'onEditCellHandler', 'onClickTabHandler'],
|
|
484
472
|
setup: function setup(__props, ref$1) {
|
|
485
|
-
var
|
|
473
|
+
var __emit = ref$1.emit;
|
|
486
474
|
|
|
487
475
|
|
|
488
476
|
var props = __props;
|
|
489
477
|
|
|
490
|
-
|
|
491
|
-
|
|
492
478
|
var localDetail = vue.ref(Object.assign({}, props.data));
|
|
493
479
|
var $collectionCrud = vue.inject('vlank-ccrud');
|
|
494
|
-
|
|
480
|
+
var $emit = __emit;
|
|
495
481
|
|
|
496
482
|
|
|
497
483
|
var getRawValue = vue.computed({
|
|
@@ -557,7 +543,7 @@
|
|
|
557
543
|
: (props.colOptions.type === 'boolean')
|
|
558
544
|
? vue.renderSlot(_ctx.$slots, getScopedSlotName('boolean-uncheck', props.colOptions.name), { key: 1 })
|
|
559
545
|
: vue.createCommentVNode("v-if", true),
|
|
560
|
-
vue.createTextVNode(" " + vue.toDisplayString(
|
|
546
|
+
vue.createTextVNode(" " + vue.toDisplayString(getValue.value) + " ", 1 /* TEXT */),
|
|
561
547
|
vue.createVNode(vue.unref(quasar.QPopupEdit), {
|
|
562
548
|
modelValue: localValue.value,
|
|
563
549
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = function ($event) { return ((localValue).value = $event); }),
|
|
@@ -1386,14 +1372,12 @@
|
|
|
1386
1372
|
"onEditCellHandler"
|
|
1387
1373
|
],
|
|
1388
1374
|
setup: function setup(__props, ref$1) {
|
|
1389
|
-
var
|
|
1375
|
+
var __emit = ref$1.emit;
|
|
1390
1376
|
|
|
1391
1377
|
|
|
1392
1378
|
var $attrs = __props;
|
|
1393
1379
|
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1380
|
+
var $emit = __emit;
|
|
1397
1381
|
|
|
1398
1382
|
var ccrudTable = vue.ref(null);
|
|
1399
1383
|
|
|
@@ -1583,329 +1567,336 @@
|
|
|
1583
1567
|
|
|
1584
1568
|
return function (_ctx, _cache) {
|
|
1585
1569
|
return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$2, [
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
vue.
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
vue.
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1570
|
+
(vue.unref(rows))
|
|
1571
|
+
? (vue.openBlock(), vue.createBlock(vue.unref(quasar.QTable), vue.mergeProps({
|
|
1572
|
+
key: 0,
|
|
1573
|
+
flat: "",
|
|
1574
|
+
rows: vue.unref(rows)
|
|
1575
|
+
}, vue.unref(table), {
|
|
1576
|
+
filter: filter.value,
|
|
1577
|
+
onRequest: vue.unref(asyncRequest),
|
|
1578
|
+
ref_key: "ccrudTable",
|
|
1579
|
+
ref: ccrudTable,
|
|
1580
|
+
pagination: vue.unref(pagination),
|
|
1581
|
+
"onUpdate:pagination": _cache[1] || (_cache[1] = function ($event) { return (vue.isRef(pagination) ? (pagination).value = $event : null); }),
|
|
1582
|
+
selection: vue.unref(selectionMode),
|
|
1583
|
+
selected: vue.unref(selectedData),
|
|
1584
|
+
"onUpdate:selected": _cache[2] || (_cache[2] = function ($event) { return (vue.isRef(selectedData) ? (selectedData).value = $event : null); })
|
|
1585
|
+
}), vue.createSlots({
|
|
1586
|
+
"top-left": vue.withCtx(function () { return [
|
|
1587
|
+
vue.createElementVNode("div", null, [
|
|
1588
|
+
vue.renderSlot(_ctx.$slots, "top-left-content")
|
|
1589
|
+
])
|
|
1590
|
+
]; }),
|
|
1591
|
+
"top-right": vue.withCtx(function () { return [
|
|
1592
|
+
vue.createElementVNode("div", _hoisted_6, [
|
|
1593
|
+
vue.createElementVNode("div", _hoisted_7, [
|
|
1594
|
+
(vue.unref(showInputSearch))
|
|
1595
|
+
? (vue.openBlock(), vue.createBlock(vue.unref(quasar.QInput), {
|
|
1596
|
+
key: 0,
|
|
1597
|
+
dense: "",
|
|
1598
|
+
debounce: "300",
|
|
1599
|
+
modelValue: filter.value,
|
|
1600
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = function ($event) { return ((filter).value = $event); }),
|
|
1601
|
+
placeholder: "Recherche",
|
|
1602
|
+
outlined: "",
|
|
1603
|
+
rounded: isMobile.value,
|
|
1604
|
+
style: {"width":"180px"}
|
|
1605
|
+
}, {
|
|
1606
|
+
append: vue.withCtx(function () { return [
|
|
1607
|
+
(filter.value)
|
|
1608
|
+
? (vue.openBlock(), vue.createBlock(vue.unref(quasar.QBtn), {
|
|
1609
|
+
key: 0,
|
|
1610
|
+
dense: "",
|
|
1611
|
+
flat: "",
|
|
1612
|
+
round: "",
|
|
1613
|
+
icon: "mdi-close",
|
|
1614
|
+
onClick: onClearSearchHandler
|
|
1615
|
+
}))
|
|
1616
|
+
: (vue.openBlock(), vue.createBlock(vue.unref(quasar.QIcon), {
|
|
1617
|
+
key: 1,
|
|
1618
|
+
name: "search"
|
|
1619
|
+
}))
|
|
1620
|
+
]; }),
|
|
1621
|
+
_: 1 /* STABLE */
|
|
1622
|
+
}, 8 /* PROPS */, ["modelValue", "rounded"]))
|
|
1623
|
+
: vue.createCommentVNode("v-if", true),
|
|
1624
|
+
(vue.unref(showBtnCreatePage))
|
|
1625
|
+
? (vue.openBlock(), vue.createBlock(vue.unref(quasar.QBtn), {
|
|
1626
|
+
key: 1,
|
|
1627
|
+
type: "a",
|
|
1628
|
+
to: { name: vue.unref(collectionCreateNamedRoute) },
|
|
1629
|
+
label: vue.unref(customCreateButtonText) ? vue.unref(customCreateButtonText) : null,
|
|
1630
|
+
icon: "add",
|
|
1631
|
+
color: "primary",
|
|
1632
|
+
style: {"margin-left":"1em"},
|
|
1633
|
+
square: ""
|
|
1634
|
+
}, {
|
|
1635
|
+
default: vue.withCtx(function () { return [
|
|
1636
|
+
vue.renderSlot(_ctx.$slots, "create-btn-tooltip")
|
|
1637
|
+
]; }),
|
|
1638
|
+
_: 3 /* FORWARDED */
|
|
1639
|
+
}, 8 /* PROPS */, ["to", "label"]))
|
|
1640
|
+
: (vue.unref(showBtnCreate))
|
|
1641
|
+
? (vue.openBlock(), vue.createBlock(vue.unref(quasar.QBtn), {
|
|
1642
|
+
key: 2,
|
|
1643
|
+
label: vue.unref(customCreateButtonText) ? vue.unref(customCreateButtonText) : null,
|
|
1644
|
+
icon: "add",
|
|
1645
|
+
color: "primary",
|
|
1646
|
+
style: {"margin-left":"1em"},
|
|
1647
|
+
onClick: vue.unref(onClickAdd),
|
|
1648
|
+
square: ""
|
|
1649
|
+
}, {
|
|
1650
|
+
default: vue.withCtx(function () { return [
|
|
1651
|
+
vue.renderSlot(_ctx.$slots, "create-btn-tooltip")
|
|
1652
|
+
]; }),
|
|
1653
|
+
_: 3 /* FORWARDED */
|
|
1654
|
+
}, 8 /* PROPS */, ["label", "onClick"]))
|
|
1655
|
+
: vue.createCommentVNode("v-if", true),
|
|
1656
|
+
vue.renderSlot(_ctx.$slots, "top-right-after-add")
|
|
1657
|
+
]),
|
|
1658
|
+
vue.createElementVNode("div", _hoisted_8, [
|
|
1659
|
+
vue.renderSlot(_ctx.$slots, "top-right-under-add")
|
|
1660
|
+
])
|
|
1661
|
+
])
|
|
1662
|
+
]; }),
|
|
1663
|
+
"body-cell-actions-vlank": vue.withCtx(function (props) {
|
|
1664
|
+
var obj, obj$1;
|
|
1665
|
+
|
|
1666
|
+
return [
|
|
1667
|
+
vue.createElementVNode("td", {
|
|
1668
|
+
props: props,
|
|
1669
|
+
class: vue.normalizeClass('action-buttons' + vue.unref(getAdditionalClassActionBtns)(props.row))
|
|
1670
|
+
}, [
|
|
1671
|
+
vue.renderSlot(_ctx.$slots, "row-action-before-controllers", {
|
|
1672
|
+
key: 0,
|
|
1673
|
+
data: props.row
|
|
1674
|
+
})
|
|
1675
|
+
,
|
|
1676
|
+
(vue.unref(showBtnEditModal) && __props.displayActionCallback(props.row, 'edit'))
|
|
1655
1677
|
? (vue.openBlock(), vue.createBlock(vue.unref(quasar.QBtn), {
|
|
1656
|
-
key:
|
|
1657
|
-
|
|
1658
|
-
icon: "add",
|
|
1678
|
+
key: 1,
|
|
1679
|
+
onClick: function ($event) { return (vue.unref(onClickEdit)(props.row)); },
|
|
1659
1680
|
color: "primary",
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
},
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1681
|
+
icon: "edit",
|
|
1682
|
+
flat: "",
|
|
1683
|
+
round: isMobile.value
|
|
1684
|
+
}, null, 8 /* PROPS */, ["onClick", "round"]))
|
|
1685
|
+
: (vue.unref(showBtnEditPage) && __props.displayActionCallback(props.row, 'edit'))
|
|
1686
|
+
? (vue.openBlock(), vue.createBlock(vue.unref(quasar.QBtn), {
|
|
1687
|
+
key: 2,
|
|
1688
|
+
type: "a",
|
|
1689
|
+
to: { name: vue.unref(collectionEditNamedRoute), params: ( obj = {}, obj[vue.unref(route_parameter_name)] = props.row[vue.unref(route_parameter_name)], obj ) },
|
|
1690
|
+
color: "primary",
|
|
1691
|
+
icon: "edit",
|
|
1692
|
+
flat: "",
|
|
1693
|
+
round: isMobile.value
|
|
1694
|
+
}, null, 8 /* PROPS */, ["to", "round"]))
|
|
1695
|
+
: vue.createCommentVNode("v-if", true),
|
|
1696
|
+
(!__props.editablePage && vue.unref(showBtnEditPage) && __props.displayActionCallback(props.row, 'show'))
|
|
1697
|
+
? (vue.openBlock(), vue.createBlock(vue.unref(quasar.QBtn), {
|
|
1698
|
+
key: 3,
|
|
1699
|
+
type: "a",
|
|
1700
|
+
to: { name: vue.unref(collectionEditNamedRoute), params: ( obj$1 = {}, obj$1[vue.unref(route_parameter_name)] = props.row[vue.unref(route_parameter_name)], obj$1 ) },
|
|
1701
|
+
color: "primary",
|
|
1702
|
+
icon: "mdi-magnify-plus-outline",
|
|
1703
|
+
flat: ""
|
|
1704
|
+
}, null, 8 /* PROPS */, ["to"]))
|
|
1669
1705
|
: vue.createCommentVNode("v-if", true),
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
vue.createElementVNode("td", {
|
|
1682
|
-
props: props,
|
|
1683
|
-
class: vue.normalizeClass('action-buttons' + vue.unref(getAdditionalClassActionBtns)(props.row))
|
|
1684
|
-
}, [
|
|
1685
|
-
vue.renderSlot(_ctx.$slots, "row-action-before-controllers", {
|
|
1686
|
-
key: 0,
|
|
1706
|
+
(vue.unref(showBtnDelete) && __props.displayActionCallback(props.row, 'delete'))
|
|
1707
|
+
? (vue.openBlock(), vue.createBlock(vue.unref(quasar.QBtn), {
|
|
1708
|
+
key: 4,
|
|
1709
|
+
onClick: function ($event) { return (vue.unref(onClickDelete)(props.row)); },
|
|
1710
|
+
color: "negative",
|
|
1711
|
+
icon: "delete",
|
|
1712
|
+
flat: "",
|
|
1713
|
+
round: isMobile.value
|
|
1714
|
+
}, null, 8 /* PROPS */, ["onClick", "round"]))
|
|
1715
|
+
: vue.createCommentVNode("v-if", true),
|
|
1716
|
+
vue.renderSlot(_ctx.$slots, "row-action-after-controllers", {
|
|
1687
1717
|
data: props.row
|
|
1688
1718
|
})
|
|
1689
|
-
,
|
|
1690
|
-
|
|
1691
|
-
? (vue.openBlock(), vue.createBlock(vue.unref(quasar.QBtn), {
|
|
1692
|
-
key: 1,
|
|
1693
|
-
onClick: function ($event) { return (vue.unref(onClickEdit)(props.row)); },
|
|
1694
|
-
color: "primary",
|
|
1695
|
-
icon: "edit",
|
|
1696
|
-
flat: "",
|
|
1697
|
-
round: vue.unref(isMobile)
|
|
1698
|
-
}, null, 8 /* PROPS */, ["onClick", "round"]))
|
|
1699
|
-
: (vue.unref(showBtnEditPage) && __props.displayActionCallback(props.row, 'edit'))
|
|
1700
|
-
? (vue.openBlock(), vue.createBlock(vue.unref(quasar.QBtn), {
|
|
1701
|
-
key: 2,
|
|
1702
|
-
type: "a",
|
|
1703
|
-
to: { name: vue.unref(collectionEditNamedRoute), params: ( obj = {}, obj[vue.unref(route_parameter_name)] = props.row[vue.unref(route_parameter_name)], obj ) },
|
|
1704
|
-
color: "primary",
|
|
1705
|
-
icon: "edit",
|
|
1706
|
-
flat: "",
|
|
1707
|
-
round: vue.unref(isMobile)
|
|
1708
|
-
}, null, 8 /* PROPS */, ["to", "round"]))
|
|
1709
|
-
: vue.createCommentVNode("v-if", true),
|
|
1710
|
-
(!__props.editablePage && vue.unref(showBtnEditPage) && __props.displayActionCallback(props.row, 'show'))
|
|
1711
|
-
? (vue.openBlock(), vue.createBlock(vue.unref(quasar.QBtn), {
|
|
1712
|
-
key: 3,
|
|
1713
|
-
type: "a",
|
|
1714
|
-
to: { name: vue.unref(collectionEditNamedRoute), params: ( obj$1 = {}, obj$1[vue.unref(route_parameter_name)] = props.row[vue.unref(route_parameter_name)], obj$1 ) },
|
|
1715
|
-
color: "primary",
|
|
1716
|
-
icon: "mdi-magnify-plus-outline",
|
|
1717
|
-
flat: ""
|
|
1718
|
-
}, null, 8 /* PROPS */, ["to"]))
|
|
1719
|
-
: vue.createCommentVNode("v-if", true),
|
|
1720
|
-
(vue.unref(showBtnDelete) && __props.displayActionCallback(props.row, 'delete'))
|
|
1721
|
-
? (vue.openBlock(), vue.createBlock(vue.unref(quasar.QBtn), {
|
|
1722
|
-
key: 4,
|
|
1723
|
-
onClick: function ($event) { return (vue.unref(onClickDelete)(props.row)); },
|
|
1724
|
-
color: "negative",
|
|
1725
|
-
icon: "delete",
|
|
1726
|
-
flat: "",
|
|
1727
|
-
round: vue.unref(isMobile)
|
|
1728
|
-
}, null, 8 /* PROPS */, ["onClick", "round"]))
|
|
1729
|
-
: vue.createCommentVNode("v-if", true),
|
|
1730
|
-
vue.renderSlot(_ctx.$slots, "row-action-after-controllers", {
|
|
1731
|
-
data: props.row
|
|
1732
|
-
})
|
|
1733
|
-
], 10 /* CLASS, PROPS */, _hoisted_9)
|
|
1734
|
-
];
|
|
1719
|
+
], 10 /* CLASS, PROPS */, _hoisted_9)
|
|
1720
|
+
];
|
|
1735
1721
|
}),
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
vue.createVNode(vue.unref(quasar.QItem), {
|
|
1760
|
-
style: {"align-items":"center"},
|
|
1761
|
-
class: vue.normalizeClass('mobile-item' + vue.unref(getAdditionalClassActionBtns)(props.row))
|
|
1762
|
-
}, {
|
|
1722
|
+
_: 2 /* DYNAMIC */
|
|
1723
|
+
}, [
|
|
1724
|
+
(isMobile.value)
|
|
1725
|
+
? {
|
|
1726
|
+
name: "header",
|
|
1727
|
+
fn: vue.withCtx(function (props) { return []; }),
|
|
1728
|
+
key: "0"
|
|
1729
|
+
}
|
|
1730
|
+
: undefined,
|
|
1731
|
+
(isMobile.value)
|
|
1732
|
+
? {
|
|
1733
|
+
name: "body",
|
|
1734
|
+
fn: vue.withCtx(function (props) { return [
|
|
1735
|
+
vue.createVNode(vue.unref(quasar.QSlideItem), {
|
|
1736
|
+
ref_key: "mobileSlideItem",
|
|
1737
|
+
ref: mobileSlideItem,
|
|
1738
|
+
onLeft: function (element) { return onSlideLeft(element, props.row); },
|
|
1739
|
+
onRight: function (element) { return onSlideRight(element, props.row); },
|
|
1740
|
+
onSlide: onSlide,
|
|
1741
|
+
reset: "",
|
|
1742
|
+
"right-color": "negative",
|
|
1743
|
+
"left-color": "accent"
|
|
1744
|
+
}, vue.createSlots({
|
|
1763
1745
|
default: vue.withCtx(function () { return [
|
|
1764
|
-
vue.
|
|
1765
|
-
|
|
1766
|
-
class:
|
|
1767
|
-
onClick: function ($event) { return (vue.unref(showBtnEdit) ? onClickRow(props.row) : ''); }
|
|
1746
|
+
vue.createVNode(vue.unref(quasar.QItem), {
|
|
1747
|
+
style: {"align-items":"center"},
|
|
1748
|
+
class: vue.normalizeClass('mobile-item' + vue.unref(getAdditionalClassActionBtns)(props.row))
|
|
1768
1749
|
}, {
|
|
1769
1750
|
default: vue.withCtx(function () { return [
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1751
|
+
vue.createCommentVNode(" On affiche la première colonne seulement et on garde celle des actions "),
|
|
1752
|
+
vue.createVNode(vue.unref(quasar.QItemSection), {
|
|
1753
|
+
class: "mobile-item-content",
|
|
1754
|
+
onClick: function ($event) { return (vue.unref(showBtnEdit) ? onClickRow(props.row) : ''); }
|
|
1755
|
+
}, {
|
|
1756
|
+
default: vue.withCtx(function () { return [
|
|
1757
|
+
(vue.unref($slots)['body-cell-mobile'])
|
|
1758
|
+
? vue.renderSlot(_ctx.$slots, "body-cell-mobile", {
|
|
1759
|
+
key: 0,
|
|
1760
|
+
data: props.row,
|
|
1761
|
+
class: "body-cell-mobile"
|
|
1762
|
+
})
|
|
1763
|
+
: (mobileColumn.value)
|
|
1764
|
+
? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$2, vue.toDisplayString(props.cols.filter(function (col) { return col.name === mobileColumn.value.name; })[0].value), 1 /* TEXT */))
|
|
1765
|
+
: (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$2, vue.toDisplayString(props.cols[0].value), 1 /* TEXT */))
|
|
1766
|
+
]; }),
|
|
1767
|
+
_: 2 /* DYNAMIC */
|
|
1768
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["onClick"]),
|
|
1769
|
+
vue.createVNode(vue.unref(quasar.QItemSection), {
|
|
1770
|
+
style: {"display":"flex","flex-direction":"row","align-items":"center"},
|
|
1771
|
+
side: ""
|
|
1772
|
+
}, {
|
|
1773
|
+
default: vue.withCtx(function () { return [
|
|
1774
|
+
vue.renderSlot(_ctx.$slots, "row-action-before-controllers", {
|
|
1775
|
+
key: 0,
|
|
1776
|
+
data: props.row
|
|
1777
|
+
})
|
|
1778
|
+
|
|
1779
|
+
]; }),
|
|
1780
|
+
_: 2 /* DYNAMIC */
|
|
1781
|
+
}, 1024 /* DYNAMIC_SLOTS */)
|
|
1779
1782
|
]; }),
|
|
1780
1783
|
_: 2 /* DYNAMIC */
|
|
1781
|
-
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["
|
|
1782
|
-
vue.createVNode(vue.unref(quasar.QItemSection), {
|
|
1783
|
-
style: {"display":"flex","flex-direction":"row","align-items":"center"},
|
|
1784
|
-
side: ""
|
|
1785
|
-
}, {
|
|
1786
|
-
default: vue.withCtx(function () { return [
|
|
1787
|
-
vue.renderSlot(_ctx.$slots, "row-action-before-controllers", {
|
|
1788
|
-
key: 0,
|
|
1789
|
-
data: props.row
|
|
1790
|
-
})
|
|
1791
|
-
|
|
1792
|
-
]; }),
|
|
1793
|
-
_: 2 /* DYNAMIC */
|
|
1794
|
-
}, 1024 /* DYNAMIC_SLOTS */)
|
|
1784
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["class"])
|
|
1795
1785
|
]; }),
|
|
1796
1786
|
_: 2 /* DYNAMIC */
|
|
1797
|
-
},
|
|
1787
|
+
}, [
|
|
1788
|
+
(__props.showSlideLeft)
|
|
1789
|
+
? {
|
|
1790
|
+
name: "left",
|
|
1791
|
+
fn: vue.withCtx(function () { return [
|
|
1792
|
+
vue.renderSlot(_ctx.$slots, "content-slider-left", {
|
|
1793
|
+
data: props.row
|
|
1794
|
+
}, function () { return [
|
|
1795
|
+
vue.createVNode(vue.unref(quasar.QIcon), { name: "mdi-pencil" })
|
|
1796
|
+
]; })
|
|
1797
|
+
]; }),
|
|
1798
|
+
key: "0"
|
|
1799
|
+
}
|
|
1800
|
+
: undefined,
|
|
1801
|
+
(vue.unref(showBtnDelete))
|
|
1802
|
+
? {
|
|
1803
|
+
name: "right",
|
|
1804
|
+
fn: vue.withCtx(function () { return [
|
|
1805
|
+
vue.createVNode(vue.unref(quasar.QIcon), { name: "mdi-delete" })
|
|
1806
|
+
]; }),
|
|
1807
|
+
key: "1"
|
|
1808
|
+
}
|
|
1809
|
+
: undefined
|
|
1810
|
+
]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["onLeft", "onRight"])
|
|
1798
1811
|
]; }),
|
|
1799
|
-
|
|
1800
|
-
}
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
}, [
|
|
1836
|
-
(props.row[options.field])
|
|
1837
|
-
? vue.renderSlot(_ctx.$slots, getScopedSlotName('boolean-check', options.field), {
|
|
1838
|
-
key: 0,
|
|
1839
|
-
data: props.row
|
|
1840
|
-
}, function () { return [
|
|
1841
|
-
vue.createVNode(vue.unref(quasar.QIcon), {
|
|
1842
|
-
color: "positive",
|
|
1843
|
-
size: "2rem",
|
|
1844
|
-
name: "check"
|
|
1845
|
-
})
|
|
1846
|
-
]; })
|
|
1847
|
-
: vue.renderSlot(_ctx.$slots, getScopedSlotName('boolean-uncheck', options.field), {
|
|
1848
|
-
key: 1,
|
|
1849
|
-
data: props.row
|
|
1850
|
-
})
|
|
1851
|
-
], 10 /* CLASS, PROPS */, _hoisted_4$2))
|
|
1852
|
-
: (vue.openBlock(), vue.createElementBlock("td", {
|
|
1853
|
-
props: props,
|
|
1854
|
-
key: options.slotName + '-else',
|
|
1855
|
-
class: vue.normalizeClass('cursor-pointer' + vue.unref(getAdditionalClassActionBtns)(props.row)),
|
|
1856
|
-
onClick: function ($event) { return (options.to(props.row)); }
|
|
1857
|
-
}, vue.toDisplayString(options.format
|
|
1812
|
+
key: "1"
|
|
1813
|
+
}
|
|
1814
|
+
: undefined,
|
|
1815
|
+
vue.renderList(vue.unref(customFields), function (options) {
|
|
1816
|
+
return {
|
|
1817
|
+
name: options.slotName,
|
|
1818
|
+
fn: vue.withCtx(function (props) { return [
|
|
1819
|
+
(options.type == 'boolean')
|
|
1820
|
+
? (vue.openBlock(), vue.createElementBlock("td", {
|
|
1821
|
+
props: props,
|
|
1822
|
+
key: options.slotName,
|
|
1823
|
+
class: vue.normalizeClass((vue.unref(isTdClickable)(options) ? 'cursor-pointer' : '') + vue.unref(getAdditionalClassActionBtns)(props.row)),
|
|
1824
|
+
onClick: function ($event) { return (vue.unref(isTdClickable)(options) ? options.to(props.row) : null); }
|
|
1825
|
+
}, [
|
|
1826
|
+
(props.row[options.field])
|
|
1827
|
+
? vue.renderSlot(_ctx.$slots, getScopedSlotName('boolean-check', options.field), {
|
|
1828
|
+
key: 0,
|
|
1829
|
+
data: props.row
|
|
1830
|
+
}, function () { return [
|
|
1831
|
+
vue.createVNode(vue.unref(quasar.QIcon), {
|
|
1832
|
+
color: "positive",
|
|
1833
|
+
size: "2rem",
|
|
1834
|
+
name: "check"
|
|
1835
|
+
})
|
|
1836
|
+
]; })
|
|
1837
|
+
: vue.renderSlot(_ctx.$slots, getScopedSlotName('boolean-uncheck', options.field), {
|
|
1838
|
+
key: 1,
|
|
1839
|
+
data: props.row
|
|
1840
|
+
})
|
|
1841
|
+
], 10 /* CLASS, PROPS */, _hoisted_4$2))
|
|
1842
|
+
: (vue.openBlock(), vue.createElementBlock("td", {
|
|
1843
|
+
props: props,
|
|
1844
|
+
key: options.slotName + '-else',
|
|
1845
|
+
class: vue.normalizeClass('cursor-pointer' + vue.unref(getAdditionalClassActionBtns)(props.row)),
|
|
1846
|
+
onClick: function ($event) { return (options.to(props.row)); }
|
|
1847
|
+
}, vue.toDisplayString(options.format
|
|
1858
1848
|
? options.format(props.row)
|
|
1859
1849
|
: props.row[options.field]), 11 /* TEXT, CLASS, PROPS */, _hoisted_5$1))
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1850
|
+
]; })
|
|
1851
|
+
}
|
|
1852
|
+
}),
|
|
1853
|
+
vue.renderList(vue.unref($slots), function (_, slotName) {
|
|
1854
|
+
return {
|
|
1855
|
+
name: slotName,
|
|
1856
|
+
fn: vue.withCtx(function (props) { return [
|
|
1857
|
+
vue.renderSlot(_ctx.$slots, slotName, vue.normalizeProps(vue.guardReactiveProps(props)))
|
|
1858
|
+
]; })
|
|
1859
|
+
}
|
|
1860
|
+
}),
|
|
1861
|
+
vue.renderList(vue.unref(getEditablesTd), function (config, index) {
|
|
1862
|
+
return {
|
|
1863
|
+
name: config.slotName,
|
|
1864
|
+
fn: vue.withCtx(function (slotProps) { return [
|
|
1865
|
+
(vue.unref(editOnTable))
|
|
1866
|
+
? (vue.openBlock(), vue.createBlock(script$3, {
|
|
1867
|
+
ref: function (el) { popupCells.value[getRowIndex(slotProps.row) + '_' + index] = el; },
|
|
1868
|
+
key: config.slotName,
|
|
1869
|
+
rowIndex: getRowIndex(slotProps.row),
|
|
1870
|
+
cellIndex: index,
|
|
1871
|
+
data: slotProps.row,
|
|
1872
|
+
props: vue.unref(props),
|
|
1873
|
+
colOptions: config.options,
|
|
1874
|
+
onUpdate: vue.unref(onUpdateTd),
|
|
1875
|
+
onOnEditCellHandler: onEditCellHandler,
|
|
1876
|
+
onOnClickTabHandler: onClickTabHandler
|
|
1877
|
+
}, vue.createSlots({ _: 2 /* DYNAMIC */ }, [
|
|
1878
|
+
vue.renderList(vue.unref($slots), function (_, slot) {
|
|
1879
|
+
return {
|
|
1880
|
+
name: slot,
|
|
1881
|
+
fn: vue.withCtx(function (scope) { return [
|
|
1882
|
+
vue.renderSlot(_ctx.$slots, slot, vue.normalizeProps(vue.guardReactiveProps(scope)))
|
|
1883
|
+
]; })
|
|
1884
|
+
}
|
|
1885
|
+
})
|
|
1886
|
+
]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["rowIndex", "cellIndex", "data", "props", "colOptions", "onUpdate"]))
|
|
1887
|
+
: vue.createCommentVNode("v-if", true)
|
|
1888
|
+
]; })
|
|
1889
|
+
}
|
|
1890
|
+
})
|
|
1891
|
+
]), 1040 /* FULL_PROPS, DYNAMIC_SLOTS */, ["rows", "filter", "onRequest", "pagination", "selection", "selected"]))
|
|
1892
|
+
: vue.createCommentVNode("v-if", true),
|
|
1902
1893
|
vue.createCommentVNode(" Modal de Confirmation Suppression "),
|
|
1903
1894
|
vue.createVNode(script$5, {
|
|
1904
1895
|
localDetail: localDetail.value,
|
|
1905
1896
|
props: vue.unref(props),
|
|
1906
1897
|
alertDelete: alertDelete.value,
|
|
1907
1898
|
onClose: vue.unref(onCloseDeleteModal),
|
|
1908
|
-
isMobile:
|
|
1899
|
+
isMobile: isMobile.value
|
|
1909
1900
|
}, vue.createSlots({ _: 2 /* DYNAMIC */ }, [
|
|
1910
1901
|
vue.renderList(vue.unref($slots), function (_, slot) {
|
|
1911
1902
|
return {
|
|
@@ -1925,7 +1916,7 @@
|
|
|
1925
1916
|
vue.createVNode(script$4, vue.mergeProps({ localDetail: localDetail.value }, vue.unref(props), {
|
|
1926
1917
|
editModal: editModal.value,
|
|
1927
1918
|
onClose: vue.unref(onCloseEditModal),
|
|
1928
|
-
isMobile:
|
|
1919
|
+
isMobile: isMobile.value,
|
|
1929
1920
|
closeModalAfterValidation: __props.closeModalAfterValidation,
|
|
1930
1921
|
propsLibelleTitle: __props.propsLibelleTitle
|
|
1931
1922
|
}), vue.createSlots({ _: 2 /* DYNAMIC */ }, [
|
|
@@ -1934,7 +1925,7 @@
|
|
|
1934
1925
|
name: slot,
|
|
1935
1926
|
fn: vue.withCtx(function (scope) { return [
|
|
1936
1927
|
(vue.openBlock(), vue.createElementBlock("div", {
|
|
1937
|
-
class: vue.normalizeClass(
|
|
1928
|
+
class: vue.normalizeClass(isMobile.value ? 'mobile-content modal-content' : 'modal-content'),
|
|
1938
1929
|
key: slot
|
|
1939
1930
|
}, [
|
|
1940
1931
|
vue.renderSlot(_ctx.$slots, slot, vue.normalizeProps(vue.guardReactiveProps(scope)))
|
|
@@ -1988,7 +1979,7 @@
|
|
|
1988
1979
|
emits: [
|
|
1989
1980
|
"collectionCrudUpdateLocalDetail" ],
|
|
1990
1981
|
setup: function setup(__props, ref$1) {
|
|
1991
|
-
var
|
|
1982
|
+
var __emit = ref$1.emit;
|
|
1992
1983
|
|
|
1993
1984
|
|
|
1994
1985
|
var route = vueRouter.useRoute();
|
|
@@ -2001,7 +1992,7 @@
|
|
|
2001
1992
|
onClickBack(route, router);
|
|
2002
1993
|
}
|
|
2003
1994
|
|
|
2004
|
-
|
|
1995
|
+
var $emit = __emit;
|
|
2005
1996
|
|
|
2006
1997
|
var localDetail = vue.ref(null);
|
|
2007
1998
|
var containerMode = vue.ref(route.meta.containerMode);
|
|
@@ -2172,19 +2163,19 @@
|
|
|
2172
2163
|
color: "primary",
|
|
2173
2164
|
icon: "arrow_back"
|
|
2174
2165
|
}),
|
|
2175
|
-
vue.createElementVNode("h2", null, vue.toDisplayString(
|
|
2166
|
+
vue.createElementVNode("h2", null, vue.toDisplayString(getTitle.value), 1 /* TEXT */)
|
|
2176
2167
|
]),
|
|
2177
2168
|
(!containerMode.value && editablePage.value)
|
|
2178
2169
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$1, [
|
|
2179
2170
|
vue.createVNode(vue.unref(quasar.QBtn), {
|
|
2180
|
-
icon:
|
|
2171
|
+
icon: getSubmitBtn.value.icon,
|
|
2181
2172
|
onClick: onClickSubmit,
|
|
2182
2173
|
disable: !isLocalDetailUpdated.value,
|
|
2183
2174
|
color: isLocalDetailUpdated.value ? 'primary' : 'grey-5',
|
|
2184
2175
|
loading: submitLoading.value
|
|
2185
2176
|
}, {
|
|
2186
2177
|
default: vue.withCtx(function () { return [
|
|
2187
|
-
vue.createTextVNode(vue.toDisplayString(
|
|
2178
|
+
vue.createTextVNode(vue.toDisplayString(getSubmitBtn.value.label), 1 /* TEXT */)
|
|
2188
2179
|
]; }),
|
|
2189
2180
|
_: 1 /* STABLE */
|
|
2190
2181
|
}, 8 /* PROPS */, ["icon", "disable", "color", "loading"])
|
|
@@ -2194,7 +2185,7 @@
|
|
|
2194
2185
|
: vue.createCommentVNode("v-if", true),
|
|
2195
2186
|
(localDetail.value)
|
|
2196
2187
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$1, [
|
|
2197
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(vue.unref(Components__default["default"])[
|
|
2188
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(vue.unref(Components__default["default"])[formComponent.value]), {
|
|
2198
2189
|
data: localDetail.value,
|
|
2199
2190
|
submitedData: submitedData.value,
|
|
2200
2191
|
key: localDetail.value[vue.unref(route_parameter_name)],
|
|
@@ -2203,7 +2194,7 @@
|
|
|
2203
2194
|
onCustomSubmitBtn: onCustomSubmitBtn,
|
|
2204
2195
|
onUpdateData: updateData,
|
|
2205
2196
|
onEditablePage: onEditablePage
|
|
2206
|
-
}, null, 40 /* PROPS,
|
|
2197
|
+
}, null, 40 /* PROPS, NEED_HYDRATION */, ["data", "submitedData"]))
|
|
2207
2198
|
]))
|
|
2208
2199
|
: (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$1, [
|
|
2209
2200
|
vue.createVNode(vue.unref(quasar.QSpinner), {
|
|
@@ -2246,7 +2237,7 @@
|
|
|
2246
2237
|
emits: [
|
|
2247
2238
|
"collectionCrudUpdateLocalDetail" ],
|
|
2248
2239
|
setup: function setup(__props, ref$1) {
|
|
2249
|
-
var
|
|
2240
|
+
var __emit = ref$1.emit;
|
|
2250
2241
|
|
|
2251
2242
|
|
|
2252
2243
|
var route = vueRouter.useRoute();
|
|
@@ -2258,7 +2249,7 @@
|
|
|
2258
2249
|
}
|
|
2259
2250
|
|
|
2260
2251
|
|
|
2261
|
-
|
|
2252
|
+
var $emit = __emit;
|
|
2262
2253
|
|
|
2263
2254
|
var localDetail = vue.ref(null);
|
|
2264
2255
|
var containerMode = vue.ref(route.meta.containerMode);
|
|
@@ -2359,18 +2350,18 @@
|
|
|
2359
2350
|
color: "primary",
|
|
2360
2351
|
icon: "arrow_back"
|
|
2361
2352
|
}),
|
|
2362
|
-
vue.createElementVNode("h2", null, vue.toDisplayString(
|
|
2353
|
+
vue.createElementVNode("h2", null, vue.toDisplayString(getTitle.value), 1 /* TEXT */)
|
|
2363
2354
|
]),
|
|
2364
2355
|
(!containerMode.value)
|
|
2365
2356
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3, [
|
|
2366
2357
|
vue.createVNode(vue.unref(quasar.QBtn), {
|
|
2367
2358
|
color: "primary",
|
|
2368
|
-
icon:
|
|
2359
|
+
icon: getSubmitBtn.value.icon,
|
|
2369
2360
|
onClick: onClickSubmit,
|
|
2370
2361
|
loading: submitLoading.value
|
|
2371
2362
|
}, {
|
|
2372
2363
|
default: vue.withCtx(function () { return [
|
|
2373
|
-
vue.createTextVNode(vue.toDisplayString(
|
|
2364
|
+
vue.createTextVNode(vue.toDisplayString(getSubmitBtn.value.label), 1 /* TEXT */)
|
|
2374
2365
|
]; }),
|
|
2375
2366
|
_: 1 /* STABLE */
|
|
2376
2367
|
}, 8 /* PROPS */, ["icon", "loading"])
|
|
@@ -2380,13 +2371,13 @@
|
|
|
2380
2371
|
: vue.createCommentVNode("v-if", true),
|
|
2381
2372
|
(localDetail.value)
|
|
2382
2373
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4, [
|
|
2383
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(vue.unref(Components__default["default"])[
|
|
2374
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(vue.unref(Components__default["default"])[formComponent.value]), {
|
|
2384
2375
|
data: localDetail.value,
|
|
2385
2376
|
submitedData: submitedData.value,
|
|
2386
2377
|
onExtraRequestParams: onExtraRequestParams,
|
|
2387
2378
|
onCustomSubmitBtn: onCustomSubmitBtn,
|
|
2388
2379
|
onUpdateData: updateData
|
|
2389
|
-
}, null, 40 /* PROPS,
|
|
2380
|
+
}, null, 40 /* PROPS, NEED_HYDRATION */, ["data", "submitedData"]))
|
|
2390
2381
|
]))
|
|
2391
2382
|
: (vue.openBlock(), vue.createElementBlock("div", _hoisted_5, [
|
|
2392
2383
|
vue.createVNode(vue.unref(quasar.QSpinner), {
|
|
@@ -2408,7 +2399,7 @@
|
|
|
2408
2399
|
script.__scopeId = "data-v-29e3989a";
|
|
2409
2400
|
script.__file = "src/components/VlankCreatePage.vue";
|
|
2410
2401
|
|
|
2411
|
-
var version = '3.7.
|
|
2402
|
+
var version = '3.7.52';
|
|
2412
2403
|
|
|
2413
2404
|
function install (app) {
|
|
2414
2405
|
app.component(script$2.name, script$2);
|