@iankibetsh/shframework 0.8.2 → 0.8.3

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.
@@ -84,6 +84,10 @@
84
84
  }
85
85
  }
86
86
 
87
+ .sh-forgot-link, .sh-register-link{
88
+ cursor: pointer;
89
+ }
90
+
87
91
  .sh-selected-item{
88
92
  line-height: unset!important;
89
93
  }
@@ -98,7 +102,3 @@
98
102
  margin-bottom: auto;
99
103
  margin-right: 0.255em;
100
104
  }
101
-
102
- .sh-forgot-link, .sh-register-link{
103
- cursor: pointer;
104
- }
package/dist/library.js CHANGED
@@ -1574,7 +1574,7 @@ const countries = [
1574
1574
  }
1575
1575
  ];
1576
1576
 
1577
- var script$c = {
1577
+ var script$e = {
1578
1578
  name: 'ShPhone',
1579
1579
  props: ['modelValue', 'country_code'],
1580
1580
  data () {
@@ -1636,8 +1636,8 @@ var script$c = {
1636
1636
  }
1637
1637
  };
1638
1638
 
1639
- const _hoisted_1$c = { class: "sh-phone mb-3" };
1640
- const _hoisted_2$b = {
1639
+ const _hoisted_1$e = { class: "sh-phone mb-3" };
1640
+ const _hoisted_2$c = {
1641
1641
  key: 0,
1642
1642
  style: {"display":"contents"}
1643
1643
  };
@@ -1645,9 +1645,9 @@ const _hoisted_3$b = ["src"];
1645
1645
  const _hoisted_4$b = ["value"];
1646
1646
 
1647
1647
  function render$7(_ctx, _cache, $props, $setup, $data, $options) {
1648
- return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$c, [
1648
+ return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$e, [
1649
1649
  ($data.selectedCountry)
1650
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$b, [
1650
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$c, [
1651
1651
  vue.createElementVNode("img", { src: $data.flag }, null, 8 /* PROPS */, _hoisted_3$b),
1652
1652
  vue.createTextVNode(" " + vue.toDisplayString($data.selectedCountry.dialCode), 1 /* TEXT */)
1653
1653
  ]))
@@ -1679,10 +1679,10 @@ function render$7(_ctx, _cache, $props, $setup, $data, $options) {
1679
1679
  ]))
1680
1680
  }
1681
1681
 
1682
- script$c.render = render$7;
1683
- script$c.__file = "src/lib/components/ShPhone.vue";
1682
+ script$e.render = render$7;
1683
+ script$e.__file = "src/lib/components/ShPhone.vue";
1684
1684
 
1685
- var script$b = {
1685
+ var script$d = {
1686
1686
  name: 'ShEditor',
1687
1687
  props: ['modelValue'],
1688
1688
  components: {
@@ -1721,7 +1721,7 @@ var script$b = {
1721
1721
  }
1722
1722
  };
1723
1723
 
1724
- const _hoisted_1$b = /*#__PURE__*/vue.createElementVNode("textarea", {
1724
+ const _hoisted_1$d = /*#__PURE__*/vue.createElementVNode("textarea", {
1725
1725
  id: "tiny",
1726
1726
  style: {"display":"none"},
1727
1727
  "data-cy": "tinymce_editor"
@@ -1731,7 +1731,7 @@ function render$6(_ctx, _cache, $props, $setup, $data, $options) {
1731
1731
  const _component_editor = vue.resolveComponent("editor");
1732
1732
 
1733
1733
  return (vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
1734
- _hoisted_1$b,
1734
+ _hoisted_1$d,
1735
1735
  vue.createElementVNode("div", {
1736
1736
  onFocusin: _cache[1] || (_cache[1] = vue.withModifiers(() => {}, ["stop"])),
1737
1737
  class: "sh-editor w-100"
@@ -1756,14 +1756,14 @@ function render$6(_ctx, _cache, $props, $setup, $data, $options) {
1756
1756
  ], 64 /* STABLE_FRAGMENT */))
1757
1757
  }
1758
1758
 
1759
- script$b.render = render$6;
1760
- script$b.__file = "src/lib/components/FormComponent/ShEditor.vue";
1759
+ script$d.render = render$6;
1760
+ script$d.__file = "src/lib/components/FormComponent/ShEditor.vue";
1761
1761
 
1762
- const _hoisted_1$a = {
1762
+ const _hoisted_1$c = {
1763
1763
  key: 0,
1764
1764
  class: "dropdown sh-suggest"
1765
1765
  };
1766
- const _hoisted_2$a = ["id"];
1766
+ const _hoisted_2$b = ["id"];
1767
1767
  const _hoisted_3$a = { class: "badge bg-secondary m-1 sh-selected-item" };
1768
1768
  const _hoisted_4$a = ["onClick"];
1769
1769
  const _hoisted_5$6 = ["id"];
@@ -1780,7 +1780,7 @@ const _hoisted_10$3 = {
1780
1780
  };
1781
1781
 
1782
1782
 
1783
- var script$a = {
1783
+ var script$c = {
1784
1784
  __name: 'ShSuggest',
1785
1785
  props: ['fillSelects','modelValue'],
1786
1786
  emits: ['update:modelValue'],
@@ -1861,7 +1861,7 @@ function filterData(e){
1861
1861
 
1862
1862
  return (_ctx, _cache) => {
1863
1863
  return (vue.unref(id))
1864
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$a, [
1864
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$c, [
1865
1865
  vue.createElementVNode("div", {
1866
1866
  id: vue.unref(id),
1867
1867
  "data-bs-toggle": "dropdown",
@@ -1888,7 +1888,7 @@ return (_ctx, _cache) => {
1888
1888
  onInput: filterData,
1889
1889
  class: "flex-fill h-100 sh-suggestion-input"
1890
1890
  }, null, 40 /* PROPS, HYDRATE_EVENTS */, _hoisted_5$6)
1891
- ], 8 /* PROPS */, _hoisted_2$a),
1891
+ ], 8 /* PROPS */, _hoisted_2$b),
1892
1892
  vue.createElementVNode("ul", {
1893
1893
  class: "dropdown-menu w-100",
1894
1894
  id: 'dropwdown_section' + vue.unref(id),
@@ -1921,15 +1921,15 @@ return (_ctx, _cache) => {
1921
1921
 
1922
1922
  };
1923
1923
 
1924
- script$a.__scopeId = "data-v-5b767123";
1925
- script$a.__file = "src/lib/components/FormComponent/ShSuggest.vue";
1924
+ script$c.__scopeId = "data-v-5b767123";
1925
+ script$c.__file = "src/lib/components/FormComponent/ShSuggest.vue";
1926
1926
 
1927
- var script$9 = {
1927
+ var script$b = {
1928
1928
  name: 'ShForm',
1929
1929
  components: {
1930
- ShSuggest: script$a,
1931
- ShEditor: script$b,
1932
- ShPhone: script$c
1930
+ ShSuggest: script$c,
1931
+ ShEditor: script$d,
1932
+ ShPhone: script$e
1933
1933
  },
1934
1934
  props: [
1935
1935
  'action',
@@ -2241,8 +2241,8 @@ var script$9 = {
2241
2241
  }
2242
2242
  };
2243
2243
 
2244
- const _hoisted_1$9 = /*#__PURE__*/vue.createElementVNode("h5", { class: "d-none" }, null, -1 /* HOISTED */);
2245
- const _hoisted_2$9 = {
2244
+ const _hoisted_1$b = /*#__PURE__*/vue.createElementVNode("h5", { class: "d-none" }, null, -1 /* HOISTED */);
2245
+ const _hoisted_2$a = {
2246
2246
  ref: "ShAutoForm",
2247
2247
  class: "sh-form"
2248
2248
  };
@@ -2303,8 +2303,8 @@ function render$5(_ctx, _cache, $props, $setup, $data, $options) {
2303
2303
  const _component_ShEditor = vue.resolveComponent("ShEditor");
2304
2304
 
2305
2305
  return (vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
2306
- _hoisted_1$9,
2307
- vue.createElementVNode("form", _hoisted_2$9, [
2306
+ _hoisted_1$b,
2307
+ vue.createElementVNode("form", _hoisted_2$a, [
2308
2308
  vue.createCommentVNode(" <div v-if=\"form_status == 1\" class=\"alert alert-info\">Processing...</div>"),
2309
2309
  vue.createCommentVNode(" <div v-if=\"form_status == 2\" class=\"alert alert-success\">Success</div>"),
2310
2310
  (_ctx.form_status == 3)
@@ -2520,10 +2520,173 @@ function render$5(_ctx, _cache, $props, $setup, $data, $options) {
2520
2520
  ], 64 /* STABLE_FRAGMENT */))
2521
2521
  }
2522
2522
 
2523
- script$9.render = render$5;
2524
- script$9.__file = "src/lib/components/ShForm.vue";
2523
+ script$b.render = render$5;
2524
+ script$b.__file = "src/lib/components/ShForm.vue";
2525
+
2526
+ const _hoisted_1$a = /*#__PURE__*/vue.createElementVNode("h5", { class: "d-none" }, "To prevent default class", -1 /* HOISTED */);
2527
+ const _hoisted_2$9 = { class: "dropdown" };
2528
+
2529
+ var script$a = {
2530
+ __name: 'ShDropDownForm',
2531
+ props: ['action',
2532
+ 'classes',
2533
+ 'hasTerms',
2534
+ 'country_code',
2535
+ 'submitBtnClass',
2536
+ 'fields',
2537
+ 'columns', 'placeholders', 'field_permissions', 'retainDataAfterSubmission',
2538
+ 'currentData', 'actionLabel', 'fillSelects', 'phones', 'successCallback',
2539
+ 'failedCallback', 'labels', 'editors',
2540
+ 'datePickers',
2541
+ 'textAreas',
2542
+ 'files',
2543
+ 'phones',
2544
+ 'numbers',
2545
+ 'customComponent','modalTitle','class'],
2546
+ setup(__props) {
2547
+
2548
+ const props = __props;
2549
+
2550
+
2551
+
2552
+ vue.ref(props);
2553
+ let btnClass=props.class;
2554
+ const dropdownId = 'rand' + (Math.random() + 1).toString(36).substring(2);
2555
+
2556
+
2557
+ return (_ctx, _cache) => {
2558
+ return (vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
2559
+ _hoisted_1$a,
2560
+ vue.createElementVNode("div", _hoisted_2$9, [
2561
+ vue.createElementVNode("a", {
2562
+ class: vue.normalizeClass(vue.unref(btnClass)),
2563
+ href: "#",
2564
+ role: "button",
2565
+ id: dropdownId,
2566
+ "data-bs-toggle": "dropdown",
2567
+ "data-bs-auto-close": "outside",
2568
+ "aria-expanded": "false"
2569
+ }, [
2570
+ vue.renderSlot(_ctx.$slots, "default")
2571
+ ], 2 /* CLASS */),
2572
+ vue.createElementVNode("div", {
2573
+ class: "dropdown-menu px-2 py-1",
2574
+ "aria-labelledby": dropdownId
2575
+ }, [
2576
+ vue.createVNode(script$b, vue.normalizeProps(vue.guardReactiveProps(props)), null, 16 /* FULL_PROPS */)
2577
+ ])
2578
+ ])
2579
+ ], 64 /* STABLE_FRAGMENT */))
2580
+ }
2581
+ }
2582
+
2583
+ };
2584
+
2585
+ script$a.__file = "src/lib/components/ShDropDownForm.vue";
2586
+
2587
+ var script$9 = {
2588
+ name: 'ShModal',
2589
+ props: ['modalTitle', 'modalId', 'modalSize'],
2590
+ components: {
2591
+ }
2592
+ };
2593
+
2594
+ const _hoisted_1$9 = ["id"];
2595
+ const _hoisted_2$8 = { class: "modal-content" };
2596
+ const _hoisted_3$8 = { class: "modal-header" };
2597
+ const _hoisted_4$8 = { class: "modal-title" };
2598
+ const _hoisted_5$4 = /*#__PURE__*/vue.createElementVNode("button", {
2599
+ class: "btn btn-danger btn-sm",
2600
+ "data-bs-dismiss": "modal",
2601
+ "data-dismiss": "modal"
2602
+ }, "×", -1 /* HOISTED */);
2603
+ const _hoisted_6$3 = { class: "modal-body" };
2604
+ const _hoisted_7$2 = { class: "section" };
2605
+
2606
+ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
2607
+ return (vue.openBlock(), vue.createElementBlock("div", {
2608
+ class: "modal fade",
2609
+ id: $props.modalId,
2610
+ "aria-hidden": "true"
2611
+ }, [
2612
+ vue.createElementVNode("div", {
2613
+ class: vue.normalizeClass(["modal-dialog", `modal-${$props.modalSize}`])
2614
+ }, [
2615
+ vue.createElementVNode("div", _hoisted_2$8, [
2616
+ vue.createElementVNode("div", _hoisted_3$8, [
2617
+ vue.createElementVNode("h3", _hoisted_4$8, vue.toDisplayString($props.modalTitle), 1 /* TEXT */),
2618
+ _hoisted_5$4
2619
+ ]),
2620
+ vue.createElementVNode("div", _hoisted_6$3, [
2621
+ vue.createElementVNode("div", _hoisted_7$2, [
2622
+ vue.renderSlot(_ctx.$slots, "default")
2623
+ ])
2624
+ ])
2625
+ ])
2626
+ ], 2 /* CLASS */)
2627
+ ], 8 /* PROPS */, _hoisted_1$9))
2628
+ }
2629
+
2630
+ script$9.render = render$4;
2631
+ script$9.__file = "src/lib/components/ShModal.vue";
2632
+
2633
+ const _hoisted_1$8 = ["href"];
2525
2634
 
2526
2635
  var script$8 = {
2636
+ __name: 'ShModalForm',
2637
+ props: ['action',
2638
+ 'classes',
2639
+ 'hasTerms',
2640
+ 'country_code',
2641
+ 'submitBtnClass',
2642
+ 'fields',
2643
+ 'columns', 'placeholders', 'field_permissions', 'retainDataAfterSubmission',
2644
+ 'currentData', 'actionLabel', 'fillSelects', 'phones', 'successCallback',
2645
+ 'failedCallback', 'labels', 'editors',
2646
+ 'datePickers',
2647
+ 'textAreas',
2648
+ 'files',
2649
+ 'phones',
2650
+ 'numbers',
2651
+ 'customComponent','modalTitle','class'],
2652
+ setup(__props) {
2653
+
2654
+ const props = __props;
2655
+
2656
+
2657
+
2658
+ vue.ref(props);
2659
+ let btnClass=props.class;
2660
+ const modalId = 'rand' + (Math.random() + 1).toString(36).substring(2);
2661
+
2662
+
2663
+ return (_ctx, _cache) => {
2664
+ return (vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
2665
+ vue.createElementVNode("a", {
2666
+ class: vue.normalizeClass(vue.unref(btnClass)),
2667
+ href: '#' + modalId,
2668
+ "data-bs-toggle": "modal"
2669
+ }, [
2670
+ vue.renderSlot(_ctx.$slots, "default")
2671
+ ], 10 /* CLASS, PROPS */, _hoisted_1$8),
2672
+ vue.createVNode(script$9, {
2673
+ "modal-id": modalId,
2674
+ "modal-title": __props.modalTitle
2675
+ }, {
2676
+ default: vue.withCtx(() => [
2677
+ vue.createVNode(script$b, vue.normalizeProps(vue.guardReactiveProps(props)), null, 16 /* FULL_PROPS */)
2678
+ ]),
2679
+ _: 1 /* STABLE */
2680
+ }, 8 /* PROPS */, ["modal-title"])
2681
+ ], 64 /* STABLE_FRAGMENT */))
2682
+ }
2683
+ }
2684
+
2685
+ };
2686
+
2687
+ script$8.__file = "src/lib/components/ShModalForm.vue";
2688
+
2689
+ var script$7 = {
2527
2690
  name: 'ShCanvas',
2528
2691
  props: ['canvasTitle', 'canvasId', 'position','canvasSize'],
2529
2692
  components: {
@@ -2540,15 +2703,15 @@ var script$8 = {
2540
2703
  }
2541
2704
  };
2542
2705
 
2543
- const _hoisted_1$8 = ["id"];
2544
- const _hoisted_2$8 = { class: "offcanvas-header" };
2545
- const _hoisted_3$8 = {
2706
+ const _hoisted_1$7 = ["id"];
2707
+ const _hoisted_2$7 = { class: "offcanvas-header" };
2708
+ const _hoisted_3$7 = {
2546
2709
  class: "offcanvas-title",
2547
2710
  id: "offcanvasScrollingLabel"
2548
2711
  };
2549
- const _hoisted_4$8 = { class: "offcanvas-body" };
2712
+ const _hoisted_4$7 = { class: "offcanvas-body" };
2550
2713
 
2551
- function render$4(_ctx, _cache, $props, $setup, $data, $options) {
2714
+ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
2552
2715
  return (vue.openBlock(), vue.createElementBlock("div", {
2553
2716
  class: vue.normalizeClass(["offcanvas", $data.side +' '+ $props.canvasSize + '']),
2554
2717
  "data-bs-scroll": "true",
@@ -2556,8 +2719,8 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
2556
2719
  id: $props.canvasId,
2557
2720
  "aria-labelledby": "offcanvasScrollingLabel"
2558
2721
  }, [
2559
- vue.createElementVNode("div", _hoisted_2$8, [
2560
- vue.createElementVNode("h5", _hoisted_3$8, vue.toDisplayString($props.canvasTitle), 1 /* TEXT */),
2722
+ vue.createElementVNode("div", _hoisted_2$7, [
2723
+ vue.createElementVNode("h5", _hoisted_3$7, vue.toDisplayString($props.canvasTitle), 1 /* TEXT */),
2561
2724
  vue.createElementVNode("button", {
2562
2725
  type: "button",
2563
2726
  ref: "closecanvas",
@@ -2567,60 +2730,14 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
2567
2730
  "aria-label": "Close"
2568
2731
  }, null, 512 /* NEED_PATCH */)
2569
2732
  ]),
2570
- vue.createElementVNode("div", _hoisted_4$8, [
2733
+ vue.createElementVNode("div", _hoisted_4$7, [
2571
2734
  vue.renderSlot(_ctx.$slots, "default")
2572
2735
  ])
2573
- ], 10 /* CLASS, PROPS */, _hoisted_1$8))
2574
- }
2575
-
2576
- script$8.render = render$4;
2577
- script$8.__file = "src/lib/components/ShCanvas.vue";
2578
-
2579
- var script$7 = {
2580
- name: 'ShModal',
2581
- props: ['modalTitle', 'modalId', 'modalSize'],
2582
- components: {
2583
- }
2584
- };
2585
-
2586
- const _hoisted_1$7 = ["id"];
2587
- const _hoisted_2$7 = { class: "modal-content" };
2588
- const _hoisted_3$7 = { class: "modal-header" };
2589
- const _hoisted_4$7 = { class: "modal-title" };
2590
- const _hoisted_5$4 = /*#__PURE__*/vue.createElementVNode("button", {
2591
- class: "btn btn-danger btn-sm",
2592
- "data-bs-dismiss": "modal",
2593
- "data-dismiss": "modal"
2594
- }, "×", -1 /* HOISTED */);
2595
- const _hoisted_6$3 = { class: "modal-body" };
2596
- const _hoisted_7$2 = { class: "section" };
2597
-
2598
- function render$3(_ctx, _cache, $props, $setup, $data, $options) {
2599
- return (vue.openBlock(), vue.createElementBlock("div", {
2600
- class: "modal fade",
2601
- id: $props.modalId,
2602
- "aria-hidden": "true"
2603
- }, [
2604
- vue.createElementVNode("div", {
2605
- class: vue.normalizeClass(["modal-dialog", `modal-${$props.modalSize}`])
2606
- }, [
2607
- vue.createElementVNode("div", _hoisted_2$7, [
2608
- vue.createElementVNode("div", _hoisted_3$7, [
2609
- vue.createElementVNode("h3", _hoisted_4$7, vue.toDisplayString($props.modalTitle), 1 /* TEXT */),
2610
- _hoisted_5$4
2611
- ]),
2612
- vue.createElementVNode("div", _hoisted_6$3, [
2613
- vue.createElementVNode("div", _hoisted_7$2, [
2614
- vue.renderSlot(_ctx.$slots, "default")
2615
- ])
2616
- ])
2617
- ])
2618
- ], 2 /* CLASS */)
2619
- ], 8 /* PROPS */, _hoisted_1$7))
2736
+ ], 10 /* CLASS, PROPS */, _hoisted_1$7))
2620
2737
  }
2621
2738
 
2622
2739
  script$7.render = render$3;
2623
- script$7.__file = "src/lib/components/ShModal.vue";
2740
+ script$7.__file = "src/lib/components/ShCanvas.vue";
2624
2741
 
2625
2742
  var script$6 = {
2626
2743
  name: 'Pagination',
@@ -3202,7 +3319,7 @@ var script$5 = {
3202
3319
  this.reloadData();
3203
3320
  },
3204
3321
  components: {
3205
- ShCanvas: script$8,
3322
+ ShCanvas: script$7,
3206
3323
  pagination: script$6
3207
3324
  },
3208
3325
  computed: {
@@ -4152,12 +4269,12 @@ return (_ctx, _cache) => {
4152
4269
  ]
4153
4270
  }
4154
4271
  }),
4155
- vue.createVNode(script$7, {
4272
+ vue.createVNode(script$9, {
4156
4273
  "modal-id": "sh-department_modal",
4157
4274
  "modal-title": "Department Form"
4158
4275
  }, {
4159
4276
  default: vue.withCtx(() => [
4160
- vue.createVNode(script$9, {
4277
+ vue.createVNode(script$b, {
4161
4278
  "success-callback": "departmentAdded",
4162
4279
  onDepartmentAdded: departmentAdded,
4163
4280
  action: "admin/departments/store",
@@ -4311,12 +4428,12 @@ return (_ctx, _cache) => {
4311
4428
  headers: ['id',showModule,'created_at'],
4312
4429
  "end-point": 'admin/departments/department/list-modules/' + id.value
4313
4430
  }, null, 8 /* PROPS */, ["actions", "reload", "headers", "end-point"]),
4314
- vue.createVNode(script$7, {
4431
+ vue.createVNode(script$9, {
4315
4432
  "modal-id": "addModule",
4316
4433
  "modal-title": "Add Module Department"
4317
4434
  }, {
4318
4435
  default: vue.withCtx(() => [
4319
- vue.createVNode(script$9, {
4436
+ vue.createVNode(script$b, {
4320
4437
  "reload-select-items": vue.unref(reload),
4321
4438
  "success-callback": moduleAdded,
4322
4439
  "fill-selects": {
@@ -4338,7 +4455,7 @@ return (_ctx, _cache) => {
4338
4455
  ref: permissionCanvasBtn,
4339
4456
  "data-bs-toggle": "offcanvas"
4340
4457
  }, null, 512 /* NEED_PATCH */),
4341
- vue.createVNode(script$8, {
4458
+ vue.createVNode(script$7, {
4342
4459
  "canvas-id": "permissionsCanvas",
4343
4460
  position: "end enlarged",
4344
4461
  "canvas-title": "Module Permissions"
@@ -4453,7 +4570,7 @@ return (_ctx, _cache) => {
4453
4570
  : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
4454
4571
  (section.value === 'login')
4455
4572
  ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2, [
4456
- vue.createVNode(script$9, {
4573
+ vue.createVNode(script$b, {
4457
4574
  class: "sh-login-form",
4458
4575
  fields: ['email','password'],
4459
4576
  "action-label": "Login",
@@ -4478,7 +4595,7 @@ return (_ctx, _cache) => {
4478
4595
  (vue.unref(registerSubTitle))
4479
4596
  ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_8, vue.toDisplayString(vue.unref(registerSubTitle)), 1 /* TEXT */))
4480
4597
  : vue.createCommentVNode("v-if", true),
4481
- vue.createVNode(script$9, {
4598
+ vue.createVNode(script$b, {
4482
4599
  class: "sh-login-form",
4483
4600
  fields: vue.unref(registrationFields),
4484
4601
  "action-label": "Sign Up",
@@ -4542,12 +4659,14 @@ const ShFrontend = {
4542
4659
  }
4543
4660
  };
4544
4661
 
4545
- exports.ShCanvas = script$8;
4662
+ exports.ShCanvas = script$7;
4663
+ exports.ShDropDownForm = script$a;
4546
4664
  exports.ShDynamicTabs = script$3;
4547
- exports.ShForm = script$9;
4665
+ exports.ShForm = script$b;
4548
4666
  exports.ShFrontend = ShFrontend;
4549
- exports.ShModal = script$7;
4550
- exports.ShPhone = script$c;
4667
+ exports.ShModal = script$9;
4668
+ exports.ShModalForm = script$8;
4669
+ exports.ShPhone = script$e;
4551
4670
  exports.ShTable = script$5;
4552
4671
  exports.ShTabs = script$4;
4553
4672
  exports.shApis = shApis;
package/dist/library.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import Axios from 'axios';
2
2
  import moment from 'moment';
3
- import { inject, openBlock, createElementBlock, createElementVNode, createTextVNode, toDisplayString, createCommentVNode, withDirectives, Fragment, renderList, vModelSelect, vModelText, resolveComponent, withModifiers, createVNode, ref, onMounted, unref, normalizeClass, createBlock, resolveDynamicComponent, renderSlot, createStaticVNode, withCtx, shallowRef, Teleport, computed, isRef, vModelCheckbox, watch, pushScopeId, popScopeId } from 'vue';
3
+ import { inject, openBlock, createElementBlock, createElementVNode, createTextVNode, toDisplayString, createCommentVNode, withDirectives, Fragment, renderList, vModelSelect, vModelText, resolveComponent, withModifiers, createVNode, ref, onMounted, unref, normalizeClass, createBlock, resolveDynamicComponent, renderSlot, normalizeProps, guardReactiveProps, withCtx, createStaticVNode, shallowRef, Teleport, computed, isRef, vModelCheckbox, watch, pushScopeId, popScopeId } from 'vue';
4
4
  import NProgress from 'nprogress';
5
5
  import Editor from '@tinymce/tinymce-vue';
6
6
  import Swal from 'sweetalert2';
@@ -1562,7 +1562,7 @@ const countries = [
1562
1562
  }
1563
1563
  ];
1564
1564
 
1565
- var script$c = {
1565
+ var script$e = {
1566
1566
  name: 'ShPhone',
1567
1567
  props: ['modelValue', 'country_code'],
1568
1568
  data () {
@@ -1624,8 +1624,8 @@ var script$c = {
1624
1624
  }
1625
1625
  };
1626
1626
 
1627
- const _hoisted_1$c = { class: "sh-phone mb-3" };
1628
- const _hoisted_2$b = {
1627
+ const _hoisted_1$e = { class: "sh-phone mb-3" };
1628
+ const _hoisted_2$c = {
1629
1629
  key: 0,
1630
1630
  style: {"display":"contents"}
1631
1631
  };
@@ -1633,9 +1633,9 @@ const _hoisted_3$b = ["src"];
1633
1633
  const _hoisted_4$b = ["value"];
1634
1634
 
1635
1635
  function render$7(_ctx, _cache, $props, $setup, $data, $options) {
1636
- return (openBlock(), createElementBlock("div", _hoisted_1$c, [
1636
+ return (openBlock(), createElementBlock("div", _hoisted_1$e, [
1637
1637
  ($data.selectedCountry)
1638
- ? (openBlock(), createElementBlock("div", _hoisted_2$b, [
1638
+ ? (openBlock(), createElementBlock("div", _hoisted_2$c, [
1639
1639
  createElementVNode("img", { src: $data.flag }, null, 8 /* PROPS */, _hoisted_3$b),
1640
1640
  createTextVNode(" " + toDisplayString($data.selectedCountry.dialCode), 1 /* TEXT */)
1641
1641
  ]))
@@ -1667,10 +1667,10 @@ function render$7(_ctx, _cache, $props, $setup, $data, $options) {
1667
1667
  ]))
1668
1668
  }
1669
1669
 
1670
- script$c.render = render$7;
1671
- script$c.__file = "src/lib/components/ShPhone.vue";
1670
+ script$e.render = render$7;
1671
+ script$e.__file = "src/lib/components/ShPhone.vue";
1672
1672
 
1673
- var script$b = {
1673
+ var script$d = {
1674
1674
  name: 'ShEditor',
1675
1675
  props: ['modelValue'],
1676
1676
  components: {
@@ -1709,7 +1709,7 @@ var script$b = {
1709
1709
  }
1710
1710
  };
1711
1711
 
1712
- const _hoisted_1$b = /*#__PURE__*/createElementVNode("textarea", {
1712
+ const _hoisted_1$d = /*#__PURE__*/createElementVNode("textarea", {
1713
1713
  id: "tiny",
1714
1714
  style: {"display":"none"},
1715
1715
  "data-cy": "tinymce_editor"
@@ -1719,7 +1719,7 @@ function render$6(_ctx, _cache, $props, $setup, $data, $options) {
1719
1719
  const _component_editor = resolveComponent("editor");
1720
1720
 
1721
1721
  return (openBlock(), createElementBlock(Fragment, null, [
1722
- _hoisted_1$b,
1722
+ _hoisted_1$d,
1723
1723
  createElementVNode("div", {
1724
1724
  onFocusin: _cache[1] || (_cache[1] = withModifiers(() => {}, ["stop"])),
1725
1725
  class: "sh-editor w-100"
@@ -1744,14 +1744,14 @@ function render$6(_ctx, _cache, $props, $setup, $data, $options) {
1744
1744
  ], 64 /* STABLE_FRAGMENT */))
1745
1745
  }
1746
1746
 
1747
- script$b.render = render$6;
1748
- script$b.__file = "src/lib/components/FormComponent/ShEditor.vue";
1747
+ script$d.render = render$6;
1748
+ script$d.__file = "src/lib/components/FormComponent/ShEditor.vue";
1749
1749
 
1750
- const _hoisted_1$a = {
1750
+ const _hoisted_1$c = {
1751
1751
  key: 0,
1752
1752
  class: "dropdown sh-suggest"
1753
1753
  };
1754
- const _hoisted_2$a = ["id"];
1754
+ const _hoisted_2$b = ["id"];
1755
1755
  const _hoisted_3$a = { class: "badge bg-secondary m-1 sh-selected-item" };
1756
1756
  const _hoisted_4$a = ["onClick"];
1757
1757
  const _hoisted_5$6 = ["id"];
@@ -1768,7 +1768,7 @@ const _hoisted_10$3 = {
1768
1768
  };
1769
1769
 
1770
1770
 
1771
- var script$a = {
1771
+ var script$c = {
1772
1772
  __name: 'ShSuggest',
1773
1773
  props: ['fillSelects','modelValue'],
1774
1774
  emits: ['update:modelValue'],
@@ -1849,7 +1849,7 @@ function filterData(e){
1849
1849
 
1850
1850
  return (_ctx, _cache) => {
1851
1851
  return (unref(id))
1852
- ? (openBlock(), createElementBlock("div", _hoisted_1$a, [
1852
+ ? (openBlock(), createElementBlock("div", _hoisted_1$c, [
1853
1853
  createElementVNode("div", {
1854
1854
  id: unref(id),
1855
1855
  "data-bs-toggle": "dropdown",
@@ -1876,7 +1876,7 @@ return (_ctx, _cache) => {
1876
1876
  onInput: filterData,
1877
1877
  class: "flex-fill h-100 sh-suggestion-input"
1878
1878
  }, null, 40 /* PROPS, HYDRATE_EVENTS */, _hoisted_5$6)
1879
- ], 8 /* PROPS */, _hoisted_2$a),
1879
+ ], 8 /* PROPS */, _hoisted_2$b),
1880
1880
  createElementVNode("ul", {
1881
1881
  class: "dropdown-menu w-100",
1882
1882
  id: 'dropwdown_section' + unref(id),
@@ -1909,15 +1909,15 @@ return (_ctx, _cache) => {
1909
1909
 
1910
1910
  };
1911
1911
 
1912
- script$a.__scopeId = "data-v-5b767123";
1913
- script$a.__file = "src/lib/components/FormComponent/ShSuggest.vue";
1912
+ script$c.__scopeId = "data-v-5b767123";
1913
+ script$c.__file = "src/lib/components/FormComponent/ShSuggest.vue";
1914
1914
 
1915
- var script$9 = {
1915
+ var script$b = {
1916
1916
  name: 'ShForm',
1917
1917
  components: {
1918
- ShSuggest: script$a,
1919
- ShEditor: script$b,
1920
- ShPhone: script$c
1918
+ ShSuggest: script$c,
1919
+ ShEditor: script$d,
1920
+ ShPhone: script$e
1921
1921
  },
1922
1922
  props: [
1923
1923
  'action',
@@ -2229,8 +2229,8 @@ var script$9 = {
2229
2229
  }
2230
2230
  };
2231
2231
 
2232
- const _hoisted_1$9 = /*#__PURE__*/createElementVNode("h5", { class: "d-none" }, null, -1 /* HOISTED */);
2233
- const _hoisted_2$9 = {
2232
+ const _hoisted_1$b = /*#__PURE__*/createElementVNode("h5", { class: "d-none" }, null, -1 /* HOISTED */);
2233
+ const _hoisted_2$a = {
2234
2234
  ref: "ShAutoForm",
2235
2235
  class: "sh-form"
2236
2236
  };
@@ -2291,8 +2291,8 @@ function render$5(_ctx, _cache, $props, $setup, $data, $options) {
2291
2291
  const _component_ShEditor = resolveComponent("ShEditor");
2292
2292
 
2293
2293
  return (openBlock(), createElementBlock(Fragment, null, [
2294
- _hoisted_1$9,
2295
- createElementVNode("form", _hoisted_2$9, [
2294
+ _hoisted_1$b,
2295
+ createElementVNode("form", _hoisted_2$a, [
2296
2296
  createCommentVNode(" <div v-if=\"form_status == 1\" class=\"alert alert-info\">Processing...</div>"),
2297
2297
  createCommentVNode(" <div v-if=\"form_status == 2\" class=\"alert alert-success\">Success</div>"),
2298
2298
  (_ctx.form_status == 3)
@@ -2508,10 +2508,173 @@ function render$5(_ctx, _cache, $props, $setup, $data, $options) {
2508
2508
  ], 64 /* STABLE_FRAGMENT */))
2509
2509
  }
2510
2510
 
2511
- script$9.render = render$5;
2512
- script$9.__file = "src/lib/components/ShForm.vue";
2511
+ script$b.render = render$5;
2512
+ script$b.__file = "src/lib/components/ShForm.vue";
2513
+
2514
+ const _hoisted_1$a = /*#__PURE__*/createElementVNode("h5", { class: "d-none" }, "To prevent default class", -1 /* HOISTED */);
2515
+ const _hoisted_2$9 = { class: "dropdown" };
2516
+
2517
+ var script$a = {
2518
+ __name: 'ShDropDownForm',
2519
+ props: ['action',
2520
+ 'classes',
2521
+ 'hasTerms',
2522
+ 'country_code',
2523
+ 'submitBtnClass',
2524
+ 'fields',
2525
+ 'columns', 'placeholders', 'field_permissions', 'retainDataAfterSubmission',
2526
+ 'currentData', 'actionLabel', 'fillSelects', 'phones', 'successCallback',
2527
+ 'failedCallback', 'labels', 'editors',
2528
+ 'datePickers',
2529
+ 'textAreas',
2530
+ 'files',
2531
+ 'phones',
2532
+ 'numbers',
2533
+ 'customComponent','modalTitle','class'],
2534
+ setup(__props) {
2535
+
2536
+ const props = __props;
2537
+
2538
+
2539
+
2540
+ ref(props);
2541
+ let btnClass=props.class;
2542
+ const dropdownId = 'rand' + (Math.random() + 1).toString(36).substring(2);
2543
+
2544
+
2545
+ return (_ctx, _cache) => {
2546
+ return (openBlock(), createElementBlock(Fragment, null, [
2547
+ _hoisted_1$a,
2548
+ createElementVNode("div", _hoisted_2$9, [
2549
+ createElementVNode("a", {
2550
+ class: normalizeClass(unref(btnClass)),
2551
+ href: "#",
2552
+ role: "button",
2553
+ id: dropdownId,
2554
+ "data-bs-toggle": "dropdown",
2555
+ "data-bs-auto-close": "outside",
2556
+ "aria-expanded": "false"
2557
+ }, [
2558
+ renderSlot(_ctx.$slots, "default")
2559
+ ], 2 /* CLASS */),
2560
+ createElementVNode("div", {
2561
+ class: "dropdown-menu px-2 py-1",
2562
+ "aria-labelledby": dropdownId
2563
+ }, [
2564
+ createVNode(script$b, normalizeProps(guardReactiveProps(props)), null, 16 /* FULL_PROPS */)
2565
+ ])
2566
+ ])
2567
+ ], 64 /* STABLE_FRAGMENT */))
2568
+ }
2569
+ }
2570
+
2571
+ };
2572
+
2573
+ script$a.__file = "src/lib/components/ShDropDownForm.vue";
2574
+
2575
+ var script$9 = {
2576
+ name: 'ShModal',
2577
+ props: ['modalTitle', 'modalId', 'modalSize'],
2578
+ components: {
2579
+ }
2580
+ };
2581
+
2582
+ const _hoisted_1$9 = ["id"];
2583
+ const _hoisted_2$8 = { class: "modal-content" };
2584
+ const _hoisted_3$8 = { class: "modal-header" };
2585
+ const _hoisted_4$8 = { class: "modal-title" };
2586
+ const _hoisted_5$4 = /*#__PURE__*/createElementVNode("button", {
2587
+ class: "btn btn-danger btn-sm",
2588
+ "data-bs-dismiss": "modal",
2589
+ "data-dismiss": "modal"
2590
+ }, "×", -1 /* HOISTED */);
2591
+ const _hoisted_6$3 = { class: "modal-body" };
2592
+ const _hoisted_7$2 = { class: "section" };
2593
+
2594
+ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
2595
+ return (openBlock(), createElementBlock("div", {
2596
+ class: "modal fade",
2597
+ id: $props.modalId,
2598
+ "aria-hidden": "true"
2599
+ }, [
2600
+ createElementVNode("div", {
2601
+ class: normalizeClass(["modal-dialog", `modal-${$props.modalSize}`])
2602
+ }, [
2603
+ createElementVNode("div", _hoisted_2$8, [
2604
+ createElementVNode("div", _hoisted_3$8, [
2605
+ createElementVNode("h3", _hoisted_4$8, toDisplayString($props.modalTitle), 1 /* TEXT */),
2606
+ _hoisted_5$4
2607
+ ]),
2608
+ createElementVNode("div", _hoisted_6$3, [
2609
+ createElementVNode("div", _hoisted_7$2, [
2610
+ renderSlot(_ctx.$slots, "default")
2611
+ ])
2612
+ ])
2613
+ ])
2614
+ ], 2 /* CLASS */)
2615
+ ], 8 /* PROPS */, _hoisted_1$9))
2616
+ }
2617
+
2618
+ script$9.render = render$4;
2619
+ script$9.__file = "src/lib/components/ShModal.vue";
2620
+
2621
+ const _hoisted_1$8 = ["href"];
2513
2622
 
2514
2623
  var script$8 = {
2624
+ __name: 'ShModalForm',
2625
+ props: ['action',
2626
+ 'classes',
2627
+ 'hasTerms',
2628
+ 'country_code',
2629
+ 'submitBtnClass',
2630
+ 'fields',
2631
+ 'columns', 'placeholders', 'field_permissions', 'retainDataAfterSubmission',
2632
+ 'currentData', 'actionLabel', 'fillSelects', 'phones', 'successCallback',
2633
+ 'failedCallback', 'labels', 'editors',
2634
+ 'datePickers',
2635
+ 'textAreas',
2636
+ 'files',
2637
+ 'phones',
2638
+ 'numbers',
2639
+ 'customComponent','modalTitle','class'],
2640
+ setup(__props) {
2641
+
2642
+ const props = __props;
2643
+
2644
+
2645
+
2646
+ ref(props);
2647
+ let btnClass=props.class;
2648
+ const modalId = 'rand' + (Math.random() + 1).toString(36).substring(2);
2649
+
2650
+
2651
+ return (_ctx, _cache) => {
2652
+ return (openBlock(), createElementBlock(Fragment, null, [
2653
+ createElementVNode("a", {
2654
+ class: normalizeClass(unref(btnClass)),
2655
+ href: '#' + modalId,
2656
+ "data-bs-toggle": "modal"
2657
+ }, [
2658
+ renderSlot(_ctx.$slots, "default")
2659
+ ], 10 /* CLASS, PROPS */, _hoisted_1$8),
2660
+ createVNode(script$9, {
2661
+ "modal-id": modalId,
2662
+ "modal-title": __props.modalTitle
2663
+ }, {
2664
+ default: withCtx(() => [
2665
+ createVNode(script$b, normalizeProps(guardReactiveProps(props)), null, 16 /* FULL_PROPS */)
2666
+ ]),
2667
+ _: 1 /* STABLE */
2668
+ }, 8 /* PROPS */, ["modal-title"])
2669
+ ], 64 /* STABLE_FRAGMENT */))
2670
+ }
2671
+ }
2672
+
2673
+ };
2674
+
2675
+ script$8.__file = "src/lib/components/ShModalForm.vue";
2676
+
2677
+ var script$7 = {
2515
2678
  name: 'ShCanvas',
2516
2679
  props: ['canvasTitle', 'canvasId', 'position','canvasSize'],
2517
2680
  components: {
@@ -2528,15 +2691,15 @@ var script$8 = {
2528
2691
  }
2529
2692
  };
2530
2693
 
2531
- const _hoisted_1$8 = ["id"];
2532
- const _hoisted_2$8 = { class: "offcanvas-header" };
2533
- const _hoisted_3$8 = {
2694
+ const _hoisted_1$7 = ["id"];
2695
+ const _hoisted_2$7 = { class: "offcanvas-header" };
2696
+ const _hoisted_3$7 = {
2534
2697
  class: "offcanvas-title",
2535
2698
  id: "offcanvasScrollingLabel"
2536
2699
  };
2537
- const _hoisted_4$8 = { class: "offcanvas-body" };
2700
+ const _hoisted_4$7 = { class: "offcanvas-body" };
2538
2701
 
2539
- function render$4(_ctx, _cache, $props, $setup, $data, $options) {
2702
+ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
2540
2703
  return (openBlock(), createElementBlock("div", {
2541
2704
  class: normalizeClass(["offcanvas", $data.side +' '+ $props.canvasSize + '']),
2542
2705
  "data-bs-scroll": "true",
@@ -2544,8 +2707,8 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
2544
2707
  id: $props.canvasId,
2545
2708
  "aria-labelledby": "offcanvasScrollingLabel"
2546
2709
  }, [
2547
- createElementVNode("div", _hoisted_2$8, [
2548
- createElementVNode("h5", _hoisted_3$8, toDisplayString($props.canvasTitle), 1 /* TEXT */),
2710
+ createElementVNode("div", _hoisted_2$7, [
2711
+ createElementVNode("h5", _hoisted_3$7, toDisplayString($props.canvasTitle), 1 /* TEXT */),
2549
2712
  createElementVNode("button", {
2550
2713
  type: "button",
2551
2714
  ref: "closecanvas",
@@ -2555,60 +2718,14 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
2555
2718
  "aria-label": "Close"
2556
2719
  }, null, 512 /* NEED_PATCH */)
2557
2720
  ]),
2558
- createElementVNode("div", _hoisted_4$8, [
2721
+ createElementVNode("div", _hoisted_4$7, [
2559
2722
  renderSlot(_ctx.$slots, "default")
2560
2723
  ])
2561
- ], 10 /* CLASS, PROPS */, _hoisted_1$8))
2562
- }
2563
-
2564
- script$8.render = render$4;
2565
- script$8.__file = "src/lib/components/ShCanvas.vue";
2566
-
2567
- var script$7 = {
2568
- name: 'ShModal',
2569
- props: ['modalTitle', 'modalId', 'modalSize'],
2570
- components: {
2571
- }
2572
- };
2573
-
2574
- const _hoisted_1$7 = ["id"];
2575
- const _hoisted_2$7 = { class: "modal-content" };
2576
- const _hoisted_3$7 = { class: "modal-header" };
2577
- const _hoisted_4$7 = { class: "modal-title" };
2578
- const _hoisted_5$4 = /*#__PURE__*/createElementVNode("button", {
2579
- class: "btn btn-danger btn-sm",
2580
- "data-bs-dismiss": "modal",
2581
- "data-dismiss": "modal"
2582
- }, "×", -1 /* HOISTED */);
2583
- const _hoisted_6$3 = { class: "modal-body" };
2584
- const _hoisted_7$2 = { class: "section" };
2585
-
2586
- function render$3(_ctx, _cache, $props, $setup, $data, $options) {
2587
- return (openBlock(), createElementBlock("div", {
2588
- class: "modal fade",
2589
- id: $props.modalId,
2590
- "aria-hidden": "true"
2591
- }, [
2592
- createElementVNode("div", {
2593
- class: normalizeClass(["modal-dialog", `modal-${$props.modalSize}`])
2594
- }, [
2595
- createElementVNode("div", _hoisted_2$7, [
2596
- createElementVNode("div", _hoisted_3$7, [
2597
- createElementVNode("h3", _hoisted_4$7, toDisplayString($props.modalTitle), 1 /* TEXT */),
2598
- _hoisted_5$4
2599
- ]),
2600
- createElementVNode("div", _hoisted_6$3, [
2601
- createElementVNode("div", _hoisted_7$2, [
2602
- renderSlot(_ctx.$slots, "default")
2603
- ])
2604
- ])
2605
- ])
2606
- ], 2 /* CLASS */)
2607
- ], 8 /* PROPS */, _hoisted_1$7))
2724
+ ], 10 /* CLASS, PROPS */, _hoisted_1$7))
2608
2725
  }
2609
2726
 
2610
2727
  script$7.render = render$3;
2611
- script$7.__file = "src/lib/components/ShModal.vue";
2728
+ script$7.__file = "src/lib/components/ShCanvas.vue";
2612
2729
 
2613
2730
  var script$6 = {
2614
2731
  name: 'Pagination',
@@ -3190,7 +3307,7 @@ var script$5 = {
3190
3307
  this.reloadData();
3191
3308
  },
3192
3309
  components: {
3193
- ShCanvas: script$8,
3310
+ ShCanvas: script$7,
3194
3311
  pagination: script$6
3195
3312
  },
3196
3313
  computed: {
@@ -4140,12 +4257,12 @@ return (_ctx, _cache) => {
4140
4257
  ]
4141
4258
  }
4142
4259
  }),
4143
- createVNode(script$7, {
4260
+ createVNode(script$9, {
4144
4261
  "modal-id": "sh-department_modal",
4145
4262
  "modal-title": "Department Form"
4146
4263
  }, {
4147
4264
  default: withCtx(() => [
4148
- createVNode(script$9, {
4265
+ createVNode(script$b, {
4149
4266
  "success-callback": "departmentAdded",
4150
4267
  onDepartmentAdded: departmentAdded,
4151
4268
  action: "admin/departments/store",
@@ -4299,12 +4416,12 @@ return (_ctx, _cache) => {
4299
4416
  headers: ['id',showModule,'created_at'],
4300
4417
  "end-point": 'admin/departments/department/list-modules/' + id.value
4301
4418
  }, null, 8 /* PROPS */, ["actions", "reload", "headers", "end-point"]),
4302
- createVNode(script$7, {
4419
+ createVNode(script$9, {
4303
4420
  "modal-id": "addModule",
4304
4421
  "modal-title": "Add Module Department"
4305
4422
  }, {
4306
4423
  default: withCtx(() => [
4307
- createVNode(script$9, {
4424
+ createVNode(script$b, {
4308
4425
  "reload-select-items": unref(reload),
4309
4426
  "success-callback": moduleAdded,
4310
4427
  "fill-selects": {
@@ -4326,7 +4443,7 @@ return (_ctx, _cache) => {
4326
4443
  ref: permissionCanvasBtn,
4327
4444
  "data-bs-toggle": "offcanvas"
4328
4445
  }, null, 512 /* NEED_PATCH */),
4329
- createVNode(script$8, {
4446
+ createVNode(script$7, {
4330
4447
  "canvas-id": "permissionsCanvas",
4331
4448
  position: "end enlarged",
4332
4449
  "canvas-title": "Module Permissions"
@@ -4441,7 +4558,7 @@ return (_ctx, _cache) => {
4441
4558
  : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
4442
4559
  (section.value === 'login')
4443
4560
  ? (openBlock(), createElementBlock("div", _hoisted_2, [
4444
- createVNode(script$9, {
4561
+ createVNode(script$b, {
4445
4562
  class: "sh-login-form",
4446
4563
  fields: ['email','password'],
4447
4564
  "action-label": "Login",
@@ -4466,7 +4583,7 @@ return (_ctx, _cache) => {
4466
4583
  (unref(registerSubTitle))
4467
4584
  ? (openBlock(), createElementBlock("span", _hoisted_8, toDisplayString(unref(registerSubTitle)), 1 /* TEXT */))
4468
4585
  : createCommentVNode("v-if", true),
4469
- createVNode(script$9, {
4586
+ createVNode(script$b, {
4470
4587
  class: "sh-login-form",
4471
4588
  fields: unref(registrationFields),
4472
4589
  "action-label": "Sign Up",
@@ -4530,4 +4647,4 @@ const ShFrontend = {
4530
4647
  }
4531
4648
  };
4532
4649
 
4533
- export { script$8 as ShCanvas, script$3 as ShDynamicTabs, script$9 as ShForm, ShFrontend, script$7 as ShModal, script$c as ShPhone, script$5 as ShTable, script$4 as ShTabs, shApis, shRepo, ShStorage as shStorage, useUserStore };
4650
+ export { script$7 as ShCanvas, script$a as ShDropDownForm, script$3 as ShDynamicTabs, script$b as ShForm, ShFrontend, script$9 as ShModal, script$8 as ShModalForm, script$e as ShPhone, script$5 as ShTable, script$4 as ShTabs, shApis, shRepo, ShStorage as shStorage, useUserStore };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iankibetsh/shframework",
3
- "version": "0.8.2",
3
+ "version": "0.8.3",
4
4
  "description": "Vue library for handling laravel backend",
5
5
  "main": "dist/library.js",
6
6
  "module": "dist/library.mjs",