@oniti/quasar-ui-vlank-collection-crud 3.7.52 → 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.umd.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @oniti/quasar-ui-vlank-collection-crud v3.7.51
2
+ * @oniti/quasar-ui-vlank-collection-crud v3.7.52
3
3
  * (c) 2025 Oniti
4
4
  * Released under the MIT License.
5
5
  */
@@ -1567,326 +1567,329 @@
1567
1567
 
1568
1568
  return function (_ctx, _cache) {
1569
1569
  return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$2, [
1570
- vue.createVNode(vue.unref(quasar.QTable), vue.mergeProps({
1571
- flat: "",
1572
- rows: vue.unref(rows)
1573
- }, vue.unref(table), {
1574
- filter: filter.value,
1575
- onRequest: vue.unref(asyncRequest),
1576
- ref_key: "ccrudTable",
1577
- ref: ccrudTable,
1578
- pagination: vue.unref(pagination),
1579
- "onUpdate:pagination": _cache[1] || (_cache[1] = function ($event) { return (vue.isRef(pagination) ? (pagination).value = $event : null); }),
1580
- selection: vue.unref(selectionMode),
1581
- selected: vue.unref(selectedData),
1582
- "onUpdate:selected": _cache[2] || (_cache[2] = function ($event) { return (vue.isRef(selectedData) ? (selectedData).value = $event : null); })
1583
- }), vue.createSlots({
1584
- "top-left": vue.withCtx(function () { return [
1585
- vue.createElementVNode("div", null, [
1586
- vue.renderSlot(_ctx.$slots, "top-left-content")
1587
- ])
1588
- ]; }),
1589
- "top-right": vue.withCtx(function () { return [
1590
- vue.createElementVNode("div", _hoisted_6, [
1591
- vue.createElementVNode("div", _hoisted_7, [
1592
- (vue.unref(showInputSearch))
1593
- ? (vue.openBlock(), vue.createBlock(vue.unref(quasar.QInput), {
1594
- key: 0,
1595
- dense: "",
1596
- debounce: "300",
1597
- modelValue: filter.value,
1598
- "onUpdate:modelValue": _cache[0] || (_cache[0] = function ($event) { return ((filter).value = $event); }),
1599
- placeholder: "Recherche",
1600
- outlined: "",
1601
- rounded: isMobile.value,
1602
- style: {"width":"180px"}
1603
- }, {
1604
- append: vue.withCtx(function () { return [
1605
- (filter.value)
1606
- ? (vue.openBlock(), vue.createBlock(vue.unref(quasar.QBtn), {
1607
- key: 0,
1608
- dense: "",
1609
- flat: "",
1610
- round: "",
1611
- icon: "mdi-close",
1612
- onClick: onClearSearchHandler
1613
- }))
1614
- : (vue.openBlock(), vue.createBlock(vue.unref(quasar.QIcon), {
1615
- key: 1,
1616
- name: "search"
1617
- }))
1618
- ]; }),
1619
- _: 1 /* STABLE */
1620
- }, 8 /* PROPS */, ["modelValue", "rounded"]))
1621
- : vue.createCommentVNode("v-if", true),
1622
- (vue.unref(showBtnCreatePage))
1623
- ? (vue.openBlock(), vue.createBlock(vue.unref(quasar.QBtn), {
1624
- key: 1,
1625
- type: "a",
1626
- to: { name: vue.unref(collectionCreateNamedRoute) },
1627
- label: vue.unref(customCreateButtonText) ? vue.unref(customCreateButtonText) : null,
1628
- icon: "add",
1629
- color: "primary",
1630
- style: {"margin-left":"1em"},
1631
- square: ""
1632
- }, {
1633
- default: vue.withCtx(function () { return [
1634
- vue.renderSlot(_ctx.$slots, "create-btn-tooltip")
1635
- ]; }),
1636
- _: 3 /* FORWARDED */
1637
- }, 8 /* PROPS */, ["to", "label"]))
1638
- : (vue.unref(showBtnCreate))
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'))
1639
1677
  ? (vue.openBlock(), vue.createBlock(vue.unref(quasar.QBtn), {
1640
- key: 2,
1641
- label: vue.unref(customCreateButtonText) ? vue.unref(customCreateButtonText) : null,
1642
- icon: "add",
1678
+ key: 1,
1679
+ onClick: function ($event) { return (vue.unref(onClickEdit)(props.row)); },
1643
1680
  color: "primary",
1644
- style: {"margin-left":"1em"},
1645
- onClick: vue.unref(onClickAdd),
1646
- square: ""
1647
- }, {
1648
- default: vue.withCtx(function () { return [
1649
- vue.renderSlot(_ctx.$slots, "create-btn-tooltip")
1650
- ]; }),
1651
- _: 3 /* FORWARDED */
1652
- }, 8 /* PROPS */, ["label", "onClick"]))
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"]))
1653
1705
  : vue.createCommentVNode("v-if", true),
1654
- vue.renderSlot(_ctx.$slots, "top-right-after-add")
1655
- ]),
1656
- vue.createElementVNode("div", _hoisted_8, [
1657
- vue.renderSlot(_ctx.$slots, "top-right-under-add")
1658
- ])
1659
- ])
1660
- ]; }),
1661
- "body-cell-actions-vlank": vue.withCtx(function (props) {
1662
- var obj, obj$1;
1663
-
1664
- return [
1665
- vue.createElementVNode("td", {
1666
- props: props,
1667
- class: vue.normalizeClass('action-buttons' + vue.unref(getAdditionalClassActionBtns)(props.row))
1668
- }, [
1669
- vue.renderSlot(_ctx.$slots, "row-action-before-controllers", {
1670
- 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", {
1671
1717
  data: props.row
1672
1718
  })
1673
- ,
1674
- (vue.unref(showBtnEditModal) && __props.displayActionCallback(props.row, 'edit'))
1675
- ? (vue.openBlock(), vue.createBlock(vue.unref(quasar.QBtn), {
1676
- key: 1,
1677
- onClick: function ($event) { return (vue.unref(onClickEdit)(props.row)); },
1678
- color: "primary",
1679
- icon: "edit",
1680
- flat: "",
1681
- round: isMobile.value
1682
- }, null, 8 /* PROPS */, ["onClick", "round"]))
1683
- : (vue.unref(showBtnEditPage) && __props.displayActionCallback(props.row, 'edit'))
1684
- ? (vue.openBlock(), vue.createBlock(vue.unref(quasar.QBtn), {
1685
- key: 2,
1686
- type: "a",
1687
- to: { name: vue.unref(collectionEditNamedRoute), params: ( obj = {}, obj[vue.unref(route_parameter_name)] = props.row[vue.unref(route_parameter_name)], obj ) },
1688
- color: "primary",
1689
- icon: "edit",
1690
- flat: "",
1691
- round: isMobile.value
1692
- }, null, 8 /* PROPS */, ["to", "round"]))
1693
- : vue.createCommentVNode("v-if", true),
1694
- (!__props.editablePage && vue.unref(showBtnEditPage) && __props.displayActionCallback(props.row, 'show'))
1695
- ? (vue.openBlock(), vue.createBlock(vue.unref(quasar.QBtn), {
1696
- key: 3,
1697
- type: "a",
1698
- to: { name: vue.unref(collectionEditNamedRoute), params: ( obj$1 = {}, obj$1[vue.unref(route_parameter_name)] = props.row[vue.unref(route_parameter_name)], obj$1 ) },
1699
- color: "primary",
1700
- icon: "mdi-magnify-plus-outline",
1701
- flat: ""
1702
- }, null, 8 /* PROPS */, ["to"]))
1703
- : vue.createCommentVNode("v-if", true),
1704
- (vue.unref(showBtnDelete) && __props.displayActionCallback(props.row, 'delete'))
1705
- ? (vue.openBlock(), vue.createBlock(vue.unref(quasar.QBtn), {
1706
- key: 4,
1707
- onClick: function ($event) { return (vue.unref(onClickDelete)(props.row)); },
1708
- color: "negative",
1709
- icon: "delete",
1710
- flat: "",
1711
- round: isMobile.value
1712
- }, null, 8 /* PROPS */, ["onClick", "round"]))
1713
- : vue.createCommentVNode("v-if", true),
1714
- vue.renderSlot(_ctx.$slots, "row-action-after-controllers", {
1715
- data: props.row
1716
- })
1717
- ], 10 /* CLASS, PROPS */, _hoisted_9)
1718
- ];
1719
+ ], 10 /* CLASS, PROPS */, _hoisted_9)
1720
+ ];
1719
1721
  }),
1720
- _: 2 /* DYNAMIC */
1721
- }, [
1722
- (isMobile.value)
1723
- ? {
1724
- name: "header",
1725
- fn: vue.withCtx(function (props) { return []; }),
1726
- key: "0"
1727
- }
1728
- : undefined,
1729
- (isMobile.value)
1730
- ? {
1731
- name: "body",
1732
- fn: vue.withCtx(function (props) { return [
1733
- vue.createVNode(vue.unref(quasar.QSlideItem), {
1734
- ref_key: "mobileSlideItem",
1735
- ref: mobileSlideItem,
1736
- onLeft: function (element) { return onSlideLeft(element, props.row); },
1737
- onRight: function (element) { return onSlideRight(element, props.row); },
1738
- onSlide: onSlide,
1739
- reset: "",
1740
- "right-color": "negative",
1741
- "left-color": "accent"
1742
- }, vue.createSlots({
1743
- default: vue.withCtx(function () { return [
1744
- vue.createVNode(vue.unref(quasar.QItem), {
1745
- style: {"align-items":"center"},
1746
- class: vue.normalizeClass('mobile-item' + vue.unref(getAdditionalClassActionBtns)(props.row))
1747
- }, {
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({
1748
1745
  default: vue.withCtx(function () { return [
1749
- vue.createCommentVNode(" On affiche la première colonne seulement et on garde celle des actions "),
1750
- vue.createVNode(vue.unref(quasar.QItemSection), {
1751
- class: "mobile-item-content",
1752
- 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))
1753
1749
  }, {
1754
1750
  default: vue.withCtx(function () { return [
1755
- (vue.unref($slots)['body-cell-mobile'])
1756
- ? vue.renderSlot(_ctx.$slots, "body-cell-mobile", {
1757
- key: 0,
1758
- data: props.row,
1759
- class: "body-cell-mobile"
1760
- })
1761
- : (mobileColumn.value)
1762
- ? (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 */))
1763
- : (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$2, vue.toDisplayString(props.cols[0].value), 1 /* TEXT */))
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 */)
1764
1782
  ]; }),
1765
1783
  _: 2 /* DYNAMIC */
1766
- }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["onClick"]),
1767
- vue.createVNode(vue.unref(quasar.QItemSection), {
1768
- style: {"display":"flex","flex-direction":"row","align-items":"center"},
1769
- side: ""
1770
- }, {
1771
- default: vue.withCtx(function () { return [
1772
- vue.renderSlot(_ctx.$slots, "row-action-before-controllers", {
1773
- key: 0,
1774
- data: props.row
1775
- })
1776
-
1777
- ]; }),
1778
- _: 2 /* DYNAMIC */
1779
- }, 1024 /* DYNAMIC_SLOTS */)
1784
+ }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["class"])
1780
1785
  ]; }),
1781
1786
  _: 2 /* DYNAMIC */
1782
- }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["class"])
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"])
1783
1811
  ]; }),
1784
- _: 2 /* DYNAMIC */
1785
- }, [
1786
- (__props.showSlideLeft)
1787
- ? {
1788
- name: "left",
1789
- fn: vue.withCtx(function () { return [
1790
- vue.renderSlot(_ctx.$slots, "content-slider-left", {
1791
- data: props.row
1792
- }, function () { return [
1793
- vue.createVNode(vue.unref(quasar.QIcon), { name: "mdi-pencil" })
1794
- ]; })
1795
- ]; }),
1796
- key: "0"
1797
- }
1798
- : undefined,
1799
- (vue.unref(showBtnDelete))
1800
- ? {
1801
- name: "right",
1802
- fn: vue.withCtx(function () { return [
1803
- vue.createVNode(vue.unref(quasar.QIcon), { name: "mdi-delete" })
1804
- ]; }),
1805
- key: "1"
1806
- }
1807
- : undefined
1808
- ]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["onLeft", "onRight"])
1809
- ]; }),
1810
- key: "1"
1811
- }
1812
- : undefined,
1813
- vue.renderList(vue.unref(customFields), function (options) {
1814
- return {
1815
- name: options.slotName,
1816
- fn: vue.withCtx(function (props) { return [
1817
- (options.type == 'boolean')
1818
- ? (vue.openBlock(), vue.createElementBlock("td", {
1819
- props: props,
1820
- key: options.slotName,
1821
- class: vue.normalizeClass((vue.unref(isTdClickable)(options) ? 'cursor-pointer' : '') + vue.unref(getAdditionalClassActionBtns)(props.row)),
1822
- onClick: function ($event) { return (vue.unref(isTdClickable)(options) ? options.to(props.row) : null); }
1823
- }, [
1824
- (props.row[options.field])
1825
- ? vue.renderSlot(_ctx.$slots, getScopedSlotName('boolean-check', options.field), {
1826
- key: 0,
1827
- data: props.row
1828
- }, function () { return [
1829
- vue.createVNode(vue.unref(quasar.QIcon), {
1830
- color: "positive",
1831
- size: "2rem",
1832
- name: "check"
1833
- })
1834
- ]; })
1835
- : vue.renderSlot(_ctx.$slots, getScopedSlotName('boolean-uncheck', options.field), {
1836
- key: 1,
1837
- data: props.row
1838
- })
1839
- ], 10 /* CLASS, PROPS */, _hoisted_4$2))
1840
- : (vue.openBlock(), vue.createElementBlock("td", {
1841
- props: props,
1842
- key: options.slotName + '-else',
1843
- class: vue.normalizeClass('cursor-pointer' + vue.unref(getAdditionalClassActionBtns)(props.row)),
1844
- onClick: function ($event) { return (options.to(props.row)); }
1845
- }, 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
1846
1848
  ? options.format(props.row)
1847
1849
  : props.row[options.field]), 11 /* TEXT, CLASS, PROPS */, _hoisted_5$1))
1848
- ]; })
1849
- }
1850
- }),
1851
- vue.renderList(vue.unref($slots), function (_, slotName) {
1852
- return {
1853
- name: slotName,
1854
- fn: vue.withCtx(function (props) { return [
1855
- vue.renderSlot(_ctx.$slots, slotName, vue.normalizeProps(vue.guardReactiveProps(props)))
1856
- ]; })
1857
- }
1858
- }),
1859
- vue.renderList(vue.unref(getEditablesTd), function (config, index) {
1860
- return {
1861
- name: config.slotName,
1862
- fn: vue.withCtx(function (slotProps) { return [
1863
- (vue.unref(editOnTable))
1864
- ? (vue.openBlock(), vue.createBlock(script$3, {
1865
- ref: function (el) { popupCells.value[getRowIndex(slotProps.row) + '_' + index] = el; },
1866
- key: config.slotName,
1867
- rowIndex: getRowIndex(slotProps.row),
1868
- cellIndex: index,
1869
- data: slotProps.row,
1870
- props: vue.unref(props),
1871
- colOptions: config.options,
1872
- onUpdate: vue.unref(onUpdateTd),
1873
- onOnEditCellHandler: onEditCellHandler,
1874
- onOnClickTabHandler: onClickTabHandler
1875
- }, vue.createSlots({ _: 2 /* DYNAMIC */ }, [
1876
- vue.renderList(vue.unref($slots), function (_, slot) {
1877
- return {
1878
- name: slot,
1879
- fn: vue.withCtx(function (scope) { return [
1880
- vue.renderSlot(_ctx.$slots, slot, vue.normalizeProps(vue.guardReactiveProps(scope)))
1881
- ]; })
1882
- }
1883
- })
1884
- ]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["rowIndex", "cellIndex", "data", "props", "colOptions", "onUpdate"]))
1885
- : vue.createCommentVNode("v-if", true)
1886
- ]; })
1887
- }
1888
- })
1889
- ]), 1040 /* FULL_PROPS, DYNAMIC_SLOTS */, ["rows", "filter", "onRequest", "pagination", "selection", "selected"]),
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),
1890
1893
  vue.createCommentVNode(" Modal de Confirmation Suppression "),
1891
1894
  vue.createVNode(script$5, {
1892
1895
  localDetail: localDetail.value,
@@ -2396,7 +2399,7 @@
2396
2399
  script.__scopeId = "data-v-29e3989a";
2397
2400
  script.__file = "src/components/VlankCreatePage.vue";
2398
2401
 
2399
- var version = '3.7.51';
2402
+ var version = '3.7.52';
2400
2403
 
2401
2404
  function install (app) {
2402
2405
  app.component(script$2.name, script$2);