@burh/nuxt-core 1.0.410 → 1.0.412

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,8 +1,7 @@
1
1
  <template>
2
- <el-dialog
3
- :visible.sync="isActive"
4
- width="55%"
5
- custom-class="position-relative"
2
+ <modal
3
+ :show.sync="isActive"
4
+ :size="'lg'"
6
5
  @close="$emit('close')"
7
6
  >
8
7
  <template v-if="isActive">
@@ -247,11 +246,11 @@
247
246
  />
248
247
  </span>
249
248
  </template>
250
- </el-dialog>
249
+ </modal>
251
250
  </template>
252
251
 
253
252
  <script>
254
- import { Dialog, Select, Option } from 'element-ui';
253
+ import { Select, Option } from 'element-ui';
255
254
  import { mask } from 'vue-the-mask';
256
255
  import swal from 'sweetalert2';
257
256
  import removeAccents from 'remove-accents';
@@ -262,7 +261,6 @@ export default {
262
261
  mask
263
262
  },
264
263
  components: {
265
- [Dialog.name]: Dialog,
266
264
  [Select.name]: Select,
267
265
  [Option.name]: Option,
268
266
 
@@ -467,20 +465,6 @@ body.swal2-toast-shown .swal2-container.swal2-top-end, body.swal2-toast-shown .s
467
465
  <style lang="scss" scoped>
468
466
  @import '@burh/nuxt-core/assets/sass/burh-ds/variables/_colors.scss';
469
467
 
470
- /deep/ .el-dialog__body {
471
- padding: 0;
472
- }
473
-
474
- /deep/ .el-dialog__header {
475
- display: none;
476
- }
477
-
478
- /deep/ .el-dialog {
479
- overflow: hidden;
480
- border-radius: 10px;
481
- max-width: 47.5rem;
482
- }
483
-
484
468
  .role {
485
469
  padding: 2rem 3rem;
486
470
 
@@ -499,29 +483,4 @@ body.swal2-toast-shown .swal2-container.swal2-top-end, body.swal2-toast-shown .s
499
483
  }
500
484
  }
501
485
 
502
- .tool {
503
- position: absolute;
504
- top: 1rem;
505
- z-index: 10;
506
- color: $primary;
507
- cursor: pointer;
508
-
509
- &-close {
510
- position: absolute;
511
- width: 88px;
512
- height: 27px;
513
- right: 7px;
514
- top: 7px;
515
- display: flex;
516
- justify-content: center;
517
- align-items: center;
518
-
519
- font-size: 11px;
520
-
521
- font-weight: 500;
522
- background: rgba(0, 0, 0, 0.2);
523
- border-radius: 17.5px;
524
- color: #fff;
525
- }
526
- }
527
486
  </style>
@@ -1,8 +1,7 @@
1
1
  <template>
2
- <el-dialog
3
- :visible.sync="isActive"
4
- width="65%"
5
- custom-class="position-relative"
2
+ <modal
3
+ :show.sync="isActive"
4
+ :size="'xl'"
6
5
  @close="$emit('close')"
7
6
  >
8
7
  <template>
@@ -105,18 +104,17 @@
105
104
  />
106
105
  </span>
107
106
  </template>
108
- </el-dialog>
107
+ </modal>
109
108
  </template>
110
109
 
111
110
  <script>
112
- import { Dialog, Select, Option } from 'element-ui';
111
+ import { Select, Option } from 'element-ui';
113
112
  import getPrefixes from '~/util/getPrefixes.js';
114
113
  import SkeletonAnimate from '../Skeleton/SkeletonAnimate.vue';
115
114
 
116
115
  export default {
117
116
  name: 'member-modal',
118
117
  components: {
119
- [Dialog.name]: Dialog,
120
118
  [Select.name]: Select,
121
119
  [Option.name]: Option,
122
120
  SkeletonAnimate
@@ -171,21 +169,6 @@ export default {
171
169
  <style lang="scss" scoped>
172
170
  @import '@burh/nuxt-core/assets/sass/burh-ds/variables/_colors.scss';
173
171
 
174
- /deep/ .el-dialog__body {
175
- padding: 0;
176
- }
177
-
178
- /deep/ .el-dialog__header {
179
- display: none;
180
- }
181
-
182
- /deep/ .el-dialog {
183
- overflow: hidden;
184
- border-radius: 10px;
185
- padding-bottom: 3.125rem;
186
- max-width: 60.43rem;
187
- }
188
-
189
172
  .member {
190
173
  padding: 3rem 2rem;
191
174
 
@@ -272,30 +255,4 @@ export default {
272
255
  }
273
256
  }
274
257
  }
275
-
276
- .tool {
277
- position: absolute;
278
- top: 1rem;
279
- z-index: 10;
280
- color: $primary;
281
- cursor: pointer;
282
-
283
- &-close {
284
- position: absolute;
285
- width: 5.5rem;
286
- height: 1.6rem;
287
- right: 7px;
288
- top: 7px;
289
- display: flex;
290
- justify-content: center;
291
- align-items: center;
292
-
293
- font-size: 11px;
294
-
295
- font-weight: 500;
296
- background: rgba(0, 0, 0, 0.2);
297
- border-radius: 17.5px;
298
- color: #fff;
299
- }
300
- }
301
258
  </style>
@@ -1,8 +1,6 @@
1
1
  <template>
2
- <el-dialog
3
- :visible.sync="isActive"
4
- width="55%"
5
- custom-class="position-relative"
2
+ <modal
3
+ :show.sync="isActive"
6
4
  @close="$emit('close')"
7
5
  >
8
6
  <template>
@@ -66,16 +64,15 @@
66
64
  />
67
65
  </span>
68
66
  </template>
69
- </el-dialog>
67
+ </modal>
70
68
  </template>
71
69
 
72
70
  <script>
73
- import { Dialog, Select, Option } from 'element-ui';
71
+ import { Select, Option } from 'element-ui';
74
72
 
75
73
  export default {
76
74
  name: 'add-role-modal',
77
75
  components: {
78
- [Dialog.name]: Dialog,
79
76
  [Select.name]: Select,
80
77
  [Option.name]: Option,
81
78
  },
@@ -131,20 +128,6 @@ export default {
131
128
  <style lang="scss" scoped>
132
129
  @import '@burh/nuxt-core/assets/sass/burh-ds/variables/_colors.scss';
133
130
 
134
- /deep/ .el-dialog__body {
135
- padding: 0;
136
- }
137
-
138
- /deep/ .el-dialog__header {
139
- display: none;
140
- }
141
-
142
- /deep/ .el-dialog {
143
- overflow: hidden;
144
- border-radius: 10px;
145
- max-width: 47.5rem;
146
- }
147
-
148
131
  .role {
149
132
  padding: 2rem 3rem;
150
133
 
@@ -156,30 +139,4 @@ export default {
156
139
  }
157
140
  }
158
141
  }
159
-
160
- .tool {
161
- position: absolute;
162
- top: 1rem;
163
- z-index: 10;
164
- color: $primary;
165
- cursor: pointer;
166
-
167
- &-close {
168
- position: absolute;
169
- width: 88px;
170
- height: 27px;
171
- right: 7px;
172
- top: 7px;
173
- display: flex;
174
- justify-content: center;
175
- align-items: center;
176
-
177
- font-size: 11px;
178
-
179
- font-weight: 500;
180
- background: rgba(0, 0, 0, 0.2);
181
- border-radius: 17.5px;
182
- color: #fff;
183
- }
184
- }
185
142
  </style>