@iankibetsh/shframework 1.7.3 → 1.7.4

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.
@@ -110,27 +110,6 @@
110
110
  margin-right: 0.255em;
111
111
  }
112
112
 
113
- :root {
114
- --ck-z-default: 10555 !important;
115
- --ck-z-modal: calc(var(--ck-z-default) + 999) !important;
116
- }
117
- .mceToolbar td {
118
- display:table-row;
119
- float: left;
120
- }
121
- .mceToolbar td:nth-of-type(11){
122
- clear: left;
123
- }
124
-
125
- @media screen and (max-width:600px) {
126
- .sh-editor{
127
- width: 100% !important;
128
- }
129
- table.mceLayout, textarea.tinyMCE {
130
- width: 100% !important;
131
- }
132
- }
133
-
134
113
  .sh-forgot-link, .sh-register-link{
135
114
  cursor: pointer;
136
115
  }
package/dist/library.js CHANGED
@@ -7,7 +7,6 @@ var moment = require('moment');
7
7
  var Swal = require('sweetalert2');
8
8
  var NProgress = require('nprogress');
9
9
  var vue = require('vue');
10
- var Editor = require('@tinymce/tinymce-vue');
11
10
  var _ = require('lodash');
12
11
  var vueRouter = require('vue-router');
13
12
  var pinia = require('pinia');
@@ -19,7 +18,6 @@ var Axios__default = /*#__PURE__*/_interopDefaultLegacy(Axios);
19
18
  var moment__default = /*#__PURE__*/_interopDefaultLegacy(moment);
20
19
  var Swal__default = /*#__PURE__*/_interopDefaultLegacy(Swal);
21
20
  var NProgress__default = /*#__PURE__*/_interopDefaultLegacy(NProgress);
22
- var Editor__default = /*#__PURE__*/_interopDefaultLegacy(Editor);
23
21
  var ___default = /*#__PURE__*/_interopDefaultLegacy(_);
24
22
 
25
23
  function setItem (key, value) {
@@ -1875,7 +1873,7 @@ const countries = [
1875
1873
  }
1876
1874
  ];
1877
1875
 
1878
- var script$t = {
1876
+ var script$s = {
1879
1877
  name: 'PhoneInput',
1880
1878
  props: ['modelValue', 'country_code'],
1881
1879
  data () {
@@ -1937,7 +1935,7 @@ var script$t = {
1937
1935
  }
1938
1936
  };
1939
1937
 
1940
- const _hoisted_1$o = { class: "sh-phone mb-3" };
1938
+ const _hoisted_1$n = { class: "sh-phone mb-3" };
1941
1939
  const _hoisted_2$e = {
1942
1940
  key: 0,
1943
1941
  style: {"display":"contents"}
@@ -1945,8 +1943,8 @@ const _hoisted_2$e = {
1945
1943
  const _hoisted_3$d = ["src"];
1946
1944
  const _hoisted_4$d = ["value"];
1947
1945
 
1948
- function render$4(_ctx, _cache, $props, $setup, $data, $options) {
1949
- return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$o, [
1946
+ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
1947
+ return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$n, [
1950
1948
  ($data.selectedCountry)
1951
1949
  ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$e, [
1952
1950
  vue.createElementVNode("img", { src: $data.flag }, null, 8 /* PROPS */, _hoisted_3$d),
@@ -1980,85 +1978,8 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
1980
1978
  ]))
1981
1979
  }
1982
1980
 
1983
- script$t.render = render$4;
1984
- script$t.__file = "src/lib/components/form-components/PhoneInput.vue";
1985
-
1986
- var script$s = {
1987
- name: 'ShEditor',
1988
- props: ['modelValue'],
1989
- components: {
1990
- editor: Editor__default["default"]
1991
- },
1992
- data () {
1993
- return {
1994
- editorData: this.modelValue
1995
- }
1996
- },
1997
- computed: {
1998
- value: {
1999
- get () {
2000
- return this.modelValue
2001
- },
2002
- set (value) {
2003
- this.$emit('update:modelValue', value);
2004
- }
2005
- }
2006
- },
2007
- created () {
2008
- document.addEventListener('focusin', function (e) {
2009
- const closest = e.target.closest('.tox-tinymce-aux, .tox-dialog, .moxman-window, .tam-assetmanager-root');
2010
- if (closest !== null && closest !== undefined) {
2011
- e.stopImmediatePropagation();
2012
- }
2013
- });
2014
- },
2015
- mounted () {
2016
- this.editorData = this.modelValue;
2017
- },
2018
- methods: {
2019
- updateValue: function () {
2020
- // alert('paste')
2021
- }
2022
- }
2023
- };
2024
-
2025
- const _hoisted_1$n = /*#__PURE__*/vue.createElementVNode("textarea", {
2026
- id: "tiny",
2027
- style: {"display":"none"},
2028
- "data-cy": "tinymce_editor"
2029
- }, null, -1 /* HOISTED */);
2030
-
2031
- function render$3(_ctx, _cache, $props, $setup, $data, $options) {
2032
- const _component_editor = vue.resolveComponent("editor");
2033
-
2034
- return (vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
2035
- _hoisted_1$n,
2036
- vue.createElementVNode("div", {
2037
- onFocusin: _cache[1] || (_cache[1] = vue.withModifiers(() => {}, ["stop"])),
2038
- class: "sh-editor w-100"
2039
- }, [
2040
- vue.createVNode(_component_editor, {
2041
- class: "tinyEditor",
2042
- "api-key": "v5otxmculqf59xfg2bqr2ucw56cbqgbqo4x9gym2kwbv1rvi",
2043
- onInput: $options.updateValue,
2044
- onKeyup: $options.updateValue,
2045
- modelValue: $options.value,
2046
- "onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (($options.value) = $event)),
2047
- init: {
2048
- selector: 'textarea#tiny',
2049
- valid_children : '+body[style],+body[script]',
2050
- extended_valid_elements : '*[*]',
2051
- contextmenu: false,
2052
- plugins: 'lists link image emoticons code autolink',
2053
- toolbar: 'styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist | link image emoticons code'
2054
- }
2055
- }, null, 8 /* PROPS */, ["onInput", "onKeyup", "modelValue"])
2056
- ], 32 /* HYDRATE_EVENTS */)
2057
- ], 64 /* STABLE_FRAGMENT */))
2058
- }
2059
-
2060
1981
  script$s.render = render$3;
2061
- script$s.__file = "src/lib/components/form-components/ShEditor.vue";
1982
+ script$s.__file = "src/lib/components/form-components/PhoneInput.vue";
2062
1983
 
2063
1984
  const _hoisted_1$m = {
2064
1985
  key: 0,
@@ -2228,10 +2149,9 @@ script$r.__file = "src/lib/components/form-components/ShSuggest.vue";
2228
2149
  var script$q = {
2229
2150
  name: 'ShForm',
2230
2151
  components: {
2231
- PhoneInput: script$t,
2152
+ PhoneInput: script$s,
2232
2153
  ShSuggest: script$r,
2233
- ShEditor: script$s,
2234
- ShPhone: script$t
2154
+ ShPhone: script$s
2235
2155
  },
2236
2156
  props: [
2237
2157
  'action',
@@ -2579,7 +2499,7 @@ const _hoisted_16$3 = ["name", "onFocus", "onUpdate:modelValue"];
2579
2499
  const _hoisted_17$3 = ["name", "onFocus", "onUpdate:modelValue"];
2580
2500
  const _hoisted_18$3 = ["value"];
2581
2501
  const _hoisted_19$2 = {
2582
- key: 12,
2502
+ key: 11,
2583
2503
  class: "invalid-feedback"
2584
2504
  };
2585
2505
  const _hoisted_20$2 = {
@@ -2612,7 +2532,6 @@ const _hoisted_24$1 = /*#__PURE__*/vue.createElementVNode("span", {
2612
2532
  function render$2(_ctx, _cache, $props, $setup, $data, $options) {
2613
2533
  const _component_phone_input = vue.resolveComponent("phone-input");
2614
2534
  const _component_ShSuggest = vue.resolveComponent("ShSuggest");
2615
- const _component_ShEditor = vue.resolveComponent("ShEditor");
2616
2535
 
2617
2536
  return (vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
2618
2537
  _hoisted_1$l,
@@ -2747,20 +2666,9 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
2747
2666
  "onUpdate:modelValue": $event => ((_ctx.form_elements[field]) = $event)
2748
2667
  }, null, 8 /* PROPS */, ["select-data", "fill-selects", "class", "modelValue", "onUpdate:modelValue"]))
2749
2668
  : vue.createCommentVNode("v-if", true),
2750
- ($options.getFieldType(field) === 'editor')
2751
- ? (vue.openBlock(), vue.createBlock(_component_ShEditor, {
2752
- key: 8,
2753
- placeholder: _ctx.allPlaceHolders[field] ? _ctx.allPlaceHolders[field] : '',
2754
- name: field,
2755
- onFocus: $event => ($options.removeErrors(field)),
2756
- class: vue.normalizeClass([_ctx.form_errors[field] == null ? ' field_' + field:'is-invalid ' + field, "form-control"]),
2757
- modelValue: _ctx.form_elements[field],
2758
- "onUpdate:modelValue": $event => ((_ctx.form_elements[field]) = $event)
2759
- }, null, 8 /* PROPS */, ["placeholder", "name", "onFocus", "class", "modelValue", "onUpdate:modelValue"]))
2760
- : vue.createCommentVNode("v-if", true),
2761
2669
  ($options.getFieldType(field) === 'text')
2762
2670
  ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("input", {
2763
- key: 9,
2671
+ key: 8,
2764
2672
  disabled: $options.isDisabled(field),
2765
2673
  placeholder: field === 'phone_number' ? 'e.g 0712 345 678':'',
2766
2674
  name: field,
@@ -2774,7 +2682,7 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
2774
2682
  : vue.createCommentVNode("v-if", true),
2775
2683
  ($options.getFieldType(field) === 'textarea')
2776
2684
  ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("textarea", {
2777
- key: 10,
2685
+ key: 9,
2778
2686
  name: field,
2779
2687
  onFocus: $event => ($options.removeErrors(field)),
2780
2688
  class: vue.normalizeClass([_ctx.form_errors[field] == null ? ' field_' + field:'is-invalid ' + field, "form-control"]),
@@ -2785,7 +2693,7 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
2785
2693
  : vue.createCommentVNode("v-if", true),
2786
2694
  ($options.getFieldType(field) === 'select')
2787
2695
  ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("select", {
2788
- key: 11,
2696
+ key: 10,
2789
2697
  name: field,
2790
2698
  onFocus: $event => ($options.removeErrors(field)),
2791
2699
  class: vue.normalizeClass([_ctx.form_errors[field] == null ? ' field_' + field:'is-invalid ' + field, "form-control"]),
@@ -3146,7 +3054,7 @@ const getFieldComponent = (fieldObj)=>{
3146
3054
  const TextComponent = formComponents.text ?? script$n;
3147
3055
  const TextAreaComponent = formComponents.textArea ?? script$m;
3148
3056
  const EmailComponent = formComponents.email ?? script$p;
3149
- const PhoneComponent = formComponents.phone ?? script$t;
3057
+ const PhoneComponent = formComponents.phone ?? script$s;
3150
3058
  const NumberComponent = formComponents.number ?? script$o;
3151
3059
  const SelectComponent = formComponents.select ?? script$l;
3152
3060
  const PasswordComponent = formComponents.password ?? script$k;
@@ -3167,7 +3075,7 @@ const getFieldComponent = (fieldObj)=>{
3167
3075
  return formComponents.email ?? script$p
3168
3076
  } else
3169
3077
  if((props.phones && props.phones.includes(field)) || defaultPhones.includes(field)){
3170
- return formComponents.phone ?? script$t
3078
+ return formComponents.phone ?? script$s
3171
3079
  } else
3172
3080
  if((props.numbers && props.numbers.includes(field)) || defaultNumbers.includes(field)){
3173
3081
  return formComponents.number ?? script$o
@@ -6327,7 +6235,7 @@ exports.ShModal = script$h;
6327
6235
  exports.ShModalBtn = script$7;
6328
6236
  exports.ShModalForm = script$g;
6329
6237
  exports.ShModalFormAuto = script$f;
6330
- exports.ShPhone = script$t;
6238
+ exports.ShPhone = script$s;
6331
6239
  exports.ShPopups = script$4;
6332
6240
  exports.ShRange = script$3;
6333
6241
  exports.ShSilentAction = script$b;
package/dist/library.mjs CHANGED
@@ -2,8 +2,7 @@ import Axios from 'axios';
2
2
  import moment from 'moment';
3
3
  import Swal from 'sweetalert2';
4
4
  import NProgress from 'nprogress';
5
- import { openBlock, createElementBlock, createElementVNode, createTextVNode, toDisplayString, createCommentVNode, withDirectives, Fragment, renderList, vModelSelect, vModelText, resolveComponent, withModifiers, createVNode, ref, onMounted, unref, normalizeClass, createBlock, resolveDynamicComponent, inject, watch, mergeProps, normalizeStyle, renderSlot, normalizeProps, guardReactiveProps, withCtx, createStaticVNode, shallowRef, vModelCheckbox, pushScopeId, popScopeId, markRaw, computed, isRef } from 'vue';
6
- import Editor from '@tinymce/tinymce-vue';
5
+ import { openBlock, createElementBlock, createElementVNode, createTextVNode, toDisplayString, createCommentVNode, withDirectives, Fragment, renderList, vModelSelect, vModelText, ref, onMounted, unref, normalizeClass, resolveComponent, createBlock, resolveDynamicComponent, inject, watch, mergeProps, normalizeStyle, renderSlot, createVNode, normalizeProps, guardReactiveProps, withCtx, createStaticVNode, shallowRef, vModelCheckbox, pushScopeId, popScopeId, markRaw, computed, isRef } from 'vue';
7
6
  import _ from 'lodash';
8
7
  import { useRoute, useRouter } from 'vue-router';
9
8
  import { defineStore, storeToRefs } from 'pinia';
@@ -1862,7 +1861,7 @@ const countries = [
1862
1861
  }
1863
1862
  ];
1864
1863
 
1865
- var script$t = {
1864
+ var script$s = {
1866
1865
  name: 'PhoneInput',
1867
1866
  props: ['modelValue', 'country_code'],
1868
1867
  data () {
@@ -1924,7 +1923,7 @@ var script$t = {
1924
1923
  }
1925
1924
  };
1926
1925
 
1927
- const _hoisted_1$o = { class: "sh-phone mb-3" };
1926
+ const _hoisted_1$n = { class: "sh-phone mb-3" };
1928
1927
  const _hoisted_2$e = {
1929
1928
  key: 0,
1930
1929
  style: {"display":"contents"}
@@ -1932,8 +1931,8 @@ const _hoisted_2$e = {
1932
1931
  const _hoisted_3$d = ["src"];
1933
1932
  const _hoisted_4$d = ["value"];
1934
1933
 
1935
- function render$4(_ctx, _cache, $props, $setup, $data, $options) {
1936
- return (openBlock(), createElementBlock("div", _hoisted_1$o, [
1934
+ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
1935
+ return (openBlock(), createElementBlock("div", _hoisted_1$n, [
1937
1936
  ($data.selectedCountry)
1938
1937
  ? (openBlock(), createElementBlock("div", _hoisted_2$e, [
1939
1938
  createElementVNode("img", { src: $data.flag }, null, 8 /* PROPS */, _hoisted_3$d),
@@ -1967,85 +1966,8 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
1967
1966
  ]))
1968
1967
  }
1969
1968
 
1970
- script$t.render = render$4;
1971
- script$t.__file = "src/lib/components/form-components/PhoneInput.vue";
1972
-
1973
- var script$s = {
1974
- name: 'ShEditor',
1975
- props: ['modelValue'],
1976
- components: {
1977
- editor: Editor
1978
- },
1979
- data () {
1980
- return {
1981
- editorData: this.modelValue
1982
- }
1983
- },
1984
- computed: {
1985
- value: {
1986
- get () {
1987
- return this.modelValue
1988
- },
1989
- set (value) {
1990
- this.$emit('update:modelValue', value);
1991
- }
1992
- }
1993
- },
1994
- created () {
1995
- document.addEventListener('focusin', function (e) {
1996
- const closest = e.target.closest('.tox-tinymce-aux, .tox-dialog, .moxman-window, .tam-assetmanager-root');
1997
- if (closest !== null && closest !== undefined) {
1998
- e.stopImmediatePropagation();
1999
- }
2000
- });
2001
- },
2002
- mounted () {
2003
- this.editorData = this.modelValue;
2004
- },
2005
- methods: {
2006
- updateValue: function () {
2007
- // alert('paste')
2008
- }
2009
- }
2010
- };
2011
-
2012
- const _hoisted_1$n = /*#__PURE__*/createElementVNode("textarea", {
2013
- id: "tiny",
2014
- style: {"display":"none"},
2015
- "data-cy": "tinymce_editor"
2016
- }, null, -1 /* HOISTED */);
2017
-
2018
- function render$3(_ctx, _cache, $props, $setup, $data, $options) {
2019
- const _component_editor = resolveComponent("editor");
2020
-
2021
- return (openBlock(), createElementBlock(Fragment, null, [
2022
- _hoisted_1$n,
2023
- createElementVNode("div", {
2024
- onFocusin: _cache[1] || (_cache[1] = withModifiers(() => {}, ["stop"])),
2025
- class: "sh-editor w-100"
2026
- }, [
2027
- createVNode(_component_editor, {
2028
- class: "tinyEditor",
2029
- "api-key": "v5otxmculqf59xfg2bqr2ucw56cbqgbqo4x9gym2kwbv1rvi",
2030
- onInput: $options.updateValue,
2031
- onKeyup: $options.updateValue,
2032
- modelValue: $options.value,
2033
- "onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (($options.value) = $event)),
2034
- init: {
2035
- selector: 'textarea#tiny',
2036
- valid_children : '+body[style],+body[script]',
2037
- extended_valid_elements : '*[*]',
2038
- contextmenu: false,
2039
- plugins: 'lists link image emoticons code autolink',
2040
- toolbar: 'styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist | link image emoticons code'
2041
- }
2042
- }, null, 8 /* PROPS */, ["onInput", "onKeyup", "modelValue"])
2043
- ], 32 /* HYDRATE_EVENTS */)
2044
- ], 64 /* STABLE_FRAGMENT */))
2045
- }
2046
-
2047
1969
  script$s.render = render$3;
2048
- script$s.__file = "src/lib/components/form-components/ShEditor.vue";
1970
+ script$s.__file = "src/lib/components/form-components/PhoneInput.vue";
2049
1971
 
2050
1972
  const _hoisted_1$m = {
2051
1973
  key: 0,
@@ -2215,10 +2137,9 @@ script$r.__file = "src/lib/components/form-components/ShSuggest.vue";
2215
2137
  var script$q = {
2216
2138
  name: 'ShForm',
2217
2139
  components: {
2218
- PhoneInput: script$t,
2140
+ PhoneInput: script$s,
2219
2141
  ShSuggest: script$r,
2220
- ShEditor: script$s,
2221
- ShPhone: script$t
2142
+ ShPhone: script$s
2222
2143
  },
2223
2144
  props: [
2224
2145
  'action',
@@ -2566,7 +2487,7 @@ const _hoisted_16$3 = ["name", "onFocus", "onUpdate:modelValue"];
2566
2487
  const _hoisted_17$3 = ["name", "onFocus", "onUpdate:modelValue"];
2567
2488
  const _hoisted_18$3 = ["value"];
2568
2489
  const _hoisted_19$2 = {
2569
- key: 12,
2490
+ key: 11,
2570
2491
  class: "invalid-feedback"
2571
2492
  };
2572
2493
  const _hoisted_20$2 = {
@@ -2599,7 +2520,6 @@ const _hoisted_24$1 = /*#__PURE__*/createElementVNode("span", {
2599
2520
  function render$2(_ctx, _cache, $props, $setup, $data, $options) {
2600
2521
  const _component_phone_input = resolveComponent("phone-input");
2601
2522
  const _component_ShSuggest = resolveComponent("ShSuggest");
2602
- const _component_ShEditor = resolveComponent("ShEditor");
2603
2523
 
2604
2524
  return (openBlock(), createElementBlock(Fragment, null, [
2605
2525
  _hoisted_1$l,
@@ -2734,20 +2654,9 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
2734
2654
  "onUpdate:modelValue": $event => ((_ctx.form_elements[field]) = $event)
2735
2655
  }, null, 8 /* PROPS */, ["select-data", "fill-selects", "class", "modelValue", "onUpdate:modelValue"]))
2736
2656
  : createCommentVNode("v-if", true),
2737
- ($options.getFieldType(field) === 'editor')
2738
- ? (openBlock(), createBlock(_component_ShEditor, {
2739
- key: 8,
2740
- placeholder: _ctx.allPlaceHolders[field] ? _ctx.allPlaceHolders[field] : '',
2741
- name: field,
2742
- onFocus: $event => ($options.removeErrors(field)),
2743
- class: normalizeClass([_ctx.form_errors[field] == null ? ' field_' + field:'is-invalid ' + field, "form-control"]),
2744
- modelValue: _ctx.form_elements[field],
2745
- "onUpdate:modelValue": $event => ((_ctx.form_elements[field]) = $event)
2746
- }, null, 8 /* PROPS */, ["placeholder", "name", "onFocus", "class", "modelValue", "onUpdate:modelValue"]))
2747
- : createCommentVNode("v-if", true),
2748
2657
  ($options.getFieldType(field) === 'text')
2749
2658
  ? withDirectives((openBlock(), createElementBlock("input", {
2750
- key: 9,
2659
+ key: 8,
2751
2660
  disabled: $options.isDisabled(field),
2752
2661
  placeholder: field === 'phone_number' ? 'e.g 0712 345 678':'',
2753
2662
  name: field,
@@ -2761,7 +2670,7 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
2761
2670
  : createCommentVNode("v-if", true),
2762
2671
  ($options.getFieldType(field) === 'textarea')
2763
2672
  ? withDirectives((openBlock(), createElementBlock("textarea", {
2764
- key: 10,
2673
+ key: 9,
2765
2674
  name: field,
2766
2675
  onFocus: $event => ($options.removeErrors(field)),
2767
2676
  class: normalizeClass([_ctx.form_errors[field] == null ? ' field_' + field:'is-invalid ' + field, "form-control"]),
@@ -2772,7 +2681,7 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
2772
2681
  : createCommentVNode("v-if", true),
2773
2682
  ($options.getFieldType(field) === 'select')
2774
2683
  ? withDirectives((openBlock(), createElementBlock("select", {
2775
- key: 11,
2684
+ key: 10,
2776
2685
  name: field,
2777
2686
  onFocus: $event => ($options.removeErrors(field)),
2778
2687
  class: normalizeClass([_ctx.form_errors[field] == null ? ' field_' + field:'is-invalid ' + field, "form-control"]),
@@ -3133,7 +3042,7 @@ const getFieldComponent = (fieldObj)=>{
3133
3042
  const TextComponent = formComponents.text ?? script$n;
3134
3043
  const TextAreaComponent = formComponents.textArea ?? script$m;
3135
3044
  const EmailComponent = formComponents.email ?? script$p;
3136
- const PhoneComponent = formComponents.phone ?? script$t;
3045
+ const PhoneComponent = formComponents.phone ?? script$s;
3137
3046
  const NumberComponent = formComponents.number ?? script$o;
3138
3047
  const SelectComponent = formComponents.select ?? script$l;
3139
3048
  const PasswordComponent = formComponents.password ?? script$k;
@@ -3154,7 +3063,7 @@ const getFieldComponent = (fieldObj)=>{
3154
3063
  return formComponents.email ?? script$p
3155
3064
  } else
3156
3065
  if((props.phones && props.phones.includes(field)) || defaultPhones.includes(field)){
3157
- return formComponents.phone ?? script$t
3066
+ return formComponents.phone ?? script$s
3158
3067
  } else
3159
3068
  if((props.numbers && props.numbers.includes(field)) || defaultNumbers.includes(field)){
3160
3069
  return formComponents.number ?? script$o
@@ -6300,4 +6209,4 @@ const ShFrontend = {
6300
6209
  }
6301
6210
  };
6302
6211
 
6303
- export { countries as Countries, script$5 as ManagePermissions, script$j as ShAutoForm, script$e as ShCanvas, script$6 as ShCanvasBtn, script$c as ShConfirmAction, script$i as ShDropDownForm, script$8 as ShDynamicTabs, script$q as ShForm, ShFrontend, script$h as ShModal, script$7 as ShModalBtn, script$g as ShModalForm, script$f as ShModalFormAuto, script$t as ShPhone, script$4 as ShPopups, script$3 as ShRange, script$b as ShSilentAction, script$a as ShTable, script$9 as ShTabs, shApis, shRepo, ShStorage as shStorage, useUserStore };
6212
+ export { countries as Countries, script$5 as ManagePermissions, script$j as ShAutoForm, script$e as ShCanvas, script$6 as ShCanvasBtn, script$c as ShConfirmAction, script$i as ShDropDownForm, script$8 as ShDynamicTabs, script$q as ShForm, ShFrontend, script$h as ShModal, script$7 as ShModalBtn, script$g as ShModalForm, script$f as ShModalFormAuto, script$s as ShPhone, script$4 as ShPopups, script$3 as ShRange, script$b as ShSilentAction, script$a as ShTable, script$9 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": "1.7.3",
3
+ "version": "1.7.4",
4
4
  "description": "Vue library for handling laravel backend",
5
5
  "main": "dist/library.js",
6
6
  "module": "dist/library.mjs",
@@ -22,7 +22,6 @@
22
22
  "author": "",
23
23
  "license": "ISC",
24
24
  "peerDependencies": {
25
- "@tinymce/tinymce-vue": "^4.0.7",
26
25
  "axios": "^0.27.2",
27
26
  "bootstrap": "^5.2.0",
28
27
  "bootstrap-icons": "^1.9.1",