@iankibetsh/shframework 4.1.4 → 4.1.5

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
- .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
-
34
2
  .sh-phone{
35
3
  display: flex;
36
4
  width: 100%;
@@ -63,19 +31,36 @@
63
31
  opacity: 0.5;
64
32
  }
65
33
 
66
- .sh-selected-item{
67
- line-height: unset!important;
34
+ .colored-toast.swal2-icon-success {
35
+ background-color: #a5dc86 !important;
68
36
  }
69
- .sh-suggestion-input{
70
- padding: 0.375rem 0.75rem;
37
+
38
+ .colored-toast.swal2-icon-error {
39
+ background-color: #f27474 !important;
71
40
  }
72
- .sh-suggest{
73
- margin-bottom: 1rem;
41
+
42
+ .colored-toast.swal2-icon-warning {
43
+ background-color: #f8bb86 !important;
74
44
  }
75
- .sh-suggest-control::after{
76
- margin-top: auto;
77
- margin-bottom: auto;
78
- margin-right: 0.255em;
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;
52
+ }
53
+
54
+ .colored-toast .swal2-title {
55
+ color: white;
56
+ }
57
+
58
+ .colored-toast .swal2-close {
59
+ color: white;
60
+ }
61
+
62
+ .colored-toast .swal2-html-container {
63
+ color: white;
79
64
  }
80
65
 
81
66
  .permissions-main {
@@ -110,6 +95,21 @@
110
95
  flex-grow: 1;
111
96
  }
112
97
 
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
  .callout{
114
114
  --bs-link-color-rgb: 110,168,254;
115
115
  --bs-code-color: #e685b5;
package/dist/library.js CHANGED
@@ -4403,7 +4403,7 @@ const _hoisted_19 = [
4403
4403
  ];
4404
4404
  const _hoisted_20 = {
4405
4405
  key: 1,
4406
- class: "alert alert-danger"
4406
+ class: "alert alert-danger error-loading"
4407
4407
  };
4408
4408
  const _hoisted_21 = /*#__PURE__*/vue.createElementVNode("i", { class: "bi-info-circle" }, null, -1 /* HOISTED */);
4409
4409
  const _hoisted_22 = { class: "sh-thead" };
@@ -4897,14 +4897,14 @@ return (_ctx, _cache) => {
4897
4897
  ], 64 /* STABLE_FRAGMENT */))
4898
4898
  : (_ctx.hasRecordsSlot)
4899
4899
  ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 3 }, [
4900
- (_ctx.loading === 'loading')
4900
+ (_ctx.loading === 'loading' && !__props.cacheKey)
4901
4901
  ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_17$1, _hoisted_19))
4902
- : (_ctx.loading === 'error')
4902
+ : (_ctx.loading === 'error' && !__props.cacheKey)
4903
4903
  ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_20, [
4904
4904
  vue.createElementVNode("span", null, vue.toDisplayString(_ctx.loading_error), 1 /* TEXT */)
4905
4905
  ]))
4906
4906
  : vue.createCommentVNode("v-if", true),
4907
- (_ctx.loading === 'done')
4907
+ (_ctx.loading === 'done' || __props.cacheKey)
4908
4908
  ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 2 }, [
4909
4909
  (_ctx.records.length === 0)
4910
4910
  ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(vue.unref(noRecordsComponent)), { key: 0 }, {
package/dist/library.mjs CHANGED
@@ -4391,7 +4391,7 @@ const _hoisted_19 = [
4391
4391
  ];
4392
4392
  const _hoisted_20 = {
4393
4393
  key: 1,
4394
- class: "alert alert-danger"
4394
+ class: "alert alert-danger error-loading"
4395
4395
  };
4396
4396
  const _hoisted_21 = /*#__PURE__*/createElementVNode("i", { class: "bi-info-circle" }, null, -1 /* HOISTED */);
4397
4397
  const _hoisted_22 = { class: "sh-thead" };
@@ -4885,14 +4885,14 @@ return (_ctx, _cache) => {
4885
4885
  ], 64 /* STABLE_FRAGMENT */))
4886
4886
  : (_ctx.hasRecordsSlot)
4887
4887
  ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [
4888
- (_ctx.loading === 'loading')
4888
+ (_ctx.loading === 'loading' && !__props.cacheKey)
4889
4889
  ? (openBlock(), createElementBlock("div", _hoisted_17$1, _hoisted_19))
4890
- : (_ctx.loading === 'error')
4890
+ : (_ctx.loading === 'error' && !__props.cacheKey)
4891
4891
  ? (openBlock(), createElementBlock("div", _hoisted_20, [
4892
4892
  createElementVNode("span", null, toDisplayString(_ctx.loading_error), 1 /* TEXT */)
4893
4893
  ]))
4894
4894
  : createCommentVNode("v-if", true),
4895
- (_ctx.loading === 'done')
4895
+ (_ctx.loading === 'done' || __props.cacheKey)
4896
4896
  ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
4897
4897
  (_ctx.records.length === 0)
4898
4898
  ? (openBlock(), createBlock(resolveDynamicComponent(unref(noRecordsComponent)), { key: 0 }, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iankibetsh/shframework",
3
- "version": "4.1.4",
3
+ "version": "4.1.5",
4
4
  "description": "Vue library for handling laravel backend",
5
5
  "main": "dist/library.js",
6
6
  "module": "dist/library.mjs",