@oniti/quasar-ui-vlank-collection-crud 3.7.53 → 3.7.54

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.52
2
+ * @oniti/quasar-ui-vlank-collection-crud v3.7.53
3
3
  * (c) 2025 Oniti
4
4
  * Released under the MIT License.
5
5
  */
@@ -1453,6 +1453,8 @@
1453
1453
  var getList = ref$6.getList;
1454
1454
  var asyncRequest = ref$6.asyncRequest;
1455
1455
 
1456
+ var safeRows = vue.computed(function () { return rows.value || []; });
1457
+
1456
1458
  var ref$7 = useHandlers(props, $emit, getList, localDetail, alertDelete, editModal);
1457
1459
  var onClickDelete = ref$7.onClickDelete;
1458
1460
  var onClickAdd = ref$7.onClickAdd;
@@ -1567,329 +1569,326 @@
1567
1569
 
1568
1570
  return function (_ctx, _cache) {
1569
1571
  return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$2, [
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'))
1677
- ? (vue.openBlock(), vue.createBlock(vue.unref(quasar.QBtn), {
1678
- key: 1,
1679
- onClick: function ($event) { return (vue.unref(onClickEdit)(props.row)); },
1680
- color: "primary",
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'))
1572
+ vue.createVNode(vue.unref(quasar.QTable), vue.mergeProps({
1573
+ flat: "",
1574
+ rows: safeRows.value
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))
1697
1641
  ? (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 ) },
1642
+ key: 2,
1643
+ label: vue.unref(customCreateButtonText) ? vue.unref(customCreateButtonText) : null,
1644
+ icon: "add",
1701
1645
  color: "primary",
1702
- icon: "mdi-magnify-plus-outline",
1703
- flat: ""
1704
- }, null, 8 /* PROPS */, ["to"]))
1705
- : vue.createCommentVNode("v-if", true),
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"]))
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"]))
1715
1655
  : vue.createCommentVNode("v-if", true),
1716
- vue.renderSlot(_ctx.$slots, "row-action-after-controllers", {
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,
1717
1673
  data: props.row
1718
1674
  })
1719
- ], 10 /* CLASS, PROPS */, _hoisted_9)
1720
- ];
1675
+ ,
1676
+ (vue.unref(showBtnEditModal) && __props.displayActionCallback(props.row, 'edit'))
1677
+ ? (vue.openBlock(), vue.createBlock(vue.unref(quasar.QBtn), {
1678
+ key: 1,
1679
+ onClick: function ($event) { return (vue.unref(onClickEdit)(props.row)); },
1680
+ color: "primary",
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"]))
1705
+ : vue.createCommentVNode("v-if", true),
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", {
1717
+ data: props.row
1718
+ })
1719
+ ], 10 /* CLASS, PROPS */, _hoisted_9)
1720
+ ];
1721
1721
  }),
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({
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({
1745
+ default: vue.withCtx(function () { return [
1746
+ vue.createVNode(vue.unref(quasar.QItem), {
1747
+ style: {"align-items":"center"},
1748
+ class: vue.normalizeClass('mobile-item' + vue.unref(getAdditionalClassActionBtns)(props.row))
1749
+ }, {
1745
1750
  default: vue.withCtx(function () { return [
1746
- vue.createVNode(vue.unref(quasar.QItem), {
1747
- style: {"align-items":"center"},
1748
- class: vue.normalizeClass('mobile-item' + vue.unref(getAdditionalClassActionBtns)(props.row))
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) : ''); }
1749
1755
  }, {
1750
1756
  default: vue.withCtx(function () { return [
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 */)
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 */))
1782
1766
  ]; }),
1783
1767
  _: 2 /* DYNAMIC */
1784
- }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["class"])
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 */)
1785
1782
  ]; }),
1786
1783
  _: 2 /* DYNAMIC */
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"])
1784
+ }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["class"])
1811
1785
  ]; }),
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
1786
+ _: 2 /* DYNAMIC */
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"])
1811
+ ]; }),
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
1848
1848
  ? options.format(props.row)
1849
1849
  : props.row[options.field]), 11 /* TEXT, CLASS, PROPS */, _hoisted_5$1))
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),
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"]),
1893
1892
  vue.createCommentVNode(" Modal de Confirmation Suppression "),
1894
1893
  vue.createVNode(script$5, {
1895
1894
  localDetail: localDetail.value,
@@ -2399,7 +2398,7 @@
2399
2398
  script.__scopeId = "data-v-29e3989a";
2400
2399
  script.__file = "src/components/VlankCreatePage.vue";
2401
2400
 
2402
- var version = '3.7.52';
2401
+ var version = '3.7.53';
2403
2402
 
2404
2403
  function install (app) {
2405
2404
  app.component(script$2.name, script$2);