@iankibetsh/shframework 1.2.1 → 1.2.2
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.
- package/dist/dist/library.mjs.css +42 -42
- package/dist/library.js +1 -3
- package/dist/library.mjs +1 -2
- package/package.json +1 -1
|
@@ -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
|
-
.
|
|
35
|
-
|
|
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
|
-
.
|
|
55
|
-
color: white;
|
|
69
|
+
.sh-suggestion-input{
|
|
70
|
+
padding: 0.375rem 0.75rem;
|
|
56
71
|
}
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
color: white;
|
|
72
|
+
.sh-suggest{
|
|
73
|
+
margin-bottom: 1rem;
|
|
60
74
|
}
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
75
|
+
.sh-suggest-control::after{
|
|
76
|
+
margin-top: auto;
|
|
77
|
+
margin-bottom: auto;
|
|
78
|
+
margin-right: 0.255em;
|
|
64
79
|
}
|
|
65
80
|
|
|
66
81
|
:root {
|
|
@@ -84,21 +99,6 @@
|
|
|
84
99
|
}
|
|
85
100
|
}
|
|
86
101
|
|
|
87
|
-
.sh-selected-item{
|
|
88
|
-
line-height: unset!important;
|
|
89
|
-
}
|
|
90
|
-
.sh-suggestion-input{
|
|
91
|
-
padding: 0.375rem 0.75rem;
|
|
92
|
-
}
|
|
93
|
-
.sh-suggest{
|
|
94
|
-
margin-bottom: 1rem;
|
|
95
|
-
}
|
|
96
|
-
.sh-suggest-control::after{
|
|
97
|
-
margin-top: auto;
|
|
98
|
-
margin-bottom: auto;
|
|
99
|
-
margin-right: 0.255em;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
102
|
.sh-forgot-link, .sh-register-link{
|
|
103
103
|
cursor: pointer;
|
|
104
104
|
}
|
package/dist/library.js
CHANGED
|
@@ -5,7 +5,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var Axios = require('axios');
|
|
6
6
|
var moment = require('moment');
|
|
7
7
|
var Swal = require('sweetalert2');
|
|
8
|
-
var shApis$1 = require('@/lib/repo/helpers/ShApis.js');
|
|
9
8
|
var vue = require('vue');
|
|
10
9
|
var NProgress = require('nprogress');
|
|
11
10
|
var Editor = require('@tinymce/tinymce-vue');
|
|
@@ -18,7 +17,6 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
18
17
|
var Axios__default = /*#__PURE__*/_interopDefaultLegacy(Axios);
|
|
19
18
|
var moment__default = /*#__PURE__*/_interopDefaultLegacy(moment);
|
|
20
19
|
var Swal__default = /*#__PURE__*/_interopDefaultLegacy(Swal);
|
|
21
|
-
var shApis__default = /*#__PURE__*/_interopDefaultLegacy(shApis$1);
|
|
22
20
|
var NProgress__default = /*#__PURE__*/_interopDefaultLegacy(NProgress);
|
|
23
21
|
var Editor__default = /*#__PURE__*/_interopDefaultLegacy(Editor);
|
|
24
22
|
var shRepo__default = /*#__PURE__*/_interopDefaultLegacy(shRepo$1);
|
|
@@ -143,7 +141,7 @@ const signOutUser = ()=>{
|
|
|
143
141
|
const loginUrl = getShConfig('loginUrl','auth/login');
|
|
144
142
|
const logoutApiEndPoint = getShConfig('logoutApiEndpoint','auth/logout');
|
|
145
143
|
console.log(loginUrl,logoutApiEndPoint);
|
|
146
|
-
|
|
144
|
+
shApis.doPost(logoutApiEndPoint).then(res=>{
|
|
147
145
|
ShStorage.removeItem('access_token');
|
|
148
146
|
ShStorage.removeItem('user');
|
|
149
147
|
ShStorage.removeItem('last_activity');
|
package/dist/library.mjs
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import Axios from 'axios';
|
|
2
2
|
import moment from 'moment';
|
|
3
3
|
import Swal from 'sweetalert2';
|
|
4
|
-
import shApis$1 from '@/lib/repo/helpers/ShApis.js';
|
|
5
4
|
import { openBlock, createElementBlock, createElementVNode, createTextVNode, toDisplayString, createCommentVNode, withDirectives, Fragment, renderList, vModelSelect, vModelText, resolveComponent, withModifiers, createVNode, ref, onMounted, unref, normalizeClass, createBlock, resolveDynamicComponent, renderSlot, normalizeProps, guardReactiveProps, withCtx, mergeProps, createStaticVNode, shallowRef, computed, isRef, vModelCheckbox, inject, watch, pushScopeId, popScopeId } from 'vue';
|
|
6
5
|
import NProgress from 'nprogress';
|
|
7
6
|
import Editor from '@tinymce/tinymce-vue';
|
|
@@ -129,7 +128,7 @@ const signOutUser = ()=>{
|
|
|
129
128
|
const loginUrl = getShConfig('loginUrl','auth/login');
|
|
130
129
|
const logoutApiEndPoint = getShConfig('logoutApiEndpoint','auth/logout');
|
|
131
130
|
console.log(loginUrl,logoutApiEndPoint);
|
|
132
|
-
shApis
|
|
131
|
+
shApis.doPost(logoutApiEndPoint).then(res=>{
|
|
133
132
|
ShStorage.removeItem('access_token');
|
|
134
133
|
ShStorage.removeItem('user');
|
|
135
134
|
ShStorage.removeItem('last_activity');
|