@iankibetsh/shframework 3.0.4 → 3.0.6

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.
@@ -1,4 +1,36 @@
1
1
 
2
+ .colored-toast.swal2-icon-success {
3
+ background-color: #a5dc86 !important;
4
+ }
5
+
6
+ .colored-toast.swal2-icon-error {
7
+ background-color: #f27474 !important;
8
+ }
9
+
10
+ .colored-toast.swal2-icon-warning {
11
+ background-color: #f8bb86 !important;
12
+ }
13
+
14
+ .colored-toast.swal2-icon-info {
15
+ background-color: #3fc3ee !important;
16
+ }
17
+
18
+ .colored-toast.swal2-icon-question {
19
+ background-color: #87adbd !important;
20
+ }
21
+
22
+ .colored-toast .swal2-title {
23
+ color: white;
24
+ }
25
+
26
+ .colored-toast .swal2-close {
27
+ color: white;
28
+ }
29
+
30
+ .colored-toast .swal2-html-container {
31
+ color: white;
32
+ }
33
+
2
34
  .sh-phone{
3
35
  display: flex;
4
36
  width: 100%;
@@ -31,36 +63,19 @@
31
63
  opacity: 0.5;
32
64
  }
33
65
 
34
- .colored-toast.swal2-icon-success {
35
- background-color: #a5dc86 !important;
36
- }
37
-
38
- .colored-toast.swal2-icon-error {
39
- background-color: #f27474 !important;
40
- }
41
-
42
- .colored-toast.swal2-icon-warning {
43
- background-color: #f8bb86 !important;
44
- }
45
-
46
- .colored-toast.swal2-icon-info {
47
- background-color: #3fc3ee !important;
48
- }
49
-
50
- .colored-toast.swal2-icon-question {
51
- background-color: #87adbd !important;
66
+ .sh-selected-item{
67
+ line-height: unset!important;
52
68
  }
53
-
54
- .colored-toast .swal2-title {
55
- color: white;
69
+ .sh-suggestion-input{
70
+ padding: 0.375rem 0.75rem;
56
71
  }
57
-
58
- .colored-toast .swal2-close {
59
- color: white;
72
+ .sh-suggest{
73
+ margin-bottom: 1rem;
60
74
  }
61
-
62
- .colored-toast .swal2-html-container {
63
- color: white;
75
+ .sh-suggest-control::after{
76
+ margin-top: auto;
77
+ margin-bottom: auto;
78
+ margin-right: 0.255em;
64
79
  }
65
80
 
66
81
  .permissions-main {
@@ -95,21 +110,6 @@
95
110
  flex-grow: 1;
96
111
  }
97
112
 
98
- .sh-selected-item{
99
- line-height: unset!important;
100
- }
101
- .sh-suggestion-input{
102
- padding: 0.375rem 0.75rem;
103
- }
104
- .sh-suggest{
105
- margin-bottom: 1rem;
106
- }
107
- .sh-suggest-control::after{
108
- margin-top: auto;
109
- margin-bottom: auto;
110
- margin-right: 0.255em;
111
- }
112
-
113
113
  .sh-forgot-link, .sh-register-link{
114
114
  cursor: pointer;
115
115
  }
package/dist/library.js CHANGED
@@ -2019,11 +2019,11 @@ const _hoisted_5$9 = ["id"];
2019
2019
  const _hoisted_6$8 = ["id", "aria-labelledby"];
2020
2020
  const _hoisted_7$7 = { key: 0 };
2021
2021
  const _hoisted_8$6 = ["onClick"];
2022
- const _hoisted_9$6 = {
2022
+ const _hoisted_9$7 = {
2023
2023
  key: 1,
2024
2024
  class: "dropdown-item sh-suggest-no-results"
2025
2025
  };
2026
- const _hoisted_10$5 = {
2026
+ const _hoisted_10$6 = {
2027
2027
  key: 2,
2028
2028
  class: "dropdown-item sh-suggest-no-input"
2029
2029
  };
@@ -2031,7 +2031,7 @@ const _hoisted_10$5 = {
2031
2031
 
2032
2032
  var script$t = {
2033
2033
  __name: 'ShSuggest',
2034
- props: ['data','url','modelValue'],
2034
+ props: ['data','allowMultiple','url','modelValue'],
2035
2035
  emits: ['update:modelValue'],
2036
2036
  setup(__props, { emit }) {
2037
2037
 
@@ -2161,8 +2161,8 @@ return (_ctx, _cache) => {
2161
2161
  ], 64 /* STABLE_FRAGMENT */))
2162
2162
  }), 128 /* KEYED_FRAGMENT */))
2163
2163
  : (vue.unref(searchText))
2164
- ? (vue.openBlock(), vue.createElementBlock("li", _hoisted_9$6, " No results found "))
2165
- : (vue.openBlock(), vue.createElementBlock("li", _hoisted_10$5, " Type to search... "))
2164
+ ? (vue.openBlock(), vue.createElementBlock("li", _hoisted_9$7, " No results found "))
2165
+ : (vue.openBlock(), vue.createElementBlock("li", _hoisted_10$6, " Type to search... "))
2166
2166
  ], 8 /* PROPS */, _hoisted_6$8)
2167
2167
  ]))
2168
2168
  : vue.createCommentVNode("v-if", true)
@@ -2517,11 +2517,11 @@ const _hoisted_5$8 = { key: 0 };
2517
2517
  const _hoisted_6$7 = { key: 1 };
2518
2518
  const _hoisted_7$6 = { class: "row" };
2519
2519
  const _hoisted_8$5 = { class: "fg-label control-label text-capitalize control-bel col-md-12 request-form-label mb-2" };
2520
- const _hoisted_9$5 = { class: "col-md-12" };
2521
- const _hoisted_10$4 = ["data-cy", "placeholder", "name", "onFocus", "onChange"];
2522
- const _hoisted_11$4 = ["data-cy", "placeholder", "name", "onFocus", "onUpdate:modelValue"];
2523
- const _hoisted_12$3 = ["data-cy", "placeholder", "name", "onFocus", "onUpdate:modelValue"];
2524
- const _hoisted_13$3 = ["data-cy", "placeholder", "name", "onFocus", "onUpdate:modelValue"];
2520
+ const _hoisted_9$6 = { class: "col-md-12" };
2521
+ const _hoisted_10$5 = ["data-cy", "placeholder", "name", "onFocus", "onChange"];
2522
+ const _hoisted_11$5 = ["data-cy", "placeholder", "name", "onFocus", "onUpdate:modelValue"];
2523
+ const _hoisted_12$4 = ["data-cy", "placeholder", "name", "onFocus", "onUpdate:modelValue"];
2524
+ const _hoisted_13$4 = ["data-cy", "placeholder", "name", "onFocus", "onUpdate:modelValue"];
2525
2525
  const _hoisted_14$3 = ["data-cy", "name", "onFocus", "onUpdate:modelValue"];
2526
2526
  const _hoisted_15$3 = ["disabled", "placeholder", "name", "onFocus", "onUpdate:modelValue"];
2527
2527
  const _hoisted_16$3 = ["name", "onFocus", "onUpdate:modelValue"];
@@ -2589,7 +2589,7 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
2589
2589
  key: field
2590
2590
  }, [
2591
2591
  vue.createElementVNode("label", _hoisted_8$5, vue.toDisplayString($options.getLabel(field)), 1 /* TEXT */),
2592
- vue.createElementVNode("div", _hoisted_9$5, [
2592
+ vue.createElementVNode("div", _hoisted_9$6, [
2593
2593
  ($options.getFieldType(field) === 'component')
2594
2594
  ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.customComponent[field]), {
2595
2595
  key: 0,
@@ -2614,7 +2614,7 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
2614
2614
  ref: 'file_'+field,
2615
2615
  onChange: $event => ($options.handleFileUpload(field)),
2616
2616
  type: "file"
2617
- }, null, 42 /* CLASS, PROPS, HYDRATE_EVENTS */, _hoisted_10$4))
2617
+ }, null, 42 /* CLASS, PROPS, HYDRATE_EVENTS */, _hoisted_10$5))
2618
2618
  : vue.createCommentVNode("v-if", true),
2619
2619
  ($options.getFieldType(field) === 'numeric')
2620
2620
  ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("input", {
@@ -2626,7 +2626,7 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
2626
2626
  class: vue.normalizeClass([_ctx.form_errors[field] == null ? ' field_' + field:'is-invalid ' + field, "form-control"]),
2627
2627
  "onUpdate:modelValue": $event => ((_ctx.form_elements[field]) = $event),
2628
2628
  type: "number"
2629
- }, null, 42 /* CLASS, PROPS, HYDRATE_EVENTS */, _hoisted_11$4)), [
2629
+ }, null, 42 /* CLASS, PROPS, HYDRATE_EVENTS */, _hoisted_11$5)), [
2630
2630
  [vue.vModelText, _ctx.form_elements[field]]
2631
2631
  ])
2632
2632
  : vue.createCommentVNode("v-if", true),
@@ -2640,7 +2640,7 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
2640
2640
  class: vue.normalizeClass([_ctx.form_errors[field] == null ? ' field_' + field:'is-invalid ' + field, "form-control"]),
2641
2641
  "onUpdate:modelValue": $event => ((_ctx.form_elements[field]) = $event),
2642
2642
  type: "password"
2643
- }, null, 42 /* CLASS, PROPS, HYDRATE_EVENTS */, _hoisted_12$3)), [
2643
+ }, null, 42 /* CLASS, PROPS, HYDRATE_EVENTS */, _hoisted_12$4)), [
2644
2644
  [vue.vModelText, _ctx.form_elements[field]]
2645
2645
  ])
2646
2646
  : vue.createCommentVNode("v-if", true),
@@ -2655,7 +2655,7 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
2655
2655
  "onUpdate:modelValue": $event => ((_ctx.form_elements[field]) = $event),
2656
2656
  type: "email",
2657
2657
  required: ""
2658
- }, null, 42 /* CLASS, PROPS, HYDRATE_EVENTS */, _hoisted_13$3)), [
2658
+ }, null, 42 /* CLASS, PROPS, HYDRATE_EVENTS */, _hoisted_13$4)), [
2659
2659
  [vue.vModelText, _ctx.form_elements[field]]
2660
2660
  ])
2661
2661
  : vue.createCommentVNode("v-if", true),
@@ -3059,15 +3059,27 @@ const _hoisted_1$i = /*#__PURE__*/vue.createElementVNode("div", null, null, -1 /
3059
3059
  const _hoisted_2$b = ["onUpdate:modelValue"];
3060
3060
  const _hoisted_3$a = ["innerHTML"];
3061
3061
  const _hoisted_4$a = ["innerHTML"];
3062
- const _hoisted_5$7 = ["innerHTML"];
3063
- const _hoisted_6$6 = ["disabled"];
3064
- const _hoisted_7$5 = {
3062
+ const _hoisted_5$7 = {
3063
+ key: 2,
3064
+ class: "form-notch"
3065
+ };
3066
+ const _hoisted_6$6 = /*#__PURE__*/vue.createElementVNode("div", { class: "form-notch-leading" }, null, -1 /* HOISTED */);
3067
+ const _hoisted_7$5 = /*#__PURE__*/vue.createElementVNode("div", { class: "form-notch-middle" }, null, -1 /* HOISTED */);
3068
+ const _hoisted_8$4 = /*#__PURE__*/vue.createElementVNode("div", { class: "form-notch-trailing" }, null, -1 /* HOISTED */);
3069
+ const _hoisted_9$5 = [
3070
+ _hoisted_6$6,
3071
+ _hoisted_7$5,
3072
+ _hoisted_8$4
3073
+ ];
3074
+ const _hoisted_10$4 = ["innerHTML"];
3075
+ const _hoisted_11$4 = ["disabled"];
3076
+ const _hoisted_12$3 = {
3065
3077
  key: 0,
3066
3078
  class: "spinner-border spinner-border-sm",
3067
3079
  role: "status",
3068
3080
  "aria-hidden": "true"
3069
3081
  };
3070
- const _hoisted_8$4 = { key: 1 };
3082
+ const _hoisted_13$3 = { key: 1 };
3071
3083
 
3072
3084
 
3073
3085
  var script$l = {
@@ -3322,16 +3334,19 @@ return (_ctx, _cache) => {
3322
3334
  innerHTML: field.label
3323
3335
  }, null, 10 /* CLASS, PROPS */, _hoisted_4$a))
3324
3336
  : vue.createCommentVNode("v-if", true),
3337
+ (vue.unref(isFloating))
3338
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$7, _hoisted_9$5))
3339
+ : vue.createCommentVNode("v-if", true),
3325
3340
  (field.helper)
3326
3341
  ? (vue.openBlock(), vue.createElementBlock("div", {
3327
- key: 2,
3342
+ key: 3,
3328
3343
  class: vue.normalizeClass(getElementClass('helperText')),
3329
3344
  innerHTML: field.helper
3330
- }, null, 10 /* CLASS, PROPS */, _hoisted_5$7))
3345
+ }, null, 10 /* CLASS, PROPS */, _hoisted_10$4))
3331
3346
  : vue.createCommentVNode("v-if", true),
3332
3347
  (validationErrors.value[field.field])
3333
3348
  ? (vue.openBlock(), vue.createElementBlock("div", {
3334
- key: 3,
3349
+ key: 4,
3335
3350
  class: vue.normalizeClass(getElementClass('invalidFeedback'))
3336
3351
  }, vue.toDisplayString(validationErrors.value[field.field]), 3 /* TEXT, CLASS */))
3337
3352
  : vue.createCommentVNode("v-if", true)
@@ -3349,12 +3364,12 @@ return (_ctx, _cache) => {
3349
3364
  class: vue.normalizeClass(getElementClass('actionBtn'))
3350
3365
  }, [
3351
3366
  (loading.value)
3352
- ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_7$5))
3367
+ ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_12$3))
3353
3368
  : vue.createCommentVNode("v-if", true),
3354
3369
  (!loading.value)
3355
- ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_8$4, "Submit"))
3370
+ ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_13$3, "Submit"))
3356
3371
  : vue.createCommentVNode("v-if", true)
3357
- ], 14 /* CLASS, STYLE, PROPS */, _hoisted_6$6)
3372
+ ], 14 /* CLASS, STYLE, PROPS */, _hoisted_11$4)
3358
3373
  ], 2 /* CLASS */)
3359
3374
  ], 34 /* CLASS, HYDRATE_EVENTS */)
3360
3375
  ], 64 /* STABLE_FRAGMENT */))
package/dist/library.mjs CHANGED
@@ -2007,11 +2007,11 @@ const _hoisted_5$9 = ["id"];
2007
2007
  const _hoisted_6$8 = ["id", "aria-labelledby"];
2008
2008
  const _hoisted_7$7 = { key: 0 };
2009
2009
  const _hoisted_8$6 = ["onClick"];
2010
- const _hoisted_9$6 = {
2010
+ const _hoisted_9$7 = {
2011
2011
  key: 1,
2012
2012
  class: "dropdown-item sh-suggest-no-results"
2013
2013
  };
2014
- const _hoisted_10$5 = {
2014
+ const _hoisted_10$6 = {
2015
2015
  key: 2,
2016
2016
  class: "dropdown-item sh-suggest-no-input"
2017
2017
  };
@@ -2019,7 +2019,7 @@ const _hoisted_10$5 = {
2019
2019
 
2020
2020
  var script$t = {
2021
2021
  __name: 'ShSuggest',
2022
- props: ['data','url','modelValue'],
2022
+ props: ['data','allowMultiple','url','modelValue'],
2023
2023
  emits: ['update:modelValue'],
2024
2024
  setup(__props, { emit }) {
2025
2025
 
@@ -2149,8 +2149,8 @@ return (_ctx, _cache) => {
2149
2149
  ], 64 /* STABLE_FRAGMENT */))
2150
2150
  }), 128 /* KEYED_FRAGMENT */))
2151
2151
  : (unref(searchText))
2152
- ? (openBlock(), createElementBlock("li", _hoisted_9$6, " No results found "))
2153
- : (openBlock(), createElementBlock("li", _hoisted_10$5, " Type to search... "))
2152
+ ? (openBlock(), createElementBlock("li", _hoisted_9$7, " No results found "))
2153
+ : (openBlock(), createElementBlock("li", _hoisted_10$6, " Type to search... "))
2154
2154
  ], 8 /* PROPS */, _hoisted_6$8)
2155
2155
  ]))
2156
2156
  : createCommentVNode("v-if", true)
@@ -2505,11 +2505,11 @@ const _hoisted_5$8 = { key: 0 };
2505
2505
  const _hoisted_6$7 = { key: 1 };
2506
2506
  const _hoisted_7$6 = { class: "row" };
2507
2507
  const _hoisted_8$5 = { class: "fg-label control-label text-capitalize control-bel col-md-12 request-form-label mb-2" };
2508
- const _hoisted_9$5 = { class: "col-md-12" };
2509
- const _hoisted_10$4 = ["data-cy", "placeholder", "name", "onFocus", "onChange"];
2510
- const _hoisted_11$4 = ["data-cy", "placeholder", "name", "onFocus", "onUpdate:modelValue"];
2511
- const _hoisted_12$3 = ["data-cy", "placeholder", "name", "onFocus", "onUpdate:modelValue"];
2512
- const _hoisted_13$3 = ["data-cy", "placeholder", "name", "onFocus", "onUpdate:modelValue"];
2508
+ const _hoisted_9$6 = { class: "col-md-12" };
2509
+ const _hoisted_10$5 = ["data-cy", "placeholder", "name", "onFocus", "onChange"];
2510
+ const _hoisted_11$5 = ["data-cy", "placeholder", "name", "onFocus", "onUpdate:modelValue"];
2511
+ const _hoisted_12$4 = ["data-cy", "placeholder", "name", "onFocus", "onUpdate:modelValue"];
2512
+ const _hoisted_13$4 = ["data-cy", "placeholder", "name", "onFocus", "onUpdate:modelValue"];
2513
2513
  const _hoisted_14$3 = ["data-cy", "name", "onFocus", "onUpdate:modelValue"];
2514
2514
  const _hoisted_15$3 = ["disabled", "placeholder", "name", "onFocus", "onUpdate:modelValue"];
2515
2515
  const _hoisted_16$3 = ["name", "onFocus", "onUpdate:modelValue"];
@@ -2577,7 +2577,7 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
2577
2577
  key: field
2578
2578
  }, [
2579
2579
  createElementVNode("label", _hoisted_8$5, toDisplayString($options.getLabel(field)), 1 /* TEXT */),
2580
- createElementVNode("div", _hoisted_9$5, [
2580
+ createElementVNode("div", _hoisted_9$6, [
2581
2581
  ($options.getFieldType(field) === 'component')
2582
2582
  ? (openBlock(), createBlock(resolveDynamicComponent($props.customComponent[field]), {
2583
2583
  key: 0,
@@ -2602,7 +2602,7 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
2602
2602
  ref: 'file_'+field,
2603
2603
  onChange: $event => ($options.handleFileUpload(field)),
2604
2604
  type: "file"
2605
- }, null, 42 /* CLASS, PROPS, HYDRATE_EVENTS */, _hoisted_10$4))
2605
+ }, null, 42 /* CLASS, PROPS, HYDRATE_EVENTS */, _hoisted_10$5))
2606
2606
  : createCommentVNode("v-if", true),
2607
2607
  ($options.getFieldType(field) === 'numeric')
2608
2608
  ? withDirectives((openBlock(), createElementBlock("input", {
@@ -2614,7 +2614,7 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
2614
2614
  class: normalizeClass([_ctx.form_errors[field] == null ? ' field_' + field:'is-invalid ' + field, "form-control"]),
2615
2615
  "onUpdate:modelValue": $event => ((_ctx.form_elements[field]) = $event),
2616
2616
  type: "number"
2617
- }, null, 42 /* CLASS, PROPS, HYDRATE_EVENTS */, _hoisted_11$4)), [
2617
+ }, null, 42 /* CLASS, PROPS, HYDRATE_EVENTS */, _hoisted_11$5)), [
2618
2618
  [vModelText, _ctx.form_elements[field]]
2619
2619
  ])
2620
2620
  : createCommentVNode("v-if", true),
@@ -2628,7 +2628,7 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
2628
2628
  class: normalizeClass([_ctx.form_errors[field] == null ? ' field_' + field:'is-invalid ' + field, "form-control"]),
2629
2629
  "onUpdate:modelValue": $event => ((_ctx.form_elements[field]) = $event),
2630
2630
  type: "password"
2631
- }, null, 42 /* CLASS, PROPS, HYDRATE_EVENTS */, _hoisted_12$3)), [
2631
+ }, null, 42 /* CLASS, PROPS, HYDRATE_EVENTS */, _hoisted_12$4)), [
2632
2632
  [vModelText, _ctx.form_elements[field]]
2633
2633
  ])
2634
2634
  : createCommentVNode("v-if", true),
@@ -2643,7 +2643,7 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
2643
2643
  "onUpdate:modelValue": $event => ((_ctx.form_elements[field]) = $event),
2644
2644
  type: "email",
2645
2645
  required: ""
2646
- }, null, 42 /* CLASS, PROPS, HYDRATE_EVENTS */, _hoisted_13$3)), [
2646
+ }, null, 42 /* CLASS, PROPS, HYDRATE_EVENTS */, _hoisted_13$4)), [
2647
2647
  [vModelText, _ctx.form_elements[field]]
2648
2648
  ])
2649
2649
  : createCommentVNode("v-if", true),
@@ -3047,15 +3047,27 @@ const _hoisted_1$i = /*#__PURE__*/createElementVNode("div", null, null, -1 /* HO
3047
3047
  const _hoisted_2$b = ["onUpdate:modelValue"];
3048
3048
  const _hoisted_3$a = ["innerHTML"];
3049
3049
  const _hoisted_4$a = ["innerHTML"];
3050
- const _hoisted_5$7 = ["innerHTML"];
3051
- const _hoisted_6$6 = ["disabled"];
3052
- const _hoisted_7$5 = {
3050
+ const _hoisted_5$7 = {
3051
+ key: 2,
3052
+ class: "form-notch"
3053
+ };
3054
+ const _hoisted_6$6 = /*#__PURE__*/createElementVNode("div", { class: "form-notch-leading" }, null, -1 /* HOISTED */);
3055
+ const _hoisted_7$5 = /*#__PURE__*/createElementVNode("div", { class: "form-notch-middle" }, null, -1 /* HOISTED */);
3056
+ const _hoisted_8$4 = /*#__PURE__*/createElementVNode("div", { class: "form-notch-trailing" }, null, -1 /* HOISTED */);
3057
+ const _hoisted_9$5 = [
3058
+ _hoisted_6$6,
3059
+ _hoisted_7$5,
3060
+ _hoisted_8$4
3061
+ ];
3062
+ const _hoisted_10$4 = ["innerHTML"];
3063
+ const _hoisted_11$4 = ["disabled"];
3064
+ const _hoisted_12$3 = {
3053
3065
  key: 0,
3054
3066
  class: "spinner-border spinner-border-sm",
3055
3067
  role: "status",
3056
3068
  "aria-hidden": "true"
3057
3069
  };
3058
- const _hoisted_8$4 = { key: 1 };
3070
+ const _hoisted_13$3 = { key: 1 };
3059
3071
 
3060
3072
 
3061
3073
  var script$l = {
@@ -3310,16 +3322,19 @@ return (_ctx, _cache) => {
3310
3322
  innerHTML: field.label
3311
3323
  }, null, 10 /* CLASS, PROPS */, _hoisted_4$a))
3312
3324
  : createCommentVNode("v-if", true),
3325
+ (unref(isFloating))
3326
+ ? (openBlock(), createElementBlock("div", _hoisted_5$7, _hoisted_9$5))
3327
+ : createCommentVNode("v-if", true),
3313
3328
  (field.helper)
3314
3329
  ? (openBlock(), createElementBlock("div", {
3315
- key: 2,
3330
+ key: 3,
3316
3331
  class: normalizeClass(getElementClass('helperText')),
3317
3332
  innerHTML: field.helper
3318
- }, null, 10 /* CLASS, PROPS */, _hoisted_5$7))
3333
+ }, null, 10 /* CLASS, PROPS */, _hoisted_10$4))
3319
3334
  : createCommentVNode("v-if", true),
3320
3335
  (validationErrors.value[field.field])
3321
3336
  ? (openBlock(), createElementBlock("div", {
3322
- key: 3,
3337
+ key: 4,
3323
3338
  class: normalizeClass(getElementClass('invalidFeedback'))
3324
3339
  }, toDisplayString(validationErrors.value[field.field]), 3 /* TEXT, CLASS */))
3325
3340
  : createCommentVNode("v-if", true)
@@ -3337,12 +3352,12 @@ return (_ctx, _cache) => {
3337
3352
  class: normalizeClass(getElementClass('actionBtn'))
3338
3353
  }, [
3339
3354
  (loading.value)
3340
- ? (openBlock(), createElementBlock("span", _hoisted_7$5))
3355
+ ? (openBlock(), createElementBlock("span", _hoisted_12$3))
3341
3356
  : createCommentVNode("v-if", true),
3342
3357
  (!loading.value)
3343
- ? (openBlock(), createElementBlock("span", _hoisted_8$4, "Submit"))
3358
+ ? (openBlock(), createElementBlock("span", _hoisted_13$3, "Submit"))
3344
3359
  : createCommentVNode("v-if", true)
3345
- ], 14 /* CLASS, STYLE, PROPS */, _hoisted_6$6)
3360
+ ], 14 /* CLASS, STYLE, PROPS */, _hoisted_11$4)
3346
3361
  ], 2 /* CLASS */)
3347
3362
  ], 34 /* CLASS, HYDRATE_EVENTS */)
3348
3363
  ], 64 /* STABLE_FRAGMENT */))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iankibetsh/shframework",
3
- "version": "3.0.4",
3
+ "version": "3.0.6",
4
4
  "description": "Vue library for handling laravel backend",
5
5
  "main": "dist/library.js",
6
6
  "module": "dist/library.mjs",