@iankibetsh/shframework 4.3.3 → 4.3.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,36 +1,4 @@
1
1
 
2
- .sh-phone{
3
- display: flex;
4
- width: 100%;
5
- align-items: center;
6
- padding: 0 0.25rem;
7
- }
8
- .phone-country{
9
- width: 2rem;
10
- border: none;
11
- align-self: center;
12
- outline: none !important;
13
- padding: 0.4rem;
14
- border-right: 1px solid #0003;
15
- }
16
- .phone-number{
17
- width: calc(100% - 2.2rem);
18
- border: none;
19
- align-self: center;
20
- outline: none;
21
- margin-bottom: 0;
22
- padding: 0.4rem;
23
- }
24
- .sh-phone img{
25
- padding: 0.125rem;
26
- width: 2rem;
27
- height: 2rem;
28
- }
29
- .phone-number::placeholder{
30
- font-weight: 300;
31
- opacity: 0.5;
32
- }
33
-
34
2
  .colored-toast.swal2-icon-success {
35
3
  background-color: #a5dc86 !important;
36
4
  }
@@ -63,6 +31,38 @@
63
31
  color: white;
64
32
  }
65
33
 
34
+ .sh-phone{
35
+ display: flex;
36
+ width: 100%;
37
+ align-items: center;
38
+ padding: 0 0.25rem;
39
+ }
40
+ .phone-country{
41
+ width: 2rem;
42
+ border: none;
43
+ align-self: center;
44
+ outline: none !important;
45
+ padding: 0.4rem;
46
+ border-right: 1px solid #0003;
47
+ }
48
+ .phone-number{
49
+ width: calc(100% - 2.2rem);
50
+ border: none;
51
+ align-self: center;
52
+ outline: none;
53
+ margin-bottom: 0;
54
+ padding: 0.4rem;
55
+ }
56
+ .sh-phone img{
57
+ padding: 0.125rem;
58
+ width: 2rem;
59
+ height: 2rem;
60
+ }
61
+ .phone-number::placeholder{
62
+ font-weight: 300;
63
+ opacity: 0.5;
64
+ }
65
+
66
66
  .sh-selected-item{
67
67
  line-height: unset!important;
68
68
  }
package/dist/library.js CHANGED
@@ -2140,7 +2140,12 @@ function filterData(e){
2140
2140
  }
2141
2141
 
2142
2142
  const fetchRemoteData = ()=>{
2143
- shApis.doGet(props.url, { all: 1 }).then(res => {
2143
+ const data = {
2144
+ all: 1,
2145
+ filter_value: searchText.value,
2146
+ here: 'three'
2147
+ };
2148
+ shApis.doGet(props.url, data).then(res => {
2144
2149
  suggestions.value = res.data.data ?? res.data;
2145
2150
  }).catch(res => {
2146
2151
  console.log(res);
@@ -3347,7 +3352,7 @@ return (_ctx, _cache) => {
3347
3352
  return (vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
3348
3353
  _hoisted_1$j,
3349
3354
  vue.createElementVNode("form", {
3350
- class: vue.normalizeClass([__props.formClass, "sh-form"]),
3355
+ class: vue.normalizeClass([__props.formClass, "sh-auto-form"]),
3351
3356
  ref_key: "shAutoForm",
3352
3357
  ref: shAutoForm,
3353
3358
  onSubmit: _cache[0] || (_cache[0] = e => submitForm(e))
package/dist/library.mjs CHANGED
@@ -2128,7 +2128,12 @@ function filterData(e){
2128
2128
  }
2129
2129
 
2130
2130
  const fetchRemoteData = ()=>{
2131
- shApis.doGet(props.url, { all: 1 }).then(res => {
2131
+ const data = {
2132
+ all: 1,
2133
+ filter_value: searchText.value,
2134
+ here: 'three'
2135
+ };
2136
+ shApis.doGet(props.url, data).then(res => {
2132
2137
  suggestions.value = res.data.data ?? res.data;
2133
2138
  }).catch(res => {
2134
2139
  console.log(res);
@@ -3335,7 +3340,7 @@ return (_ctx, _cache) => {
3335
3340
  return (openBlock(), createElementBlock(Fragment, null, [
3336
3341
  _hoisted_1$j,
3337
3342
  createElementVNode("form", {
3338
- class: normalizeClass([__props.formClass, "sh-form"]),
3343
+ class: normalizeClass([__props.formClass, "sh-auto-form"]),
3339
3344
  ref_key: "shAutoForm",
3340
3345
  ref: shAutoForm,
3341
3346
  onSubmit: _cache[0] || (_cache[0] = e => submitForm(e))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iankibetsh/shframework",
3
- "version": "4.3.3",
3
+ "version": "4.3.6",
4
4
  "description": "Vue library for handling laravel backend",
5
5
  "main": "dist/library.js",
6
6
  "module": "dist/library.mjs",