widget.qw 1.0.48 → 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 +7 -8
- package/build/widget.qw.umd.js +7 -8
- package/package.json +1 -1
- package/src/components/DatetimePicker/index.vue +3 -4
- 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
|
@@ -17091,7 +17091,6 @@ const _sfc_main$o = {
|
|
|
17091
17091
|
immediate: true
|
|
17092
17092
|
});
|
|
17093
17093
|
function onToggleShow() {
|
|
17094
|
-
console.log("11111111");
|
|
17095
17094
|
if (isReadonly.value)
|
|
17096
17095
|
return;
|
|
17097
17096
|
data2.isShow = true;
|
|
@@ -17110,9 +17109,9 @@ const _sfc_main$o = {
|
|
|
17110
17109
|
placeholder: props.placeholder,
|
|
17111
17110
|
required: unref(isRequired),
|
|
17112
17111
|
rules: props.rules,
|
|
17113
|
-
"
|
|
17114
|
-
|
|
17115
|
-
}, null, 8, ["modelValue", "label", "disabled", "readonly", "placeholder", "required", "rules"
|
|
17112
|
+
"right-icon": "arrow",
|
|
17113
|
+
onClickRightIcon: onToggleShow
|
|
17114
|
+
}, null, 8, ["modelValue", "label", "disabled", "readonly", "placeholder", "required", "rules"])) : createCommentVNode("", true), createVNode(_sfc_main$p, {
|
|
17116
17115
|
isShow: data2.isShow,
|
|
17117
17116
|
"onUpdate:isShow": _cache[1] || (_cache[1] = ($event) => data2.isShow = $event),
|
|
17118
17117
|
modelValue: unref(modelValue),
|
|
@@ -17124,7 +17123,7 @@ const _sfc_main$o = {
|
|
|
17124
17123
|
};
|
|
17125
17124
|
}
|
|
17126
17125
|
};
|
|
17127
|
-
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")();
|
|
17128
17127
|
const _hoisted_1$g = {
|
|
17129
17128
|
class: "pad10 flex-between showMultipleButton"
|
|
17130
17129
|
};
|
|
@@ -17207,10 +17206,10 @@ const _sfc_main$n = {
|
|
|
17207
17206
|
if (!props.options)
|
|
17208
17207
|
return [];
|
|
17209
17208
|
return props.options.map((item) => {
|
|
17210
|
-
return {
|
|
17209
|
+
return __spreadProps(__spreadValues({}, item), {
|
|
17211
17210
|
text: item[props.columnsFieldNames.text],
|
|
17212
17211
|
value: item[props.columnsFieldNames.value]
|
|
17213
|
-
};
|
|
17212
|
+
});
|
|
17214
17213
|
});
|
|
17215
17214
|
});
|
|
17216
17215
|
const findTextsByValues = (valuesToFind, data2) => {
|
|
@@ -17436,7 +17435,7 @@ const _sfc_main$n = {
|
|
|
17436
17435
|
};
|
|
17437
17436
|
}
|
|
17438
17437
|
};
|
|
17439
|
-
var DataSelector = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-
|
|
17438
|
+
var DataSelector = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-3925cc28"]]);
|
|
17440
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")();
|
|
17441
17440
|
const _hoisted_1$f = {
|
|
17442
17441
|
key: 0,
|
package/build/widget.qw.umd.js
CHANGED
|
@@ -17094,7 +17094,6 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17094
17094
|
immediate: true
|
|
17095
17095
|
});
|
|
17096
17096
|
function onToggleShow() {
|
|
17097
|
-
console.log("11111111");
|
|
17098
17097
|
if (isReadonly.value)
|
|
17099
17098
|
return;
|
|
17100
17099
|
data2.isShow = true;
|
|
@@ -17113,9 +17112,9 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17113
17112
|
placeholder: props.placeholder,
|
|
17114
17113
|
required: vue.unref(isRequired),
|
|
17115
17114
|
rules: props.rules,
|
|
17116
|
-
"
|
|
17117
|
-
|
|
17118
|
-
}, null, 8, ["modelValue", "label", "disabled", "readonly", "placeholder", "required", "rules"
|
|
17115
|
+
"right-icon": "arrow",
|
|
17116
|
+
onClickRightIcon: onToggleShow
|
|
17117
|
+
}, null, 8, ["modelValue", "label", "disabled", "readonly", "placeholder", "required", "rules"])) : vue.createCommentVNode("", true), vue.createVNode(_sfc_main$p, {
|
|
17119
17118
|
isShow: data2.isShow,
|
|
17120
17119
|
"onUpdate:isShow": _cache[1] || (_cache[1] = ($event) => data2.isShow = $event),
|
|
17121
17120
|
modelValue: vue.unref(modelValue),
|
|
@@ -17127,7 +17126,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17127
17126
|
};
|
|
17128
17127
|
}
|
|
17129
17128
|
};
|
|
17130
|
-
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")();
|
|
17131
17130
|
const _hoisted_1$g = {
|
|
17132
17131
|
class: "pad10 flex-between showMultipleButton"
|
|
17133
17132
|
};
|
|
@@ -17210,10 +17209,10 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17210
17209
|
if (!props.options)
|
|
17211
17210
|
return [];
|
|
17212
17211
|
return props.options.map((item) => {
|
|
17213
|
-
return {
|
|
17212
|
+
return __spreadProps(__spreadValues({}, item), {
|
|
17214
17213
|
text: item[props.columnsFieldNames.text],
|
|
17215
17214
|
value: item[props.columnsFieldNames.value]
|
|
17216
|
-
};
|
|
17215
|
+
});
|
|
17217
17216
|
});
|
|
17218
17217
|
});
|
|
17219
17218
|
const findTextsByValues = (valuesToFind, data2) => {
|
|
@@ -17439,7 +17438,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17439
17438
|
};
|
|
17440
17439
|
}
|
|
17441
17440
|
};
|
|
17442
|
-
var DataSelector = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-
|
|
17441
|
+
var DataSelector = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-3925cc28"]]);
|
|
17443
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")();
|
|
17444
17443
|
const _hoisted_1$f = {
|
|
17445
17444
|
key: 0,
|
package/package.json
CHANGED
|
@@ -2,9 +2,11 @@
|
|
|
2
2
|
<van-field v-if="!isGone" v-model="formatTime" name="datetimePicker" :label="props.label"
|
|
3
3
|
:disabled="isDisabled"
|
|
4
4
|
:readonly="isReadonly"
|
|
5
|
+
readonly
|
|
5
6
|
clearable
|
|
6
7
|
:placeholder="props.placeholder" :required="isRequired" :rules="props.rules"
|
|
7
|
-
|
|
8
|
+
right-icon="arrow"
|
|
9
|
+
@click-right-icon="onToggleShow">
|
|
8
10
|
</van-field>
|
|
9
11
|
|
|
10
12
|
<!-- 弹出层 -->
|
|
@@ -12,7 +14,6 @@
|
|
|
12
14
|
:columnsType="props.columnsType" />
|
|
13
15
|
</template>
|
|
14
16
|
|
|
15
|
-
|
|
16
17
|
<script setup>
|
|
17
18
|
import { ref, reactive, watch, getCurrentInstance, computed } from "vue"
|
|
18
19
|
import DatetimePop from './DatetimePop.vue'
|
|
@@ -105,8 +106,6 @@ watch(
|
|
|
105
106
|
)
|
|
106
107
|
|
|
107
108
|
function onToggleShow() {
|
|
108
|
-
console.log('11111111')
|
|
109
|
-
|
|
110
109
|
if (isReadonly.value)
|
|
111
110
|
return
|
|
112
111
|
|
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
|
+
}
|