@tager/admin-mail
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -1005,5 +1005,5 @@ import { ref, computed, defineComponent, onMounted, watch } from '@vue/composition-api'; | ||
props: { | ||
emailBody: { | ||
type: String, | ||
required: false, | ||
log: { | ||
type: Object, | ||
required: true, | ||
}, | ||
@@ -1034,3 +1034,3 @@ }, | ||
staticClass: "email-body", | ||
domProps: { innerHTML: _vm._s(_vm.emailBody || "") }, | ||
domProps: { innerHTML: _vm._s(_vm.log.body) }, | ||
}) | ||
@@ -1062,7 +1062,7 @@ : _vm._e(), | ||
if (!inject) return | ||
inject("data-v-346ea489_0", { source: "\n.toggle-button[data-v-346ea489] {\n white-space: nowrap;\n}\n.email-body[data-v-346ea489] {\n margin-bottom: 1rem;\n}\n", map: {"version":3,"sources":["D:\\Work\\tager-admin-mail\\src\\views\\EmailLogList\\components\\BodyCell.vue"],"names":[],"mappings":";AAqCA;EACA,mBAAA;AACA;AAEA;EACA,mBAAA;AACA","file":"BodyCell.vue","sourcesContent":["<template>\n <div>\n <p v-if=\"isOpen\" class=\"email-body\" v-html=\"emailBody || ''\" />\n <base-button\n variant=\"outline-secondary\"\n class=\"toggle-button\"\n @click=\"toggleBody\"\n >\n {{ isOpen ? 'Hide Body' : 'View Body' }}\n </base-button>\n </div>\n</template>\n\n<script lang=\"ts\">\nimport { defineComponent, ref } from '@vue/composition-api';\n\nexport default defineComponent({\n name: 'EmailBodyCell',\n props: {\n emailBody: {\n type: String,\n required: false,\n },\n },\n setup() {\n const isOpen = ref<boolean>(false);\n\n function toggleBody() {\n isOpen.value = !isOpen.value;\n }\n\n return { isOpen, toggleBody };\n },\n});\n</script>\n\n<style scoped>\n.toggle-button {\n white-space: nowrap;\n}\n\n.email-body {\n margin-bottom: 1rem;\n}\n</style>\n"]}, media: undefined }); | ||
inject("data-v-8d26c9ae_0", { source: "\n.toggle-button[data-v-8d26c9ae] {\n white-space: nowrap;\n}\n.email-body[data-v-8d26c9ae] {\n margin-bottom: 1rem;\n}\n", map: {"version":3,"sources":["D:\\Work\\tager-admin-mail\\src\\views\\EmailLogList\\components\\BodyCell.vue"],"names":[],"mappings":";AAwCA;EACA,mBAAA;AACA;AAEA;EACA,mBAAA;AACA","file":"BodyCell.vue","sourcesContent":["<template>\n <div>\n <p v-if=\"isOpen\" class=\"email-body\" v-html=\"log.body\" />\n <base-button\n variant=\"outline-secondary\"\n class=\"toggle-button\"\n @click=\"toggleBody\"\n >\n {{ isOpen ? 'Hide Body' : 'View Body' }}\n </base-button>\n </div>\n</template>\n\n<script lang=\"ts\">\nimport { defineComponent, ref } from '@vue/composition-api';\nimport { EmailLog } from '../../../typings/model';\n\ntype Props = Readonly<{ log: EmailLog }>;\n\nexport default defineComponent<Props>({\n name: 'EmailBodyCell',\n props: {\n log: {\n type: Object,\n required: true,\n },\n },\n setup() {\n const isOpen = ref<boolean>(false);\n\n function toggleBody() {\n isOpen.value = !isOpen.value;\n }\n\n return { isOpen, toggleBody };\n },\n});\n</script>\n\n<style scoped>\n.toggle-button {\n white-space: nowrap;\n}\n\n.email-body {\n margin-bottom: 1rem;\n}\n</style>\n"]}, media: undefined }); | ||
}; | ||
/* scoped */ | ||
const __vue_scope_id__$3 = "data-v-346ea489"; | ||
const __vue_scope_id__$3 = "data-v-8d26c9ae"; | ||
/* module identifier */ | ||
@@ -1094,5 +1094,5 @@ const __vue_module_identifier__$3 = undefined; | ||
props: { | ||
error: { | ||
type: String, | ||
required: false, | ||
log: { | ||
type: Object, | ||
required: true, | ||
}, | ||
@@ -1106,8 +1106,8 @@ }, | ||
const errorText = computed(() => { | ||
if (typeof props.error === 'string' && | ||
props.error.length > 80 && | ||
if (typeof props.log.error === 'string' && | ||
props.log.error.length > 80 && | ||
!isOpen.value) { | ||
return props.error.slice(0, 80) + '...'; | ||
return props.log.error.slice(0, 80) + '...'; | ||
} | ||
return props.error; | ||
return props.log.error; | ||
}); | ||
@@ -1144,7 +1144,7 @@ return { isOpen, toggleError, errorText }; | ||
if (!inject) return | ||
inject("data-v-2c8e18b4_0", { source: ".error-cell[data-v-2c8e18b4] {\n cursor: pointer;\n width: 300px;\n}\n.error-cell p[data-v-2c8e18b4] {\n max-width: 250px;\n word-break: break-word;\n}\n\n/*# sourceMappingURL=ErrorCell.vue.map */", map: {"version":3,"sources":["D:\\Work\\tager-admin-mail\\src\\views\\EmailLogList\\components\\ErrorCell.vue","ErrorCell.vue"],"names":[],"mappings":"AA4CA;EACA,eAAA;EACA,YAAA;AC3CA;AD6CA;EACA,gBAAA;EACA,sBAAA;AC3CA;;AAEA,wCAAwC","file":"ErrorCell.vue","sourcesContent":["<template>\n <td class=\"error-cell\" @click=\"toggleError\">\n <p v-if=\"errorText\" :class=\"{ open: isOpen }\">\n {{ errorText }}\n </p>\n </td>\n</template>\n\n<script lang=\"ts\">\nimport { computed, defineComponent, ref } from '@vue/composition-api';\n\nexport default defineComponent({\n name: 'EmailErrorCell',\n props: {\n error: {\n type: String,\n required: false,\n },\n },\n setup(props) {\n const isOpen = ref<boolean>(false);\n\n function toggleError() {\n isOpen.value = !isOpen.value;\n }\n\n const errorText = computed(() => {\n if (\n typeof props.error === 'string' &&\n props.error.length > 80 &&\n !isOpen.value\n ) {\n return props.error.slice(0, 80) + '...';\n }\n\n return props.error;\n });\n\n return { isOpen, toggleError, errorText };\n },\n});\n</script>\n\n<style scoped lang=\"scss\">\n.error-cell {\n cursor: pointer;\n width: 300px;\n\n p {\n max-width: 250px;\n word-break: break-word;\n }\n}\n</style>\n",".error-cell {\n cursor: pointer;\n width: 300px;\n}\n.error-cell p {\n max-width: 250px;\n word-break: break-word;\n}\n\n/*# sourceMappingURL=ErrorCell.vue.map */"]}, media: undefined }); | ||
inject("data-v-07025e34_0", { source: ".error-cell[data-v-07025e34] {\n cursor: pointer;\n width: 300px;\n}\n.error-cell p[data-v-07025e34] {\n max-width: 250px;\n word-break: break-word;\n}\n\n/*# sourceMappingURL=ErrorCell.vue.map */", map: {"version":3,"sources":["D:\\Work\\tager-admin-mail\\src\\views\\EmailLogList\\components\\ErrorCell.vue","ErrorCell.vue"],"names":[],"mappings":"AA+CA;EACA,eAAA;EACA,YAAA;AC9CA;ADgDA;EACA,gBAAA;EACA,sBAAA;AC9CA;;AAEA,wCAAwC","file":"ErrorCell.vue","sourcesContent":["<template>\n <td class=\"error-cell\" @click=\"toggleError\">\n <p v-if=\"errorText\" :class=\"{ open: isOpen }\">\n {{ errorText }}\n </p>\n </td>\n</template>\n\n<script lang=\"ts\">\nimport { computed, defineComponent, ref } from '@vue/composition-api';\nimport { EmailLog } from '../../../typings/model';\n\ntype Props = Readonly<{ log: EmailLog }>;\n\nexport default defineComponent<Props>({\n name: 'EmailErrorCell',\n props: {\n log: {\n type: Object,\n required: true,\n },\n },\n setup(props) {\n const isOpen = ref<boolean>(false);\n\n function toggleError() {\n isOpen.value = !isOpen.value;\n }\n\n const errorText = computed(() => {\n if (\n typeof props.log.error === 'string' &&\n props.log.error.length > 80 &&\n !isOpen.value\n ) {\n return props.log.error.slice(0, 80) + '...';\n }\n\n return props.log.error;\n });\n\n return { isOpen, toggleError, errorText };\n },\n});\n</script>\n\n<style scoped lang=\"scss\">\n.error-cell {\n cursor: pointer;\n width: 300px;\n\n p {\n max-width: 250px;\n word-break: break-word;\n }\n}\n</style>\n",".error-cell {\n cursor: pointer;\n width: 300px;\n}\n.error-cell p {\n max-width: 250px;\n word-break: break-word;\n}\n\n/*# sourceMappingURL=ErrorCell.vue.map */"]}, media: undefined }); | ||
}; | ||
/* scoped */ | ||
const __vue_scope_id__$4 = "data-v-2c8e18b4"; | ||
const __vue_scope_id__$4 = "data-v-07025e34"; | ||
/* module identifier */ | ||
@@ -1176,10 +1176,6 @@ const __vue_module_identifier__$4 = undefined; | ||
props: { | ||
template: { | ||
type: String, | ||
default: null, | ||
log: { | ||
type: Object, | ||
required: true, | ||
}, | ||
serviceTemplate: { | ||
type: String, | ||
default: null, | ||
}, | ||
}, | ||
@@ -1197,8 +1193,10 @@ }); | ||
return _c("div", [ | ||
_c("p", [_vm._v(_vm._s(_vm.template))]), | ||
_c("p", [_vm._v(_vm._s(_vm.log.template))]), | ||
_vm._v(" "), | ||
_vm.serviceTemplate | ||
_vm.log.serviceTemplate | ||
? _c("p", { staticClass: "service-template" }, [ | ||
_vm._v( | ||
'\n Service Template: "' + _vm._s(_vm.serviceTemplate) + '"\n ' | ||
'\n Service Template: "' + | ||
_vm._s(_vm.log.serviceTemplate) + | ||
'"\n ' | ||
), | ||
@@ -1215,7 +1213,7 @@ ]) | ||
if (!inject) return | ||
inject("data-v-131d2443_0", { source: "\n.service-template[data-v-131d2443] {\n font-size: 0.85rem;\n font-style: italic;\n}\n", map: {"version":3,"sources":["D:\\Work\\tager-admin-mail\\src\\views\\EmailLogList\\components\\TemplateCell.vue"],"names":[],"mappings":";AAkCA;EACA,kBAAA;EACA,kBAAA;AACA","file":"TemplateCell.vue","sourcesContent":["<template>\n <div>\n <p>{{ template }}</p>\n <p v-if=\"serviceTemplate\" class=\"service-template\">\n Service Template: \"{{ serviceTemplate }}\"\n </p>\n </div>\n</template>\n\n<script lang=\"ts\">\nimport { defineComponent } from '@vue/composition-api';\nimport { Nullable } from '@tager/admin-services';\n\ntype Props = Readonly<{\n template: Nullable<string>;\n serviceTemplate: Nullable<string>;\n}>;\n\nexport default defineComponent<Props>({\n name: 'EmailTemplateCell',\n props: {\n template: {\n type: String,\n default: null,\n },\n serviceTemplate: {\n type: String,\n default: null,\n },\n },\n});\n</script>\n\n<style scoped>\n.service-template {\n font-size: 0.85rem;\n font-style: italic;\n}\n</style>\n"]}, media: undefined }); | ||
inject("data-v-6883db01_0", { source: "\n.service-template[data-v-6883db01] {\n font-size: 0.85rem;\n font-style: italic;\n}\n", map: {"version":3,"sources":["D:\\Work\\tager-admin-mail\\src\\views\\EmailLogList\\components\\TemplateCell.vue"],"names":[],"mappings":";AA2BA;EACA,kBAAA;EACA,kBAAA;AACA","file":"TemplateCell.vue","sourcesContent":["<template>\n <div>\n <p>{{ log.template }}</p>\n <p v-if=\"log.serviceTemplate\" class=\"service-template\">\n Service Template: \"{{ log.serviceTemplate }}\"\n </p>\n </div>\n</template>\n\n<script lang=\"ts\">\nimport { defineComponent } from '@vue/composition-api';\nimport { EmailLog } from '../../../typings/model';\n\ntype Props = Readonly<{ log: EmailLog }>;\n\nexport default defineComponent<Props>({\n name: 'EmailTemplateCell',\n props: {\n log: {\n type: Object,\n required: true,\n },\n },\n});\n</script>\n\n<style scoped>\n.service-template {\n font-size: 0.85rem;\n font-style: italic;\n}\n</style>\n"]}, media: undefined }); | ||
}; | ||
/* scoped */ | ||
const __vue_scope_id__$5 = "data-v-131d2443"; | ||
const __vue_scope_id__$5 = "data-v-6883db01"; | ||
/* module identifier */ | ||
@@ -1244,2 +1242,66 @@ const __vue_module_identifier__$5 = undefined; | ||
var script$6 = defineComponent({ | ||
name: 'EmailAttachmentsCell', | ||
props: { | ||
log: { | ||
type: Object, | ||
required: true, | ||
}, | ||
}, | ||
}); | ||
/* script */ | ||
const __vue_script__$6 = script$6; | ||
/* template */ | ||
var __vue_render__$6 = function () { | ||
var _vm = this; | ||
var _h = _vm.$createElement; | ||
var _c = _vm._self._c || _h; | ||
return _c( | ||
"ul", | ||
_vm._l(_vm.log.attachments, function (attachment, index) { | ||
return _c("li", { key: index }, [ | ||
_c("a", { attrs: { href: attachment.url, target: "_blank" } }, [ | ||
_vm._v(_vm._s(attachment.name)), | ||
]), | ||
]) | ||
}), | ||
0 | ||
) | ||
}; | ||
var __vue_staticRenderFns__$6 = []; | ||
__vue_render__$6._withStripped = true; | ||
/* style */ | ||
const __vue_inject_styles__$6 = function (inject) { | ||
if (!inject) return | ||
inject("data-v-4a60ac9f_0", { source: "a[data-v-4a60ac9f] {\n color: var(--primary);\n}\na[data-v-4a60ac9f]:hover {\n text-decoration: underline;\n}\n\n/*# sourceMappingURL=AttachmentsCell.vue.map */", map: {"version":3,"sources":["D:\\Work\\tager-admin-mail\\src\\views\\EmailLogList\\components\\AttachmentsCell.vue","AttachmentsCell.vue"],"names":[],"mappings":"AA0BA;EACA,qBAAA;ACzBA;AD0BA;EACA,0BAAA;ACxBA;;AAEA,8CAA8C","file":"AttachmentsCell.vue","sourcesContent":["<template>\n <ul>\n <li v-for=\"(attachment, index) of log.attachments\" :key=\"index\">\n <a :href=\"attachment.url\" target=\"_blank\">{{ attachment.name }}</a>\n </li>\n </ul>\n</template>\n\n<script lang=\"ts\">\nimport { defineComponent } from '@vue/composition-api';\nimport { EmailLog } from '../../../typings/model';\n\ntype Props = Readonly<{ log: EmailLog }>;\n\nexport default defineComponent<Props>({\n name: 'EmailAttachmentsCell',\n props: {\n log: {\n type: Object,\n required: true,\n },\n },\n});\n</script>\n\n<style scoped lang=\"scss\">\na {\n color: var(--primary);\n &:hover {\n text-decoration: underline;\n }\n}\n</style>\n","a {\n color: var(--primary);\n}\na:hover {\n text-decoration: underline;\n}\n\n/*# sourceMappingURL=AttachmentsCell.vue.map */"]}, media: undefined }); | ||
}; | ||
/* scoped */ | ||
const __vue_scope_id__$6 = "data-v-4a60ac9f"; | ||
/* module identifier */ | ||
const __vue_module_identifier__$6 = undefined; | ||
/* functional template */ | ||
const __vue_is_functional_template__$6 = false; | ||
/* style inject SSR */ | ||
/* style inject shadow dom */ | ||
const __vue_component__$6 = /*#__PURE__*/normalizeComponent( | ||
{ render: __vue_render__$6, staticRenderFns: __vue_staticRenderFns__$6 }, | ||
__vue_inject_styles__$6, | ||
__vue_script__$6, | ||
__vue_scope_id__$6, | ||
__vue_is_functional_template__$6, | ||
__vue_module_identifier__$6, | ||
false, | ||
createInjector, | ||
undefined, | ||
undefined | ||
); | ||
const COLUMN_DEFS$1 = [ | ||
@@ -1264,2 +1326,3 @@ { | ||
{ id: 7, name: 'Date', field: 'createdAt', type: 'datetime' }, | ||
{ id: 8, name: 'Attachments', field: 'attachments' }, | ||
{ | ||
@@ -1273,5 +1336,5 @@ id: 9, | ||
]; | ||
var script$6 = defineComponent({ | ||
var script$7 = defineComponent({ | ||
name: 'EmailTemplateList', | ||
components: { BodyCell: __vue_component__$3, ErrorCell: __vue_component__$4, TemplateCell: __vue_component__$5 }, | ||
components: { BodyCell: __vue_component__$3, ErrorCell: __vue_component__$4, TemplateCell: __vue_component__$5, AttachmentsCell: __vue_component__$6 }, | ||
setup() { | ||
@@ -1295,6 +1358,6 @@ const [fetchLogList, { data: logList, loading, error }] = useResource({ | ||
/* script */ | ||
const __vue_script__$6 = script$6; | ||
const __vue_script__$7 = script$7; | ||
/* template */ | ||
var __vue_render__$6 = function () { | ||
var __vue_render__$7 = function () { | ||
var _vm = this; | ||
@@ -1322,10 +1385,3 @@ var _h = _vm.$createElement; | ||
var row = ref.row; | ||
return [ | ||
_c("template-cell", { | ||
attrs: { | ||
template: row.template, | ||
"service-template": row.serviceTemplate, | ||
}, | ||
}), | ||
] | ||
return [_c("template-cell", { attrs: { log: row } })] | ||
}, | ||
@@ -1337,5 +1393,3 @@ }, | ||
var row = ref.row; | ||
return [ | ||
_c("body-cell", { attrs: { "email-body": row.body } }), | ||
] | ||
return [_c("body-cell", { attrs: { log: row } })] | ||
}, | ||
@@ -1347,5 +1401,12 @@ }, | ||
var row = ref.row; | ||
return [_c("error-cell", { attrs: { error: row.error } })] | ||
return [_c("error-cell", { attrs: { log: row } })] | ||
}, | ||
}, | ||
{ | ||
key: "cell(attachments)", | ||
fn: function (ref) { | ||
var row = ref.row; | ||
return [_c("attachments-cell", { attrs: { log: row } })] | ||
}, | ||
}, | ||
]), | ||
@@ -1360,17 +1421,17 @@ }), | ||
}; | ||
var __vue_staticRenderFns__$6 = []; | ||
__vue_render__$6._withStripped = true; | ||
var __vue_staticRenderFns__$7 = []; | ||
__vue_render__$7._withStripped = true; | ||
/* style */ | ||
const __vue_inject_styles__$6 = function (inject) { | ||
const __vue_inject_styles__$7 = function (inject) { | ||
if (!inject) return | ||
inject("data-v-a32a786c_0", { source: "\n\n/*# sourceMappingURL=EmailLogList.vue.map */", map: {"version":3,"sources":["EmailLogList.vue"],"names":[],"mappings":";;AAEA,2CAA2C","file":"EmailLogList.vue"}, media: undefined }); | ||
inject("data-v-05eac97c_0", { source: "\n\n/*# sourceMappingURL=EmailLogList.vue.map */", map: {"version":3,"sources":["EmailLogList.vue"],"names":[],"mappings":";;AAEA,2CAA2C","file":"EmailLogList.vue"}, media: undefined }); | ||
}; | ||
/* scoped */ | ||
const __vue_scope_id__$6 = "data-v-a32a786c"; | ||
const __vue_scope_id__$7 = "data-v-05eac97c"; | ||
/* module identifier */ | ||
const __vue_module_identifier__$6 = undefined; | ||
const __vue_module_identifier__$7 = undefined; | ||
/* functional template */ | ||
const __vue_is_functional_template__$6 = false; | ||
const __vue_is_functional_template__$7 = false; | ||
/* style inject SSR */ | ||
@@ -1382,9 +1443,9 @@ | ||
const __vue_component__$6 = /*#__PURE__*/normalizeComponent( | ||
{ render: __vue_render__$6, staticRenderFns: __vue_staticRenderFns__$6 }, | ||
__vue_inject_styles__$6, | ||
__vue_script__$6, | ||
__vue_scope_id__$6, | ||
__vue_is_functional_template__$6, | ||
__vue_module_identifier__$6, | ||
const __vue_component__$7 = /*#__PURE__*/normalizeComponent( | ||
{ render: __vue_render__$7, staticRenderFns: __vue_staticRenderFns__$7 }, | ||
__vue_inject_styles__$7, | ||
__vue_script__$7, | ||
__vue_scope_id__$7, | ||
__vue_is_functional_template__$7, | ||
__vue_module_identifier__$7, | ||
false, | ||
@@ -1421,3 +1482,3 @@ createInjector, | ||
path: EMAIL_ROUTE_PATHS.LOG_LIST, | ||
component: __vue_component__$6, | ||
component: __vue_component__$7, | ||
name: 'Logs', | ||
@@ -1424,0 +1485,0 @@ meta: { |
@@ -31,3 +31,6 @@ import { Nullable } from '@tager/admin-services'; | ||
updatedAt: string; | ||
attachments: Array<unknown>; | ||
attachments: Array<{ | ||
name: string; | ||
url: string; | ||
}>; | ||
}; | ||
@@ -34,0 +37,0 @@ export declare type EmailModuleConfig = { |
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{ | ||
isOpen: import("@vue/composition-api").Ref<boolean>; | ||
toggleBody: () => void; | ||
[key: string]: unknown; | ||
}> & { | ||
[key: string]: unknown; | ||
}, {}, {}, { | ||
emailBody: { | ||
type: StringConstructor; | ||
required: false; | ||
}; | ||
}, {} & { | ||
emailBody?: string | undefined; | ||
}> & import("vue").VueConstructor<import("vue").default> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & { | ||
emailBody?: string | undefined; | ||
}, import("@vue/composition-api").ShallowUnwrapRef<{ | ||
isOpen: import("@vue/composition-api").Ref<boolean>; | ||
toggleBody: () => void; | ||
}>, {} & { | ||
emailBody?: string | undefined; | ||
}, {}, {}, {} & { | ||
emailBody?: string | undefined; | ||
}>); | ||
}, {}, {}, string[] | { | ||
[x: string]: (new (...args: string[]) => Function) | import("@vue/composition-api").PropOptions<unknown> | (new (...args: any[]) => object) | (() => unknown) | ((new (...args: string[]) => Function) | (new (...args: any[]) => object) | (() => unknown))[] | null; | ||
}, ({ | ||
[x: number]: string; | ||
} & { | ||
length?: number | undefined; | ||
toString?: string | undefined; | ||
toLocaleString?: string | undefined; | ||
pop?: string | undefined; | ||
push?: number | undefined; | ||
concat?: string[] | undefined; | ||
join?: string | undefined; | ||
reverse?: string[] | undefined; | ||
shift?: string | undefined; | ||
slice?: string[] | undefined; | ||
sort?: string[] | undefined; | ||
splice?: { | ||
(start: number, deleteCount?: number | undefined): string[]; | ||
(start: number, deleteCount: number, ...items: string[]): string[]; | ||
} | undefined; | ||
unshift?: number | undefined; | ||
indexOf?: ((searchElement: string, fromIndex?: number | undefined) => number) | undefined; | ||
lastIndexOf?: ((searchElement: string, fromIndex?: number | undefined) => number) | undefined; | ||
every?: ((callbackfn: (value: string, index: number, array: string[]) => unknown, thisArg?: any) => boolean) | undefined; | ||
some?: ((callbackfn: (value: string, index: number, array: string[]) => unknown, thisArg?: any) => boolean) | undefined; | ||
forEach?: ((callbackfn: (value: string, index: number, array: string[]) => void, thisArg?: any) => void) | undefined; | ||
map?: (<U>(callbackfn: (value: string, index: number, array: string[]) => U, thisArg?: any) => U[]) | undefined; | ||
filter?: { | ||
<S extends string>(callbackfn: (value: string, index: number, array: string[]) => value is S, thisArg?: any): S[]; | ||
(callbackfn: (value: string, index: number, array: string[]) => unknown, thisArg?: any): string[]; | ||
} | undefined; | ||
reduce?: { | ||
(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) => string): string; | ||
(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) => string, initialValue: string): string; | ||
<U_1>(callbackfn: (previousValue: U_1, currentValue: string, currentIndex: number, array: string[]) => U_1, initialValue: U_1): U_1; | ||
} | undefined; | ||
reduceRight?: { | ||
(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) => string): string; | ||
(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) => string, initialValue: string): string; | ||
<U_2>(callbackfn: (previousValue: U_2, currentValue: string, currentIndex: number, array: string[]) => U_2, initialValue: U_2): U_2; | ||
} | undefined; | ||
find?: { | ||
<S_1 extends string>(predicate: (this: void, value: string, index: number, obj: string[]) => value is S_1, thisArg?: any): S_1 | undefined; | ||
(predicate: (value: string, index: number, obj: string[]) => unknown, thisArg?: any): string | undefined; | ||
} | undefined; | ||
findIndex?: ((predicate: (value: string, index: number, obj: string[]) => unknown, thisArg?: any) => number) | undefined; | ||
fill?: ((value: string, start?: number | undefined, end?: number | undefined) => string[]) | undefined; | ||
copyWithin?: ((target: number, start: number, end?: number | undefined) => string[]) | undefined; | ||
entries?: IterableIterator<[number, string]> | undefined; | ||
keys?: IterableIterator<number> | undefined; | ||
values?: IterableIterator<string> | undefined; | ||
includes?: ((searchElement: string, fromIndex?: number | undefined) => boolean) | undefined; | ||
flatMap?: (<U_3, This = undefined>(callback: (this: This, value: string, index: number, array: string[]) => U_3 | readonly U_3[], thisArg?: This | undefined) => U_3[]) | undefined; | ||
flat?: unknown[] | undefined; | ||
}) | ({} & { | ||
[x: string]: any; | ||
[x: number]: any; | ||
})> & import("vue").VueConstructor<import("vue").default> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<({ | ||
[x: number]: string; | ||
} & { | ||
length?: number | undefined; | ||
toString?: string | undefined; | ||
toLocaleString?: string | undefined; | ||
pop?: string | undefined; | ||
push?: number | undefined; | ||
concat?: string[] | undefined; | ||
join?: string | undefined; | ||
reverse?: string[] | undefined; | ||
shift?: string | undefined; | ||
slice?: string[] | undefined; | ||
sort?: string[] | undefined; | ||
splice?: { | ||
(start: number, deleteCount?: number | undefined): string[]; | ||
(start: number, deleteCount: number, ...items: string[]): string[]; | ||
} | undefined; | ||
unshift?: number | undefined; | ||
indexOf?: ((searchElement: string, fromIndex?: number | undefined) => number) | undefined; | ||
lastIndexOf?: ((searchElement: string, fromIndex?: number | undefined) => number) | undefined; | ||
every?: ((callbackfn: (value: string, index: number, array: string[]) => unknown, thisArg?: any) => boolean) | undefined; | ||
some?: ((callbackfn: (value: string, index: number, array: string[]) => unknown, thisArg?: any) => boolean) | undefined; | ||
forEach?: ((callbackfn: (value: string, index: number, array: string[]) => void, thisArg?: any) => void) | undefined; | ||
map?: (<U>(callbackfn: (value: string, index: number, array: string[]) => U, thisArg?: any) => U[]) | undefined; | ||
filter?: { | ||
<S extends string>(callbackfn: (value: string, index: number, array: string[]) => value is S, thisArg?: any): S[]; | ||
(callbackfn: (value: string, index: number, array: string[]) => unknown, thisArg?: any): string[]; | ||
} | undefined; | ||
reduce?: { | ||
(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) => string): string; | ||
(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) => string, initialValue: string): string; | ||
<U_1>(callbackfn: (previousValue: U_1, currentValue: string, currentIndex: number, array: string[]) => U_1, initialValue: U_1): U_1; | ||
} | undefined; | ||
reduceRight?: { | ||
(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) => string): string; | ||
(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) => string, initialValue: string): string; | ||
<U_2>(callbackfn: (previousValue: U_2, currentValue: string, currentIndex: number, array: string[]) => U_2, initialValue: U_2): U_2; | ||
} | undefined; | ||
find?: { | ||
<S_1 extends string>(predicate: (this: void, value: string, index: number, obj: string[]) => value is S_1, thisArg?: any): S_1 | undefined; | ||
(predicate: (value: string, index: number, obj: string[]) => unknown, thisArg?: any): string | undefined; | ||
} | undefined; | ||
findIndex?: ((predicate: (value: string, index: number, obj: string[]) => unknown, thisArg?: any) => number) | undefined; | ||
fill?: ((value: string, start?: number | undefined, end?: number | undefined) => string[]) | undefined; | ||
copyWithin?: ((target: number, start: number, end?: number | undefined) => string[]) | undefined; | ||
entries?: IterableIterator<[number, string]> | undefined; | ||
keys?: IterableIterator<number> | undefined; | ||
values?: IterableIterator<string> | undefined; | ||
includes?: ((searchElement: string, fromIndex?: number | undefined) => boolean) | undefined; | ||
flatMap?: (<U_3, This = undefined>(callback: (this: This, value: string, index: number, array: string[]) => U_3 | readonly U_3[], thisArg?: This | undefined) => U_3[]) | undefined; | ||
flat?: unknown[] | undefined; | ||
}) | ({} & { | ||
[x: string]: any; | ||
[x: number]: any; | ||
}), import("@vue/composition-api").ShallowUnwrapRef<{ | ||
[key: string]: unknown; | ||
}>, ({ | ||
[x: number]: string; | ||
} & { | ||
length?: number | undefined; | ||
toString?: string | undefined; | ||
toLocaleString?: string | undefined; | ||
pop?: string | undefined; | ||
push?: number | undefined; | ||
concat?: string[] | undefined; | ||
join?: string | undefined; | ||
reverse?: string[] | undefined; | ||
shift?: string | undefined; | ||
slice?: string[] | undefined; | ||
sort?: string[] | undefined; | ||
splice?: { | ||
(start: number, deleteCount?: number | undefined): string[]; | ||
(start: number, deleteCount: number, ...items: string[]): string[]; | ||
} | undefined; | ||
unshift?: number | undefined; | ||
indexOf?: ((searchElement: string, fromIndex?: number | undefined) => number) | undefined; | ||
lastIndexOf?: ((searchElement: string, fromIndex?: number | undefined) => number) | undefined; | ||
every?: ((callbackfn: (value: string, index: number, array: string[]) => unknown, thisArg?: any) => boolean) | undefined; | ||
some?: ((callbackfn: (value: string, index: number, array: string[]) => unknown, thisArg?: any) => boolean) | undefined; | ||
forEach?: ((callbackfn: (value: string, index: number, array: string[]) => void, thisArg?: any) => void) | undefined; | ||
map?: (<U>(callbackfn: (value: string, index: number, array: string[]) => U, thisArg?: any) => U[]) | undefined; | ||
filter?: { | ||
<S extends string>(callbackfn: (value: string, index: number, array: string[]) => value is S, thisArg?: any): S[]; | ||
(callbackfn: (value: string, index: number, array: string[]) => unknown, thisArg?: any): string[]; | ||
} | undefined; | ||
reduce?: { | ||
(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) => string): string; | ||
(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) => string, initialValue: string): string; | ||
<U_1>(callbackfn: (previousValue: U_1, currentValue: string, currentIndex: number, array: string[]) => U_1, initialValue: U_1): U_1; | ||
} | undefined; | ||
reduceRight?: { | ||
(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) => string): string; | ||
(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) => string, initialValue: string): string; | ||
<U_2>(callbackfn: (previousValue: U_2, currentValue: string, currentIndex: number, array: string[]) => U_2, initialValue: U_2): U_2; | ||
} | undefined; | ||
find?: { | ||
<S_1 extends string>(predicate: (this: void, value: string, index: number, obj: string[]) => value is S_1, thisArg?: any): S_1 | undefined; | ||
(predicate: (value: string, index: number, obj: string[]) => unknown, thisArg?: any): string | undefined; | ||
} | undefined; | ||
findIndex?: ((predicate: (value: string, index: number, obj: string[]) => unknown, thisArg?: any) => number) | undefined; | ||
fill?: ((value: string, start?: number | undefined, end?: number | undefined) => string[]) | undefined; | ||
copyWithin?: ((target: number, start: number, end?: number | undefined) => string[]) | undefined; | ||
entries?: IterableIterator<[number, string]> | undefined; | ||
keys?: IterableIterator<number> | undefined; | ||
values?: IterableIterator<string> | undefined; | ||
includes?: ((searchElement: string, fromIndex?: number | undefined) => boolean) | undefined; | ||
flatMap?: (<U_3, This = undefined>(callback: (this: This, value: string, index: number, array: string[]) => U_3 | readonly U_3[], thisArg?: This | undefined) => U_3[]) | undefined; | ||
flat?: unknown[] | undefined; | ||
}) | ({} & { | ||
[x: string]: any; | ||
[x: number]: any; | ||
}), {}, {}, ({ | ||
[x: number]: string; | ||
} & { | ||
length?: number | undefined; | ||
toString?: string | undefined; | ||
toLocaleString?: string | undefined; | ||
pop?: string | undefined; | ||
push?: number | undefined; | ||
concat?: string[] | undefined; | ||
join?: string | undefined; | ||
reverse?: string[] | undefined; | ||
shift?: string | undefined; | ||
slice?: string[] | undefined; | ||
sort?: string[] | undefined; | ||
splice?: { | ||
(start: number, deleteCount?: number | undefined): string[]; | ||
(start: number, deleteCount: number, ...items: string[]): string[]; | ||
} | undefined; | ||
unshift?: number | undefined; | ||
indexOf?: ((searchElement: string, fromIndex?: number | undefined) => number) | undefined; | ||
lastIndexOf?: ((searchElement: string, fromIndex?: number | undefined) => number) | undefined; | ||
every?: ((callbackfn: (value: string, index: number, array: string[]) => unknown, thisArg?: any) => boolean) | undefined; | ||
some?: ((callbackfn: (value: string, index: number, array: string[]) => unknown, thisArg?: any) => boolean) | undefined; | ||
forEach?: ((callbackfn: (value: string, index: number, array: string[]) => void, thisArg?: any) => void) | undefined; | ||
map?: (<U>(callbackfn: (value: string, index: number, array: string[]) => U, thisArg?: any) => U[]) | undefined; | ||
filter?: { | ||
<S extends string>(callbackfn: (value: string, index: number, array: string[]) => value is S, thisArg?: any): S[]; | ||
(callbackfn: (value: string, index: number, array: string[]) => unknown, thisArg?: any): string[]; | ||
} | undefined; | ||
reduce?: { | ||
(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) => string): string; | ||
(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) => string, initialValue: string): string; | ||
<U_1>(callbackfn: (previousValue: U_1, currentValue: string, currentIndex: number, array: string[]) => U_1, initialValue: U_1): U_1; | ||
} | undefined; | ||
reduceRight?: { | ||
(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) => string): string; | ||
(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) => string, initialValue: string): string; | ||
<U_2>(callbackfn: (previousValue: U_2, currentValue: string, currentIndex: number, array: string[]) => U_2, initialValue: U_2): U_2; | ||
} | undefined; | ||
find?: { | ||
<S_1 extends string>(predicate: (this: void, value: string, index: number, obj: string[]) => value is S_1, thisArg?: any): S_1 | undefined; | ||
(predicate: (value: string, index: number, obj: string[]) => unknown, thisArg?: any): string | undefined; | ||
} | undefined; | ||
findIndex?: ((predicate: (value: string, index: number, obj: string[]) => unknown, thisArg?: any) => number) | undefined; | ||
fill?: ((value: string, start?: number | undefined, end?: number | undefined) => string[]) | undefined; | ||
copyWithin?: ((target: number, start: number, end?: number | undefined) => string[]) | undefined; | ||
entries?: IterableIterator<[number, string]> | undefined; | ||
keys?: IterableIterator<number> | undefined; | ||
values?: IterableIterator<string> | undefined; | ||
includes?: ((searchElement: string, fromIndex?: number | undefined) => boolean) | undefined; | ||
flatMap?: (<U_3, This = undefined>(callback: (this: This, value: string, index: number, array: string[]) => U_3 | readonly U_3[], thisArg?: This | undefined) => U_3[]) | undefined; | ||
flat?: unknown[] | undefined; | ||
}) | ({} & { | ||
[x: string]: any; | ||
[x: number]: any; | ||
})>); | ||
export default _default; |
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{ | ||
isOpen: import("@vue/composition-api").Ref<boolean>; | ||
toggleError: () => void; | ||
errorText: import("@vue/composition-api").ComputedRef<string | undefined>; | ||
[key: string]: unknown; | ||
}> & { | ||
[key: string]: unknown; | ||
}, {}, {}, { | ||
error: { | ||
type: StringConstructor; | ||
required: false; | ||
}; | ||
}, {} & { | ||
error?: string | undefined; | ||
}> & import("vue").VueConstructor<import("vue").default> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & { | ||
error?: string | undefined; | ||
}, import("@vue/composition-api").ShallowUnwrapRef<{ | ||
isOpen: import("@vue/composition-api").Ref<boolean>; | ||
toggleError: () => void; | ||
errorText: import("@vue/composition-api").ComputedRef<string | undefined>; | ||
}>, {} & { | ||
error?: string | undefined; | ||
}, {}, {}, {} & { | ||
error?: string | undefined; | ||
}>); | ||
}, {}, {}, string[] | { | ||
[x: string]: (new (...args: string[]) => Function) | import("@vue/composition-api").PropOptions<unknown> | (new (...args: any[]) => object) | (() => unknown) | ((new (...args: string[]) => Function) | (new (...args: any[]) => object) | (() => unknown))[] | null; | ||
}, ({ | ||
[x: number]: string; | ||
} & { | ||
length?: number | undefined; | ||
toString?: string | undefined; | ||
toLocaleString?: string | undefined; | ||
pop?: string | undefined; | ||
push?: number | undefined; | ||
concat?: string[] | undefined; | ||
join?: string | undefined; | ||
reverse?: string[] | undefined; | ||
shift?: string | undefined; | ||
slice?: string[] | undefined; | ||
sort?: string[] | undefined; | ||
splice?: { | ||
(start: number, deleteCount?: number | undefined): string[]; | ||
(start: number, deleteCount: number, ...items: string[]): string[]; | ||
} | undefined; | ||
unshift?: number | undefined; | ||
indexOf?: ((searchElement: string, fromIndex?: number | undefined) => number) | undefined; | ||
lastIndexOf?: ((searchElement: string, fromIndex?: number | undefined) => number) | undefined; | ||
every?: ((callbackfn: (value: string, index: number, array: string[]) => unknown, thisArg?: any) => boolean) | undefined; | ||
some?: ((callbackfn: (value: string, index: number, array: string[]) => unknown, thisArg?: any) => boolean) | undefined; | ||
forEach?: ((callbackfn: (value: string, index: number, array: string[]) => void, thisArg?: any) => void) | undefined; | ||
map?: (<U>(callbackfn: (value: string, index: number, array: string[]) => U, thisArg?: any) => U[]) | undefined; | ||
filter?: { | ||
<S extends string>(callbackfn: (value: string, index: number, array: string[]) => value is S, thisArg?: any): S[]; | ||
(callbackfn: (value: string, index: number, array: string[]) => unknown, thisArg?: any): string[]; | ||
} | undefined; | ||
reduce?: { | ||
(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) => string): string; | ||
(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) => string, initialValue: string): string; | ||
<U_1>(callbackfn: (previousValue: U_1, currentValue: string, currentIndex: number, array: string[]) => U_1, initialValue: U_1): U_1; | ||
} | undefined; | ||
reduceRight?: { | ||
(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) => string): string; | ||
(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) => string, initialValue: string): string; | ||
<U_2>(callbackfn: (previousValue: U_2, currentValue: string, currentIndex: number, array: string[]) => U_2, initialValue: U_2): U_2; | ||
} | undefined; | ||
find?: { | ||
<S_1 extends string>(predicate: (this: void, value: string, index: number, obj: string[]) => value is S_1, thisArg?: any): S_1 | undefined; | ||
(predicate: (value: string, index: number, obj: string[]) => unknown, thisArg?: any): string | undefined; | ||
} | undefined; | ||
findIndex?: ((predicate: (value: string, index: number, obj: string[]) => unknown, thisArg?: any) => number) | undefined; | ||
fill?: ((value: string, start?: number | undefined, end?: number | undefined) => string[]) | undefined; | ||
copyWithin?: ((target: number, start: number, end?: number | undefined) => string[]) | undefined; | ||
entries?: IterableIterator<[number, string]> | undefined; | ||
keys?: IterableIterator<number> | undefined; | ||
values?: IterableIterator<string> | undefined; | ||
includes?: ((searchElement: string, fromIndex?: number | undefined) => boolean) | undefined; | ||
flatMap?: (<U_3, This = undefined>(callback: (this: This, value: string, index: number, array: string[]) => U_3 | readonly U_3[], thisArg?: This | undefined) => U_3[]) | undefined; | ||
flat?: unknown[] | undefined; | ||
}) | ({} & { | ||
[x: string]: any; | ||
[x: number]: any; | ||
})> & import("vue").VueConstructor<import("vue").default> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<({ | ||
[x: number]: string; | ||
} & { | ||
length?: number | undefined; | ||
toString?: string | undefined; | ||
toLocaleString?: string | undefined; | ||
pop?: string | undefined; | ||
push?: number | undefined; | ||
concat?: string[] | undefined; | ||
join?: string | undefined; | ||
reverse?: string[] | undefined; | ||
shift?: string | undefined; | ||
slice?: string[] | undefined; | ||
sort?: string[] | undefined; | ||
splice?: { | ||
(start: number, deleteCount?: number | undefined): string[]; | ||
(start: number, deleteCount: number, ...items: string[]): string[]; | ||
} | undefined; | ||
unshift?: number | undefined; | ||
indexOf?: ((searchElement: string, fromIndex?: number | undefined) => number) | undefined; | ||
lastIndexOf?: ((searchElement: string, fromIndex?: number | undefined) => number) | undefined; | ||
every?: ((callbackfn: (value: string, index: number, array: string[]) => unknown, thisArg?: any) => boolean) | undefined; | ||
some?: ((callbackfn: (value: string, index: number, array: string[]) => unknown, thisArg?: any) => boolean) | undefined; | ||
forEach?: ((callbackfn: (value: string, index: number, array: string[]) => void, thisArg?: any) => void) | undefined; | ||
map?: (<U>(callbackfn: (value: string, index: number, array: string[]) => U, thisArg?: any) => U[]) | undefined; | ||
filter?: { | ||
<S extends string>(callbackfn: (value: string, index: number, array: string[]) => value is S, thisArg?: any): S[]; | ||
(callbackfn: (value: string, index: number, array: string[]) => unknown, thisArg?: any): string[]; | ||
} | undefined; | ||
reduce?: { | ||
(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) => string): string; | ||
(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) => string, initialValue: string): string; | ||
<U_1>(callbackfn: (previousValue: U_1, currentValue: string, currentIndex: number, array: string[]) => U_1, initialValue: U_1): U_1; | ||
} | undefined; | ||
reduceRight?: { | ||
(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) => string): string; | ||
(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) => string, initialValue: string): string; | ||
<U_2>(callbackfn: (previousValue: U_2, currentValue: string, currentIndex: number, array: string[]) => U_2, initialValue: U_2): U_2; | ||
} | undefined; | ||
find?: { | ||
<S_1 extends string>(predicate: (this: void, value: string, index: number, obj: string[]) => value is S_1, thisArg?: any): S_1 | undefined; | ||
(predicate: (value: string, index: number, obj: string[]) => unknown, thisArg?: any): string | undefined; | ||
} | undefined; | ||
findIndex?: ((predicate: (value: string, index: number, obj: string[]) => unknown, thisArg?: any) => number) | undefined; | ||
fill?: ((value: string, start?: number | undefined, end?: number | undefined) => string[]) | undefined; | ||
copyWithin?: ((target: number, start: number, end?: number | undefined) => string[]) | undefined; | ||
entries?: IterableIterator<[number, string]> | undefined; | ||
keys?: IterableIterator<number> | undefined; | ||
values?: IterableIterator<string> | undefined; | ||
includes?: ((searchElement: string, fromIndex?: number | undefined) => boolean) | undefined; | ||
flatMap?: (<U_3, This = undefined>(callback: (this: This, value: string, index: number, array: string[]) => U_3 | readonly U_3[], thisArg?: This | undefined) => U_3[]) | undefined; | ||
flat?: unknown[] | undefined; | ||
}) | ({} & { | ||
[x: string]: any; | ||
[x: number]: any; | ||
}), import("@vue/composition-api").ShallowUnwrapRef<{ | ||
[key: string]: unknown; | ||
}>, ({ | ||
[x: number]: string; | ||
} & { | ||
length?: number | undefined; | ||
toString?: string | undefined; | ||
toLocaleString?: string | undefined; | ||
pop?: string | undefined; | ||
push?: number | undefined; | ||
concat?: string[] | undefined; | ||
join?: string | undefined; | ||
reverse?: string[] | undefined; | ||
shift?: string | undefined; | ||
slice?: string[] | undefined; | ||
sort?: string[] | undefined; | ||
splice?: { | ||
(start: number, deleteCount?: number | undefined): string[]; | ||
(start: number, deleteCount: number, ...items: string[]): string[]; | ||
} | undefined; | ||
unshift?: number | undefined; | ||
indexOf?: ((searchElement: string, fromIndex?: number | undefined) => number) | undefined; | ||
lastIndexOf?: ((searchElement: string, fromIndex?: number | undefined) => number) | undefined; | ||
every?: ((callbackfn: (value: string, index: number, array: string[]) => unknown, thisArg?: any) => boolean) | undefined; | ||
some?: ((callbackfn: (value: string, index: number, array: string[]) => unknown, thisArg?: any) => boolean) | undefined; | ||
forEach?: ((callbackfn: (value: string, index: number, array: string[]) => void, thisArg?: any) => void) | undefined; | ||
map?: (<U>(callbackfn: (value: string, index: number, array: string[]) => U, thisArg?: any) => U[]) | undefined; | ||
filter?: { | ||
<S extends string>(callbackfn: (value: string, index: number, array: string[]) => value is S, thisArg?: any): S[]; | ||
(callbackfn: (value: string, index: number, array: string[]) => unknown, thisArg?: any): string[]; | ||
} | undefined; | ||
reduce?: { | ||
(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) => string): string; | ||
(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) => string, initialValue: string): string; | ||
<U_1>(callbackfn: (previousValue: U_1, currentValue: string, currentIndex: number, array: string[]) => U_1, initialValue: U_1): U_1; | ||
} | undefined; | ||
reduceRight?: { | ||
(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) => string): string; | ||
(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) => string, initialValue: string): string; | ||
<U_2>(callbackfn: (previousValue: U_2, currentValue: string, currentIndex: number, array: string[]) => U_2, initialValue: U_2): U_2; | ||
} | undefined; | ||
find?: { | ||
<S_1 extends string>(predicate: (this: void, value: string, index: number, obj: string[]) => value is S_1, thisArg?: any): S_1 | undefined; | ||
(predicate: (value: string, index: number, obj: string[]) => unknown, thisArg?: any): string | undefined; | ||
} | undefined; | ||
findIndex?: ((predicate: (value: string, index: number, obj: string[]) => unknown, thisArg?: any) => number) | undefined; | ||
fill?: ((value: string, start?: number | undefined, end?: number | undefined) => string[]) | undefined; | ||
copyWithin?: ((target: number, start: number, end?: number | undefined) => string[]) | undefined; | ||
entries?: IterableIterator<[number, string]> | undefined; | ||
keys?: IterableIterator<number> | undefined; | ||
values?: IterableIterator<string> | undefined; | ||
includes?: ((searchElement: string, fromIndex?: number | undefined) => boolean) | undefined; | ||
flatMap?: (<U_3, This = undefined>(callback: (this: This, value: string, index: number, array: string[]) => U_3 | readonly U_3[], thisArg?: This | undefined) => U_3[]) | undefined; | ||
flat?: unknown[] | undefined; | ||
}) | ({} & { | ||
[x: string]: any; | ||
[x: number]: any; | ||
}), {}, {}, ({ | ||
[x: number]: string; | ||
} & { | ||
length?: number | undefined; | ||
toString?: string | undefined; | ||
toLocaleString?: string | undefined; | ||
pop?: string | undefined; | ||
push?: number | undefined; | ||
concat?: string[] | undefined; | ||
join?: string | undefined; | ||
reverse?: string[] | undefined; | ||
shift?: string | undefined; | ||
slice?: string[] | undefined; | ||
sort?: string[] | undefined; | ||
splice?: { | ||
(start: number, deleteCount?: number | undefined): string[]; | ||
(start: number, deleteCount: number, ...items: string[]): string[]; | ||
} | undefined; | ||
unshift?: number | undefined; | ||
indexOf?: ((searchElement: string, fromIndex?: number | undefined) => number) | undefined; | ||
lastIndexOf?: ((searchElement: string, fromIndex?: number | undefined) => number) | undefined; | ||
every?: ((callbackfn: (value: string, index: number, array: string[]) => unknown, thisArg?: any) => boolean) | undefined; | ||
some?: ((callbackfn: (value: string, index: number, array: string[]) => unknown, thisArg?: any) => boolean) | undefined; | ||
forEach?: ((callbackfn: (value: string, index: number, array: string[]) => void, thisArg?: any) => void) | undefined; | ||
map?: (<U>(callbackfn: (value: string, index: number, array: string[]) => U, thisArg?: any) => U[]) | undefined; | ||
filter?: { | ||
<S extends string>(callbackfn: (value: string, index: number, array: string[]) => value is S, thisArg?: any): S[]; | ||
(callbackfn: (value: string, index: number, array: string[]) => unknown, thisArg?: any): string[]; | ||
} | undefined; | ||
reduce?: { | ||
(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) => string): string; | ||
(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) => string, initialValue: string): string; | ||
<U_1>(callbackfn: (previousValue: U_1, currentValue: string, currentIndex: number, array: string[]) => U_1, initialValue: U_1): U_1; | ||
} | undefined; | ||
reduceRight?: { | ||
(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) => string): string; | ||
(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) => string, initialValue: string): string; | ||
<U_2>(callbackfn: (previousValue: U_2, currentValue: string, currentIndex: number, array: string[]) => U_2, initialValue: U_2): U_2; | ||
} | undefined; | ||
find?: { | ||
<S_1 extends string>(predicate: (this: void, value: string, index: number, obj: string[]) => value is S_1, thisArg?: any): S_1 | undefined; | ||
(predicate: (value: string, index: number, obj: string[]) => unknown, thisArg?: any): string | undefined; | ||
} | undefined; | ||
findIndex?: ((predicate: (value: string, index: number, obj: string[]) => unknown, thisArg?: any) => number) | undefined; | ||
fill?: ((value: string, start?: number | undefined, end?: number | undefined) => string[]) | undefined; | ||
copyWithin?: ((target: number, start: number, end?: number | undefined) => string[]) | undefined; | ||
entries?: IterableIterator<[number, string]> | undefined; | ||
keys?: IterableIterator<number> | undefined; | ||
values?: IterableIterator<string> | undefined; | ||
includes?: ((searchElement: string, fromIndex?: number | undefined) => boolean) | undefined; | ||
flatMap?: (<U_3, This = undefined>(callback: (this: This, value: string, index: number, array: string[]) => U_3 | readonly U_3[], thisArg?: This | undefined) => U_3[]) | undefined; | ||
flat?: unknown[] | undefined; | ||
}) | ({} & { | ||
[x: string]: any; | ||
[x: number]: any; | ||
})>); | ||
export default _default; |
@@ -18,3 +18,6 @@ import { ColumnDefinition } from '@tager/admin-ui'; | ||
updatedAt: string; | ||
attachments: unknown[]; | ||
attachments: { | ||
name: string; | ||
url: string; | ||
}[]; | ||
}[]>; | ||
@@ -43,3 +46,6 @@ isRowDataLoading: import("@vue/composition-api").ComputedRef<boolean>; | ||
updatedAt: string; | ||
attachments: unknown[]; | ||
attachments: { | ||
name: string; | ||
url: string; | ||
}[]; | ||
}[]>; | ||
@@ -46,0 +52,0 @@ isRowDataLoading: import("@vue/composition-api").ComputedRef<boolean>; |
{ | ||
"name": "@tager/admin-mail", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.umd.js", |
@@ -28,3 +28,3 @@ import { Nullable } from '@tager/admin-services'; | ||
updatedAt: string; | ||
attachments: Array<unknown>; | ||
attachments: Array<{ name: string; url: string }>; | ||
}; | ||
@@ -31,0 +31,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
229454
51
4438
7