ll-plus 2.2.1 → 2.2.2
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/es/components/api-component/index.d.ts +37 -29
- package/es/components/api-component/index.mjs +1 -1
- package/es/components/api-component/src/api-component.vue.d.ts +37 -29
- package/es/components/api-component/src/api-component.vue2.mjs +30 -34
- package/es/components/api-component/src/api-component.vue2.mjs.map +1 -1
- package/es/components/api-component/src/components/params-table.vue2.mjs +1 -10
- package/es/components/api-component/src/components/params-table.vue2.mjs.map +1 -1
- package/es/components/api-component/src/config/api-component.d.ts +11 -0
- package/es/components/api-component/src/config/api-component.mjs +4 -1
- package/es/components/api-component/src/config/api-component.mjs.map +1 -1
- package/es/components/api-component/src/config/index.mjs +1 -1
- package/es/components/easy-cron/index.d.ts +61 -68
- package/es/components/easy-cron/src/components/easy-cron-inner.vue.d.ts +61 -68
- package/es/components/easy-cron/src/components/easy-cron-modal.vue.d.ts +61 -68
- package/es/components/easy-cron/src/components/tabs/day-ui.vue.d.ts +1 -2
- package/es/components/easy-cron/src/components/tabs/day-ui.vue.mjs.map +1 -1
- package/es/components/easy-cron/src/components/tabs/day-ui.vue2.mjs +1 -4
- package/es/components/easy-cron/src/components/tabs/day-ui.vue2.mjs.map +1 -1
- package/es/components/easy-cron/src/components/tabs/hour-ui.vue.d.ts +10 -11
- package/es/components/easy-cron/src/components/tabs/hour-ui.vue.mjs.map +1 -1
- package/es/components/easy-cron/src/components/tabs/hour-ui.vue2.mjs +7 -13
- package/es/components/easy-cron/src/components/tabs/hour-ui.vue2.mjs.map +1 -1
- package/es/components/easy-cron/src/components/tabs/minute-ui.vue.d.ts +10 -11
- package/es/components/easy-cron/src/components/tabs/minute-ui.vue.mjs.map +1 -1
- package/es/components/easy-cron/src/components/tabs/minute-ui.vue2.mjs +7 -13
- package/es/components/easy-cron/src/components/tabs/minute-ui.vue2.mjs.map +1 -1
- package/es/components/easy-cron/src/components/tabs/month-ui.vue.d.ts +10 -11
- package/es/components/easy-cron/src/components/tabs/month-ui.vue.mjs.map +1 -1
- package/es/components/easy-cron/src/components/tabs/month-ui.vue2.mjs +7 -13
- package/es/components/easy-cron/src/components/tabs/month-ui.vue2.mjs.map +1 -1
- package/es/components/easy-cron/src/components/tabs/second-ui.vue.d.ts +10 -11
- package/es/components/easy-cron/src/components/tabs/second-ui.vue.mjs.map +1 -1
- package/es/components/easy-cron/src/components/tabs/second-ui.vue2.mjs +7 -13
- package/es/components/easy-cron/src/components/tabs/second-ui.vue2.mjs.map +1 -1
- package/es/components/easy-cron/src/components/tabs/week-ui.vue.d.ts +10 -11
- package/es/components/easy-cron/src/components/tabs/week-ui.vue.mjs.map +1 -1
- package/es/components/easy-cron/src/components/tabs/week-ui.vue2.mjs +0 -4
- package/es/components/easy-cron/src/components/tabs/week-ui.vue2.mjs.map +1 -1
- package/es/components/easy-cron/src/components/tabs/year-ui.vue.d.ts +10 -11
- package/es/components/easy-cron/src/components/tabs/year-ui.vue.mjs.map +1 -1
- package/es/components/easy-cron/src/components/tabs/year-ui.vue2.mjs +6 -12
- package/es/components/easy-cron/src/components/tabs/year-ui.vue2.mjs.map +1 -1
- package/es/components/easy-cron/src/config/use-tab-mixin.d.ts +10 -1
- package/es/components/easy-cron/src/config/use-tab-mixin.mjs +4 -3
- package/es/components/easy-cron/src/config/use-tab-mixin.mjs.map +1 -1
- package/es/components/easy-cron/src/easy-cron.vue.d.ts +61 -68
- package/es/components/index.mjs +1 -1
- package/es/index.mjs +1 -1
- package/es/utils/props/runtime.d.ts +2 -2
- package/index.full.js +70 -102
- package/index.full.min.js +16 -16
- package/index.full.min.js.map +1 -1
- package/index.full.min.mjs +22 -22
- package/index.full.min.mjs.map +1 -1
- package/index.full.mjs +71 -104
- package/lib/components/api-component/index.d.ts +37 -29
- package/lib/components/api-component/index.js +1 -0
- package/lib/components/api-component/index.js.map +1 -1
- package/lib/components/api-component/src/api-component.vue.d.ts +37 -29
- package/lib/components/api-component/src/api-component.vue2.js +29 -33
- package/lib/components/api-component/src/api-component.vue2.js.map +1 -1
- package/lib/components/api-component/src/components/params-table.vue2.js +0 -9
- package/lib/components/api-component/src/components/params-table.vue2.js.map +1 -1
- package/lib/components/api-component/src/config/api-component.d.ts +11 -0
- package/lib/components/api-component/src/config/api-component.js +4 -0
- package/lib/components/api-component/src/config/api-component.js.map +1 -1
- package/lib/components/api-component/src/config/index.js +1 -0
- package/lib/components/api-component/src/config/index.js.map +1 -1
- package/lib/components/easy-cron/index.d.ts +61 -68
- package/lib/components/easy-cron/src/components/easy-cron-inner.vue.d.ts +61 -68
- package/lib/components/easy-cron/src/components/easy-cron-modal.vue.d.ts +61 -68
- package/lib/components/easy-cron/src/components/tabs/day-ui.vue.d.ts +1 -2
- package/lib/components/easy-cron/src/components/tabs/day-ui.vue.js.map +1 -1
- package/lib/components/easy-cron/src/components/tabs/day-ui.vue2.js +1 -4
- package/lib/components/easy-cron/src/components/tabs/day-ui.vue2.js.map +1 -1
- package/lib/components/easy-cron/src/components/tabs/hour-ui.vue.d.ts +10 -11
- package/lib/components/easy-cron/src/components/tabs/hour-ui.vue.js.map +1 -1
- package/lib/components/easy-cron/src/components/tabs/hour-ui.vue2.js +7 -13
- package/lib/components/easy-cron/src/components/tabs/hour-ui.vue2.js.map +1 -1
- package/lib/components/easy-cron/src/components/tabs/minute-ui.vue.d.ts +10 -11
- package/lib/components/easy-cron/src/components/tabs/minute-ui.vue.js.map +1 -1
- package/lib/components/easy-cron/src/components/tabs/minute-ui.vue2.js +7 -13
- package/lib/components/easy-cron/src/components/tabs/minute-ui.vue2.js.map +1 -1
- package/lib/components/easy-cron/src/components/tabs/month-ui.vue.d.ts +10 -11
- package/lib/components/easy-cron/src/components/tabs/month-ui.vue.js.map +1 -1
- package/lib/components/easy-cron/src/components/tabs/month-ui.vue2.js +7 -13
- package/lib/components/easy-cron/src/components/tabs/month-ui.vue2.js.map +1 -1
- package/lib/components/easy-cron/src/components/tabs/second-ui.vue.d.ts +10 -11
- package/lib/components/easy-cron/src/components/tabs/second-ui.vue.js.map +1 -1
- package/lib/components/easy-cron/src/components/tabs/second-ui.vue2.js +7 -13
- package/lib/components/easy-cron/src/components/tabs/second-ui.vue2.js.map +1 -1
- package/lib/components/easy-cron/src/components/tabs/week-ui.vue.d.ts +10 -11
- package/lib/components/easy-cron/src/components/tabs/week-ui.vue.js.map +1 -1
- package/lib/components/easy-cron/src/components/tabs/week-ui.vue2.js +0 -4
- package/lib/components/easy-cron/src/components/tabs/week-ui.vue2.js.map +1 -1
- package/lib/components/easy-cron/src/components/tabs/year-ui.vue.d.ts +10 -11
- package/lib/components/easy-cron/src/components/tabs/year-ui.vue.js.map +1 -1
- package/lib/components/easy-cron/src/components/tabs/year-ui.vue2.js +6 -12
- package/lib/components/easy-cron/src/components/tabs/year-ui.vue2.js.map +1 -1
- package/lib/components/easy-cron/src/config/use-tab-mixin.d.ts +10 -1
- package/lib/components/easy-cron/src/config/use-tab-mixin.js +3 -2
- package/lib/components/easy-cron/src/config/use-tab-mixin.js.map +1 -1
- package/lib/components/easy-cron/src/easy-cron.vue.d.ts +61 -68
- package/lib/components/index.js +1 -0
- package/lib/components/index.js.map +1 -1
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib/utils/props/runtime.d.ts +2 -2
- package/package.json +1 -1
- package/types/packages/components/api-component/index.d.ts +37 -29
- package/types/packages/components/api-component/src/api-component.vue.d.ts +37 -29
- package/types/packages/components/api-component/src/config/api-component.d.ts +11 -0
- package/types/packages/components/easy-cron/index.d.ts +61 -68
- package/types/packages/components/easy-cron/src/components/easy-cron-inner.vue.d.ts +61 -68
- package/types/packages/components/easy-cron/src/components/easy-cron-modal.vue.d.ts +61 -68
- package/types/packages/components/easy-cron/src/components/tabs/day-ui.vue.d.ts +1 -2
- package/types/packages/components/easy-cron/src/components/tabs/hour-ui.vue.d.ts +10 -11
- package/types/packages/components/easy-cron/src/components/tabs/minute-ui.vue.d.ts +10 -11
- package/types/packages/components/easy-cron/src/components/tabs/month-ui.vue.d.ts +10 -11
- package/types/packages/components/easy-cron/src/components/tabs/second-ui.vue.d.ts +10 -11
- package/types/packages/components/easy-cron/src/components/tabs/week-ui.vue.d.ts +10 -11
- package/types/packages/components/easy-cron/src/components/tabs/year-ui.vue.d.ts +10 -11
- package/types/packages/components/easy-cron/src/config/use-tab-mixin.d.ts +10 -1
- package/types/packages/components/easy-cron/src/easy-cron.vue.d.ts +61 -68
- package/types/packages/utils/props/runtime.d.ts +2 -2
|
@@ -17,38 +17,34 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
17
17
|
...{ name: "LlApiComponent" },
|
|
18
18
|
__name: "api-component",
|
|
19
19
|
props: apiComponent.apiComponentProps,
|
|
20
|
-
|
|
20
|
+
emits: apiComponent.apiComponentEmits,
|
|
21
|
+
setup(__props, { emit: __emit }) {
|
|
21
22
|
const props = __props;
|
|
23
|
+
const emits = __emit;
|
|
22
24
|
const bem = createNamespace.createNamespace("api-component");
|
|
23
|
-
const method = vue.ref(props.method);
|
|
24
|
-
const url = vue.ref(props.url);
|
|
25
25
|
const activeKey = vue.ref("params");
|
|
26
26
|
const bodyKey = vue.ref("form-data");
|
|
27
|
-
const
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
const httpModel = vue.reactive({
|
|
28
|
+
url: props.url,
|
|
29
|
+
method: props.method,
|
|
30
|
+
bodyParams: props.bodyParams,
|
|
31
|
+
requestParams: props.requestParams,
|
|
32
|
+
headerParams: props.headerParams
|
|
33
|
+
});
|
|
30
34
|
const computedRequestList = vue.computed(() => {
|
|
31
|
-
if (method
|
|
35
|
+
if (httpModel.method === "GET") {
|
|
32
36
|
return apiComponent.requestList.filter((item) => item.key !== "body");
|
|
33
37
|
}
|
|
34
38
|
return apiComponent.requestList;
|
|
35
39
|
});
|
|
36
40
|
vue.watch(
|
|
37
|
-
|
|
38
|
-
(n) => {
|
|
39
|
-
console.log("requestParams", n);
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
deep: true
|
|
43
|
-
}
|
|
44
|
-
);
|
|
45
|
-
vue.watch(
|
|
46
|
-
bodyParams,
|
|
41
|
+
() => httpModel,
|
|
47
42
|
(n) => {
|
|
48
|
-
|
|
43
|
+
emits("change", n);
|
|
49
44
|
},
|
|
50
45
|
{
|
|
51
|
-
deep: true
|
|
46
|
+
deep: true,
|
|
47
|
+
immediate: true
|
|
52
48
|
}
|
|
53
49
|
);
|
|
54
50
|
return (_ctx, _cache) => {
|
|
@@ -62,10 +58,10 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
62
58
|
},
|
|
63
59
|
[
|
|
64
60
|
vue.createVNode(apiUrl.default, {
|
|
65
|
-
method: method
|
|
66
|
-
"onUpdate:method": _cache[0] || (_cache[0] = ($event) => method
|
|
67
|
-
url: url
|
|
68
|
-
"onUpdate:url": _cache[1] || (_cache[1] = ($event) => url
|
|
61
|
+
method: httpModel.method,
|
|
62
|
+
"onUpdate:method": _cache[0] || (_cache[0] = ($event) => httpModel.method = $event),
|
|
63
|
+
url: httpModel.url,
|
|
64
|
+
"onUpdate:url": _cache[1] || (_cache[1] = ($event) => httpModel.url = $event),
|
|
69
65
|
class: vue.normalizeClass(vue.unref(bem).m("header"))
|
|
70
66
|
}, null, 8, ["method", "url", "class"]),
|
|
71
67
|
vue.createVNode(_component_ll_tabs_simple, {
|
|
@@ -76,13 +72,13 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
76
72
|
}, null, 8, ["active-key", "tabs", "class"]),
|
|
77
73
|
vue.withDirectives(vue.createVNode(paramsTable.default, {
|
|
78
74
|
columns: vue.unref(table.paramsTableColumns),
|
|
79
|
-
"data-source": requestParams
|
|
75
|
+
"data-source": httpModel.requestParams
|
|
80
76
|
}, null, 8, ["columns", "data-source"]), [
|
|
81
77
|
[vue.vShow, activeKey.value === "params"]
|
|
82
78
|
]),
|
|
83
79
|
vue.withDirectives(vue.createVNode(paramsTable.default, {
|
|
84
80
|
columns: vue.unref(table.headersTableColumns),
|
|
85
|
-
"data-source": headerParams
|
|
81
|
+
"data-source": httpModel.headerParams
|
|
86
82
|
}, null, 8, ["columns", "data-source"]), [
|
|
87
83
|
[vue.vShow, activeKey.value === "headers"]
|
|
88
84
|
]),
|
|
@@ -97,31 +93,31 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
97
93
|
class: vue.normalizeClass(vue.unref(bem).m("body-tab"))
|
|
98
94
|
}, null, 8, ["active-key", "tabs", "class"]),
|
|
99
95
|
vue.withDirectives(vue.createVNode(jsonXml.default, {
|
|
100
|
-
value: bodyParams["json"],
|
|
101
|
-
"onUpdate:value": _cache[4] || (_cache[4] = ($event) => bodyParams["json"] = $event)
|
|
96
|
+
value: httpModel.bodyParams["json"],
|
|
97
|
+
"onUpdate:value": _cache[4] || (_cache[4] = ($event) => httpModel.bodyParams["json"] = $event)
|
|
102
98
|
}, null, 8, ["value"]), [
|
|
103
99
|
[vue.vShow, bodyKey.value === "json"]
|
|
104
100
|
]),
|
|
105
101
|
vue.withDirectives(vue.createVNode(jsonXml.default, {
|
|
106
|
-
value: bodyParams["xml"],
|
|
107
|
-
"onUpdate:value": _cache[5] || (_cache[5] = ($event) => bodyParams["xml"] = $event)
|
|
102
|
+
value: httpModel.bodyParams["xml"],
|
|
103
|
+
"onUpdate:value": _cache[5] || (_cache[5] = ($event) => httpModel.bodyParams["xml"] = $event)
|
|
108
104
|
}, null, 8, ["value"]), [
|
|
109
105
|
[vue.vShow, bodyKey.value === "xml"]
|
|
110
106
|
]),
|
|
111
107
|
bodyKey.value === "raw" ? (vue.openBlock(), vue.createBlock(_component_ll_code_editor, {
|
|
112
108
|
key: 0,
|
|
113
|
-
value: bodyParams["raw"],
|
|
114
|
-
"onUpdate:value": _cache[6] || (_cache[6] = ($event) => bodyParams["raw"] = $event)
|
|
109
|
+
value: httpModel.bodyParams["raw"],
|
|
110
|
+
"onUpdate:value": _cache[6] || (_cache[6] = ($event) => httpModel.bodyParams["raw"] = $event)
|
|
115
111
|
}, null, 8, ["value"])) : vue.createCommentVNode("v-if", true),
|
|
116
112
|
vue.withDirectives(vue.createVNode(paramsTable.default, {
|
|
117
113
|
columns: vue.unref(table.paramsTableColumns),
|
|
118
|
-
"data-source": bodyParams["x-www-form-urlencoded"]
|
|
114
|
+
"data-source": httpModel.bodyParams["x-www-form-urlencoded"]
|
|
119
115
|
}, null, 8, ["columns", "data-source"]), [
|
|
120
116
|
[vue.vShow, bodyKey.value === "x-www-form-urlencoded"]
|
|
121
117
|
]),
|
|
122
118
|
vue.withDirectives(vue.createVNode(paramsTable.default, {
|
|
123
119
|
columns: vue.unref(table.formdataTableColumns),
|
|
124
|
-
"data-source": bodyParams["form-data"]
|
|
120
|
+
"data-source": httpModel.bodyParams["form-data"]
|
|
125
121
|
}, null, 8, ["columns", "data-source"]), [
|
|
126
122
|
[vue.vShow, bodyKey.value === "form-data"]
|
|
127
123
|
]),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-component.vue2.js","sources":["../../../../../packages/components/api-component/src/api-component.vue"],"sourcesContent":["<template>\n <div :class=\"bem.b()\">\n <api-url\n v-model:method=\"method\"\n v-model:url=\"url\"\n :class=\"bem.m('header')\"\n />\n <ll-tabs-simple\n v-model:active-key=\"activeKey\"\n :tabs=\"computedRequestList\"\n :class=\"bem.m('tab')\"\n />\n <params-table\n v-show=\"activeKey === 'params'\"\n :columns=\"paramsTableColumns\"\n :data-source=\"requestParams\"\n />\n <params-table\n v-show=\"activeKey === 'headers'\"\n :columns=\"headersTableColumns\"\n :data-source=\"headerParams\"\n />\n <div v-show=\"activeKey === 'body'\">\n <ll-tabs-simple\n v-model:active-key=\"bodyKey\"\n :tabs=\"bodyList\"\n :class=\"bem.m('body-tab')\"\n />\n <json-xml\n v-show=\"bodyKey === 'json'\"\n v-model:value=\"bodyParams['json']\"\n />\n\n <json-xml
|
|
1
|
+
{"version":3,"file":"api-component.vue2.js","sources":["../../../../../packages/components/api-component/src/api-component.vue"],"sourcesContent":["<template>\n <div :class=\"bem.b()\">\n <api-url\n v-model:method=\"httpModel.method\"\n v-model:url=\"httpModel.url\"\n :class=\"bem.m('header')\"\n />\n <ll-tabs-simple\n v-model:active-key=\"activeKey\"\n :tabs=\"computedRequestList\"\n :class=\"bem.m('tab')\"\n />\n <params-table\n v-show=\"activeKey === 'params'\"\n :columns=\"paramsTableColumns\"\n :data-source=\"httpModel.requestParams\"\n />\n <params-table\n v-show=\"activeKey === 'headers'\"\n :columns=\"headersTableColumns\"\n :data-source=\"httpModel.headerParams\"\n />\n <div v-show=\"activeKey === 'body'\">\n <ll-tabs-simple\n v-model:active-key=\"bodyKey\"\n :tabs=\"bodyList\"\n :class=\"bem.m('body-tab')\"\n />\n <json-xml\n v-show=\"bodyKey === 'json'\"\n v-model:value=\"httpModel.bodyParams['json']\"\n />\n\n <json-xml\n v-show=\"bodyKey === 'xml'\"\n v-model:value=\"httpModel.bodyParams['xml']\"\n />\n <ll-code-editor\n v-if=\"bodyKey === 'raw'\"\n v-model:value=\"httpModel.bodyParams['raw']\"\n />\n <params-table\n v-show=\"bodyKey === 'x-www-form-urlencoded'\"\n :columns=\"paramsTableColumns\"\n :data-source=\"httpModel.bodyParams['x-www-form-urlencoded']\"\n />\n <params-table\n v-show=\"bodyKey === 'form-data'\"\n :columns=\"formdataTableColumns\"\n :data-source=\"httpModel.bodyParams['form-data']\"\n />\n <ll-empty v-show=\"bodyKey === 'none'\" />\n </div>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { ref, computed, reactive, watch } from 'vue'\n\nimport {\n apiComponentProps,\n apiComponentEmits,\n requestList,\n paramsTableColumns,\n bodyList,\n headersTableColumns,\n formdataTableColumns\n} from './config'\n\nimport { createNamespace } from '@ll-plus/utils'\n// Components\nimport ApiUrl from './components/api-url.vue'\n\nimport JsonXml from './components/json-xml.vue'\n\nimport paramsTable from './components/params-table.vue'\n\ndefineOptions({ name: 'LlApiComponent' })\n\nconst props = defineProps(apiComponentProps)\n\nconst emits = defineEmits(apiComponentEmits)\n\nconst bem = createNamespace('api-component')\n\nconst activeKey = ref('params')\n\nconst bodyKey = ref('form-data')\n\n// const method = ref(props.method)\n\n// const url = ref(props.url)\n\n// const requestParams = ref(props.requestParams)\n\n// const headerParams = ref(props.headerParams)\n\n// const bodyParams = reactive(props.bodyParams)\n\n// const httpModel = reactive({\n// url: props.url,\n// method: props.method,\n// bodyParams: props.bodyParams,\n// requestParams: props.requestParams,\n// headerParams: props.headerParams\n// })\nconst httpModel = reactive({\n url: props.url,\n method: props.method,\n bodyParams: props.bodyParams,\n requestParams: props.requestParams,\n headerParams: props.headerParams\n})\n\nconst computedRequestList = computed(() => {\n if (httpModel.method === 'GET') {\n return requestList.filter(item => item.key !== 'body')\n }\n return requestList\n})\n\nwatch(\n () => httpModel,\n n => {\n emits('change', n)\n },\n {\n deep: true,\n immediate: true\n }\n)\n</script>\n"],"names":["createNamespace","ref","reactive","computed","requestList","watch"],"mappings":";;;;;;;;;;;;;;;;;;;;;AA+EA,IAAA,MAAM,KAAQ,GAAA,OAAA,CAAA;AAEd,IAAA,MAAM,KAAQ,GAAA,MAAA,CAAA;AAEd,IAAM,MAAA,GAAA,GAAMA,gCAAgB,eAAe,CAAA,CAAA;AAE3C,IAAM,MAAA,SAAA,GAAYC,QAAI,QAAQ,CAAA,CAAA;AAE9B,IAAM,MAAA,OAAA,GAAUA,QAAI,WAAW,CAAA,CAAA;AAmB/B,IAAA,MAAM,YAAYC,YAAS,CAAA;AAAA,MACzB,KAAK,KAAM,CAAA,GAAA;AAAA,MACX,QAAQ,KAAM,CAAA,MAAA;AAAA,MACd,YAAY,KAAM,CAAA,UAAA;AAAA,MAClB,eAAe,KAAM,CAAA,aAAA;AAAA,MACrB,cAAc,KAAM,CAAA,YAAA;AAAA,KACrB,CAAA,CAAA;AAED,IAAM,MAAA,mBAAA,GAAsBC,aAAS,MAAM;AACzC,MAAI,IAAA,SAAA,CAAU,WAAW,KAAO,EAAA;AAC9B,QAAA,OAAOC,wBAAY,CAAA,MAAA,CAAO,CAAQ,IAAA,KAAA,IAAA,CAAK,QAAQ,MAAM,CAAA,CAAA;AAAA,OACvD;AACA,MAAO,OAAAA,wBAAA,CAAA;AAAA,KACR,CAAA,CAAA;AAED,IAAAC,SAAA;AAAA,MACE,MAAM,SAAA;AAAA,MACN,CAAK,CAAA,KAAA;AACH,QAAA,KAAA,CAAM,UAAU,CAAC,CAAA,CAAA;AAAA,OACnB;AAAA,MACA;AAAA,QACE,IAAM,EAAA,IAAA;AAAA,QACN,SAAW,EAAA,IAAA;AAAA,OACb;AAAA,KACF,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -33,15 +33,6 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
33
33
|
addData.value = "";
|
|
34
34
|
}
|
|
35
35
|
};
|
|
36
|
-
vue.watch(
|
|
37
|
-
() => props.dataSource,
|
|
38
|
-
(n) => {
|
|
39
|
-
console.log({ n });
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
deep: true
|
|
43
|
-
}
|
|
44
|
-
);
|
|
45
36
|
return (_ctx, _cache) => {
|
|
46
37
|
const _component_ll_tooltip = vue.resolveComponent("ll-tooltip");
|
|
47
38
|
const _component_a_col = vue.resolveComponent("a-col");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"params-table.vue2.js","sources":["../../../../../../packages/components/api-component/src/components/params-table.vue"],"sourcesContent":["<template>\n <div :class=\"bem.b()\">\n <a-row :class=\"bem.m('table-header')\" :gutter=\"20\">\n <a-col\n v-for=\"(col, index) in props.columns\"\n :key=\"index\"\n :span=\"col.span\"\n :class=\"bem.e('table-header-col')\"\n >\n <span>{{ col.title }}</span>\n <ll-tooltip\n v-if=\"col.key === 'static'\"\n tip=\"Content-Type 字段用于指定请求部分的媒体类型\"\n />\n </a-col>\n <a-col :span=\"1\"> 操作 </a-col>\n </a-row>\n <div :class=\"bem.m('table-body')\">\n <table-row\n v-for=\"(item, index) in props.dataSource\"\n :key=\"index\"\n :data=\"item\"\n :columns=\"props.columns\"\n :data-source=\"props.dataSource\"\n />\n <a-row :gutter=\"20\" :class=\"bem.e('table-row')\">\n <a-col\n v-for=\"(col, index) in props.columns\"\n :key=\"index\"\n :span=\"col.span || 24 / props.columns.length\"\n :class=\"bem.e('table-col')\"\n >\n <template v-if=\"col.key === 'name'\">\n <ll-input\n v-model:value=\"addData\"\n placeholder=\"添加参数\"\n :bordered=\"false\"\n @blur=\"handleAdd(props.dataSource)\"\n />\n </template>\n </a-col>\n </a-row>\n </div>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { ref
|
|
1
|
+
{"version":3,"file":"params-table.vue2.js","sources":["../../../../../../packages/components/api-component/src/components/params-table.vue"],"sourcesContent":["<template>\n <div :class=\"bem.b()\">\n <a-row :class=\"bem.m('table-header')\" :gutter=\"20\">\n <a-col\n v-for=\"(col, index) in props.columns\"\n :key=\"index\"\n :span=\"col.span\"\n :class=\"bem.e('table-header-col')\"\n >\n <span>{{ col.title }}</span>\n <ll-tooltip\n v-if=\"col.key === 'static'\"\n tip=\"Content-Type 字段用于指定请求部分的媒体类型\"\n />\n </a-col>\n <a-col :span=\"1\"> 操作 </a-col>\n </a-row>\n <div :class=\"bem.m('table-body')\">\n <table-row\n v-for=\"(item, index) in props.dataSource\"\n :key=\"index\"\n :data=\"item\"\n :columns=\"props.columns\"\n :data-source=\"props.dataSource\"\n />\n <a-row :gutter=\"20\" :class=\"bem.e('table-row')\">\n <a-col\n v-for=\"(col, index) in props.columns\"\n :key=\"index\"\n :span=\"col.span || 24 / props.columns.length\"\n :class=\"bem.e('table-col')\"\n >\n <template v-if=\"col.key === 'name'\">\n <ll-input\n v-model:value=\"addData\"\n placeholder=\"添加参数\"\n :bordered=\"false\"\n @blur=\"handleAdd(props.dataSource)\"\n />\n </template>\n </a-col>\n </a-row>\n </div>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { ref } from 'vue'\n\nimport { paramsTableProps } from '../config'\n\nimport { createNamespace } from '@ll-plus/utils'\n\nimport TableRow from './params-table-row.vue'\n\ndefineOptions({ name: 'LlParamsTable' })\n\nconst bem = createNamespace('params-table')\n\nconst props = defineProps(paramsTableProps)\n\nconst addData = ref('')\n\nconst handleAdd = dataSource => {\n if (\n (addData.value && dataSource.find(e => e.name !== addData.value)) ||\n !dataSource.length\n ) {\n if (!addData.value) return\n dataSource.push({\n name: addData.value,\n required: false,\n value: '',\n static: false,\n description: '',\n contentType: ''\n })\n addData.value = ''\n }\n}\n</script>\n"],"names":["createNamespace","ref"],"mappings":";;;;;;;;;;;;;;;;;AAyDA,IAAM,MAAA,GAAA,GAAMA,gCAAgB,cAAc,CAAA,CAAA;AAE1C,IAAA,MAAM,KAAQ,GAAA,OAAA,CAAA;AAEd,IAAM,MAAA,OAAA,GAAUC,QAAI,EAAE,CAAA,CAAA;AAEtB,IAAA,MAAM,YAAY,CAAc,UAAA,KAAA;AAC9B,MAAA,IACG,OAAQ,CAAA,KAAA,IAAS,UAAW,CAAA,IAAA,CAAK,CAAK,CAAA,KAAA,CAAA,CAAE,IAAS,KAAA,OAAA,CAAQ,KAAK,CAAA,IAC/D,CAAC,UAAA,CAAW,MACZ,EAAA;AACA,QAAA,IAAI,CAAC,OAAQ,CAAA,KAAA;AAAO,UAAA,OAAA;AACpB,QAAA,UAAA,CAAW,IAAK,CAAA;AAAA,UACd,MAAM,OAAQ,CAAA,KAAA;AAAA,UACd,QAAU,EAAA,KAAA;AAAA,UACV,KAAO,EAAA,EAAA;AAAA,UACP,MAAQ,EAAA,KAAA;AAAA,UACR,WAAa,EAAA,EAAA;AAAA,UACb,WAAa,EAAA,EAAA;AAAA,SACd,CAAA,CAAA;AACD,QAAA,OAAA,CAAQ,KAAQ,GAAA,EAAA,CAAA;AAAA,OAClB;AAAA,KACF,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -23,6 +23,13 @@ export declare const bodyList: {
|
|
|
23
23
|
key: string;
|
|
24
24
|
name: string;
|
|
25
25
|
}[];
|
|
26
|
+
export interface IApiParams {
|
|
27
|
+
url?: string;
|
|
28
|
+
method?: IMethod;
|
|
29
|
+
requestParams?: IParam[];
|
|
30
|
+
headerParams?: IParam[];
|
|
31
|
+
bodyParams?: Record<string, any>;
|
|
32
|
+
}
|
|
26
33
|
export declare const apiComponentProps: {
|
|
27
34
|
readonly url: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
28
35
|
readonly method: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "POST" | "PUT" | "GET" | "DELETE") | (() => IMethod) | ((new (...args: any[]) => "POST" | "PUT" | "GET" | "DELETE") | (() => IMethod))[], unknown, unknown, "GET", boolean>;
|
|
@@ -37,5 +44,9 @@ export declare const apiComponentProps: {
|
|
|
37
44
|
'x-www-form-urlencoded': never[];
|
|
38
45
|
}, boolean>;
|
|
39
46
|
};
|
|
47
|
+
export declare const apiComponentEmits: {
|
|
48
|
+
change: (value: Record<string, any>) => boolean;
|
|
49
|
+
};
|
|
40
50
|
export type ApiComponentProps = ExtractPropTypes<typeof apiComponentProps>;
|
|
51
|
+
export type ApiComponentEmits = typeof apiComponentEmits;
|
|
41
52
|
export type ApiComponentInstance = InstanceType<typeof ApiComponent>;
|
|
@@ -74,8 +74,12 @@ const apiComponentProps = runtime.buildProps({
|
|
|
74
74
|
})
|
|
75
75
|
}
|
|
76
76
|
});
|
|
77
|
+
const apiComponentEmits = {
|
|
78
|
+
change: (value) => !!value
|
|
79
|
+
};
|
|
77
80
|
|
|
78
81
|
exports.DEFAULT_METHOD = DEFAULT_METHOD;
|
|
82
|
+
exports.apiComponentEmits = apiComponentEmits;
|
|
79
83
|
exports.apiComponentProps = apiComponentProps;
|
|
80
84
|
exports.bodyList = bodyList;
|
|
81
85
|
exports.requestList = requestList;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-component.js","sources":["../../../../../../packages/components/api-component/src/config/api-component.ts"],"sourcesContent":["import { buildProps, definePropType } from '@ll-plus/utils'\n\nimport type { ExtractPropTypes } from 'vue'\n\nimport type ApiComponent from '../api-component.vue'\n\nexport type IMethod = 'GET' | 'POST' | 'PUT' | 'DELETE'\n\nexport type IValueType =\n | 'string'\n | 'integer'\n | 'boolean'\n | 'number'\n | 'array'\n | null\n | any\n\nexport interface IParam {\n required?: boolean\n name?: string\n value?: string\n type?: IValueType\n static?: boolean\n contentType?: string\n description?: string\n chineseName?: string\n children?: IParam[]\n [key: string]: any\n}\n\nexport const DEFAULT_METHOD = 'GET'\n\nexport const requestList = [\n {\n key: 'params',\n name: '请求参数'\n },\n {\n key: 'body',\n name: '请求报文体'\n },\n {\n key: 'headers',\n name: '请求头'\n }\n]\n\nexport const bodyList = [\n {\n key: 'none',\n name: 'none'\n },\n {\n key: 'form-data',\n name: 'form-data'\n },\n {\n key: 'x-www-form-urlencoded',\n name: 'x-www-form-urlencoded'\n },\n {\n key: 'json',\n name: 'json'\n },\n {\n key: 'xml',\n name: 'xml'\n },\n {\n key: 'raw',\n name: 'raw'\n }\n]\n\nexport const apiComponentProps = buildProps({\n url: {\n type: String,\n default: ''\n },\n method: {\n type: definePropType<IMethod>(String),\n default: DEFAULT_METHOD\n },\n requestParams: {\n type: definePropType<IParam[]>(Array),\n default: () => [] as IParam[]\n },\n headerParams: {\n type: definePropType<IParam[]>(Array),\n default: () => [] as IParam[]\n },\n bodyParams: {\n type: Object,\n default: () => ({\n none: null,\n 'form-data': [],\n json: [],\n xml: [],\n raw: '',\n 'x-www-form-urlencoded': []\n })\n }\n} as const)\n\n// props\nexport type ApiComponentProps = ExtractPropTypes<typeof apiComponentProps>\n\n// emits\
|
|
1
|
+
{"version":3,"file":"api-component.js","sources":["../../../../../../packages/components/api-component/src/config/api-component.ts"],"sourcesContent":["import { buildProps, definePropType } from '@ll-plus/utils'\n\nimport type { ExtractPropTypes } from 'vue'\n\nimport type ApiComponent from '../api-component.vue'\n\nexport type IMethod = 'GET' | 'POST' | 'PUT' | 'DELETE'\n\nexport type IValueType =\n | 'string'\n | 'integer'\n | 'boolean'\n | 'number'\n | 'array'\n | null\n | any\n\nexport interface IParam {\n required?: boolean\n name?: string\n value?: string\n type?: IValueType\n static?: boolean\n contentType?: string\n description?: string\n chineseName?: string\n children?: IParam[]\n [key: string]: any\n}\n\nexport const DEFAULT_METHOD = 'GET'\n\nexport const requestList = [\n {\n key: 'params',\n name: '请求参数'\n },\n {\n key: 'body',\n name: '请求报文体'\n },\n {\n key: 'headers',\n name: '请求头'\n }\n]\n\nexport const bodyList = [\n {\n key: 'none',\n name: 'none'\n },\n {\n key: 'form-data',\n name: 'form-data'\n },\n {\n key: 'x-www-form-urlencoded',\n name: 'x-www-form-urlencoded'\n },\n {\n key: 'json',\n name: 'json'\n },\n {\n key: 'xml',\n name: 'xml'\n },\n {\n key: 'raw',\n name: 'raw'\n }\n]\n\nexport interface IApiParams {\n url?: string\n method?: IMethod\n requestParams?: IParam[]\n headerParams?: IParam[]\n bodyParams?: Record<string, any>\n}\n\nexport const apiComponentProps = buildProps({\n url: {\n type: String,\n default: ''\n },\n method: {\n type: definePropType<IMethod>(String),\n default: DEFAULT_METHOD\n },\n requestParams: {\n type: definePropType<IParam[]>(Array),\n default: () => [] as IParam[]\n },\n headerParams: {\n type: definePropType<IParam[]>(Array),\n default: () => [] as IParam[]\n },\n bodyParams: {\n type: Object,\n default: () => ({\n none: null,\n 'form-data': [],\n json: [],\n xml: [],\n raw: '',\n 'x-www-form-urlencoded': []\n })\n }\n} as const)\n\nexport const apiComponentEmits = {\n change: (value: Record<string, any>) => !!value\n}\n// props\nexport type ApiComponentProps = ExtractPropTypes<typeof apiComponentProps>\n\n// emits\nexport type ApiComponentEmits = typeof apiComponentEmits\n\n// instance\nexport type ApiComponentInstance = InstanceType<typeof ApiComponent>\n"],"names":["buildProps","definePropType"],"mappings":";;;;;;AA8BO,MAAM,cAAiB,GAAA,MAAA;AAEvB,MAAM,WAAc,GAAA;AAAA,EACzB;AAAA,IACE,GAAK,EAAA,QAAA;AAAA,IACL,IAAM,EAAA,0BAAA;AAAA,GACR;AAAA,EACA;AAAA,IACE,GAAK,EAAA,MAAA;AAAA,IACL,IAAM,EAAA,gCAAA;AAAA,GACR;AAAA,EACA;AAAA,IACE,GAAK,EAAA,SAAA;AAAA,IACL,IAAM,EAAA,oBAAA;AAAA,GACR;AACF,EAAA;AAEO,MAAM,QAAW,GAAA;AAAA,EACtB;AAAA,IACE,GAAK,EAAA,MAAA;AAAA,IACL,IAAM,EAAA,MAAA;AAAA,GACR;AAAA,EACA;AAAA,IACE,GAAK,EAAA,WAAA;AAAA,IACL,IAAM,EAAA,WAAA;AAAA,GACR;AAAA,EACA;AAAA,IACE,GAAK,EAAA,uBAAA;AAAA,IACL,IAAM,EAAA,uBAAA;AAAA,GACR;AAAA,EACA;AAAA,IACE,GAAK,EAAA,MAAA;AAAA,IACL,IAAM,EAAA,MAAA;AAAA,GACR;AAAA,EACA;AAAA,IACE,GAAK,EAAA,KAAA;AAAA,IACL,IAAM,EAAA,KAAA;AAAA,GACR;AAAA,EACA;AAAA,IACE,GAAK,EAAA,KAAA;AAAA,IACL,IAAM,EAAA,KAAA;AAAA,GACR;AACF,EAAA;AAUO,MAAM,oBAAoBA,kBAAW,CAAA;AAAA,EAC1C,GAAK,EAAA;AAAA,IACH,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,EAAA;AAAA,GACX;AAAA,EACA,MAAQ,EAAA;AAAA,IACN,IAAA,EAAMC,uBAAwB,MAAM,CAAA;AAAA,IACpC,OAAS,EAAA,cAAA;AAAA,GACX;AAAA,EACA,aAAe,EAAA;AAAA,IACb,IAAA,EAAMA,uBAAyB,KAAK,CAAA;AAAA,IACpC,OAAA,EAAS,MAAM,EAAC;AAAA,GAClB;AAAA,EACA,YAAc,EAAA;AAAA,IACZ,IAAA,EAAMA,uBAAyB,KAAK,CAAA;AAAA,IACpC,OAAA,EAAS,MAAM,EAAC;AAAA,GAClB;AAAA,EACA,UAAY,EAAA;AAAA,IACV,IAAM,EAAA,MAAA;AAAA,IACN,SAAS,OAAO;AAAA,MACd,IAAM,EAAA,IAAA;AAAA,MACN,aAAa,EAAC;AAAA,MACd,MAAM,EAAC;AAAA,MACP,KAAK,EAAC;AAAA,MACN,GAAK,EAAA,EAAA;AAAA,MACL,yBAAyB,EAAC;AAAA,KAC5B,CAAA;AAAA,GACF;AACF,CAAU,EAAA;AAEH,MAAM,iBAAoB,GAAA;AAAA,EAC/B,MAAQ,EAAA,CAAC,KAA+B,KAAA,CAAC,CAAC,KAAA;AAC5C;;;;;;;;"}
|
|
@@ -12,6 +12,7 @@ var table = require('./table.js');
|
|
|
12
12
|
"use strict";
|
|
13
13
|
|
|
14
14
|
exports.DEFAULT_METHOD = apiComponent.DEFAULT_METHOD;
|
|
15
|
+
exports.apiComponentEmits = apiComponent.apiComponentEmits;
|
|
15
16
|
exports.apiComponentProps = apiComponent.apiComponentProps;
|
|
16
17
|
exports.bodyList = apiComponent.bodyList;
|
|
17
18
|
exports.requestList = apiComponent.requestList;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1566,8 +1566,17 @@ export declare const LlEasyCron: import("ll-plus/es/utils").SFCWithInstall<impor
|
|
|
1566
1566
|
[x: string]: any;
|
|
1567
1567
|
}, {
|
|
1568
1568
|
type: import("vue").Ref<any>;
|
|
1569
|
+
bem: {
|
|
1570
|
+
b: (blockSuffix?: string) => string;
|
|
1571
|
+
e: (element?: string) => string;
|
|
1572
|
+
m: (modifier?: string) => string;
|
|
1573
|
+
be: (blockSuffix?: string, element?: string) => string;
|
|
1574
|
+
em: (element: string, modifier: string) => string;
|
|
1575
|
+
bm: (blockSuffix: string, modifier: string) => string;
|
|
1576
|
+
bem: (blockSuffix: string, element: string, modifier: string) => string;
|
|
1577
|
+
is: (name?: string) => string;
|
|
1578
|
+
};
|
|
1569
1579
|
TypeEnum: typeof import("./src/config").TypeEnum;
|
|
1570
|
-
prefixCls: unknown;
|
|
1571
1580
|
defaultValue: import("vue").Ref<any>;
|
|
1572
1581
|
valueRange: any;
|
|
1573
1582
|
valueLoop: any;
|
|
@@ -1608,16 +1617,6 @@ export declare const LlEasyCron: import("ll-plus/es/utils").SFCWithInstall<impor
|
|
|
1608
1617
|
disabled: any;
|
|
1609
1618
|
class: string[];
|
|
1610
1619
|
}>;
|
|
1611
|
-
bem: {
|
|
1612
|
-
b: (blockSuffix?: string) => string;
|
|
1613
|
-
e: (element?: string) => string;
|
|
1614
|
-
m: (modifier?: string) => string;
|
|
1615
|
-
be: (blockSuffix?: string, element?: string) => string;
|
|
1616
|
-
em: (element: string, modifier: string) => string;
|
|
1617
|
-
bm: (blockSuffix: string, modifier: string) => string;
|
|
1618
|
-
bem: (blockSuffix: string, element: string, modifier: string) => string;
|
|
1619
|
-
is: (name?: string) => string;
|
|
1620
|
-
};
|
|
1621
1620
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1622
1621
|
readonly change: (value: string) => boolean;
|
|
1623
1622
|
readonly 'update:value': (value: string) => boolean;
|
|
@@ -1633,8 +1632,17 @@ export declare const LlEasyCron: import("ll-plus/es/utils").SFCWithInstall<impor
|
|
|
1633
1632
|
[x: string]: any;
|
|
1634
1633
|
}, {
|
|
1635
1634
|
type: import("vue").Ref<any>;
|
|
1635
|
+
bem: {
|
|
1636
|
+
b: (blockSuffix?: string) => string;
|
|
1637
|
+
e: (element?: string) => string;
|
|
1638
|
+
m: (modifier?: string) => string;
|
|
1639
|
+
be: (blockSuffix?: string, element?: string) => string;
|
|
1640
|
+
em: (element: string, modifier: string) => string;
|
|
1641
|
+
bm: (blockSuffix: string, modifier: string) => string;
|
|
1642
|
+
bem: (blockSuffix: string, element: string, modifier: string) => string;
|
|
1643
|
+
is: (name?: string) => string;
|
|
1644
|
+
};
|
|
1636
1645
|
TypeEnum: typeof import("./src/config").TypeEnum;
|
|
1637
|
-
prefixCls: unknown;
|
|
1638
1646
|
defaultValue: import("vue").Ref<any>;
|
|
1639
1647
|
valueRange: any;
|
|
1640
1648
|
valueLoop: any;
|
|
@@ -1675,16 +1683,6 @@ export declare const LlEasyCron: import("ll-plus/es/utils").SFCWithInstall<impor
|
|
|
1675
1683
|
disabled: any;
|
|
1676
1684
|
class: string[];
|
|
1677
1685
|
}>;
|
|
1678
|
-
bem: {
|
|
1679
|
-
b: (blockSuffix?: string) => string;
|
|
1680
|
-
e: (element?: string) => string;
|
|
1681
|
-
m: (modifier?: string) => string;
|
|
1682
|
-
be: (blockSuffix?: string, element?: string) => string;
|
|
1683
|
-
em: (element: string, modifier: string) => string;
|
|
1684
|
-
bm: (blockSuffix: string, modifier: string) => string;
|
|
1685
|
-
bem: (blockSuffix: string, element: string, modifier: string) => string;
|
|
1686
|
-
is: (name?: string) => string;
|
|
1687
|
-
};
|
|
1688
1686
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1689
1687
|
readonly change: (value: string) => boolean;
|
|
1690
1688
|
readonly 'update:value': (value: string) => boolean;
|
|
@@ -1700,8 +1698,17 @@ export declare const LlEasyCron: import("ll-plus/es/utils").SFCWithInstall<impor
|
|
|
1700
1698
|
[x: string]: any;
|
|
1701
1699
|
}, {
|
|
1702
1700
|
type: import("vue").Ref<any>;
|
|
1701
|
+
bem: {
|
|
1702
|
+
b: (blockSuffix?: string) => string;
|
|
1703
|
+
e: (element?: string) => string;
|
|
1704
|
+
m: (modifier?: string) => string;
|
|
1705
|
+
be: (blockSuffix?: string, element?: string) => string;
|
|
1706
|
+
em: (element: string, modifier: string) => string;
|
|
1707
|
+
bm: (blockSuffix: string, modifier: string) => string;
|
|
1708
|
+
bem: (blockSuffix: string, element: string, modifier: string) => string;
|
|
1709
|
+
is: (name?: string) => string;
|
|
1710
|
+
};
|
|
1703
1711
|
TypeEnum: typeof import("./src/config").TypeEnum;
|
|
1704
|
-
prefixCls: unknown;
|
|
1705
1712
|
defaultValue: import("vue").Ref<any>;
|
|
1706
1713
|
valueRange: any;
|
|
1707
1714
|
valueLoop: any;
|
|
@@ -1742,16 +1749,6 @@ export declare const LlEasyCron: import("ll-plus/es/utils").SFCWithInstall<impor
|
|
|
1742
1749
|
disabled: any;
|
|
1743
1750
|
class: string[];
|
|
1744
1751
|
}>;
|
|
1745
|
-
bem: {
|
|
1746
|
-
b: (blockSuffix?: string) => string;
|
|
1747
|
-
e: (element?: string) => string;
|
|
1748
|
-
m: (modifier?: string) => string;
|
|
1749
|
-
be: (blockSuffix?: string, element?: string) => string;
|
|
1750
|
-
em: (element: string, modifier: string) => string;
|
|
1751
|
-
bm: (blockSuffix: string, modifier: string) => string;
|
|
1752
|
-
bem: (blockSuffix: string, element: string, modifier: string) => string;
|
|
1753
|
-
is: (name?: string) => string;
|
|
1754
|
-
};
|
|
1755
1752
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1756
1753
|
readonly change: (value: string) => boolean;
|
|
1757
1754
|
readonly 'update:value': (value: string) => boolean;
|
|
@@ -1773,6 +1770,7 @@ export declare const LlEasyCron: import("ll-plus/es/utils").SFCWithInstall<impor
|
|
|
1773
1770
|
precision: number;
|
|
1774
1771
|
disabled: any;
|
|
1775
1772
|
}>;
|
|
1773
|
+
type: import("vue").Ref<any>;
|
|
1776
1774
|
bem: {
|
|
1777
1775
|
b: (blockSuffix?: string) => string;
|
|
1778
1776
|
e: (element?: string) => string;
|
|
@@ -1783,9 +1781,7 @@ export declare const LlEasyCron: import("ll-plus/es/utils").SFCWithInstall<impor
|
|
|
1783
1781
|
bem: (blockSuffix: string, element: string, modifier: string) => string;
|
|
1784
1782
|
is: (name?: string) => string;
|
|
1785
1783
|
};
|
|
1786
|
-
type: import("vue").Ref<any>;
|
|
1787
1784
|
TypeEnum: typeof import("./src/config").TypeEnum;
|
|
1788
|
-
prefixCls: unknown;
|
|
1789
1785
|
defaultValue: import("vue").Ref<any>;
|
|
1790
1786
|
valueRange: any;
|
|
1791
1787
|
valueLoop: any;
|
|
@@ -1841,8 +1837,17 @@ export declare const LlEasyCron: import("ll-plus/es/utils").SFCWithInstall<impor
|
|
|
1841
1837
|
[x: string]: any;
|
|
1842
1838
|
}, {
|
|
1843
1839
|
type: import("vue").Ref<any>;
|
|
1840
|
+
bem: {
|
|
1841
|
+
b: (blockSuffix?: string) => string;
|
|
1842
|
+
e: (element?: string) => string;
|
|
1843
|
+
m: (modifier?: string) => string;
|
|
1844
|
+
be: (blockSuffix?: string, element?: string) => string;
|
|
1845
|
+
em: (element: string, modifier: string) => string;
|
|
1846
|
+
bm: (blockSuffix: string, modifier: string) => string;
|
|
1847
|
+
bem: (blockSuffix: string, element: string, modifier: string) => string;
|
|
1848
|
+
is: (name?: string) => string;
|
|
1849
|
+
};
|
|
1844
1850
|
TypeEnum: typeof import("./src/config").TypeEnum;
|
|
1845
|
-
prefixCls: unknown;
|
|
1846
1851
|
defaultValue: import("vue").Ref<any>;
|
|
1847
1852
|
valueRange: any;
|
|
1848
1853
|
valueLoop: any;
|
|
@@ -1883,16 +1888,6 @@ export declare const LlEasyCron: import("ll-plus/es/utils").SFCWithInstall<impor
|
|
|
1883
1888
|
disabled: any;
|
|
1884
1889
|
class: string[];
|
|
1885
1890
|
}>;
|
|
1886
|
-
bem: {
|
|
1887
|
-
b: (blockSuffix?: string) => string;
|
|
1888
|
-
e: (element?: string) => string;
|
|
1889
|
-
m: (modifier?: string) => string;
|
|
1890
|
-
be: (blockSuffix?: string, element?: string) => string;
|
|
1891
|
-
em: (element: string, modifier: string) => string;
|
|
1892
|
-
bm: (blockSuffix: string, modifier: string) => string;
|
|
1893
|
-
bem: (blockSuffix: string, element: string, modifier: string) => string;
|
|
1894
|
-
is: (name?: string) => string;
|
|
1895
|
-
};
|
|
1896
1891
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1897
1892
|
readonly change: (value: string) => boolean;
|
|
1898
1893
|
readonly 'update:value': (value: string) => boolean;
|
|
@@ -1907,16 +1902,6 @@ export declare const LlEasyCron: import("ll-plus/es/utils").SFCWithInstall<impor
|
|
|
1907
1902
|
WeekUI: import("vue").DefineComponent<{
|
|
1908
1903
|
[x: string]: any;
|
|
1909
1904
|
}, {
|
|
1910
|
-
bem: {
|
|
1911
|
-
b: (blockSuffix?: string) => string;
|
|
1912
|
-
e: (element?: string) => string;
|
|
1913
|
-
m: (modifier?: string) => string;
|
|
1914
|
-
be: (blockSuffix?: string, element?: string) => string;
|
|
1915
|
-
em: (element: string, modifier: string) => string;
|
|
1916
|
-
bm: (blockSuffix: string, modifier: string) => string;
|
|
1917
|
-
bem: (blockSuffix: string, element: string, modifier: string) => string;
|
|
1918
|
-
is: (name?: string) => string;
|
|
1919
|
-
};
|
|
1920
1905
|
weekOptions: import("vue").ComputedRef<{
|
|
1921
1906
|
label: string;
|
|
1922
1907
|
value: number;
|
|
@@ -1948,8 +1933,17 @@ export declare const LlEasyCron: import("ll-plus/es/utils").SFCWithInstall<impor
|
|
|
1948
1933
|
'7': string;
|
|
1949
1934
|
};
|
|
1950
1935
|
type: import("vue").Ref<any>;
|
|
1936
|
+
bem: {
|
|
1937
|
+
b: (blockSuffix?: string) => string;
|
|
1938
|
+
e: (element?: string) => string;
|
|
1939
|
+
m: (modifier?: string) => string;
|
|
1940
|
+
be: (blockSuffix?: string, element?: string) => string;
|
|
1941
|
+
em: (element: string, modifier: string) => string;
|
|
1942
|
+
bm: (blockSuffix: string, modifier: string) => string;
|
|
1943
|
+
bem: (blockSuffix: string, element: string, modifier: string) => string;
|
|
1944
|
+
is: (name?: string) => string;
|
|
1945
|
+
};
|
|
1951
1946
|
TypeEnum: typeof import("./src/config").TypeEnum;
|
|
1952
|
-
prefixCls: unknown;
|
|
1953
1947
|
defaultValue: import("vue").Ref<any>;
|
|
1954
1948
|
valueRange: any;
|
|
1955
1949
|
valueLoop: any;
|
|
@@ -2005,8 +1999,17 @@ export declare const LlEasyCron: import("ll-plus/es/utils").SFCWithInstall<impor
|
|
|
2005
1999
|
[x: string]: any;
|
|
2006
2000
|
}, {
|
|
2007
2001
|
type: import("vue").Ref<any>;
|
|
2002
|
+
bem: {
|
|
2003
|
+
b: (blockSuffix?: string) => string;
|
|
2004
|
+
e: (element?: string) => string;
|
|
2005
|
+
m: (modifier?: string) => string;
|
|
2006
|
+
be: (blockSuffix?: string, element?: string) => string;
|
|
2007
|
+
em: (element: string, modifier: string) => string;
|
|
2008
|
+
bm: (blockSuffix: string, modifier: string) => string;
|
|
2009
|
+
bem: (blockSuffix: string, element: string, modifier: string) => string;
|
|
2010
|
+
is: (name?: string) => string;
|
|
2011
|
+
};
|
|
2008
2012
|
TypeEnum: typeof import("./src/config").TypeEnum;
|
|
2009
|
-
prefixCls: unknown;
|
|
2010
2013
|
defaultValue: import("vue").Ref<any>;
|
|
2011
2014
|
valueRange: any;
|
|
2012
2015
|
valueLoop: any;
|
|
@@ -2047,16 +2050,6 @@ export declare const LlEasyCron: import("ll-plus/es/utils").SFCWithInstall<impor
|
|
|
2047
2050
|
disabled: any;
|
|
2048
2051
|
class: string[];
|
|
2049
2052
|
}>;
|
|
2050
|
-
bem: {
|
|
2051
|
-
b: (blockSuffix?: string) => string;
|
|
2052
|
-
e: (element?: string) => string;
|
|
2053
|
-
m: (modifier?: string) => string;
|
|
2054
|
-
be: (blockSuffix?: string, element?: string) => string;
|
|
2055
|
-
em: (element: string, modifier: string) => string;
|
|
2056
|
-
bm: (blockSuffix: string, modifier: string) => string;
|
|
2057
|
-
bem: (blockSuffix: string, element: string, modifier: string) => string;
|
|
2058
|
-
is: (name?: string) => string;
|
|
2059
|
-
};
|
|
2060
2053
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2061
2054
|
readonly change: (value: string) => boolean;
|
|
2062
2055
|
readonly 'update:value': (value: string) => boolean;
|