yanzhen-design-vue
Version:
51 lines (50 loc) • 1.63 kB
JavaScript
import { withInstall } from "@yanzhen-lowcode/core";
import * as index from "./src/constants/index.mjs";
import "./src/contacts.vue.mjs";
import "./src/item/contacts-item.vue.mjs";
import "./src/list/contacts-list.vue.mjs";
import "./src/contacts-select.vue.mjs";
import { confirm, withConfirm } from "./src/confirm.mjs";
import destroyFns from "./src/destroyFns.mjs";
import { contactsApis, contactsEmits, contactsName, contactsOptions, contactsPickProps, contactsProps } from "./src/contacts.mjs";
import { ContactsOption, contactsOptionType } from "./src/constants/base.mjs";
import { useContacts } from "./src/use-contacts.mjs";
import { YzSchemaContacts } from "./schema.mjs";
import _sfc_main from "./src/contacts.vue2.mjs";
import _sfc_main$1 from "./src/item/contacts-item.vue2.mjs";
import _sfc_main$2 from "./src/list/contacts-list.vue2.mjs";
import _sfc_main$3 from "./src/contacts-select.vue2.mjs";
const YzContacts = withInstall(_sfc_main, {
Item: _sfc_main$1,
List: _sfc_main$2,
Select: _sfc_main$3
});
YzContacts.confirm = function confirmFn(props) {
return confirm(withConfirm(props));
};
YzContacts.destroyAll = function destroyAllFn() {
while (destroyFns.length) {
const close = destroyFns.pop();
if (close) {
close();
}
}
};
const YzContactsSelect = withInstall(_sfc_main$3);
YzContacts.Enum = index;
YzContactsSelect.Enum = index;
export {
ContactsOption,
YzContacts,
YzContactsSelect,
YzSchemaContacts,
contactsApis,
contactsEmits,
contactsName,
contactsOptionType,
contactsOptions,
contactsPickProps,
contactsProps,
YzContacts as default,
useContacts
};