@opentinyvue/vue-area 2.22.0 → 3.22.0
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/lib/index.js +1 -1
- package/lib/pc.js +183 -173
- package/package.json +4 -4
- package/src/index.d.ts +91 -1
- package/src/pc.vue.d.ts +98 -1
package/lib/index.js
CHANGED
package/lib/pc.js
CHANGED
|
@@ -2,38 +2,42 @@ import { defineComponent, $prefix, setup } from '@opentinyvue/vue-common';
|
|
|
2
2
|
import { renderless, api } from '@opentinyvue/vue-renderless/area/vue';
|
|
3
3
|
import Select from '@opentinyvue/vue-select';
|
|
4
4
|
import Option from '@opentinyvue/vue-option';
|
|
5
|
+
import { resolveComponent, openBlock, createElementBlock, createVNode, mergeProps, withCtx, Fragment, renderList, createBlock } from 'vue';
|
|
5
6
|
|
|
6
|
-
function
|
|
7
|
-
var
|
|
8
|
-
if (
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
function _createForOfIteratorHelperLoose(r, e) {
|
|
8
|
+
var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
9
|
+
if (t) return (t = t.call(r)).next.bind(t);
|
|
10
|
+
if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) {
|
|
11
|
+
t && (r = t);
|
|
12
|
+
var o = 0;
|
|
13
|
+
return function() {
|
|
14
|
+
return o >= r.length ? { done: true } : { done: false, value: r[o++] };
|
|
15
|
+
};
|
|
12
16
|
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
var originalRender = options.render;
|
|
21
|
-
options.render = function renderWithStyleInjection(h, context) {
|
|
22
|
-
hook.call(context);
|
|
23
|
-
return originalRender(h, context);
|
|
24
|
-
};
|
|
25
|
-
} else {
|
|
26
|
-
var existing = options.beforeCreate;
|
|
27
|
-
options.beforeCreate = existing ? [].concat(existing, hook) : [hook];
|
|
28
|
-
}
|
|
17
|
+
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
18
|
+
}
|
|
19
|
+
function _unsupportedIterableToArray(r, a) {
|
|
20
|
+
if (r) {
|
|
21
|
+
if ("string" == typeof r) return _arrayLikeToArray(r, a);
|
|
22
|
+
var t = {}.toString.call(r).slice(8, -1);
|
|
23
|
+
return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
|
|
29
24
|
}
|
|
30
|
-
return {
|
|
31
|
-
exports: scriptExports,
|
|
32
|
-
options
|
|
33
|
-
};
|
|
34
25
|
}
|
|
26
|
+
function _arrayLikeToArray(r, a) {
|
|
27
|
+
(null == a || a > r.length) && (a = r.length);
|
|
28
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
29
|
+
return n;
|
|
30
|
+
}
|
|
31
|
+
var _export_sfc = function _export_sfc2(sfc, props) {
|
|
32
|
+
var target = sfc.__vccOpts || sfc;
|
|
33
|
+
for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) {
|
|
34
|
+
var _step$value = _step.value, key = _step$value[0], val = _step$value[1];
|
|
35
|
+
target[key] = val;
|
|
36
|
+
}
|
|
37
|
+
return target;
|
|
38
|
+
};
|
|
35
39
|
|
|
36
|
-
var
|
|
40
|
+
var _sfc_main = defineComponent({
|
|
37
41
|
name: $prefix + "Area",
|
|
38
42
|
components: {
|
|
39
43
|
TinySelect: Select,
|
|
@@ -92,153 +96,159 @@ var __vue2_script = defineComponent({
|
|
|
92
96
|
});
|
|
93
97
|
}
|
|
94
98
|
});
|
|
95
|
-
var
|
|
96
|
-
|
|
97
|
-
var _h = _vm.$createElement;
|
|
98
|
-
var _c = _vm._self._c || _h;
|
|
99
|
-
return _c("div", {
|
|
100
|
-
staticClass: "tiny-area"
|
|
101
|
-
}, [_c("tiny-select", _vm._b({
|
|
102
|
-
ref: "refInstance",
|
|
103
|
-
attrs: {
|
|
104
|
-
"popper-class": "tiny-area-jcr" + (_vm.popperClass ? " " + _vm.popperClass : ""),
|
|
105
|
-
"popper-append-to-body": _vm.popperAppendToBody,
|
|
106
|
-
"size": _vm.size,
|
|
107
|
-
"placeholder": _vm.placeholder,
|
|
108
|
-
"disabled": _vm.disabled
|
|
109
|
-
},
|
|
110
|
-
on: {
|
|
111
|
-
"change": _vm.getRegion,
|
|
112
|
-
"clear": function clear($event) {
|
|
113
|
-
return _vm.$emit("clear");
|
|
114
|
-
},
|
|
115
|
-
"visible-change": function visibleChange($event) {
|
|
116
|
-
return _vm.$emit("visible-change", $event);
|
|
117
|
-
}
|
|
118
|
-
},
|
|
119
|
-
model: {
|
|
120
|
-
value: _vm.state.jcr,
|
|
121
|
-
callback: function callback($$v) {
|
|
122
|
-
_vm.$set(_vm.state, "jcr", $$v);
|
|
123
|
-
},
|
|
124
|
-
expression: "state.jcr"
|
|
125
|
-
}
|
|
126
|
-
}, "tiny-select", _vm.a(_vm.$attrs, ["^on[A-Z]"]), false), _vm._l(_vm.state.jcrData, function(item) {
|
|
127
|
-
return _c("tiny-option", {
|
|
128
|
-
key: item[_vm.props.value],
|
|
129
|
-
attrs: {
|
|
130
|
-
"label": item[_vm.props.label],
|
|
131
|
-
"value": item[_vm.props.value]
|
|
132
|
-
}
|
|
133
|
-
});
|
|
134
|
-
}), 1), _c("tiny-select", _vm._b({
|
|
135
|
-
attrs: {
|
|
136
|
-
"popper-class": "tiny-area-region" + (_vm.popperClass ? " " + _vm.popperClass : ""),
|
|
137
|
-
"popper-append-to-body": _vm.popperAppendToBody,
|
|
138
|
-
"size": _vm.size,
|
|
139
|
-
"placeholder": _vm.placeholder,
|
|
140
|
-
"disabled": _vm.disabled
|
|
141
|
-
},
|
|
142
|
-
on: {
|
|
143
|
-
"change": _vm.getRep,
|
|
144
|
-
"clear": function clear($event) {
|
|
145
|
-
return _vm.$emit("clear");
|
|
146
|
-
},
|
|
147
|
-
"visible-change": function visibleChange($event) {
|
|
148
|
-
return _vm.$emit("visible-change", $event);
|
|
149
|
-
}
|
|
150
|
-
},
|
|
151
|
-
model: {
|
|
152
|
-
value: _vm.state.region,
|
|
153
|
-
callback: function callback($$v) {
|
|
154
|
-
_vm.$set(_vm.state, "region", $$v);
|
|
155
|
-
},
|
|
156
|
-
expression: "state.region"
|
|
157
|
-
}
|
|
158
|
-
}, "tiny-select", _vm.a(_vm.$attrs, ["^on[A-Z]"]), false), _vm._l(_vm.state.regionData, function(item) {
|
|
159
|
-
return _c("tiny-option", {
|
|
160
|
-
key: item[_vm.props.value],
|
|
161
|
-
attrs: {
|
|
162
|
-
"label": item[_vm.props.label],
|
|
163
|
-
"value": item[_vm.props.value]
|
|
164
|
-
}
|
|
165
|
-
});
|
|
166
|
-
}), 1), _c("tiny-select", _vm._b({
|
|
167
|
-
attrs: {
|
|
168
|
-
"popper-class": "tiny-area-rep" + (_vm.popperClass ? " " + _vm.popperClass : ""),
|
|
169
|
-
"popper-append-to-body": _vm.popperAppendToBody,
|
|
170
|
-
"size": _vm.size,
|
|
171
|
-
"placeholder": _vm.placeholder,
|
|
172
|
-
"disabled": _vm.disabled
|
|
173
|
-
},
|
|
174
|
-
on: {
|
|
175
|
-
"change": _vm.getOffice,
|
|
176
|
-
"clear": function clear($event) {
|
|
177
|
-
return _vm.$emit("clear");
|
|
178
|
-
},
|
|
179
|
-
"visible-change": function visibleChange($event) {
|
|
180
|
-
return _vm.$emit("visible-change", $event);
|
|
181
|
-
}
|
|
182
|
-
},
|
|
183
|
-
model: {
|
|
184
|
-
value: _vm.state.rep,
|
|
185
|
-
callback: function callback($$v) {
|
|
186
|
-
_vm.$set(_vm.state, "rep", $$v);
|
|
187
|
-
},
|
|
188
|
-
expression: "state.rep"
|
|
189
|
-
}
|
|
190
|
-
}, "tiny-select", _vm.a(_vm.$attrs, ["^on[A-Z]"]), false), _vm._l(_vm.state.repData, function(item) {
|
|
191
|
-
return _c("tiny-option", {
|
|
192
|
-
key: item[_vm.props.value],
|
|
193
|
-
attrs: {
|
|
194
|
-
"label": item[_vm.props.label],
|
|
195
|
-
"value": item[_vm.props.value]
|
|
196
|
-
}
|
|
197
|
-
});
|
|
198
|
-
}), 1), _c("tiny-select", _vm._b({
|
|
199
|
-
attrs: {
|
|
200
|
-
"popper-class": "tiny-area-office" + (_vm.popperClass ? " " + _vm.popperClass : ""),
|
|
201
|
-
"popper-append-to-body": _vm.popperAppendToBody,
|
|
202
|
-
"size": _vm.size,
|
|
203
|
-
"placeholder": _vm.placeholder,
|
|
204
|
-
"disabled": _vm.disabled
|
|
205
|
-
},
|
|
206
|
-
on: {
|
|
207
|
-
"change": _vm.changeOffice,
|
|
208
|
-
"clear": function clear($event) {
|
|
209
|
-
return _vm.$emit("clear");
|
|
210
|
-
},
|
|
211
|
-
"visible-change": function visibleChange($event) {
|
|
212
|
-
return _vm.$emit("visible-change", $event);
|
|
213
|
-
}
|
|
214
|
-
},
|
|
215
|
-
model: {
|
|
216
|
-
value: _vm.state.office,
|
|
217
|
-
callback: function callback($$v) {
|
|
218
|
-
_vm.$set(_vm.state, "office", $$v);
|
|
219
|
-
},
|
|
220
|
-
expression: "state.office"
|
|
221
|
-
}
|
|
222
|
-
}, "tiny-select", _vm.a(_vm.$attrs, ["^on[A-Z]"]), false), _vm._l(_vm.state.officeData, function(item) {
|
|
223
|
-
return _c("tiny-option", {
|
|
224
|
-
key: item[_vm.props.value],
|
|
225
|
-
attrs: {
|
|
226
|
-
"label": item[_vm.props.label],
|
|
227
|
-
"value": item[_vm.props.value]
|
|
228
|
-
}
|
|
229
|
-
});
|
|
230
|
-
}), 1)], 1);
|
|
99
|
+
var _hoisted_1 = {
|
|
100
|
+
class: "tiny-area"
|
|
231
101
|
};
|
|
232
|
-
|
|
233
|
-
var
|
|
234
|
-
var
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
102
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
103
|
+
var _component_tiny_option = resolveComponent("tiny-option");
|
|
104
|
+
var _component_tiny_select = resolveComponent("tiny-select");
|
|
105
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [createVNode(_component_tiny_select, mergeProps({
|
|
106
|
+
"popper-class": "tiny-area-jcr" + (_ctx.popperClass ? " " + _ctx.popperClass : ""),
|
|
107
|
+
"popper-append-to-body": _ctx.popperAppendToBody,
|
|
108
|
+
size: _ctx.size,
|
|
109
|
+
modelValue: _ctx.state.jcr,
|
|
110
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = function($event) {
|
|
111
|
+
return _ctx.state.jcr = $event;
|
|
112
|
+
}),
|
|
113
|
+
placeholder: _ctx.placeholder,
|
|
114
|
+
onChange: _ctx.getRegion,
|
|
115
|
+
disabled: _ctx.disabled,
|
|
116
|
+
ref: "refInstance"
|
|
117
|
+
}, _ctx.a(_ctx.$attrs, ["^on[A-Z]"]), {
|
|
118
|
+
onClear: _cache[1] || (_cache[1] = function($event) {
|
|
119
|
+
return _ctx.$emit("clear");
|
|
120
|
+
}),
|
|
121
|
+
onVisibleChange: _cache[2] || (_cache[2] = function($event) {
|
|
122
|
+
return _ctx.$emit("visible-change", $event);
|
|
123
|
+
})
|
|
124
|
+
}), {
|
|
125
|
+
default: withCtx(function() {
|
|
126
|
+
return [(openBlock(true), createElementBlock(
|
|
127
|
+
Fragment,
|
|
128
|
+
null,
|
|
129
|
+
renderList(_ctx.state.jcrData, function(item) {
|
|
130
|
+
return openBlock(), createBlock(_component_tiny_option, {
|
|
131
|
+
key: item[_ctx.props.value],
|
|
132
|
+
label: item[_ctx.props.label],
|
|
133
|
+
value: item[_ctx.props.value]
|
|
134
|
+
}, null, 8, ["label", "value"]);
|
|
135
|
+
}),
|
|
136
|
+
128
|
|
137
|
+
/* KEYED_FRAGMENT */
|
|
138
|
+
))];
|
|
139
|
+
}),
|
|
140
|
+
_: 1
|
|
141
|
+
/* STABLE */
|
|
142
|
+
}, 16, ["popper-class", "popper-append-to-body", "size", "modelValue", "placeholder", "onChange", "disabled"]), createVNode(_component_tiny_select, mergeProps({
|
|
143
|
+
"popper-class": "tiny-area-region" + (_ctx.popperClass ? " " + _ctx.popperClass : ""),
|
|
144
|
+
"popper-append-to-body": _ctx.popperAppendToBody,
|
|
145
|
+
size: _ctx.size,
|
|
146
|
+
modelValue: _ctx.state.region,
|
|
147
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = function($event) {
|
|
148
|
+
return _ctx.state.region = $event;
|
|
149
|
+
}),
|
|
150
|
+
placeholder: _ctx.placeholder,
|
|
151
|
+
onChange: _ctx.getRep,
|
|
152
|
+
disabled: _ctx.disabled
|
|
153
|
+
}, _ctx.a(_ctx.$attrs, ["^on[A-Z]"]), {
|
|
154
|
+
onClear: _cache[4] || (_cache[4] = function($event) {
|
|
155
|
+
return _ctx.$emit("clear");
|
|
156
|
+
}),
|
|
157
|
+
onVisibleChange: _cache[5] || (_cache[5] = function($event) {
|
|
158
|
+
return _ctx.$emit("visible-change", $event);
|
|
159
|
+
})
|
|
160
|
+
}), {
|
|
161
|
+
default: withCtx(function() {
|
|
162
|
+
return [(openBlock(true), createElementBlock(
|
|
163
|
+
Fragment,
|
|
164
|
+
null,
|
|
165
|
+
renderList(_ctx.state.regionData, function(item) {
|
|
166
|
+
return openBlock(), createBlock(_component_tiny_option, {
|
|
167
|
+
key: item[_ctx.props.value],
|
|
168
|
+
label: item[_ctx.props.label],
|
|
169
|
+
value: item[_ctx.props.value]
|
|
170
|
+
}, null, 8, ["label", "value"]);
|
|
171
|
+
}),
|
|
172
|
+
128
|
|
173
|
+
/* KEYED_FRAGMENT */
|
|
174
|
+
))];
|
|
175
|
+
}),
|
|
176
|
+
_: 1
|
|
177
|
+
/* STABLE */
|
|
178
|
+
}, 16, ["popper-class", "popper-append-to-body", "size", "modelValue", "placeholder", "onChange", "disabled"]), createVNode(_component_tiny_select, mergeProps({
|
|
179
|
+
"popper-class": "tiny-area-rep" + (_ctx.popperClass ? " " + _ctx.popperClass : ""),
|
|
180
|
+
"popper-append-to-body": _ctx.popperAppendToBody,
|
|
181
|
+
size: _ctx.size,
|
|
182
|
+
modelValue: _ctx.state.rep,
|
|
183
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = function($event) {
|
|
184
|
+
return _ctx.state.rep = $event;
|
|
185
|
+
}),
|
|
186
|
+
placeholder: _ctx.placeholder,
|
|
187
|
+
onChange: _ctx.getOffice,
|
|
188
|
+
disabled: _ctx.disabled
|
|
189
|
+
}, _ctx.a(_ctx.$attrs, ["^on[A-Z]"]), {
|
|
190
|
+
onClear: _cache[7] || (_cache[7] = function($event) {
|
|
191
|
+
return _ctx.$emit("clear");
|
|
192
|
+
}),
|
|
193
|
+
onVisibleChange: _cache[8] || (_cache[8] = function($event) {
|
|
194
|
+
return _ctx.$emit("visible-change", $event);
|
|
195
|
+
})
|
|
196
|
+
}), {
|
|
197
|
+
default: withCtx(function() {
|
|
198
|
+
return [(openBlock(true), createElementBlock(
|
|
199
|
+
Fragment,
|
|
200
|
+
null,
|
|
201
|
+
renderList(_ctx.state.repData, function(item) {
|
|
202
|
+
return openBlock(), createBlock(_component_tiny_option, {
|
|
203
|
+
key: item[_ctx.props.value],
|
|
204
|
+
label: item[_ctx.props.label],
|
|
205
|
+
value: item[_ctx.props.value]
|
|
206
|
+
}, null, 8, ["label", "value"]);
|
|
207
|
+
}),
|
|
208
|
+
128
|
|
209
|
+
/* KEYED_FRAGMENT */
|
|
210
|
+
))];
|
|
211
|
+
}),
|
|
212
|
+
_: 1
|
|
213
|
+
/* STABLE */
|
|
214
|
+
}, 16, ["popper-class", "popper-append-to-body", "size", "modelValue", "placeholder", "onChange", "disabled"]), createVNode(_component_tiny_select, mergeProps({
|
|
215
|
+
"popper-class": "tiny-area-office" + (_ctx.popperClass ? " " + _ctx.popperClass : ""),
|
|
216
|
+
"popper-append-to-body": _ctx.popperAppendToBody,
|
|
217
|
+
size: _ctx.size,
|
|
218
|
+
modelValue: _ctx.state.office,
|
|
219
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = function($event) {
|
|
220
|
+
return _ctx.state.office = $event;
|
|
221
|
+
}),
|
|
222
|
+
placeholder: _ctx.placeholder,
|
|
223
|
+
disabled: _ctx.disabled,
|
|
224
|
+
onChange: _ctx.changeOffice
|
|
225
|
+
}, _ctx.a(_ctx.$attrs, ["^on[A-Z]"]), {
|
|
226
|
+
onClear: _cache[10] || (_cache[10] = function($event) {
|
|
227
|
+
return _ctx.$emit("clear");
|
|
228
|
+
}),
|
|
229
|
+
onVisibleChange: _cache[11] || (_cache[11] = function($event) {
|
|
230
|
+
return _ctx.$emit("visible-change", $event);
|
|
231
|
+
})
|
|
232
|
+
}), {
|
|
233
|
+
default: withCtx(function() {
|
|
234
|
+
return [(openBlock(true), createElementBlock(
|
|
235
|
+
Fragment,
|
|
236
|
+
null,
|
|
237
|
+
renderList(_ctx.state.officeData, function(item) {
|
|
238
|
+
return openBlock(), createBlock(_component_tiny_option, {
|
|
239
|
+
key: item[_ctx.props.value],
|
|
240
|
+
label: item[_ctx.props.label],
|
|
241
|
+
value: item[_ctx.props.value]
|
|
242
|
+
}, null, 8, ["label", "value"]);
|
|
243
|
+
}),
|
|
244
|
+
128
|
|
245
|
+
/* KEYED_FRAGMENT */
|
|
246
|
+
))];
|
|
247
|
+
}),
|
|
248
|
+
_: 1
|
|
249
|
+
/* STABLE */
|
|
250
|
+
}, 16, ["popper-class", "popper-append-to-body", "size", "modelValue", "placeholder", "disabled", "onChange"])]);
|
|
239
251
|
}
|
|
240
|
-
var pc = /* @__PURE__ */
|
|
241
|
-
return __component__.exports;
|
|
242
|
-
}();
|
|
252
|
+
var pc = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
243
253
|
|
|
244
254
|
export { pc as default };
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentinyvue/vue-area",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.22.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"module": "./lib/index.js",
|
|
7
7
|
"sideEffects": false,
|
|
8
8
|
"type": "module",
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@opentinyvue/vue-common": "~
|
|
10
|
+
"@opentinyvue/vue-common": "~3.22.0",
|
|
11
11
|
"@opentinyvue/vue-renderless": "~3.22.0",
|
|
12
|
-
"@opentinyvue/vue-select": "~
|
|
13
|
-
"@opentinyvue/vue-option": "~
|
|
12
|
+
"@opentinyvue/vue-select": "~3.22.0",
|
|
13
|
+
"@opentinyvue/vue-option": "~3.22.0",
|
|
14
14
|
"@opentinyvue/vue-theme": "~3.22.0"
|
|
15
15
|
},
|
|
16
16
|
"license": "MIT",
|
package/src/index.d.ts
CHANGED
|
@@ -40,5 +40,95 @@ export declare const areaProps: {
|
|
|
40
40
|
tiny_theme: StringConstructor;
|
|
41
41
|
tiny_chart_theme: ObjectConstructor;
|
|
42
42
|
};
|
|
43
|
-
declare const _default:
|
|
43
|
+
declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
44
|
+
modelValue: {};
|
|
45
|
+
placeholder: {
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
default: string;
|
|
48
|
+
};
|
|
49
|
+
size: StringConstructor;
|
|
50
|
+
disabled: {
|
|
51
|
+
type: BooleanConstructor;
|
|
52
|
+
default: boolean;
|
|
53
|
+
};
|
|
54
|
+
props: {
|
|
55
|
+
type: ObjectConstructor;
|
|
56
|
+
default: () => {
|
|
57
|
+
label: string;
|
|
58
|
+
value: string;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
fetchJcr: {
|
|
62
|
+
type: FunctionConstructor;
|
|
63
|
+
};
|
|
64
|
+
fetchRegion: {
|
|
65
|
+
type: FunctionConstructor;
|
|
66
|
+
};
|
|
67
|
+
fetchRep: {
|
|
68
|
+
type: FunctionConstructor;
|
|
69
|
+
};
|
|
70
|
+
fetchOffice: {
|
|
71
|
+
type: FunctionConstructor;
|
|
72
|
+
};
|
|
73
|
+
popperClass: StringConstructor;
|
|
74
|
+
popperAppendToBody: {
|
|
75
|
+
type: BooleanConstructor;
|
|
76
|
+
default: boolean;
|
|
77
|
+
};
|
|
78
|
+
tiny_mode: StringConstructor;
|
|
79
|
+
tiny_mode_root: BooleanConstructor;
|
|
80
|
+
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
81
|
+
tiny_renderless: FunctionConstructor;
|
|
82
|
+
tiny_theme: StringConstructor;
|
|
83
|
+
tiny_chart_theme: ObjectConstructor;
|
|
84
|
+
}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
|
|
85
|
+
[key: string]: any;
|
|
86
|
+
}>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
|
|
87
|
+
modelValue: {};
|
|
88
|
+
placeholder: {
|
|
89
|
+
type: StringConstructor;
|
|
90
|
+
default: string;
|
|
91
|
+
};
|
|
92
|
+
size: StringConstructor;
|
|
93
|
+
disabled: {
|
|
94
|
+
type: BooleanConstructor;
|
|
95
|
+
default: boolean;
|
|
96
|
+
};
|
|
97
|
+
props: {
|
|
98
|
+
type: ObjectConstructor;
|
|
99
|
+
default: () => {
|
|
100
|
+
label: string;
|
|
101
|
+
value: string;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
fetchJcr: {
|
|
105
|
+
type: FunctionConstructor;
|
|
106
|
+
};
|
|
107
|
+
fetchRegion: {
|
|
108
|
+
type: FunctionConstructor;
|
|
109
|
+
};
|
|
110
|
+
fetchRep: {
|
|
111
|
+
type: FunctionConstructor;
|
|
112
|
+
};
|
|
113
|
+
fetchOffice: {
|
|
114
|
+
type: FunctionConstructor;
|
|
115
|
+
};
|
|
116
|
+
popperClass: StringConstructor;
|
|
117
|
+
popperAppendToBody: {
|
|
118
|
+
type: BooleanConstructor;
|
|
119
|
+
default: boolean;
|
|
120
|
+
};
|
|
121
|
+
tiny_mode: StringConstructor;
|
|
122
|
+
tiny_mode_root: BooleanConstructor;
|
|
123
|
+
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
124
|
+
tiny_renderless: FunctionConstructor;
|
|
125
|
+
tiny_theme: StringConstructor;
|
|
126
|
+
tiny_chart_theme: ObjectConstructor;
|
|
127
|
+
}>>, {
|
|
128
|
+
props: Record<string, any>;
|
|
129
|
+
disabled: boolean;
|
|
130
|
+
tiny_mode_root: boolean;
|
|
131
|
+
popperAppendToBody: boolean;
|
|
132
|
+
placeholder: string;
|
|
133
|
+
}, {}>;
|
|
44
134
|
export default _default;
|
package/src/pc.vue.d.ts
CHANGED
|
@@ -1,2 +1,99 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
2
|
+
modelValue: {
|
|
3
|
+
type: ArrayConstructor;
|
|
4
|
+
default: () => never[];
|
|
5
|
+
};
|
|
6
|
+
placeholder: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
size: StringConstructor;
|
|
11
|
+
disabled: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
15
|
+
props: {
|
|
16
|
+
type: ObjectConstructor;
|
|
17
|
+
default: () => {
|
|
18
|
+
label: string;
|
|
19
|
+
value: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
fetchJcr: {
|
|
23
|
+
type: FunctionConstructor;
|
|
24
|
+
};
|
|
25
|
+
fetchRegion: {
|
|
26
|
+
type: FunctionConstructor;
|
|
27
|
+
};
|
|
28
|
+
fetchRep: {
|
|
29
|
+
type: FunctionConstructor;
|
|
30
|
+
};
|
|
31
|
+
fetchOffice: {
|
|
32
|
+
type: FunctionConstructor;
|
|
33
|
+
};
|
|
34
|
+
popperClass: StringConstructor;
|
|
35
|
+
popperAppendToBody: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
}, {
|
|
40
|
+
t: (this: any, path: any, options?: any) => any;
|
|
41
|
+
vm: any;
|
|
42
|
+
f: (props: any, attrs?: {}) => {};
|
|
43
|
+
a: (attrs: any, filters: any, include: any) => {};
|
|
44
|
+
d: (props: any) => void;
|
|
45
|
+
dp: (props: any) => void;
|
|
46
|
+
gcls: (key: any) => any;
|
|
47
|
+
m: (...cssClasses: any[]) => string;
|
|
48
|
+
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("update:modelValue" | "change-jcr" | "change-region" | "change-rep" | "change-office")[], "update:modelValue" | "change-jcr" | "change-region" | "change-rep" | "change-office", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
|
|
49
|
+
modelValue: {
|
|
50
|
+
type: ArrayConstructor;
|
|
51
|
+
default: () => never[];
|
|
52
|
+
};
|
|
53
|
+
placeholder: {
|
|
54
|
+
type: StringConstructor;
|
|
55
|
+
default: string;
|
|
56
|
+
};
|
|
57
|
+
size: StringConstructor;
|
|
58
|
+
disabled: {
|
|
59
|
+
type: BooleanConstructor;
|
|
60
|
+
default: boolean;
|
|
61
|
+
};
|
|
62
|
+
props: {
|
|
63
|
+
type: ObjectConstructor;
|
|
64
|
+
default: () => {
|
|
65
|
+
label: string;
|
|
66
|
+
value: string;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
fetchJcr: {
|
|
70
|
+
type: FunctionConstructor;
|
|
71
|
+
};
|
|
72
|
+
fetchRegion: {
|
|
73
|
+
type: FunctionConstructor;
|
|
74
|
+
};
|
|
75
|
+
fetchRep: {
|
|
76
|
+
type: FunctionConstructor;
|
|
77
|
+
};
|
|
78
|
+
fetchOffice: {
|
|
79
|
+
type: FunctionConstructor;
|
|
80
|
+
};
|
|
81
|
+
popperClass: StringConstructor;
|
|
82
|
+
popperAppendToBody: {
|
|
83
|
+
type: BooleanConstructor;
|
|
84
|
+
default: boolean;
|
|
85
|
+
};
|
|
86
|
+
}>> & {
|
|
87
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
88
|
+
"onChange-jcr"?: ((...args: any[]) => any) | undefined;
|
|
89
|
+
"onChange-region"?: ((...args: any[]) => any) | undefined;
|
|
90
|
+
"onChange-rep"?: ((...args: any[]) => any) | undefined;
|
|
91
|
+
"onChange-office"?: ((...args: any[]) => any) | undefined;
|
|
92
|
+
}, {
|
|
93
|
+
props: Record<string, any>;
|
|
94
|
+
disabled: boolean;
|
|
95
|
+
modelValue: unknown[];
|
|
96
|
+
popperAppendToBody: boolean;
|
|
97
|
+
placeholder: string;
|
|
98
|
+
}, {}>;
|
|
2
99
|
export default _default;
|