@bsgoal/common 2.8.4 → 2.8.6
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/index.mjs +1188 -1169
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +6 -6
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/bsgoal-base-dialog/debug.log +8 -0
- package/src/components/bsgoal-base-dialog/demo.vue +2 -2
- package/src/components/bsgoal-base-dialog/index.vue +8 -3
- package/src/components/bsgoal-base-form/demo.vue +6 -10
- package/src/components/bsgoal-base-form/index.vue +19 -4
- package/src/components/bsgoal-base-search-table/debug.log +2 -0
- package/src/components/bsgoal-base-select/debug.log +2 -0
- package/src/components/bsgoal-base-tabs/debug.log +1 -0
- package/src/debug.log +1 -0
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";.base_tooltip_popper{max-width:20em}.bsgoal-base-form .base_form
|
|
1
|
+
@charset "UTF-8";.base_tooltip_popper{max-width:20em}.bsgoal-base-form .base_form .el-form-item{margin-right:10px}.bsgoal-base-form .base_form div.el-input,.bsgoal-base-form .base_form div.el-select{width:100%}.bsgoal-base-form .base_form--visible{width:0px;height:0px;overflow:hidden}.bsgoal-base-table-pagination{text-align:right}.bsgoal-base-table-pagination .base_table_pagination{display:inline-block;margin-top:16px}.bsgoal-base-table-empty .base_table_empty{text-align:center}.bsgoal-base-table-empty .base_table_empty_img{padding-top:16px;line-height:initial}.bsgoal-base-table-empty .base_table_empty_text{display:inline-block}.bsgoal-base-table .base_table{padding:16px}.bsgoal-base-table .base_table_menu{margin-bottom:8px}.bsgoal-base-table .el-table__body-wrapper{overflow-y:hidden!important}.bsgoal-base-table .el-scrollbar__view{height:100%}.bsgoal-base-line .base_line{height:10px;background-color:#f0f2f5}.bsgoal-base-line .bsgoal-base-line__vertical{display:inline-block;height:100%}.bsgoal-base-line .base_line__vertical{width:10px;height:100%}.bsgoal-base-search-operation{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.bsgoal-base-search-operation .operation_fold{margin-left:12px;cursor:pointer;min-width:3em}.bsgoal-base-cascader{width:100%}.bsgoal-base-cascader .base_cascader{width:inherit}.bsgoal-base-search .base_search{padding:16px 6px 8px 16px}.bsgoal-base-search .base_search .el-form-item{margin-bottom:8px;margin-right:10px}.bsgoal-base-search .base_search div.el-input,.bsgoal-base-search .base_search div.el-select{width:100%}.bsgoal-base-tree-fold .base_tree_fold{position:absolute;top:0;bottom:0;right:10px;margin:auto;width:14px;height:38px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;border-radius:10px;background-color:#409eff}.bsgoal-base-tree-fold .base_tree_fold--hide{right:0px}.bsgoal-base-tree{display:inline-block}.bsgoal-base-tree .base_tree{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;min-width:14px}.bsgoal-base-tree .base_tree_main{width:221px;padding:16px;scrollbar-width:none;-ms-overflow-style:none;overflow-x:hidden;overflow-y:auto}.bsgoal-base-tree .base_tree_main::-webkit-scrollbar{width:6px;height:6px}.bsgoal-base-tree .base_tree_main::-webkit-scrollbar-thumb{border-radius:10px;background:rgba(0,0,0,.2);width:20px}.bsgoal-base-tree .base_tree_main::-webkit-scrollbar-track{background-color:#fff}.bsgoal-base-tree .base_tree_main_input{margin-bottom:10px}.bsgoal-base-tree .base_tree .el-tree-node__content>i.el-tree-node__expand-icon{padding-left:0}.bsgoal-base-button,.bsgoal-base-button .base_button{display:inline-block}.bsgoal-base-dialog .base_dialog_header{font-weight:500;color:#303133;font-size:16px}.bsgoal-base-dialog .bsgoal-dialog__footer--conceal .el-dialog__footer{display:none}.bsgoal-base-dialog .bsgoal_base_dialog_main .el-dialog__header{padding:16px 30px;margin-right:0;background-color:#f5f7fa;height:initial!important}.bsgoal-base-dialog .bsgoal_base_dialog_main .el-dialog__header .el-dialog__headerbtn{top:0px;right:8px}.bsgoal-base-dialog .bsgoal_base_dialog_main .el-dialog__body{padding:0}.bsgoal-base-dialog .bsgoal_base_dialog_main .base_dialog_content{padding:30px}.bsgoal-base-dialog .bsgoal_base_dialog_main .base_dialog_content--form{padding:0 0 30px 30px}.bsgoal-base-dialog .bsgoal_base_dialog_main .base_dialog_content--form .bsgoal-base-form .base_form{padding:initial;padding-top:16px}.bsgoal-base-dialog .bsgoal_base_dialog_main .base_dialog_content--blank{padding-top:0}.bsgoal-base-dialog .base_dialog_footer_cancel{margin-right:16px}.bsgoal-base-alert .el-alert,.bsgoal-base-item .base_item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.bsgoal-base-item .base_item_label{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:14px;color:#606266;height:32px;line-height:32px;padding-right:12px}
|
package/package.json
CHANGED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
[0531/113627.873:ERROR:registration_protocol_win.cc(107)] CreateFile: ϵͳ�Ҳ���ָ�����ļ��� (0x2)
|
|
2
|
+
[0531/113628.535:ERROR:registration_protocol_win.cc(107)] CreateFile: ϵͳ�Ҳ���ָ�����ļ��� (0x2)
|
|
3
|
+
[0531/114349.870:ERROR:registration_protocol_win.cc(107)] CreateFile: ϵͳ�Ҳ���ָ�����ļ��� (0x2)
|
|
4
|
+
[0531/134940.513:ERROR:registration_protocol_win.cc(107)] CreateFile: ϵͳ�Ҳ���ָ�����ļ��� (0x2)
|
|
5
|
+
[0531/134940.513:ERROR:registration_protocol_win.cc(107)] CreateFile: ϵͳ�Ҳ���ָ�����ļ��� (0x2)
|
|
6
|
+
[0531/140033.847:ERROR:registration_protocol_win.cc(107)] CreateFile: ϵͳ�Ҳ���ָ�����ļ��� (0x2)
|
|
7
|
+
[0531/140033.869:ERROR:registration_protocol_win.cc(107)] CreateFile: ϵͳ�Ҳ���ָ�����ļ��� (0x2)
|
|
8
|
+
[0531/143430.040:ERROR:registration_protocol_win.cc(107)] CreateFile: ϵͳ�Ҳ���ָ�����ļ��� (0x2)
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @Author: canlong.shen
|
|
3
3
|
* @Date: 2023-04-23 16:35:24
|
|
4
4
|
* @LastEditors: canlong.shen
|
|
5
|
-
* @LastEditTime: 2023-05-
|
|
5
|
+
* @LastEditTime: 2023-05-31 11:44:23
|
|
6
6
|
* @FilePath: \common\src\components\bsgoal-base-dialog\demo.vue
|
|
7
7
|
* @Description: 弹窗公共组件 演示
|
|
8
8
|
*
|
|
@@ -70,7 +70,7 @@ const triggerConfirm = (done) => {
|
|
|
70
70
|
<BsgoalBaseDialog
|
|
71
71
|
v-model="dialogVisible2"
|
|
72
72
|
size="max"
|
|
73
|
-
type="
|
|
73
|
+
type="blank"
|
|
74
74
|
@on-confirm="triggerConfirm"
|
|
75
75
|
>
|
|
76
76
|
<BsgoalBaseTabs v-memo="activeTabName" :config-options="tabsConfigOptions" />
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @Author: canlong.shen
|
|
3
3
|
* @Date: 2023-04-23 16:35:19
|
|
4
4
|
* @LastEditors: canlong.shen
|
|
5
|
-
* @LastEditTime: 2023-05-
|
|
5
|
+
* @LastEditTime: 2023-05-31 11:57:26
|
|
6
6
|
* @FilePath: \common\src\components\bsgoal-base-dialog\index.vue
|
|
7
7
|
* @Description: 弹窗公共组件
|
|
8
8
|
*
|
|
@@ -152,7 +152,7 @@ const widthGet = computed(() => {
|
|
|
152
152
|
<template #header>
|
|
153
153
|
<div class="base_dialog_header">{{ title }}</div>
|
|
154
154
|
</template>
|
|
155
|
-
<div :class="['base_dialog_content', { 'base_dialog_content--form': type === 'form' }]">
|
|
155
|
+
<div :class="['base_dialog_content', { 'base_dialog_content--form': type === 'form','base_dialog_content--blank': type === 'blank' }]">
|
|
156
156
|
<slot></slot>
|
|
157
157
|
</div>
|
|
158
158
|
<template #footer>
|
|
@@ -195,7 +195,7 @@ const widthGet = computed(() => {
|
|
|
195
195
|
padding: 16px 30px;
|
|
196
196
|
margin-right: 0px;
|
|
197
197
|
background-color: #f5f7fa;
|
|
198
|
-
|
|
198
|
+
height: initial !important;
|
|
199
199
|
.el-dialog__headerbtn {
|
|
200
200
|
top: 0px;
|
|
201
201
|
right: 8px;
|
|
@@ -218,6 +218,11 @@ const widthGet = computed(() => {
|
|
|
218
218
|
padding-top: 16px;
|
|
219
219
|
}
|
|
220
220
|
}
|
|
221
|
+
|
|
222
|
+
.base_dialog_content--blank{
|
|
223
|
+
padding-top: 0px;
|
|
224
|
+
}
|
|
225
|
+
|
|
221
226
|
}
|
|
222
227
|
.base_dialog_footer_cancel {
|
|
223
228
|
margin-right:16px;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @Author: canlong.shen
|
|
3
3
|
* @Date: 2023-04-10 15:00:00
|
|
4
4
|
* @LastEditors: canlong.shen
|
|
5
|
-
* @LastEditTime: 2023-05-
|
|
5
|
+
* @LastEditTime: 2023-05-31 17:43:54
|
|
6
6
|
* @FilePath: \common\src\components\bsgoal-base-form\demo.vue
|
|
7
7
|
* @Description: 表单公共组件演示组件
|
|
8
8
|
*
|
|
@@ -35,20 +35,17 @@ const confirm = () => {
|
|
|
35
35
|
|
|
36
36
|
const bindModel = ref({ prop1: '111', prop99: 1, prop101: '否', prop102: '0', _prop104: '' })
|
|
37
37
|
|
|
38
|
-
|
|
39
|
-
|
|
40
38
|
// 配置项
|
|
41
39
|
const configOptions = ref([
|
|
42
40
|
{
|
|
43
41
|
label: 'prop104',
|
|
44
42
|
prop: '_prop104',
|
|
45
|
-
validator:true,
|
|
43
|
+
validator: true,
|
|
46
44
|
rules: [
|
|
47
45
|
{
|
|
48
46
|
validator: (rule, value, callback) => {
|
|
49
47
|
console.log('value', value)
|
|
50
|
-
|
|
51
|
-
|
|
48
|
+
|
|
52
49
|
// return callback(new Error('Please input the age'))
|
|
53
50
|
return callback()
|
|
54
51
|
},
|
|
@@ -64,7 +61,7 @@ const configOptions = ref([
|
|
|
64
61
|
return `${value}`.match(/^\d{1,}$/) ? value : ''
|
|
65
62
|
},
|
|
66
63
|
placeholder: '',
|
|
67
|
-
rules:true
|
|
64
|
+
rules: true
|
|
68
65
|
},
|
|
69
66
|
|
|
70
67
|
{
|
|
@@ -260,13 +257,12 @@ const configOptions = ref([
|
|
|
260
257
|
ref="BSGOAL_BASE_FORM_REF"
|
|
261
258
|
readonly
|
|
262
259
|
none="--"
|
|
260
|
+
:itemStyler="{ marginBottom: '8px' }"
|
|
263
261
|
:limits="10"
|
|
264
262
|
:config-options="configOptions"
|
|
265
263
|
:bind-model="bindModel"
|
|
266
264
|
>
|
|
267
|
-
|
|
268
|
-
6666
|
|
269
|
-
</template>
|
|
265
|
+
<template #_prop104> 6666 </template>
|
|
270
266
|
</BsgoalBaseForm>
|
|
271
267
|
<el-button type="primary" @click="confirm">提交</el-button>
|
|
272
268
|
</div>
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @Author: canlong.shen
|
|
3
3
|
* @Date: 2023-04-17 11:44:29
|
|
4
4
|
* @LastEditors: canlong.shen
|
|
5
|
-
* @LastEditTime: 2023-05-
|
|
5
|
+
* @LastEditTime: 2023-05-31 14:46:37
|
|
6
6
|
* @FilePath: \common\src\components\bsgoal-base-form\index.vue
|
|
7
7
|
* @Description: 表单公共组件
|
|
8
8
|
*
|
|
@@ -96,6 +96,20 @@ const props = defineProps({
|
|
|
96
96
|
type: [String],
|
|
97
97
|
default: 'right',
|
|
98
98
|
validator: (v) => ['left', 'rightn', 'top'].includes(v)
|
|
99
|
+
},
|
|
100
|
+
/**
|
|
101
|
+
* base_form 绑定的 style 对象
|
|
102
|
+
*/
|
|
103
|
+
styler: {
|
|
104
|
+
type: [Object],
|
|
105
|
+
default: () => ({})
|
|
106
|
+
},
|
|
107
|
+
/**
|
|
108
|
+
* el_form_item 绑定的 style 对象
|
|
109
|
+
*/
|
|
110
|
+
itemStyler: {
|
|
111
|
+
type: [Object],
|
|
112
|
+
default: () => ({})
|
|
99
113
|
}
|
|
100
114
|
})
|
|
101
115
|
|
|
@@ -397,11 +411,12 @@ defineExpose({
|
|
|
397
411
|
</script>
|
|
398
412
|
<template>
|
|
399
413
|
<div class="bsgoal-base-form">
|
|
400
|
-
<div class="base_form">
|
|
414
|
+
<div class="base_form" :style="styler">
|
|
401
415
|
<!-- / 表单内容 -->
|
|
402
416
|
<el-form
|
|
403
417
|
ref="EL_FORM_REF"
|
|
404
418
|
label-suffix=":"
|
|
419
|
+
style="padding: 0px"
|
|
405
420
|
:label-position="labelPosition"
|
|
406
421
|
:model="model"
|
|
407
422
|
v-align
|
|
@@ -437,7 +452,7 @@ defineExpose({
|
|
|
437
452
|
:key="key"
|
|
438
453
|
>
|
|
439
454
|
<el-col :class="{ 'base_form--visible': !visible }" :xs="24" :sm="24" :md="medium">
|
|
440
|
-
<el-form-item :label="label" :prop="prop" :rules="rules">
|
|
455
|
+
<el-form-item :style="itemStyler" :label="label" :prop="prop" :rules="rules">
|
|
441
456
|
<slot :name="[prop]" :option="{ readonly, value: model[prop], values: model }">
|
|
442
457
|
<!-- S 内容组件 -->
|
|
443
458
|
<template v-if="!readonly">
|
|
@@ -639,7 +654,7 @@ defineExpose({
|
|
|
639
654
|
---------------------------------------------------------------- */
|
|
640
655
|
.bsgoal-base-form {
|
|
641
656
|
.base_form {
|
|
642
|
-
padding: 16px 6px 8px 16px;
|
|
657
|
+
/* padding: 16px 6px 8px 16px; */
|
|
643
658
|
|
|
644
659
|
.el-form-item {
|
|
645
660
|
// margin-bottom: 8px;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[0531/114341.801:ERROR:registration_protocol_win.cc(107)] CreateFile: ϵͳ�Ҳ���ָ�����ļ��� (0x2)
|
package/src/debug.log
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[0531/183438.359:ERROR:registration_protocol_win.cc(107)] CreateFile: ϵͳ�Ҳ���ָ�����ļ��� (0x2)
|