@fishawack/lab-velocity 2.0.0-beta.1 → 2.0.0-beta.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.
Files changed (112) hide show
  1. package/_Build/vue/components/Icon.vue +33 -0
  2. package/_Build/vue/components/Svg.vue +45 -0
  3. package/_Build/vue/components/basic/Button.vue +109 -0
  4. package/_Build/vue/components/basic/link.vue +64 -0
  5. package/_Build/vue/components/form/Cascader.vue +85 -0
  6. package/_Build/vue/components/form/Checkbox.vue +39 -0
  7. package/_Build/vue/components/form/CheckboxGroup.vue +91 -0
  8. package/_Build/vue/components/form/DatePicker.vue +116 -0
  9. package/_Build/vue/components/form/InputNumber.vue +89 -0
  10. package/_Build/vue/components/form/Select.vue +109 -0
  11. package/_Build/vue/components/form/Switch.vue +63 -0
  12. package/_Build/vue/components/form/Upload.vue +101 -0
  13. package/_Build/vue/components/form/Wysiwyg.vue +127 -0
  14. package/_Build/vue/components/form/Wysiwyg2.vue +577 -0
  15. package/_Build/vue/components/form/basic.vue +106 -0
  16. package/_Build/vue/components/form/color.vue +22 -0
  17. package/_Build/vue/components/form/file.vue +89 -0
  18. package/_Build/vue/components/form/input.js +79 -0
  19. package/_Build/vue/components/form/input.vue +105 -0
  20. package/_Build/vue/components/layout/Alert.vue +38 -0
  21. package/_Build/vue/components/layout/Footer.vue +50 -0
  22. package/_Build/vue/components/layout/Header.vue +13 -0
  23. package/_Build/vue/components/layout/Loader.vue +59 -0
  24. package/_Build/vue/components/layout/Tooltip.vue +46 -0
  25. package/_Build/vue/components/layout/pageTitle.vue +18 -0
  26. package/_Build/vue/components/layout/sideBar.vue +25 -0
  27. package/_Build/vue/components/navigation/Breadcrumbs.vue +37 -0
  28. package/_Build/vue/components/navigation/BreadcrumbsItem.vue +19 -0
  29. package/_Build/vue/components/navigation/Menu.vue +14 -0
  30. package/_Build/vue/components/navigation/MenuItem.vue +20 -0
  31. package/_Build/vue/components/navigation/MenuItemGroup.vue +20 -0
  32. package/_Build/vue/components/navigation/SubMenu.vue +20 -0
  33. package/_Build/vue/modules/AuthModule/adminRoutes/PCompanies/Children/Upload/upload.vue +251 -0
  34. package/_Build/vue/modules/AuthModule/adminRoutes/PCompanies/Children/create.vue +62 -0
  35. package/_Build/vue/modules/AuthModule/adminRoutes/PCompanies/Children/edit.vue +98 -0
  36. package/_Build/vue/modules/AuthModule/adminRoutes/PCompanies/Children/index.vue +90 -0
  37. package/_Build/vue/modules/AuthModule/adminRoutes/PCompanies/Children/partials/form.vue +173 -0
  38. package/_Build/vue/modules/AuthModule/adminRoutes/PCompanies/Children/show.vue +262 -0
  39. package/_Build/vue/modules/AuthModule/adminRoutes/PCompanies/parent.vue +36 -0
  40. package/_Build/vue/modules/AuthModule/adminRoutes/PUsers/Children/create.vue +112 -0
  41. package/_Build/vue/modules/AuthModule/adminRoutes/PUsers/Children/edit.vue +103 -0
  42. package/_Build/vue/modules/AuthModule/adminRoutes/PUsers/Children/index.vue +112 -0
  43. package/_Build/vue/modules/AuthModule/adminRoutes/PUsers/Children/partials/form.vue +169 -0
  44. package/_Build/vue/modules/AuthModule/adminRoutes/PUsers/Children/show.vue +120 -0
  45. package/_Build/vue/modules/AuthModule/adminRoutes/PUsers/parent.vue +36 -0
  46. package/_Build/vue/modules/AuthModule/components/AuthModal.vue +105 -0
  47. package/_Build/vue/modules/AuthModule/components/Chip.vue +70 -0
  48. package/_Build/vue/modules/AuthModule/components/Chips.vue +26 -0
  49. package/_Build/vue/modules/AuthModule/components/FormRole.vue +115 -0
  50. package/_Build/vue/modules/AuthModule/components/VBreadcrumbs.vue +32 -0
  51. package/_Build/vue/modules/AuthModule/components/VFormFooter.vue +46 -0
  52. package/_Build/vue/modules/AuthModule/components/VPageHeader.vue +38 -0
  53. package/_Build/vue/modules/AuthModule/components/VPasswordValidation.vue +106 -0
  54. package/_Build/vue/modules/AuthModule/components/VRoleLegend.vue +43 -0
  55. package/_Build/vue/modules/AuthModule/components/VTable.vue +127 -0
  56. package/_Build/vue/modules/AuthModule/components/VTableSorter.vue +240 -0
  57. package/_Build/vue/modules/AuthModule/js/FakeAPI.js +78 -0
  58. package/_Build/vue/modules/AuthModule/js/axios.js +62 -0
  59. package/_Build/vue/modules/AuthModule/js/router.js +295 -0
  60. package/_Build/vue/modules/AuthModule/js/store.js +62 -0
  61. package/_Build/vue/modules/AuthModule/routes/account-exists.vue +33 -0
  62. package/_Build/vue/modules/AuthModule/routes/change-password.vue +165 -0
  63. package/_Build/vue/modules/AuthModule/routes/container.vue +34 -0
  64. package/_Build/vue/modules/AuthModule/routes/expired-reset.vue +78 -0
  65. package/_Build/vue/modules/AuthModule/routes/expired-verification.vue +100 -0
  66. package/_Build/vue/modules/AuthModule/routes/force-reset.vue +152 -0
  67. package/_Build/vue/modules/AuthModule/routes/forgot.vue +91 -0
  68. package/_Build/vue/modules/AuthModule/routes/login.vue +143 -0
  69. package/_Build/vue/modules/AuthModule/routes/logincallback.vue +41 -0
  70. package/_Build/vue/modules/AuthModule/routes/loginheadless.vue +21 -0
  71. package/_Build/vue/modules/AuthModule/routes/loginsso.vue +134 -0
  72. package/_Build/vue/modules/AuthModule/routes/logout.vue +21 -0
  73. package/_Build/vue/modules/AuthModule/routes/logoutheadless.vue +27 -0
  74. package/_Build/vue/modules/AuthModule/routes/register.vue +174 -0
  75. package/_Build/vue/modules/AuthModule/routes/reset.vue +133 -0
  76. package/_Build/vue/modules/AuthModule/routes/success-forgot.vue +119 -0
  77. package/_Build/vue/modules/AuthModule/routes/success-reset.vue +35 -0
  78. package/_Build/vue/modules/AuthModule/routes/success-verify.vue +32 -0
  79. package/_Build/vue/modules/AuthModule/routes/verify.vue +113 -0
  80. package/package.json +3 -9
  81. package/components/_alert.scss +0 -5
  82. package/components/_basic.scss +0 -55
  83. package/components/_breadcrumbs.scss +0 -39
  84. package/components/_button.scss +0 -304
  85. package/components/_cascader.scss +0 -12
  86. package/components/_checkbox.scss +0 -41
  87. package/components/_chip.scss +0 -24
  88. package/components/_collapse.scss +0 -24
  89. package/components/_datepicker.scss +0 -52
  90. package/components/_footer.scss +0 -46
  91. package/components/_form.scss +0 -24
  92. package/components/_header.scss +0 -54
  93. package/components/_icon.scss +0 -25
  94. package/components/_input.scss +0 -0
  95. package/components/_inputNumber.scss +0 -22
  96. package/components/_link.scss +0 -44
  97. package/components/_loader.scss +0 -43
  98. package/components/_menu.scss +0 -112
  99. package/components/_pageTitle.scss +0 -8
  100. package/components/_permissionLegend.scss +0 -18
  101. package/components/_select.scss +0 -29
  102. package/components/_sidebar.scss +0 -56
  103. package/components/_switch.scss +0 -14
  104. package/components/_table.scss +0 -20
  105. package/components/_tooltip.scss +0 -4
  106. package/components/_typography.scss +0 -162
  107. package/components/_upload.scss +0 -15
  108. package/components/_wysiwyg.scss +0 -7
  109. package/components/_wysiwyg2.scss +0 -142
  110. package/modules/_AuthModule.scss +0 -212
  111. package/modules/_AuthVariables.scss +0 -7
  112. package/modules/_modal.scss +0 -24
@@ -1,15 +0,0 @@
1
- @import "element-plus/theme-chalk/el-upload";
2
-
3
- .vel-upload {
4
- .el-upload__tip {
5
- color: $color11;
6
- }
7
- &.form__group--error {
8
- .el-upload__tip {
9
- color: $colorAlert;
10
- }
11
- }
12
- &__error {
13
- color: $colorAlert;
14
- }
15
- }
@@ -1,7 +0,0 @@
1
- @import "quill/dist/quill.snow";
2
- @import "quill/dist/quill.core";
3
-
4
- .ql-container,
5
- .ql-toolbar {
6
- background-color: $color0;
7
- }
@@ -1,142 +0,0 @@
1
- @import "element-plus/theme-chalk/el-dropdown";
2
- @import "element-plus/theme-chalk/el-dropdown-item";
3
- @import "element-plus/theme-chalk/el-dialog";
4
- @import "./button.scss";
5
-
6
- .vel-wysiwyg__controls {
7
- background-color: $color0;
8
- display: flex;
9
- flex-grow: 1;
10
- border: solid $color5 2px;
11
- border-bottom: none;
12
- // margin-bottom: .5 * $spacing;
13
- font-size: get-ratio(14px);
14
- padding: 0 0.5 * $spacing;
15
- > * {
16
- padding: 0.5 * $spacing;
17
- padding-right: $spacing;
18
- --el-font-size-base: get-ratio(14px);
19
- &:not(:last-child) {
20
- border-right: solid 1px $color5;
21
- }
22
- }
23
-
24
- button {
25
- // border: solid 1px $color1;
26
- background-color: transparent;
27
- cursor: pointer;
28
- min-width: 28px;
29
- padding: 3px 5px;
30
- line-height: 1;
31
- border: none;
32
- &.is-active,
33
- &:hover {
34
- background-color: $color5;
35
- }
36
- svg {
37
- height: 90%;
38
- }
39
- }
40
- .el-dropdown {
41
- line-height: 1.15;
42
- }
43
-
44
- .ql-stroke {
45
- fill: none;
46
- stroke: #444;
47
- stroke-linecap: round;
48
- stroke-linejoin: round;
49
- stroke-width: 2;
50
- }
51
-
52
- .ql-stroke-miter {
53
- fill: none;
54
- stroke: #444;
55
- stroke-miterlimit: 10;
56
- stroke-width: 2;
57
- }
58
-
59
- .ql-fill,
60
- .ql-stroke.ql-fill {
61
- fill: #444;
62
- }
63
-
64
- .ql-empty {
65
- fill: none;
66
- }
67
-
68
- .ql-even {
69
- fill-rule: evenodd;
70
- }
71
-
72
- .ql-thin,
73
- .ql-stroke.ql-thin {
74
- stroke-width: 1;
75
- }
76
-
77
- .ql-transparent {
78
- opacity: 0.4;
79
- }
80
-
81
- ~ div {
82
- // margin-top: $spacing;
83
- border: solid $color5 2px;
84
- background-color: $color0;
85
- > div {
86
- padding: 2 * $spacing;
87
- }
88
- }
89
- }
90
- .vel-wysiwyg__button {
91
- // border: solid 1px $color1;
92
- background-color: transparent;
93
- // cursor: pointer;
94
-
95
- &.is-active,
96
- &:hover {
97
- background-color: $color5;
98
- }
99
- }
100
-
101
- .vel-wysiwyg {
102
- // border: solid $color1 1px;
103
- // padding: $spacing * 1.5;
104
-
105
- table,
106
- td,
107
- th {
108
- border: solid 0.5px $color1;
109
- }
110
- th {
111
- background-color: $color5;
112
- }
113
- hr {
114
- height: 1px;
115
- background-color: $color1;
116
- }
117
- a {
118
- text-decoration: underline;
119
- }
120
- }
121
-
122
- .lab-table,
123
- .lab-table-cell,
124
- .lab-table-header {
125
- border: solid 0.5px $color1;
126
- }
127
- .lab-table-header {
128
- background-color: $color5;
129
- }
130
-
131
- .lab-table {
132
- a {
133
- text-decoration: underline;
134
- }
135
- }
136
- .lab-table-cell {
137
- &:active,
138
- &:focus-within,
139
- &.selectedCell {
140
- background-color: transparentize($color: $color5, $amount: 0.8);
141
- }
142
- }
@@ -1,212 +0,0 @@
1
- @import "./AuthVariables";
2
- @import "element-plus/theme-chalk/base";
3
- @import "../components/input.scss";
4
- @import "../components/button";
5
- @import "../components/basic";
6
- @import "./modal";
7
-
8
- // AuthModule
9
- .AuthModule {
10
- position: fixed;
11
- background-color: black;
12
- height: 100vh;
13
- width: 100%;
14
- background: url("../media/content/images/hero-auth-background-desktop.jpg")
15
- center top no-repeat;
16
- background-size: cover;
17
- z-index: 10;
18
-
19
- .logo {
20
- width: 13.3rem;
21
- z-index: 99;
22
- }
23
- @include breakpoint(max-width $tabletMax) {
24
- background: url("../media/content/images/hero-auth-background-tablet.jpg")
25
- center top no-repeat;
26
- }
27
- @include breakpoint(max-width $mobileMax) {
28
- background: url("../media/content/images/hero-auth-background-mobile.jpg")
29
- center top no-repeat;
30
- }
31
- }
32
-
33
- .AuthModule__form {
34
- position: absolute;
35
- top: 50%;
36
- left: 50%;
37
- transform: translate(-50%, -50%);
38
- background-color: white;
39
- min-width: 320px;
40
- width: 460px;
41
- padding: 48px 40px 40px;
42
- z-index: 1;
43
-
44
- @include breakpoint(max-width $mobileMax) {
45
- top: 84px;
46
- transform: translate(-50%, 0);
47
- padding: 24px;
48
- width: calc(100% - 80px);
49
- h2 .h2 {
50
- font-size: 24px;
51
- line-height: 32px;
52
- }
53
- }
54
-
55
- h2,
56
- .h2 {
57
- line-height: 50px;
58
- font-size: 48px;
59
- }
60
- .h2--small {
61
- font-size: 36px;
62
- line-height: 44px;
63
- }
64
-
65
- p {
66
- font-size: 14px;
67
- line-height: 20px;
68
- margin-bottom: 24px;
69
- letter-spacing: -0.1px;
70
- &.disclaimer {
71
- font-size: 12px;
72
- color: rgba($color1, 0.5);
73
- margin: 0;
74
- }
75
- a {
76
- color: $color1;
77
- }
78
- &.form__error {
79
- font-size: 12px;
80
- line-height: 18px;
81
- }
82
- }
83
-
84
- .vel-button {
85
- max-width: 200px;
86
- width: 200px;
87
- padding: 9px 23.5px;
88
- font-size: 14px;
89
- @include breakpoint(max-width $mobileMax) {
90
- max-width: unset;
91
- width: 100%;
92
- }
93
- }
94
-
95
- .form {
96
- &.error {
97
- .form__input {
98
- .el-input__wrapper {
99
- border: 0.4px solid red;
100
- }
101
- }
102
- .form__input.error {
103
- border: none;
104
- .el-input__wrapper {
105
- border: 0.4px solid red;
106
- }
107
- }
108
- }
109
- // &__icon-container{
110
- // position: absolute;
111
- // top: 50%;
112
- // right: $spacing * 1.5;
113
- // transform: translateY(-50%);
114
- // display: flex;
115
- // }
116
- // &__action-icon {
117
- // margin-left: $spacing * 0.5;
118
- // cursor: pointer;
119
- // }
120
- }
121
- .vel-basic__label {
122
- font-size: 12px;
123
- color: rgba($color1, 0.5);
124
- }
125
- .vel-basic__textbox {
126
- --el-border-color: #cfd8dd;
127
- --el-input-text-color: #666666;
128
- --el-input-focus-border-color: #cfd8dd;
129
- --el-input-hover-border-color: #cfd8dd;
130
- font-size: 14px;
131
- padding-bottom: $am-spacing * 2.5;
132
- .el-input__inner {
133
- --el-input-inner-height: 38px;
134
- }
135
- }
136
- .el-button--primary {
137
- --el-button-text-color: #ffffff;
138
- }
139
- input,
140
- input:focus {
141
- @extend .el-input__inner;
142
- }
143
- }
144
-
145
- .AuthModule__logo__container {
146
- position: absolute;
147
- top: 48px;
148
- left: 0%;
149
- }
150
- .AuthModule__logo {
151
- position: relative;
152
- }
153
- .AuthModule__Content {
154
- position: absolute;
155
- z-index: 1;
156
- top: 50%;
157
- left: 50%;
158
- transform: translate(-50%, -50%);
159
- max-width: 1024px;
160
- width: 100%;
161
- height: 100%;
162
- }
163
-
164
- .AM-mb {
165
- margin-bottom: $am-spacing !important;
166
- }
167
- .AM-mt {
168
- margin-top: $am-spacing !important;
169
- }
170
- .AM-pb {
171
- padding-bottom: $am-spacing !important;
172
- }
173
- .AM-pt {
174
- padding-top: $am-spacing !important;
175
- }
176
- @for $i from 1 through 5 {
177
- .AM-mb-#{$i - 1} {
178
- margin-bottom: ($i - 1) * $am-spacing !important;
179
- }
180
-
181
- .AM-mb-#{$i - 1}\.5 {
182
- margin-bottom: ($i - 0.5) * $am-spacing !important;
183
- }
184
-
185
- .AM-mt-#{$i - 1} {
186
- margin-top: ($i - 1) * $am-spacing !important;
187
- }
188
-
189
- .AM-mt-#{$i - 1}\.5 {
190
- margin-top: ($i - 0.5) * $am-spacing !important;
191
- }
192
-
193
- .AM-pt-#{$i - 1} {
194
- padding-top: ($i - 1) * $am-spacing !important;
195
- }
196
-
197
- .AM-pt-#{$i - 1}\.5 {
198
- padding-top: ($i - 0.5) * $am-spacing !important;
199
- }
200
-
201
- .AM-pb-#{$i - 1} {
202
- padding-bottom: ($i - 1) * $am-spacing !important;
203
- }
204
-
205
- .AM-pb-#{$i - 1}\.5 {
206
- padding-bottom: ($i - 0.5) * $am-spacing !important;
207
- }
208
- }
209
-
210
- .AM-color-highlight {
211
- color: $am-highlight;
212
- }
@@ -1,7 +0,0 @@
1
- $am-spacing: 8px;
2
- $am-highlight: #3c976e;
3
-
4
- $color8: #f2f2f2; //Used
5
- $color10: #dcdbdb;
6
- $color12: #5c5c5c;
7
- $colorAlert: #d53a3a;
@@ -1,24 +0,0 @@
1
- @import "@fishawack/lab-ui/_modal.scss";
2
-
3
- .modal--auth {
4
- background-color: transparent;
5
-
6
- transition: all 500ms ease-in-out;
7
-
8
- &::before {
9
- content: "";
10
- pointer-events: none;
11
- z-index: 0 !important;
12
- position: fixed;
13
- width: 100%;
14
- height: 100%;
15
- background: #00000066;
16
- backdrop-filter: blur(1.5rem);
17
- top: 0;
18
- left: 0;
19
- right: 0;
20
- }
21
- }
22
- .AuthModule__form.modal__box {
23
- position: absolute;
24
- }