@iankibetsh/shframework 4.5.3 → 4.5.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.
@@ -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,6 +31,38 @@
63
31
  opacity: 0.5;
64
32
  }
65
33
 
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;
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;
64
+ }
65
+
66
66
  .permissions-main {
67
67
  background: #edeff2;
68
68
  }
package/dist/library.js CHANGED
@@ -5805,11 +5805,6 @@ const setCounts = (res) => {
5805
5805
  }
5806
5806
  });
5807
5807
  };
5808
- const activetab = (tab) => {
5809
- if (props.activeTab) {
5810
- return props.activeTab === tab ? 'active' : 'active'
5811
- }
5812
- };
5813
5808
 
5814
5809
  return (_ctx, _cache) => {
5815
5810
  const _component_router_link = vue.resolveComponent("router-link");
@@ -5826,7 +5821,7 @@ return (_ctx, _cache) => {
5826
5821
  }, [
5827
5822
  vue.createVNode(_component_router_link, {
5828
5823
  onClick: $event => (setTab(tab)),
5829
- "active-class": activetab(tab),
5824
+ "active-class": 'active',
5830
5825
  class: vue.normalizeClass(["nav-link text-capitalize", 'sh_tab_' + tab]),
5831
5826
  to: __props.baseUrl+'/tab/'+tab,
5832
5827
  role: "tab"
@@ -5835,7 +5830,7 @@ return (_ctx, _cache) => {
5835
5830
  vue.createTextVNode(vue.toDisplayString(tab.replace(/_/g, ' ')), 1 /* TEXT */)
5836
5831
  ]),
5837
5832
  _: 2 /* DYNAMIC */
5838
- }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["onClick", "active-class", "to", "class"])
5833
+ }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["onClick", "to", "class"])
5839
5834
  ]))
5840
5835
  }), 128 /* KEYED_FRAGMENT */))
5841
5836
  ], 2 /* CLASS */),
package/dist/library.mjs CHANGED
@@ -5793,11 +5793,6 @@ const setCounts = (res) => {
5793
5793
  }
5794
5794
  });
5795
5795
  };
5796
- const activetab = (tab) => {
5797
- if (props.activeTab) {
5798
- return props.activeTab === tab ? 'active' : 'active'
5799
- }
5800
- };
5801
5796
 
5802
5797
  return (_ctx, _cache) => {
5803
5798
  const _component_router_link = resolveComponent("router-link");
@@ -5814,7 +5809,7 @@ return (_ctx, _cache) => {
5814
5809
  }, [
5815
5810
  createVNode(_component_router_link, {
5816
5811
  onClick: $event => (setTab(tab)),
5817
- "active-class": activetab(tab),
5812
+ "active-class": 'active',
5818
5813
  class: normalizeClass(["nav-link text-capitalize", 'sh_tab_' + tab]),
5819
5814
  to: __props.baseUrl+'/tab/'+tab,
5820
5815
  role: "tab"
@@ -5823,7 +5818,7 @@ return (_ctx, _cache) => {
5823
5818
  createTextVNode(toDisplayString(tab.replace(/_/g, ' ')), 1 /* TEXT */)
5824
5819
  ]),
5825
5820
  _: 2 /* DYNAMIC */
5826
- }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["onClick", "active-class", "to", "class"])
5821
+ }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["onClick", "to", "class"])
5827
5822
  ]))
5828
5823
  }), 128 /* KEYED_FRAGMENT */))
5829
5824
  ], 2 /* CLASS */),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iankibetsh/shframework",
3
- "version": "4.5.3",
3
+ "version": "4.5.4",
4
4
  "description": "Vue library for handling laravel backend",
5
5
  "main": "dist/library.js",
6
6
  "module": "dist/library.mjs",