widget.qw 1.0.49 → 1.0.50
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/build/style.css +9 -9
- package/build/widget.qw.es.js +4 -4
- package/build/widget.qw.umd.js +4 -4
- package/package.json +1 -1
- package/src/components/data_selector.vue +1 -0
- package/src/env.d.ts +8 -8
- package/src/views/objseditor/index.vue +13 -2
- package/tsconfig.json +19 -19
- package/tsconfig.node.json +8 -8
package/build/style.css
CHANGED
|
@@ -99,31 +99,31 @@
|
|
|
99
99
|
opacity: 1;
|
|
100
100
|
-webkit-text-fill-color: #000;
|
|
101
101
|
}
|
|
102
|
-
.popup-style[data-v-
|
|
102
|
+
.popup-style[data-v-3925cc28] {
|
|
103
103
|
height: 21.25rem;
|
|
104
104
|
}
|
|
105
|
-
.showMultipleButton[data-v-
|
|
105
|
+
.showMultipleButton[data-v-3925cc28] {
|
|
106
106
|
padding-bottom: 0;
|
|
107
107
|
}
|
|
108
|
-
.showMultipleButton .van-button[data-v-
|
|
108
|
+
.showMultipleButton .van-button[data-v-3925cc28] {
|
|
109
109
|
border: 0;
|
|
110
110
|
}
|
|
111
|
-
.flex-between[data-v-
|
|
111
|
+
.flex-between[data-v-3925cc28] {
|
|
112
112
|
padding: 10px;
|
|
113
113
|
display: flex;
|
|
114
114
|
justify-content: space-between;
|
|
115
115
|
align-items: center;
|
|
116
116
|
}
|
|
117
|
-
.bold[data-v-
|
|
117
|
+
.bold[data-v-3925cc28] {
|
|
118
118
|
font-weight: bold;
|
|
119
119
|
color: #444;
|
|
120
120
|
}
|
|
121
|
-
.checkbox-style[data-v-
|
|
121
|
+
.checkbox-style[data-v-3925cc28] {
|
|
122
122
|
/* height: 220px; */
|
|
123
123
|
height: calc(220px - 30px);
|
|
124
124
|
overflow-y: auto;
|
|
125
125
|
}
|
|
126
|
-
.select-all-container[data-v-
|
|
126
|
+
.select-all-container[data-v-3925cc28] {
|
|
127
127
|
font-size: 14px;
|
|
128
128
|
padding: 0 16px;
|
|
129
129
|
margin: 10px 0;
|
|
@@ -131,12 +131,12 @@
|
|
|
131
131
|
justify-content: flex-end;
|
|
132
132
|
align-items: center;
|
|
133
133
|
}
|
|
134
|
-
.select-all-container .van-checkbox[data-v-
|
|
134
|
+
.select-all-container .van-checkbox[data-v-3925cc28] {
|
|
135
135
|
margin-left: auto;
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
/* 新增:调整方形复选框的边距 */
|
|
139
|
-
.van-checkbox--square[data-v-
|
|
139
|
+
.van-checkbox--square[data-v-3925cc28] {
|
|
140
140
|
margin-left: 8px;
|
|
141
141
|
}
|
|
142
142
|
|
package/build/widget.qw.es.js
CHANGED
|
@@ -17123,7 +17123,7 @@ const _sfc_main$o = {
|
|
|
17123
17123
|
};
|
|
17124
17124
|
}
|
|
17125
17125
|
};
|
|
17126
|
-
var data_selector_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.popup-style[data-v-
|
|
17126
|
+
var data_selector_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.popup-style[data-v-3925cc28] {\r\n height: 21.25rem;\n}\n.showMultipleButton[data-v-3925cc28] {\r\n padding-bottom: 0;\n}\n.showMultipleButton .van-button[data-v-3925cc28] {\r\n border: 0;\n}\n.flex-between[data-v-3925cc28] {\r\n padding: 10px;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\n}\n.bold[data-v-3925cc28] {\r\n font-weight: bold;\r\n color: #444;\n}\n.checkbox-style[data-v-3925cc28] {\r\n /* height: 220px; */\r\n height: calc(220px - 30px); \r\n overflow-y: auto;\n}\n.select-all-container[data-v-3925cc28] {\r\n font-size: 14px;\r\n padding: 0 16px;\r\n margin: 10px 0;\r\n display: flex;\r\n justify-content: flex-end;\r\n align-items: center;\n}\n.select-all-container .van-checkbox[data-v-3925cc28] {\r\n margin-left: auto;\n}\r\n\r\n/* \u65B0\u589E\uFF1A\u8C03\u6574\u65B9\u5F62\u590D\u9009\u6846\u7684\u8FB9\u8DDD */\n.van-checkbox--square[data-v-3925cc28] {\r\n margin-left: 8px;\n}\r\n \r\n")();
|
|
17127
17127
|
const _hoisted_1$g = {
|
|
17128
17128
|
class: "pad10 flex-between showMultipleButton"
|
|
17129
17129
|
};
|
|
@@ -17206,10 +17206,10 @@ const _sfc_main$n = {
|
|
|
17206
17206
|
if (!props.options)
|
|
17207
17207
|
return [];
|
|
17208
17208
|
return props.options.map((item) => {
|
|
17209
|
-
return {
|
|
17209
|
+
return __spreadProps(__spreadValues({}, item), {
|
|
17210
17210
|
text: item[props.columnsFieldNames.text],
|
|
17211
17211
|
value: item[props.columnsFieldNames.value]
|
|
17212
|
-
};
|
|
17212
|
+
});
|
|
17213
17213
|
});
|
|
17214
17214
|
});
|
|
17215
17215
|
const findTextsByValues = (valuesToFind, data2) => {
|
|
@@ -17435,7 +17435,7 @@ const _sfc_main$n = {
|
|
|
17435
17435
|
};
|
|
17436
17436
|
}
|
|
17437
17437
|
};
|
|
17438
|
-
var DataSelector = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-
|
|
17438
|
+
var DataSelector = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-3925cc28"]]);
|
|
17439
17439
|
var mult_list_selector_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\r\n/* // \u4FEE\u6539 confirmation-group \u548C confirmation-item \u7684\u6837\u5F0F */\n.confirmation-group[data-v-40a09897] {\r\n padding: 0 16px;\r\n --van-checkbox-disabled-icon-color: black;\n}\n.confirmation-item[data-v-40a09897] {\r\n padding: 12px 16px;\r\n margin: 0 -16px;\r\n border-bottom: 1px solid #f5f5f5;\r\n /* \u7981\u7528\u72B6\u6001\u6837\u5F0F */\n}\r\n\r\n/* // \u5728\u4E0B\u65B9\u6DFB\u52A0\u5A92\u4F53\u67E5\u8BE2\u9002\u914D\u5C0F\u5C4F\u5E55 */\n@media (max-width: 320px) {\n.confirmation-item[data-v-40a09897] {\r\n padding: 12px 8px;\r\n margin: 0 -8px;\n}\n}\n.confirmation-item[data-v-40a09897]:last-child {\r\n border-bottom: none;\n}\r\n\r\n/* \u65B0\u589E\u6837\u5F0F */\n.confirmation-tips[data-v-40a09897] {\r\n padding: 12px 16px;\r\n background: #f0faff;\r\n border-radius: 8px;\r\n margin: 10px 16px;\r\n display: flex;\r\n align-items: center;\r\n color: #1989fa;\r\n font-size: 13px;\r\n border: 1px solid #d9efff;\n}\n.confirmation-tips .van-icon[data-v-40a09897] {\r\n margin-right: 8px;\n}\r\n\r\n/* \u65B0\u589E\u5B57\u4F53\u7EE7\u627F\u6837\u5F0F */\n.confirmation-group[data-v-40a09897] {\r\n font-size: inherit; /* \u7EE7\u627F\u7236\u7EA7\u5B57\u4F53\u5927\u5C0F */\n}\n.option-text[data-v-40a09897] {\r\n font-size: 14px; /* \u660E\u786E\u6307\u5B9A\u5B57\u4F53\u5927\u5C0F */\r\n line-height: 1.5; /* \u4FDD\u6301\u884C\u9AD8\u4E00\u81F4 */\r\n /* color:black; */\n}\r\n\r\n/* \u9002\u914D\u79FB\u52A8\u7AEF\u7684\u5B57\u4F53\u8C03\u6574 */\n@media (max-width: 375px) {\n.option-text[data-v-40a09897] {\r\n font-size: 13px;\n}\n}\r\n\r\n/* \u65B0\u589E\u7981\u7528\u72B6\u6001\u6837\u5F0F */\n.custom-checkbox[data-v-40a09897]:disabled .--van-checkbox__icon {\r\n background-color: #f5f5f5;\r\n border-color: #ebedf0;\r\n transition: all 0.3s;\n}\n.custom-checkbox[data-v-40a09897]:disabled .van-checkbox__icon--checked {\r\n background-color: #1989fa;\r\n border-color: #1989fa;\r\n opacity: 0.7;\n}\n.van-checkbox--disabled[data-v-40a09897] .option-text {\r\n color: #969799;\n}\n.van-checkbox--disabled.van-checkbox--checked[data-v-40a09897] .option-text {\r\n color: #1989fa;\r\n opacity: 0.8;\n}\r\n")();
|
|
17440
17440
|
const _hoisted_1$f = {
|
|
17441
17441
|
key: 0,
|
package/build/widget.qw.umd.js
CHANGED
|
@@ -17126,7 +17126,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17126
17126
|
};
|
|
17127
17127
|
}
|
|
17128
17128
|
};
|
|
17129
|
-
var data_selector_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.popup-style[data-v-
|
|
17129
|
+
var data_selector_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.popup-style[data-v-3925cc28] {\r\n height: 21.25rem;\n}\n.showMultipleButton[data-v-3925cc28] {\r\n padding-bottom: 0;\n}\n.showMultipleButton .van-button[data-v-3925cc28] {\r\n border: 0;\n}\n.flex-between[data-v-3925cc28] {\r\n padding: 10px;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\n}\n.bold[data-v-3925cc28] {\r\n font-weight: bold;\r\n color: #444;\n}\n.checkbox-style[data-v-3925cc28] {\r\n /* height: 220px; */\r\n height: calc(220px - 30px); \r\n overflow-y: auto;\n}\n.select-all-container[data-v-3925cc28] {\r\n font-size: 14px;\r\n padding: 0 16px;\r\n margin: 10px 0;\r\n display: flex;\r\n justify-content: flex-end;\r\n align-items: center;\n}\n.select-all-container .van-checkbox[data-v-3925cc28] {\r\n margin-left: auto;\n}\r\n\r\n/* \u65B0\u589E\uFF1A\u8C03\u6574\u65B9\u5F62\u590D\u9009\u6846\u7684\u8FB9\u8DDD */\n.van-checkbox--square[data-v-3925cc28] {\r\n margin-left: 8px;\n}\r\n \r\n")();
|
|
17130
17130
|
const _hoisted_1$g = {
|
|
17131
17131
|
class: "pad10 flex-between showMultipleButton"
|
|
17132
17132
|
};
|
|
@@ -17209,10 +17209,10 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17209
17209
|
if (!props.options)
|
|
17210
17210
|
return [];
|
|
17211
17211
|
return props.options.map((item) => {
|
|
17212
|
-
return {
|
|
17212
|
+
return __spreadProps(__spreadValues({}, item), {
|
|
17213
17213
|
text: item[props.columnsFieldNames.text],
|
|
17214
17214
|
value: item[props.columnsFieldNames.value]
|
|
17215
|
-
};
|
|
17215
|
+
});
|
|
17216
17216
|
});
|
|
17217
17217
|
});
|
|
17218
17218
|
const findTextsByValues = (valuesToFind, data2) => {
|
|
@@ -17438,7 +17438,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17438
17438
|
};
|
|
17439
17439
|
}
|
|
17440
17440
|
};
|
|
17441
|
-
var DataSelector = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-
|
|
17441
|
+
var DataSelector = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-3925cc28"]]);
|
|
17442
17442
|
var mult_list_selector_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\r\n/* // \u4FEE\u6539 confirmation-group \u548C confirmation-item \u7684\u6837\u5F0F */\n.confirmation-group[data-v-40a09897] {\r\n padding: 0 16px;\r\n --van-checkbox-disabled-icon-color: black;\n}\n.confirmation-item[data-v-40a09897] {\r\n padding: 12px 16px;\r\n margin: 0 -16px;\r\n border-bottom: 1px solid #f5f5f5;\r\n /* \u7981\u7528\u72B6\u6001\u6837\u5F0F */\n}\r\n\r\n/* // \u5728\u4E0B\u65B9\u6DFB\u52A0\u5A92\u4F53\u67E5\u8BE2\u9002\u914D\u5C0F\u5C4F\u5E55 */\n@media (max-width: 320px) {\n.confirmation-item[data-v-40a09897] {\r\n padding: 12px 8px;\r\n margin: 0 -8px;\n}\n}\n.confirmation-item[data-v-40a09897]:last-child {\r\n border-bottom: none;\n}\r\n\r\n/* \u65B0\u589E\u6837\u5F0F */\n.confirmation-tips[data-v-40a09897] {\r\n padding: 12px 16px;\r\n background: #f0faff;\r\n border-radius: 8px;\r\n margin: 10px 16px;\r\n display: flex;\r\n align-items: center;\r\n color: #1989fa;\r\n font-size: 13px;\r\n border: 1px solid #d9efff;\n}\n.confirmation-tips .van-icon[data-v-40a09897] {\r\n margin-right: 8px;\n}\r\n\r\n/* \u65B0\u589E\u5B57\u4F53\u7EE7\u627F\u6837\u5F0F */\n.confirmation-group[data-v-40a09897] {\r\n font-size: inherit; /* \u7EE7\u627F\u7236\u7EA7\u5B57\u4F53\u5927\u5C0F */\n}\n.option-text[data-v-40a09897] {\r\n font-size: 14px; /* \u660E\u786E\u6307\u5B9A\u5B57\u4F53\u5927\u5C0F */\r\n line-height: 1.5; /* \u4FDD\u6301\u884C\u9AD8\u4E00\u81F4 */\r\n /* color:black; */\n}\r\n\r\n/* \u9002\u914D\u79FB\u52A8\u7AEF\u7684\u5B57\u4F53\u8C03\u6574 */\n@media (max-width: 375px) {\n.option-text[data-v-40a09897] {\r\n font-size: 13px;\n}\n}\r\n\r\n/* \u65B0\u589E\u7981\u7528\u72B6\u6001\u6837\u5F0F */\n.custom-checkbox[data-v-40a09897]:disabled .--van-checkbox__icon {\r\n background-color: #f5f5f5;\r\n border-color: #ebedf0;\r\n transition: all 0.3s;\n}\n.custom-checkbox[data-v-40a09897]:disabled .van-checkbox__icon--checked {\r\n background-color: #1989fa;\r\n border-color: #1989fa;\r\n opacity: 0.7;\n}\n.van-checkbox--disabled[data-v-40a09897] .option-text {\r\n color: #969799;\n}\n.van-checkbox--disabled.van-checkbox--checked[data-v-40a09897] .option-text {\r\n color: #1989fa;\r\n opacity: 0.8;\n}\r\n")();
|
|
17443
17443
|
const _hoisted_1$f = {
|
|
17444
17444
|
key: 0,
|
package/package.json
CHANGED
package/src/env.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/// <reference types="vite/client" />
|
|
2
|
-
|
|
3
|
-
declare module '*.vue' {
|
|
4
|
-
import type { DefineComponent } from 'vue'
|
|
5
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
|
|
6
|
-
const component: DefineComponent<{}, {}, any>
|
|
7
|
-
export default component
|
|
8
|
-
}
|
|
1
|
+
/// <reference types="vite/client" />
|
|
2
|
+
|
|
3
|
+
declare module '*.vue' {
|
|
4
|
+
import type { DefineComponent } from 'vue'
|
|
5
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
|
|
6
|
+
const component: DefineComponent<{}, {}, any>
|
|
7
|
+
export default component
|
|
8
|
+
}
|
|
@@ -87,7 +87,7 @@ const data = reactive({
|
|
|
87
87
|
auth: 'required'
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
|
-
}
|
|
90
|
+
},
|
|
91
91
|
},
|
|
92
92
|
// schema: {
|
|
93
93
|
// id:{
|
|
@@ -97,11 +97,21 @@ const data = reactive({
|
|
|
97
97
|
// default: 'uuid',
|
|
98
98
|
// //此字段是隐藏值
|
|
99
99
|
// auth: 'gone',
|
|
100
|
+
// schema: {
|
|
101
|
+
// options: [{
|
|
102
|
+
// name: '内机',
|
|
103
|
+
// value: 'nj',
|
|
104
|
+
// title: '内机'
|
|
105
|
+
// }]
|
|
106
|
+
// }
|
|
100
107
|
// },
|
|
101
108
|
// name: {
|
|
102
109
|
// label: '房号',
|
|
103
110
|
// type: 'String',
|
|
104
111
|
// default: '',
|
|
112
|
+
// auth: 'required'
|
|
113
|
+
// },
|
|
114
|
+
// finishQuantity: {
|
|
105
115
|
// auth:'required'
|
|
106
116
|
// },
|
|
107
117
|
// finishQuantity:{
|
|
@@ -120,6 +130,7 @@ const data = reactive({
|
|
|
120
130
|
// label: '空调',
|
|
121
131
|
// type: 'Array',
|
|
122
132
|
// default: [],
|
|
133
|
+
// auth: 'required',
|
|
123
134
|
// auth:'required',
|
|
124
135
|
// schema: {
|
|
125
136
|
// partStandardId: {
|
|
@@ -128,7 +139,7 @@ const data = reactive({
|
|
|
128
139
|
// default: '',
|
|
129
140
|
// schema: {
|
|
130
141
|
// options: [{
|
|
131
|
-
// name:'内机',
|
|
142
|
+
// name: '内机',
|
|
132
143
|
// value: 'nj',
|
|
133
144
|
// title: '内机'
|
|
134
145
|
// }]
|
package/tsconfig.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"target": "esnext",
|
|
4
|
-
"useDefineForClassFields": true,
|
|
5
|
-
"module": "esnext",
|
|
6
|
-
"moduleResolution": "node",
|
|
7
|
-
"strict": true,
|
|
8
|
-
"jsx": "preserve",
|
|
9
|
-
"sourceMap": true,
|
|
10
|
-
"resolveJsonModule": true,
|
|
11
|
-
"isolatedModules": true,
|
|
12
|
-
"esModuleInterop": true,
|
|
13
|
-
"lib": ["esnext", "dom"],
|
|
14
|
-
"skipLibCheck": true,
|
|
15
|
-
"allowJs": true,
|
|
16
|
-
},
|
|
17
|
-
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"],
|
|
18
|
-
"references": [{ "path": "./tsconfig.node.json" }]
|
|
19
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "esnext",
|
|
4
|
+
"useDefineForClassFields": true,
|
|
5
|
+
"module": "esnext",
|
|
6
|
+
"moduleResolution": "node",
|
|
7
|
+
"strict": true,
|
|
8
|
+
"jsx": "preserve",
|
|
9
|
+
"sourceMap": true,
|
|
10
|
+
"resolveJsonModule": true,
|
|
11
|
+
"isolatedModules": true,
|
|
12
|
+
"esModuleInterop": true,
|
|
13
|
+
"lib": ["esnext", "dom"],
|
|
14
|
+
"skipLibCheck": true,
|
|
15
|
+
"allowJs": true,
|
|
16
|
+
},
|
|
17
|
+
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"],
|
|
18
|
+
"references": [{ "path": "./tsconfig.node.json" }]
|
|
19
|
+
}
|
package/tsconfig.node.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"composite": true,
|
|
4
|
-
"module": "esnext",
|
|
5
|
-
"moduleResolution": "node"
|
|
6
|
-
},
|
|
7
|
-
"include": ["vite.config.ts"]
|
|
8
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"composite": true,
|
|
4
|
+
"module": "esnext",
|
|
5
|
+
"moduleResolution": "node"
|
|
6
|
+
},
|
|
7
|
+
"include": ["vite.config.ts"]
|
|
8
|
+
}
|