@wisemen/wise-crm 0.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ActivityIcon-B4QMplig.js +21 -0
- package/dist/BookIcon-ja89qLFy.js +21 -0
- package/dist/BuildingIcon-BNiKxoS8.js +21 -0
- package/dist/BuildingsIcon-LXxgUobG.js +21 -0
- package/dist/BusinessDetailView-97LmpN-Y.js +25 -0
- package/dist/ChevronDownIcon-i-90_fM4.js +21 -0
- package/dist/ClockPlusIcon-CXcj_h14.js +32 -0
- package/dist/CopyIcon-X7mbg7w2.js +21 -0
- package/dist/CrmDetailView.vue_vue_type_script_setup_true_lang-C_VsrCJX.js +117 -0
- package/dist/EditWithLineIcon-zoeavQul.js +21 -0
- package/dist/FileIcon-Dh5IUaK-.js +21 -0
- package/dist/FilterLinesIcon-DhBdlDSi.js +24 -0
- package/dist/HashIcon-BWO2mp2V.js +21 -0
- package/dist/HomeFilledIcon-CjVPEU-R.js +18 -0
- package/dist/IndividualDetailView-DxUmJizN.js +25 -0
- package/dist/LayersTreeIcon-BXTML4tp.js +32 -0
- package/dist/LinkExternalIcon-Ctv8kseX.js +21 -0
- package/dist/LocationPinIcon-BpTU0qXx.js +21 -0
- package/dist/MailIcon-BlZ-p-Uq.js +21 -0
- package/dist/MobilePhoneIcon-CSSxC2fl.js +21 -0
- package/dist/PhoneIcon-FrfZPlie.js +21 -0
- package/dist/SendIcon-DAxhHVkT.js +21 -0
- package/dist/StarOutlineIcon-DB2D7b10.js +21 -0
- package/dist/StarYellowIcon-BfY68bs3.js +21 -0
- package/dist/TimeLineMarkerIcon-ugEqqaeO.js +20 -0
- package/dist/TrashIcon-D3NQhXP1.js +22 -0
- package/dist/UserCircleIcon-D6yMz8IH.js +32 -0
- package/dist/UserIcon-Ckrk_Z2w.js +24 -0
- package/dist/VerticalDotsIcon-BgXBCW_H.js +22 -0
- package/dist/WalletIcon-CGe2UaGU.js +21 -0
- package/dist/api/mutations/business/businessAddChildBusiness.mutation.d.ts +8 -0
- package/dist/api/mutations/business/businessBillingInformationUpsert.mutation.d.ts +27 -0
- package/dist/api/mutations/business/businessContactPersonUpdate.mutation.d.ts +10 -0
- package/dist/api/mutations/business/businessCreate.mutation.d.ts +26 -0
- package/dist/api/mutations/business/businessLinkContactPerson.mutation.d.ts +13 -0
- package/dist/api/mutations/business/businessPrimaryContactPersonUpdate.mutation.d.ts +9 -0
- package/dist/api/mutations/business/businessUnlinkContactPerson.mutation.d.ts +10 -0
- package/dist/api/mutations/business/businessUpdate.mutation.d.ts +29 -0
- package/dist/api/mutations/contactPersonCreate.mutation.d.ts +4 -0
- package/dist/api/mutations/individual/individualBillingInformationUpdate.mutation.d.ts +21 -0
- package/dist/api/mutations/individual/individualContactPersonUpdate.mutation.d.ts +14 -0
- package/dist/api/mutations/individual/individualCreate.mutation.d.ts +2 -0
- package/dist/api/mutations/individual/individualLinkContactPerson.mutation.d.ts +13 -0
- package/dist/api/mutations/individual/individualSetPrimaryContactPerson.mutation.d.ts +13 -0
- package/dist/api/mutations/individual/individualUnlinkContactPerson.mutation.d.ts +9 -0
- package/dist/api/mutations/individual/individualUpdate.mutation.d.ts +27 -0
- package/dist/api/mutations/noteBusinessCreate.mutation.d.ts +8 -0
- package/dist/api/mutations/noteDelete.mutation.d.ts +10 -0
- package/dist/api/mutations/noteIndividualCreate.mutation.d.ts +8 -0
- package/dist/api/mutations/noteUpdate.mutation.d.ts +13 -0
- package/dist/api/queries/business/businessActivityIndex.query.d.ts +7 -0
- package/dist/api/queries/business/businessBillingInformation.query.d.ts +5 -0
- package/dist/api/queries/business/businessContactPersonDetail.query.d.ts +6 -0
- package/dist/api/queries/business/businessDetail.query.d.ts +5 -0
- package/dist/api/queries/business/businessIndex.query.d.ts +5 -0
- package/dist/api/queries/business/businessStatistics.query.d.ts +3 -0
- package/dist/api/queries/customFieldDefinitionIndex.query.d.ts +4 -0
- package/dist/api/queries/globalSearch.queries.d.ts +5 -0
- package/dist/api/queries/individual/individualActivityIndex.query.d.ts +7 -0
- package/dist/api/queries/individual/individualBillingInformation.query.d.ts +5 -0
- package/dist/api/queries/individual/individualContactPersonDetail.query.d.ts +5 -0
- package/dist/api/queries/individual/individualDetail.query.d.ts +5 -0
- package/dist/api/queries/individual/individualIndex.query.d.ts +5 -0
- package/dist/api/queries/individual/individualStatistics.query.d.ts +3 -0
- package/dist/api/queries/noteBusinessIndex.query.d.ts +7 -0
- package/dist/api/queries/noteIndividualIndex.query.d.ts +7 -0
- package/dist/api/queries/recentEntities.query.d.ts +6 -0
- package/dist/api/queries/searchIndividualIndex.query.d.ts +5 -0
- package/dist/api/services/business.service.d.ts +33 -0
- package/dist/api/services/customFieldDefinition.service.d.ts +5 -0
- package/dist/api/services/globalSearch.service.d.ts +5 -0
- package/dist/api/services/individual.service.d.ts +31 -0
- package/dist/api/services/note.service.d.ts +14 -0
- package/dist/api/services/recentEntities.service.d.ts +6 -0
- package/dist/api/services/tenantConfig.service.d.ts +4 -0
- package/dist/business/BusinessDialog.vue.d.ts +14 -0
- package/dist/business/businessDialog.context.d.ts +7 -0
- package/dist/business/content/BusinessAddChildBusinessForm.vue.d.ts +14 -0
- package/dist/business/content/BusinessAddExistingChildForm.vue.d.ts +11 -0
- package/dist/business/content/BusinessBillingInformationCard.vue.d.ts +6 -0
- package/dist/business/content/BusinessBillingInformationCreateForm.vue.d.ts +10 -0
- package/dist/business/content/BusinessBillingInformationUpdateForm.vue.d.ts +12 -0
- package/dist/business/content/BusinessContactPersonUpdateForm.vue.d.ts +10 -0
- package/dist/business/content/BusinessInfoForm.vue.d.ts +10 -0
- package/dist/business/content/BusinessInfoUpdateCard.vue.d.ts +10 -0
- package/dist/business/dialogs/BusinessAddChildBusinessDialog.vue.d.ts +10 -0
- package/dist/business/dialogs/BusinessContactPersonCreateDialog.vue.d.ts +21 -0
- package/dist/business/dialogs/BusinessContactPersonUpdateDialog.vue.d.ts +12 -0
- package/dist/business/dialogs/BusinessInfoUpdateDialog.vue.d.ts +10 -0
- package/dist/business/routes/business.routes.d.ts +3 -0
- package/dist/business/sidebar/BusinessDialogSidebar.vue.d.ts +6 -0
- package/dist/business/sidebar/BusinessDialogSidebarAccordionBusinessInfo.vue.d.ts +10 -0
- package/dist/business/sidebar/BusinessDialogSidebarAccordionBusinessInfoChildren.vue.d.ts +10 -0
- package/dist/business/sidebar/BusinessDialogSidebarActivityContent.vue.d.ts +6 -0
- package/dist/business/sidebar/BusinessDialogSidebarNotesContent.vue.d.ts +6 -0
- package/dist/business/sidebar/BusinessDialogSidebarOverviewContent.vue.d.ts +6 -0
- package/dist/business/sidebar/BusinessDialogSidebarProvider.vue.d.ts +6 -0
- package/dist/business/views/BusinessOverview.vue.d.ts +6 -0
- package/dist/business/views/components/BusinessOverviewTableNameCell.vue.d.ts +6 -0
- package/dist/business/views/detail/BusinessDetailView.vue.d.ts +8 -0
- package/dist/client/apiErrorCode.gen.d.ts +33 -0
- package/dist/client/client/client.gen.d.ts +2 -0
- package/dist/client/client/index.d.ts +7 -0
- package/dist/client/client/types.gen.d.ts +124 -0
- package/dist/client/client/utils.gen.d.ts +38 -0
- package/dist/client/client.gen.d.ts +12 -0
- package/dist/client/core/auth.gen.d.ts +18 -0
- package/dist/client/core/bodySerializer.gen.d.ts +17 -0
- package/dist/client/core/params.gen.d.ts +33 -0
- package/dist/client/core/pathSerializer.gen.d.ts +33 -0
- package/dist/client/core/serverSentEvents.gen.d.ts +71 -0
- package/dist/client/core/types.gen.d.ts +78 -0
- package/dist/client/core/utils.gen.d.ts +14 -0
- package/dist/client/index.d.ts +2 -0
- package/dist/client/sdk.gen.d.ts +129 -0
- package/dist/client/types.gen.d.ts +5636 -0
- package/dist/client/zod.gen.d.ts +21598 -0
- package/dist/component-variants/badge.variant.d.ts +2 -0
- package/dist/component-variants/button.variant.d.ts +1 -0
- package/dist/component-variants/dialogCloseButton.variant.d.ts +1 -0
- package/dist/component-variants/dropdownMenu.variant.d.ts +1 -0
- package/dist/component-variants/iconButton.variant.d.ts +2 -0
- package/dist/component-variants/index.d.ts +7 -0
- package/dist/component-variants/table.variant.d.ts +1 -0
- package/dist/component-variants/tabs.variant.d.ts +1 -0
- package/dist/components/activity/ActivityList.vue.d.ts +8 -0
- package/dist/components/activity/ActivityListItem.vue.d.ts +7 -0
- package/dist/components/activity/ActivityListItemMessage.vue.d.ts +6 -0
- package/dist/components/animation/AnimateHeight.vue.d.ts +12 -0
- package/dist/components/animation/FormCardSubmitButtonTransition.vue.d.ts +15 -0
- package/dist/components/animation/OpenInfoDialogTransition.vue.d.ts +12 -0
- package/dist/components/api-error/ApiError.vue.d.ts +6 -0
- package/dist/components/app/AppAndOrSeparator.vue.d.ts +12 -0
- package/dist/components/app/AppEntityColorProvider.vue.d.ts +16 -0
- package/dist/components/app/AppForm.vue.d.ts +27 -0
- package/dist/components/app/AppGlobalFormError.vue.d.ts +17 -0
- package/dist/components/app/AppGoogleMaps.vue.d.ts +9 -0
- package/dist/components/app/AppGrid.vue.d.ts +15 -0
- package/dist/components/app/AppIconLabelPair.vue.d.ts +8 -0
- package/dist/components/app/AppSidebarFormSubmitButton.vue.d.ts +13 -0
- package/dist/components/app/button/AppUnstyledButton.vue.d.ts +23 -0
- package/dist/components/app/card/AppCard.vue.d.ts +19 -0
- package/dist/components/app/decorative/BlobBackground.vue.d.ts +2 -0
- package/dist/components/app/decorative/GridDecorativeBackgroundPattern.vue.d.ts +2 -0
- package/dist/components/app/dialog/AppConfirmDialog.vue.d.ts +18 -0
- package/dist/components/app/dialog/AppDialogActionCancel.vue.d.ts +7 -0
- package/dist/components/app/dialog/AppDialogActionPrimary.vue.d.ts +14 -0
- package/dist/components/app/dialog/AppDialogActions.vue.d.ts +12 -0
- package/dist/components/app/dialog/AppDialogHeader.vue.d.ts +8 -0
- package/dist/components/app/dialog/AppEntityDialog.vue.d.ts +24 -0
- package/dist/components/app/drawer/AppDrawer.vue.d.ts +20 -0
- package/dist/components/app/drawer/AppDrawerHeader.vue.d.ts +6 -0
- package/dist/components/app/drawer/AppDrawerRoot.vue.d.ts +16 -0
- package/dist/components/app/empty-state/AppEmptyState.vue.d.ts +8 -0
- package/dist/components/app/group/AppGroup.vue.d.ts +23 -0
- package/dist/components/app/height-transition/AppHeightTransition.vue.d.ts +12 -0
- package/dist/components/app/infinite-scroll/AppInfiniteScroll.vue.d.ts +18 -0
- package/dist/components/app/separator/AppSeparator.vue.d.ts +7 -0
- package/dist/components/app/tags-input-field/AppTagsInputField.vue.d.ts +19 -0
- package/dist/components/app/vat-number-field/AppVatNumberField.vue.d.ts +19 -0
- package/dist/components/base/data-item/BaseDataItem.vue.d.ts +18 -0
- package/dist/components/base/data-item/BaseDataItemLabel.vue.d.ts +12 -0
- package/dist/components/base/data-item/BaseDataItemValue.vue.d.ts +22 -0
- package/dist/components/base/data-item/baseDataItem.context.d.ts +5 -0
- package/dist/components/base/fieldset/BaseFieldset.vue.d.ts +12 -0
- package/dist/components/base/fieldset/BaseFieldsetLegend.vue.d.ts +16 -0
- package/dist/components/base/fieldset/baseFieldset.context.d.ts +5 -0
- package/dist/components/billing-information/BillingInformationForm.vue.d.ts +27 -0
- package/dist/components/center-content/CenterContent.vue.d.ts +12 -0
- package/dist/components/contact-person/ContactPersonAutocomplete.vue.d.ts +21 -0
- package/dist/components/contact-person/ContactPersonForm.vue.d.ts +17 -0
- package/dist/components/crm/CrmDetailView.vue.d.ts +20 -0
- package/dist/components/crm/search/CrmSearchDialog.vue.d.ts +14 -0
- package/dist/components/crm/search/CrmSearchDialogContent.vue.d.ts +14 -0
- package/dist/components/crm/search/CrmSearchDialogContentEmptyState.vue.d.ts +11 -0
- package/dist/components/crm/search/CrmSearchTrigger.vue.d.ts +7 -0
- package/dist/components/custom-field/CustomFieldCheckbox.vue.d.ts +8 -0
- package/dist/components/custom-field/CustomFieldDate.vue.d.ts +8 -0
- package/dist/components/custom-field/CustomFieldDefinitionForm.vue.d.ts +18 -0
- package/dist/components/custom-field/CustomFieldMultiSelect.vue.d.ts +8 -0
- package/dist/components/custom-field/CustomFieldNumberField.vue.d.ts +8 -0
- package/dist/components/custom-field/CustomFieldRadio.vue.d.ts +8 -0
- package/dist/components/custom-field/CustomFieldSelect.vue.d.ts +8 -0
- package/dist/components/custom-field/CustomFieldString.vue.d.ts +8 -0
- package/dist/components/error/Error.vue.d.ts +15 -0
- package/dist/components/filters/FiltersListbox.vue.d.ts +6 -0
- package/dist/components/filters/FiltersRoot.vue.d.ts +16 -0
- package/dist/components/filters/active/FiltersActive.vue.d.ts +2 -0
- package/dist/components/filters/active/FiltersActiveBadge.vue.d.ts +20 -0
- package/dist/components/filters/active/FiltersActiveFilterPopover.vue.d.ts +18 -0
- package/dist/components/filters/active/FiltersActiveLabel.vue.d.ts +12 -0
- package/dist/components/filters/active/FiltersActiveValue.vue.d.ts +16 -0
- package/dist/components/filters/active/types/FiltersActiveBoolean.vue.d.ts +6 -0
- package/dist/components/filters/active/types/FiltersActiveDate.vue.d.ts +6 -0
- package/dist/components/filters/active/types/FiltersActiveDateRange.vue.d.ts +6 -0
- package/dist/components/filters/active/types/FiltersActiveMultiSelect.vue.d.ts +6 -0
- package/dist/components/filters/active/types/FiltersActiveSelect.vue.d.ts +6 -0
- package/dist/components/filters/createFilters.composable.d.ts +9 -0
- package/dist/components/filters/dialog/FiltersDateDialog.vue.d.ts +18 -0
- package/dist/components/filters/dialog/FiltersDateRangeDialog.vue.d.ts +27 -0
- package/dist/components/filters/dialog/filtersDateDialog.composable.d.ts +8 -0
- package/dist/components/filters/dialog/filtersDateRangeDialog.composable.d.ts +8 -0
- package/dist/components/filters/dropdown-menu/FiltersDropdownMenu.vue.d.ts +2 -0
- package/dist/components/filters/dropdown-menu/types/FiltersDropdownMenuBoolean.vue.d.ts +6 -0
- package/dist/components/filters/dropdown-menu/types/FiltersDropdownMenuDate.vue.d.ts +6 -0
- package/dist/components/filters/dropdown-menu/types/FiltersDropdownMenuDateRange.vue.d.ts +6 -0
- package/dist/components/filters/dropdown-menu/types/FiltersDropdownMenuSelect.vue.d.ts +6 -0
- package/dist/components/filters/filterValue.composable.d.ts +2 -0
- package/dist/components/filters/filters.composable.d.ts +40 -0
- package/dist/components/filters/filters.context.d.ts +8 -0
- package/dist/components/filters/filters.type.d.ts +65 -0
- package/dist/components/filters/index.d.ts +5 -0
- package/dist/components/form/FormFieldset.vue.d.ts +20 -0
- package/dist/components/info-dialog/InfoDialogAccordionRoot.vue.d.ts +18 -0
- package/dist/components/info-dialog/InfoDialogContainer.vue.d.ts +12 -0
- package/dist/components/info-dialog/InfoDialogContent.vue.d.ts +18 -0
- package/dist/components/info-dialog/InfoDialogHeaderCard.vue.d.ts +11 -0
- package/dist/components/info-dialog/InfoDialogHeaderContactTooltip.vue.d.ts +6 -0
- package/dist/components/info-dialog/InfoDialogSidebarAccordionBillingInformation.vue.d.ts +7 -0
- package/dist/components/info-dialog/InfoDialogSidebarAccordionContactPersonInfo.vue.d.ts +13 -0
- package/dist/components/info-dialog/InfoDialogSidebarAccordionCustomerInfo.vue.d.ts +6 -0
- package/dist/components/info-dialog/InfoDialogSidebarAccordionItem.vue.d.ts +23 -0
- package/dist/components/info-dialog/InfoDialogSidebarCard.vue.d.ts +12 -0
- package/dist/components/info-dialog/InfoDialogSidebarMapCard.vue.d.ts +6 -0
- package/dist/components/info-dialog/InfoDialogSidebarTabs.vue.d.ts +27 -0
- package/dist/components/notes/NoteForm.vue.d.ts +7 -0
- package/dist/components/notes/NoteList.vue.d.ts +14 -0
- package/dist/components/open-entity-button/AppOpenEntityButton.vue.d.ts +19 -0
- package/dist/components/skeleton-loader/AppSkeletonLoader.vue.d.ts +2 -0
- package/dist/components/table/TableActionsLayout.vue.d.ts +14 -0
- package/dist/components/table/TableErrorState.vue.d.ts +5 -0
- package/dist/components/table/data-table/DataTable.vue.d.ts +35 -0
- package/dist/components/table/data-table/DataTableCell.vue.d.ts +19 -0
- package/dist/components/table/data-table/DataTableEmptyOrLoadingState.vue.d.ts +14 -0
- package/dist/components/table/data-table/DataTableEmptyOrLoadingStateBlurOverlay.vue.d.ts +2 -0
- package/dist/components/table/data-table/DataTableHeader.vue.d.ts +2 -0
- package/dist/components/table/data-table/DataTableHeaderCell.vue.d.ts +2 -0
- package/dist/components/table/data-table/DataTableHeaderCellProvider.vue.d.ts +18 -0
- package/dist/components/table/data-table/dataTable.context.d.ts +14 -0
- package/dist/components/table/data-table/dataTableHeaderCell.context.d.ts +9 -0
- package/dist/components/zod-error/ZodError.vue.d.ts +6 -0
- package/dist/composables/apiErrorToast.composable.d.ts +5 -0
- package/dist/composables/authConfig.composable.d.ts +1 -0
- package/dist/composables/contactCreateDialog.composable.d.ts +5 -0
- package/dist/composables/context/context.composable.d.ts +8 -0
- package/dist/composables/crm.composable.d.ts +9 -0
- package/dist/composables/crmConfig.composable.d.ts +21 -0
- package/dist/composables/date-time-format/dateTimeFormat.composable.d.ts +8 -0
- package/dist/composables/entity-detail/entityDetail.composable.d.ts +6 -0
- package/dist/composables/google-maps-api-key/googleMapsApiKey.composable.d.ts +5 -0
- package/dist/composables/keyboard-shortcut-visibility/keyboardShortcutVisibility.composable.d.ts +2 -0
- package/dist/composables/page-loader/pageLoader.composable.d.ts +7 -0
- package/dist/composables/page-loader/pageloader.composable.spec.d.ts +1 -0
- package/dist/composables/route-query-state/routeQueryState.composable.d.ts +12 -0
- package/dist/composables/search/search.composable.d.ts +13 -0
- package/dist/composables/sort/sort.composable.d.ts +19 -0
- package/dist/composables/unsaved-changes/unsavedChanges.composable.d.ts +6 -0
- package/dist/dialogs/contact-create/ContactCreateDialog.vue.d.ts +9 -0
- package/dist/dialogs/contact-create/components/ContactCreateDialogBusinessForm.vue.d.ts +10 -0
- package/dist/dialogs/contact-create/components/ContactCreateDialogContactTypeSection.vue.d.ts +12 -0
- package/dist/dialogs/contact-create/components/ContactCreateDialogFooter.vue.d.ts +13 -0
- package/dist/dialogs/contact-create/components/ContactCreateDialogFormSection.vue.d.ts +14 -0
- package/dist/dialogs/contact-create/components/ContactCreateDialogIndividualForm.vue.d.ts +10 -0
- package/dist/dialogs/contact-create/components/ContactPersonCreateForm.vue.d.ts +12 -0
- package/dist/dialogs/contact-create/components/animations/ContactCreateDialogContentTransition.vue.d.ts +12 -0
- package/dist/dialogs/note/InfoDialogSidebarNotesView.vue.d.ts +18 -0
- package/dist/dialogs/note/NoteUpdateDialog.vue.d.ts +14 -0
- package/dist/helpers/assert.helper.d.ts +1 -0
- package/dist/icons/ActivityIcon.vue.d.ts +2 -0
- package/dist/icons/AddressIcon.vue.d.ts +2 -0
- package/dist/icons/AlertIcon.vue.d.ts +2 -0
- package/dist/icons/AtomIcon.vue.d.ts +2 -0
- package/dist/icons/BackArrowIcon.vue.d.ts +2 -0
- package/dist/icons/BarChartSquareIcon.vue.d.ts +2 -0
- package/dist/icons/BellArrowIcon.vue.d.ts +2 -0
- package/dist/icons/BellIcon.vue.d.ts +2 -0
- package/dist/icons/BellSlashIcon.vue.d.ts +2 -0
- package/dist/icons/BookIcon.vue.d.ts +2 -0
- package/dist/icons/BottomLeftCornerIcon.vue.d.ts +2 -0
- package/dist/icons/BottomRightCornerIcon.vue.d.ts +2 -0
- package/dist/icons/BrushIcon.vue.d.ts +2 -0
- package/dist/icons/BuildingIcon.vue.d.ts +2 -0
- package/dist/icons/BuildingsIcon.vue.d.ts +2 -0
- package/dist/icons/CalculatorIcon.vue.d.ts +2 -0
- package/dist/icons/CalendarIcon.vue.d.ts +2 -0
- package/dist/icons/CertificateIcon.vue.d.ts +2 -0
- package/dist/icons/ChevronDownIcon.vue.d.ts +2 -0
- package/dist/icons/ChevronUpIcon.vue.d.ts +2 -0
- package/dist/icons/ClockCheckIcon.vue.d.ts +2 -0
- package/dist/icons/ClockPlusIcon.vue.d.ts +2 -0
- package/dist/icons/ContainerIcon.vue.d.ts +2 -0
- package/dist/icons/CopyIcon.vue.d.ts +2 -0
- package/dist/icons/CubeIcon.vue.d.ts +2 -0
- package/dist/icons/CurrencyEuroIcon.vue.d.ts +2 -0
- package/dist/icons/DataFlowIcon.vue.d.ts +2 -0
- package/dist/icons/DestinationIcon.vue.d.ts +2 -0
- package/dist/icons/DownloadIcon.vue.d.ts +2 -0
- package/dist/icons/EditIcon.vue.d.ts +2 -0
- package/dist/icons/EditPenIcon.vue.d.ts +2 -0
- package/dist/icons/EditWithLineIcon.vue.d.ts +2 -0
- package/dist/icons/EllipseIcon.vue.d.ts +2 -0
- package/dist/icons/EmailIcon.vue.d.ts +2 -0
- package/dist/icons/EnterKeyIcon.vue.d.ts +2 -0
- package/dist/icons/EscKeyIcon.vue.d.ts +2 -0
- package/dist/icons/FileIcon.vue.d.ts +2 -0
- package/dist/icons/FilePlusIcon.vue.d.ts +2 -0
- package/dist/icons/FileSearchIcon.vue.d.ts +2 -0
- package/dist/icons/FilterLinesIcon.vue.d.ts +2 -0
- package/dist/icons/FlaskIcon.vue.d.ts +2 -0
- package/dist/icons/HashIcon.vue.d.ts +2 -0
- package/dist/icons/HomeFilledIcon.vue.d.ts +2 -0
- package/dist/icons/InfoCircleIcon.vue.d.ts +2 -0
- package/dist/icons/LayersTreeIcon.vue.d.ts +2 -0
- package/dist/icons/LayoutAltIcon.vue.d.ts +2 -0
- package/dist/icons/LinkExternalIcon.vue.d.ts +2 -0
- package/dist/icons/LocationIcon.vue.d.ts +2 -0
- package/dist/icons/LocationPinIcon.vue.d.ts +2 -0
- package/dist/icons/LogoutIcon.vue.d.ts +2 -0
- package/dist/icons/MaesLogoIcon.vue.d.ts +2 -0
- package/dist/icons/MailIcon.vue.d.ts +2 -0
- package/dist/icons/MarkerPinIcon.vue.d.ts +2 -0
- package/dist/icons/MaterialIcon.vue.d.ts +2 -0
- package/dist/icons/MergeIcon.vue.d.ts +2 -0
- package/dist/icons/MessageIcon.vue.d.ts +2 -0
- package/dist/icons/MessageTextSquareIcon.vue.d.ts +2 -0
- package/dist/icons/MobilePhoneIcon.vue.d.ts +2 -0
- package/dist/icons/MoonIcon.vue.d.ts +2 -0
- package/dist/icons/NotificationIcon.vue.d.ts +2 -0
- package/dist/icons/OrderInfoIcon.vue.d.ts +2 -0
- package/dist/icons/PenniesIcon.vue.d.ts +2 -0
- package/dist/icons/PercentageIcon.vue.d.ts +2 -0
- package/dist/icons/PhoneIcon.vue.d.ts +2 -0
- package/dist/icons/PieChartIcon.vue.d.ts +2 -0
- package/dist/icons/ProcessorIcon.vue.d.ts +2 -0
- package/dist/icons/RingsIcon.vue.d.ts +2 -0
- package/dist/icons/SalesIcon.vue.d.ts +2 -0
- package/dist/icons/ScaleIcon.vue.d.ts +2 -0
- package/dist/icons/SendIcon.vue.d.ts +2 -0
- package/dist/icons/SettingsIcon.vue.d.ts +2 -0
- package/dist/icons/ShieldIcon.vue.d.ts +2 -0
- package/dist/icons/StarOutlineIcon.vue.d.ts +2 -0
- package/dist/icons/StarYellowIcon.vue.d.ts +2 -0
- package/dist/icons/StarsIcon.vue.d.ts +2 -0
- package/dist/icons/SunIcon.vue.d.ts +2 -0
- package/dist/icons/SunsetIcon.vue.d.ts +2 -0
- package/dist/icons/TargetIcon.vue.d.ts +2 -0
- package/dist/icons/ThreeDotsIcon.vue.d.ts +2 -0
- package/dist/icons/TimeLineMarkerIcon.vue.d.ts +2 -0
- package/dist/icons/TrajectoryIcon.vue.d.ts +2 -0
- package/dist/icons/TrashIcon.vue.d.ts +2 -0
- package/dist/icons/TruckIcon.vue.d.ts +2 -0
- package/dist/icons/UploadIcon.vue.d.ts +2 -0
- package/dist/icons/UserCircleIcon.vue.d.ts +2 -0
- package/dist/icons/UserIcon.vue.d.ts +2 -0
- package/dist/icons/UserSquareIcon.vue.d.ts +2 -0
- package/dist/icons/UsersIcon.vue.d.ts +2 -0
- package/dist/icons/VerticalDotsIcon.vue.d.ts +2 -0
- package/dist/icons/WalletIcon.vue.d.ts +2 -0
- package/dist/icons/icon.d.ts +38 -0
- package/dist/index-DmadkSOr.js +32858 -0
- package/dist/index.d.ts +1053 -0
- package/dist/index.js +26 -0
- package/dist/individual/IndividualDialog.vue.d.ts +14 -0
- package/dist/individual/content/IndividualBillingInformationCard.vue.d.ts +6 -0
- package/dist/individual/content/IndividualBillingInformationCreateForm.vue.d.ts +10 -0
- package/dist/individual/content/IndividualBillingInformationUpdateForm.vue.d.ts +12 -0
- package/dist/individual/content/IndividualContactPersonUpdateForm.vue.d.ts +10 -0
- package/dist/individual/content/IndividualCustomerInfoForm.vue.d.ts +10 -0
- package/dist/individual/content/IndividualInfoUpdateCard.vue.d.ts +6 -0
- package/dist/individual/dialogs/IndividualContactPersonCreateDialog.vue.d.ts +21 -0
- package/dist/individual/dialogs/IndividualContactPersonUpdateDialog.vue.d.ts +11 -0
- package/dist/individual/individualDialog.context.d.ts +7 -0
- package/dist/individual/routes/individual.routes.d.ts +3 -0
- package/dist/individual/sidebar/IndividualDialogSidebar.vue.d.ts +6 -0
- package/dist/individual/sidebar/IndividualDialogSidebarActivityContent.vue.d.ts +6 -0
- package/dist/individual/sidebar/IndividualDialogSidebarNotesContent.vue.d.ts +6 -0
- package/dist/individual/sidebar/IndividualDialogSidebarOverviewContent.vue.d.ts +6 -0
- package/dist/individual/sidebar/IndividualDialogSidebarProvider.vue.d.ts +6 -0
- package/dist/individual/views/IndividualOverview.vue.d.ts +6 -0
- package/dist/individual/views/components/IndividualOverviewTableNameCell.vue.d.ts +6 -0
- package/dist/individual/views/detail/IndividualDetailView.vue.d.ts +8 -0
- package/dist/libs/http.lib.d.ts +1 -0
- package/dist/models/activity/activityIndex.model.d.ts +24 -0
- package/dist/models/activity/activityIndex.transformer.d.ts +13 -0
- package/dist/models/activity/activityIndexDto.model.d.ts +6 -0
- package/dist/models/activity/activityIndexPagination.model.d.ts +5 -0
- package/dist/models/activity/activityIndexPaginationDto.model.d.ts +5 -0
- package/dist/models/address/address.transformer.d.ts +11 -0
- package/dist/models/address/addressCreateForm.model.d.ts +14 -0
- package/dist/models/address/addressDetailDto.model.d.ts +2 -0
- package/dist/models/address/addressDto.model.d.ts +2 -0
- package/dist/models/apiError.model.d.ts +7 -0
- package/dist/models/billing-information/billingInformationUuid.model.d.ts +3 -0
- package/dist/models/billing-information/create/billingInformationCreateForm.model.d.ts +23 -0
- package/dist/models/billing-information/detail/billingInformationDetail.model.d.ts +23 -0
- package/dist/models/billing-information/form/billingInformationForm.model.d.ts +23 -0
- package/dist/models/billing-information/form/billingInformationForm.transformer.d.ts +5 -0
- package/dist/models/business/billing-information/businessBillingInformation.model.d.ts +19 -0
- package/dist/models/business/billing-information/businessBillingInformation.transformer.d.ts +6 -0
- package/dist/models/business/billing-information/businessBillingInformationDto.model.d.ts +2 -0
- package/dist/models/business/billing-information/update/businessBillingInformationForm.model.d.ts +22 -0
- package/dist/models/business/billing-information/update/businessBillingInformationUpdate.transformer.d.ts +5 -0
- package/dist/models/business/billing-information/update/businessBillingInformationUpdateDto.model.d.ts +2 -0
- package/dist/models/business/businessUuid.model.d.ts +3 -0
- package/dist/models/business/contact-person/businessContactPerson.transformer.d.ts +5 -0
- package/dist/models/business/contact-person/businessContactPersonDetail.model.d.ts +13 -0
- package/dist/models/business/contact-person/businessContactPersonDetailDto.model.d.ts +2 -0
- package/dist/models/business/create/businessCreate.transformer.d.ts +5 -0
- package/dist/models/business/create/businessCreateDto.model.d.ts +2 -0
- package/dist/models/business/create/businessCreateForm.model.d.ts +59 -0
- package/dist/models/business/detail/businessDetail.model.d.ts +45 -0
- package/dist/models/business/detail/businessDetail.transformer.d.ts +5 -0
- package/dist/models/business/detail/businessDetailDto.model.d.ts +2 -0
- package/dist/models/business/form/businessForm.model.d.ts +30 -0
- package/dist/models/business/form/businessForm.transformer.d.ts +5 -0
- package/dist/models/business/index/businessIndex.model.d.ts +11 -0
- package/dist/models/business/index/businessIndex.transformer.d.ts +5 -0
- package/dist/models/business/index/businessIndexDto.model.d.ts +2 -0
- package/dist/models/business/index/businessIndexPagination.model.d.ts +3 -0
- package/dist/models/business/index/businessIndexPaginationDto.model.d.ts +3 -0
- package/dist/models/business/node/businessNode.model.d.ts +14 -0
- package/dist/models/business/node/businessNode.transformer.d.ts +5 -0
- package/dist/models/business/node/businessNodeDto.model.d.ts +2 -0
- package/dist/models/business/statistics/businessStatistics.model.d.ts +5 -0
- package/dist/models/business/statistics/businessStatistics.transformer.d.ts +5 -0
- package/dist/models/business/update/businessUpdate.transformer.d.ts +5 -0
- package/dist/models/business/update/businessUpdateDto.model.d.ts +2 -0
- package/dist/models/business/update/businessUpdateForm.model.d.ts +54 -0
- package/dist/models/contact-info/contactInfo.model.d.ts +5 -0
- package/dist/models/contact-person/contactPersonUuid.model.d.ts +3 -0
- package/dist/models/contact-person/create/contactPersonCreateForm.model.d.ts +10 -0
- package/dist/models/contact-person/update/contactPersonUpdate.transformer.d.ts +5 -0
- package/dist/models/contact-person/update/contactPersonUpdateDto.model.d.ts +2 -0
- package/dist/models/contact-person/update/contactPersonUpdateForm.model.d.ts +10 -0
- package/dist/models/custom-field-definition/customFieldDefinition.transformer.d.ts +5 -0
- package/dist/models/custom-field-definition/customFieldDefinitionIndex.model.d.ts +56 -0
- package/dist/models/custom-field-definition/customFieldDefinitionIndexDto.model.d.ts +2 -0
- package/dist/models/custom-field-definition/customFieldDefinitionRecord.model.d.ts +1 -0
- package/dist/models/date/date.transformer.d.ts +11 -0
- package/dist/models/date/plainDate.model.d.ts +3 -0
- package/dist/models/enitityType.model.d.ts +4 -0
- package/dist/models/entityState.model.d.ts +4 -0
- package/dist/models/global-search/globalSearchItem.model.d.ts +43 -0
- package/dist/models/global-search/globalSearchItem.transformer.d.ts +11 -0
- package/dist/models/individual/billing-information/individualBillingInformation.model.d.ts +14 -0
- package/dist/models/individual/billing-information/individualBillingInformation.transformer.d.ts +5 -0
- package/dist/models/individual/billing-information/individualBillingInformationDto.model.d.ts +2 -0
- package/dist/models/individual/billing-information/update/individualBillingInformationForm.model.d.ts +18 -0
- package/dist/models/individual/billing-information/update/individualBillingInformationForm.transformer.d.ts +5 -0
- package/dist/models/individual/billing-information/update/individualBillingInformationFormDto.model.d.ts +2 -0
- package/dist/models/individual/contact-person/individualContactPerson.transformer.d.ts +5 -0
- package/dist/models/individual/contact-person/individualContactPersonDetail.model.d.ts +12 -0
- package/dist/models/individual/contact-person/individualContactPersonDetailDto.model.d.ts +2 -0
- package/dist/models/individual/contact-person/individualDetailContactPerson.model.d.ts +11 -0
- package/dist/models/individual/create/individualCreate.transformer.d.ts +5 -0
- package/dist/models/individual/create/individualCreateDto.model.d.ts +2 -0
- package/dist/models/individual/create/individualCreateForm.model.d.ts +48 -0
- package/dist/models/individual/detail/individualDetail.model.d.ts +41 -0
- package/dist/models/individual/detail/individualDetail.transformer.d.ts +5 -0
- package/dist/models/individual/detail/individualDetailDto.model.d.ts +2 -0
- package/dist/models/individual/index/individualIndex.model.d.ts +8 -0
- package/dist/models/individual/index/individualIndex.transformer.d.ts +5 -0
- package/dist/models/individual/index/individualIndexDto.model.d.ts +2 -0
- package/dist/models/individual/index/individualIndexPagination.model.d.ts +3 -0
- package/dist/models/individual/index/individualIndexPaginationDto.model.d.ts +3 -0
- package/dist/models/individual/individualItem.model.d.ts +6 -0
- package/dist/models/individual/individualUuid.model.d.ts +3 -0
- package/dist/models/individual/statistics/individualStatistics.model.d.ts +5 -0
- package/dist/models/individual/statistics/individualStatistics.transformer.d.ts +5 -0
- package/dist/models/individual/update/individualUpdate.transformer.d.ts +7 -0
- package/dist/models/individual/update/individualUpdateDto.model.d.ts +2 -0
- package/dist/models/individual/update/individualUpdateForm.model.d.ts +51 -0
- package/dist/models/language/language.model.d.ts +8 -0
- package/dist/models/location/locationUuid.model.d.ts +3 -0
- package/dist/models/notes/create/noteCreateDto.model.d.ts +2 -0
- package/dist/models/notes/create/noteCreateForm.model.d.ts +5 -0
- package/dist/models/notes/index/noteIndex.model.d.ts +9 -0
- package/dist/models/notes/index/noteIndexDto.model.d.ts +2 -0
- package/dist/models/notes/index/noteIndexPagination.model.d.ts +3 -0
- package/dist/models/notes/index/noteIndexPaginationDto.model.d.ts +3 -0
- package/dist/models/notes/note.transformer.d.ts +17 -0
- package/dist/models/notes/noteUuid.model.d.ts +3 -0
- package/dist/models/notes/update/noteUpdateDto.model.d.ts +2 -0
- package/dist/models/notes/update/noteUpdateForm.model.d.ts +2 -0
- package/dist/models/recent-entities/recentEntities.transformer.d.ts +10 -0
- package/dist/models/recent-entities/recentEntitiesItem.model.d.ts +8 -0
- package/dist/models/recent-entities/recentEntitiesPagination.model.d.ts +5 -0
- package/dist/models/recent-entities/recentEntitiesPaginationDto.model.d.ts +4 -0
- package/dist/models/tenant-config/tenantConfig.model.d.ts +9 -0
- package/dist/models/tenant-config/tenantConfig.transformer.d.ts +5 -0
- package/dist/models/tenant-config/tenantConfigDto.model.d.ts +2 -0
- package/dist/models/vat-number/vatNumber.model.d.ts +7 -0
- package/dist/models/vat-number/vatNumber.transformer.d.ts +8 -0
- package/dist/models/wiseCrmConfig.model.d.ts +8 -0
- package/dist/plugins/dayjs.plugin.d.ts +2 -0
- package/dist/plugins/i18n.plugin.d.ts +1034 -0
- package/dist/plugins/pinia.plugin.d.ts +1 -0
- package/dist/plugins/vueQuery.plugin.d.ts +5 -0
- package/dist/routes/crmRoutes.composable.d.ts +9 -0
- package/dist/types/apiError.type.d.ts +11 -0
- package/dist/types/dialog-content-tab/dialogContentTab.type.d.ts +6 -0
- package/dist/types/enum.type.d.ts +8 -0
- package/dist/types/queryKey.type.d.ts +67 -0
- package/dist/types/table.type.d.ts +64 -0
- package/dist/utils/address.util.d.ts +5 -0
- package/dist/utils/apiError.util.d.ts +5 -0
- package/dist/utils/customFieldDefinition.util.d.ts +5 -0
- package/dist/utils/date.util.d.ts +14 -0
- package/dist/utils/entityRoute.util.d.ts +8 -0
- package/dist/utils/entityType.util.d.ts +10 -0
- package/dist/utils/error.util.d.ts +8 -0
- package/dist/utils/form.util.d.ts +9 -0
- package/dist/utils/locale.util.d.ts +3 -0
- package/dist/utils/logger.util.d.ts +6 -0
- package/dist/utils/object.util.d.ts +14 -0
- package/dist/utils/translation.util.d.ts +4 -0
- package/dist/utils/uuid.util.d.ts +3 -0
- package/dist/utils/vatNumber.util.d.ts +4 -0
- package/dist/widgets/WidgetBusinessStatistics.vue.d.ts +2 -0
- package/dist/widgets/WidgetIndividualStatistics.vue.d.ts +2 -0
- package/dist/widgets/WidgetRecentlyCreated.vue.d.ts +2 -0
- package/package.json +74 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ComputedRef } from 'vue';
|
|
2
|
+
import type { Filters } from '@/components/filters/filters.composable';
|
|
3
|
+
import type { Filter, FilterGroup } from '@/components/filters/filters.type';
|
|
4
|
+
interface FiltersContext extends Filters<FilterGroup[], Filter[]> {
|
|
5
|
+
hasInteractedViaKeyboard: ComputedRef<boolean>;
|
|
6
|
+
}
|
|
7
|
+
export declare const useProvideFiltersContext: (context: FiltersContext) => FiltersContext, useInjectFiltersContext: <TFallback extends FiltersContext | null = FiltersContext>(fallback?: TFallback | undefined) => TFallback extends null ? FiltersContext | null : FiltersContext;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import type { Icon } from '@wisemen/vue-core-components';
|
|
2
|
+
import type { KeyboardShortcut } from 'node_modules/@wisemen/vue-core-components/dist/types/keyboard.type';
|
|
3
|
+
import type { Temporal } from 'temporal-polyfill';
|
|
4
|
+
export type MaybeFn<T> = (() => T) | T;
|
|
5
|
+
export type SelectFilterValue = number | string | Record<string, any>;
|
|
6
|
+
interface BaseFilter<TKey extends string> {
|
|
7
|
+
isHidden?: boolean;
|
|
8
|
+
isStatic?: boolean;
|
|
9
|
+
icon?: Icon;
|
|
10
|
+
key: TKey;
|
|
11
|
+
keyboardShortcutKeys?: KeyboardShortcut['keys'];
|
|
12
|
+
label: string;
|
|
13
|
+
}
|
|
14
|
+
interface BaseSelectFilter<TValue extends SelectFilterValue> {
|
|
15
|
+
displayFn: (value: TValue) => string;
|
|
16
|
+
options: MaybeFn<TValue[]>;
|
|
17
|
+
}
|
|
18
|
+
interface BaseAutocompleteFilter {
|
|
19
|
+
isLoading: boolean;
|
|
20
|
+
onSearch: (search: string) => void;
|
|
21
|
+
}
|
|
22
|
+
export interface SelectFilter<TKey extends string = string, TValue extends SelectFilterValue = SelectFilterValue> extends BaseFilter<TKey>, BaseSelectFilter<TValue> {
|
|
23
|
+
defaultValue?: TValue | null;
|
|
24
|
+
type: 'select';
|
|
25
|
+
}
|
|
26
|
+
export interface MultiSelectFilter<TKey extends string = string, TValue extends SelectFilterValue = SelectFilterValue> extends BaseFilter<TKey>, BaseSelectFilter<TValue> {
|
|
27
|
+
defaultValue?: TValue[];
|
|
28
|
+
type: 'multi-select';
|
|
29
|
+
}
|
|
30
|
+
export interface AutocompleteFilter<TKey extends string = string, TValue extends SelectFilterValue = SelectFilterValue> extends BaseFilter<TKey>, BaseSelectFilter<TValue>, BaseAutocompleteFilter {
|
|
31
|
+
defaultValue?: TValue | null;
|
|
32
|
+
type: 'autocomplete';
|
|
33
|
+
}
|
|
34
|
+
export interface MultiAutocompleteFilter<TKey extends string = string, TValue extends SelectFilterValue = SelectFilterValue> extends BaseFilter<TKey>, BaseSelectFilter<TValue>, BaseAutocompleteFilter {
|
|
35
|
+
defaultValue?: TValue[];
|
|
36
|
+
type: 'multi-autocomplete';
|
|
37
|
+
}
|
|
38
|
+
export interface BooleanFilter<TKey extends string = string> extends BaseFilter<TKey> {
|
|
39
|
+
defaultValue?: boolean;
|
|
40
|
+
type: 'boolean';
|
|
41
|
+
}
|
|
42
|
+
export interface DateFilter<TKey extends string = string, TValue extends Temporal.PlainDate = Temporal.PlainDate> extends BaseFilter<TKey> {
|
|
43
|
+
defaultValue?: TValue | null;
|
|
44
|
+
type: 'date';
|
|
45
|
+
}
|
|
46
|
+
export interface DateRangeFilter<TKey extends string = string, TValue extends Temporal.PlainDate = Temporal.PlainDate> extends BaseFilter<TKey> {
|
|
47
|
+
defaultValue?: {
|
|
48
|
+
from: TValue | null;
|
|
49
|
+
until: TValue | null;
|
|
50
|
+
};
|
|
51
|
+
type: 'date-range';
|
|
52
|
+
}
|
|
53
|
+
export type FilterKeys<TFilters extends readonly Filter[]> = TFilters[number]['key'];
|
|
54
|
+
export interface FilterGroup<TFilters extends readonly Filter[] = readonly Filter[]> {
|
|
55
|
+
filters: TFilters;
|
|
56
|
+
label?: string;
|
|
57
|
+
}
|
|
58
|
+
export type GetFiltersFromGroups<TGroups extends readonly FilterGroup<readonly Filter[]>[]> = TGroups extends readonly FilterGroup<infer Filters>[] ? Filters[number][] : never;
|
|
59
|
+
export type Filter = AutocompleteFilter<string, any> | BooleanFilter<string> | DateFilter<string, any> | DateRangeFilter<string, any> | MultiAutocompleteFilter<string, any> | MultiSelectFilter<string, any> | SelectFilter<string, any>;
|
|
60
|
+
export type FilterValues<TF extends readonly Filter[]> = {
|
|
61
|
+
[F in TF[number] as F['key']]: F extends {
|
|
62
|
+
defaultValue?: infer V;
|
|
63
|
+
} ? Exclude<V, undefined> : never;
|
|
64
|
+
};
|
|
65
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { default as FiltersActive } from './active/FiltersActive.vue';
|
|
2
|
+
export * from './createFilters.composable';
|
|
3
|
+
export { default as FiltersDropdownMenu } from './dropdown-menu/FiltersDropdownMenu.vue';
|
|
4
|
+
export { useFilters } from './filters.composable';
|
|
5
|
+
export { default as FiltersRoot } from './FiltersRoot.vue';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
title: string;
|
|
3
|
+
isTitleHidden?: boolean;
|
|
4
|
+
description?: string | null;
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_15: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_15) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
11
|
+
description: string | null;
|
|
12
|
+
isTitleHidden: boolean;
|
|
13
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
defaultValues: string | string[];
|
|
3
|
+
type?: 'multiple' | 'single';
|
|
4
|
+
};
|
|
5
|
+
declare var __VLS_7: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_7) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
10
|
+
type: "multiple" | "single";
|
|
11
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare var __VLS_1: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_1) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
7
|
+
export default _default;
|
|
8
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
9
|
+
new (): {
|
|
10
|
+
$slots: S;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { EntityType } from '@/client/types.gen';
|
|
2
|
+
import type { DialogContentTab } from '@/types/dialog-content-tab/dialogContentTab.type';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
entityType: EntityType;
|
|
5
|
+
tabs: DialogContentTab[];
|
|
6
|
+
};
|
|
7
|
+
declare var __VLS_33: {};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
default?: (props: typeof __VLS_33) => any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Address } from '@wisemen/vue-core-components';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
name: string;
|
|
4
|
+
address: Address | null;
|
|
5
|
+
email: string | null;
|
|
6
|
+
entityName: string | null;
|
|
7
|
+
mobilePhone: string | null;
|
|
8
|
+
phone: string | null;
|
|
9
|
+
};
|
|
10
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
type: 'address' | 'email' | 'phone';
|
|
3
|
+
value: string;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Address } from '@wisemen/vue-core-components';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
invoiceAddress: Address | null;
|
|
4
|
+
invoiceEmail: string;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { IndividualDetailContactPerson } from '@/models/individual/contact-person/individualDetailContactPerson.model.ts';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
contactPerson: IndividualDetailContactPerson;
|
|
4
|
+
onToggleIsPrimary: () => void;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
delete: () => any;
|
|
8
|
+
update: () => any;
|
|
9
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
|
+
onDelete?: (() => any) | undefined;
|
|
11
|
+
onUpdate?: (() => any) | undefined;
|
|
12
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { IndividualDetail } from '@/models/individual/detail/individualDetail.model.ts';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
individual: IndividualDetail;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { Icon } from '@wisemen/vue-core-components';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
isEmpty?: boolean;
|
|
4
|
+
icon: Icon;
|
|
5
|
+
label: string;
|
|
6
|
+
value: string;
|
|
7
|
+
};
|
|
8
|
+
declare var __VLS_23: {}, __VLS_45: {};
|
|
9
|
+
type __VLS_Slots = {} & {
|
|
10
|
+
actions?: (props: typeof __VLS_23) => any;
|
|
11
|
+
} & {
|
|
12
|
+
default?: (props: typeof __VLS_45) => any;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
15
|
+
isEmpty: boolean;
|
|
16
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare var __VLS_1: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_1) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
7
|
+
export default _default;
|
|
8
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
9
|
+
new (): {
|
|
10
|
+
$slots: S;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Address } from '@wisemen/vue-core-components';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
address: Address | null;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { Icon } from '@wisemen/vue-core-components';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
tabs: {
|
|
4
|
+
icon: Icon;
|
|
5
|
+
label: string;
|
|
6
|
+
value: string;
|
|
7
|
+
}[];
|
|
8
|
+
};
|
|
9
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
10
|
+
modelValue: string;
|
|
11
|
+
};
|
|
12
|
+
declare var __VLS_18: {};
|
|
13
|
+
type __VLS_Slots = {} & {
|
|
14
|
+
default?: (props: typeof __VLS_18) => any;
|
|
15
|
+
};
|
|
16
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
|
+
"update:modelValue": (value: string) => any;
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
19
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
20
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
22
|
+
export default _default;
|
|
23
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
24
|
+
new (): {
|
|
25
|
+
$slots: S;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { NoteFormData } from '@/models/notes/create/noteCreateForm.model.ts';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
content?: string | null;
|
|
4
|
+
onSubmit: (data: NoteFormData) => Promise<void>;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { NoteIndex } from '@/models/notes/index/noteIndex.model.ts';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
notes: NoteIndex[];
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
delete: (args_0: string & import("zod").$brand<"NoteUuid">) => any;
|
|
7
|
+
next: () => any;
|
|
8
|
+
update: (args_0: NoteIndex) => any;
|
|
9
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
|
+
onDelete?: ((args_0: string & import("zod").$brand<"NoteUuid">) => any) | undefined;
|
|
11
|
+
onNext?: (() => any) | undefined;
|
|
12
|
+
onUpdate?: ((args_0: NoteIndex) => any) | undefined;
|
|
13
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { EntityType } from '@/client/types.gen';
|
|
2
|
+
import type { BusinessUuid } from '@/models/business/businessUuid.model';
|
|
3
|
+
import type { IndividualUuid } from '@/models/individual/individualUuid.model';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
uuid: BusinessUuid | IndividualUuid;
|
|
6
|
+
entityType: EntityType;
|
|
7
|
+
};
|
|
8
|
+
declare var __VLS_7: {};
|
|
9
|
+
type __VLS_Slots = {} & {
|
|
10
|
+
default?: (props: typeof __VLS_7) => any;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare var __VLS_6: {}, __VLS_8: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
left?: (props: typeof __VLS_6) => any;
|
|
4
|
+
} & {
|
|
5
|
+
right?: (props: typeof __VLS_8) => any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
8
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
error: unknown;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { Filters } from '@/components/filters/filters.composable';
|
|
2
|
+
import type { Filter, FilterGroup } from '@/components/filters/filters.type';
|
|
3
|
+
import type { useSearch } from '@/composables/search/search.composable';
|
|
4
|
+
import type { useSort } from '@/composables/sort/sort.composable';
|
|
5
|
+
import type { DataTableColumn, DataTableRowAction } from '@/types/table.type';
|
|
6
|
+
declare const _default: <TData, TSort extends string, TFilterGroups extends FilterGroup[], TFilters extends Filter[]>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
7
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, never> & {
|
|
8
|
+
isFirstColumnSticky?: boolean;
|
|
9
|
+
isLastColumnSticky?: boolean;
|
|
10
|
+
isLoading: boolean;
|
|
11
|
+
columns: DataTableColumn<TData>[];
|
|
12
|
+
data: TData[];
|
|
13
|
+
error: unknown;
|
|
14
|
+
filters?: Filters<TFilterGroups, TFilters> | null;
|
|
15
|
+
getKey: (item: TData) => string;
|
|
16
|
+
rowAction?: DataTableRowAction<TData> | null;
|
|
17
|
+
search?: ReturnType<typeof useSearch> | null;
|
|
18
|
+
sort?: ReturnType<typeof useSort<TSort>> | null;
|
|
19
|
+
onNextPage: () => void;
|
|
20
|
+
} & {}> & import("vue").PublicProps;
|
|
21
|
+
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
22
|
+
attrs: any;
|
|
23
|
+
slots: {
|
|
24
|
+
'empty-state'?: (props: {
|
|
25
|
+
activeFilterCounter: number;
|
|
26
|
+
}) => any;
|
|
27
|
+
};
|
|
28
|
+
emit: {};
|
|
29
|
+
}>) => import("vue").VNode & {
|
|
30
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
31
|
+
};
|
|
32
|
+
export default _default;
|
|
33
|
+
type __VLS_PrettifyLocal<T> = {
|
|
34
|
+
[K in keyof T as K]: T[K];
|
|
35
|
+
} & {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
hasInteractiveContent?: boolean;
|
|
3
|
+
isPrimaryCell?: boolean;
|
|
4
|
+
};
|
|
5
|
+
declare var __VLS_7: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_7) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
10
|
+
hasInteractiveContent: boolean;
|
|
11
|
+
isPrimaryCell: boolean;
|
|
12
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare var __VLS_5: {
|
|
2
|
+
activeFilterCount: number;
|
|
3
|
+
};
|
|
4
|
+
type __VLS_Slots = {} & {
|
|
5
|
+
'empty-state'?: (props: typeof __VLS_5) => any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
8
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { useSort } from '@/composables/sort/sort.composable';
|
|
2
|
+
import type { DataTableColumn } from '@/types/table.type';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
column: DataTableColumn<any>;
|
|
5
|
+
sort: ReturnType<typeof useSort> | null;
|
|
6
|
+
};
|
|
7
|
+
declare var __VLS_1: {};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
default?: (props: typeof __VLS_1) => any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ComputedRef } from 'vue';
|
|
2
|
+
import type { useSort } from '@/composables/sort/sort.composable';
|
|
3
|
+
import type { DataTableColumn } from '@/types/table.type';
|
|
4
|
+
interface DataTableContext {
|
|
5
|
+
isEmpty: ComputedRef<boolean>;
|
|
6
|
+
isLoading: ComputedRef<boolean>;
|
|
7
|
+
activeFilterCount: ComputedRef<number>;
|
|
8
|
+
columns: ComputedRef<DataTableColumn<any>[]>;
|
|
9
|
+
gridTemplateColumns: ComputedRef<string>;
|
|
10
|
+
sort: ReturnType<typeof useSort> | null;
|
|
11
|
+
onClear: () => void;
|
|
12
|
+
}
|
|
13
|
+
export declare const useProvideDataTableContext: (context: DataTableContext) => DataTableContext, useInjectDataTableContext: <TFallback extends DataTableContext | null = DataTableContext>(fallback?: TFallback | undefined) => TFallback extends null ? DataTableContext | null : DataTableContext;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ComputedRef } from 'vue';
|
|
2
|
+
import type { useSort } from '@/composables/sort/sort.composable';
|
|
3
|
+
import type { DataTableColumn } from '@/types/table.type';
|
|
4
|
+
interface TableHeaderCellContext {
|
|
5
|
+
column: ComputedRef<DataTableColumn<any>>;
|
|
6
|
+
sort: ReturnType<typeof useSort> | null;
|
|
7
|
+
}
|
|
8
|
+
export declare const useProvideTableHeaderCellContext: (context: TableHeaderCellContext) => TableHeaderCellContext, useInjectTableHeaderCellContext: <TFallback extends TableHeaderCellContext | null = TableHeaderCellContext>(fallback?: TFallback | undefined) => TFallback extends null ? TableHeaderCellContext | null : TableHeaderCellContext;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type z from 'zod';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
error: z.ZodError;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useAuthConfig(): void;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ComputedRef } from 'vue';
|
|
2
|
+
export declare function useContext<TContext>(contextName: string): readonly [(context: TContext) => TContext, <TFallback extends TContext | null = TContext>(fallback?: TFallback) => TFallback extends null ? TContext | null : TContext];
|
|
3
|
+
type IsFunction<T> = T extends (...args: any[]) => any ? true : false;
|
|
4
|
+
export type PropsToComputed<T> = {
|
|
5
|
+
[K in keyof Required<T>]: IsFunction<Exclude<T[K], undefined>> extends true ? T[K] : ComputedRef<Exclude<T[K], undefined>>;
|
|
6
|
+
};
|
|
7
|
+
export declare function toComputedRefs<T>(props: T): PropsToComputed<T>;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { RouteRecordNameGeneric } from 'vue-router';
|
|
2
|
+
import type { BusinessUuid } from '@/models/business/businessUuid.model';
|
|
3
|
+
import type { IndividualUuid } from '@/models/individual/individualUuid.model';
|
|
4
|
+
export declare function useCrm(): {
|
|
5
|
+
goToReturnRoute: () => void;
|
|
6
|
+
openBusinessDetail: (businessUuid: BusinessUuid) => void;
|
|
7
|
+
openIndividualDetail: (individualUuid: IndividualUuid) => void;
|
|
8
|
+
storeReturnRoute: (returnRouteName: RouteRecordNameGeneric) => boolean;
|
|
9
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { Locale } from '@/client';
|
|
2
|
+
import { EntityType } from '@/client';
|
|
3
|
+
import type { CustomFieldDefinitionIndex } from '@/models/custom-field-definition/customFieldDefinitionIndex.model.ts';
|
|
4
|
+
import type { EntityConfig, TenantConfig } from '@/models/tenant-config/tenantConfig.model.ts';
|
|
5
|
+
interface InitProps {
|
|
6
|
+
apiCrmBaseUrl: string;
|
|
7
|
+
getAccessToken: () => Promise<string>;
|
|
8
|
+
googleMapsApiKey: string;
|
|
9
|
+
locale: Locale;
|
|
10
|
+
}
|
|
11
|
+
declare const isCrmInitialized: import("vue").Ref<boolean, boolean>;
|
|
12
|
+
interface UseCrmConfigReturnType {
|
|
13
|
+
isCrmInitialized: typeof isCrmInitialized;
|
|
14
|
+
getConfig: () => TenantConfig | null;
|
|
15
|
+
getConfigForEntity: (entityType: EntityType) => EntityConfig | null;
|
|
16
|
+
getCustomFieldDefinitionForEntity: (entityType: EntityType) => CustomFieldDefinitionIndex[];
|
|
17
|
+
handleTranslation: () => void;
|
|
18
|
+
init: (props: InitProps) => Promise<void>;
|
|
19
|
+
}
|
|
20
|
+
export declare function useCrmConfig(): UseCrmConfigReturnType;
|
|
21
|
+
export { isCrmInitialized };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Temporal } from 'temporal-polyfill';
|
|
2
|
+
export declare function useDateTimeFormat(): {
|
|
3
|
+
toDate: (date: Temporal.PlainDate) => string;
|
|
4
|
+
toDateTime: (datetime: Temporal.ZonedDateTime, withSeconds?: boolean) => string;
|
|
5
|
+
toTime: (instant: Temporal.Instant, withSeconds?: boolean) => string;
|
|
6
|
+
fromNow: (target: Temporal.Instant, now?: Temporal.Instant) => string;
|
|
7
|
+
secondsToDuration: (seconds: number, format?: "long" | "narrow" | "short") => string;
|
|
8
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { EntityType } from '@/client';
|
|
2
|
+
import type { BusinessUuid } from '@/models/business/businessUuid.model';
|
|
3
|
+
import type { IndividualUuid } from '@/models/individual/individualUuid.model';
|
|
4
|
+
export declare function useEntityDetail(): {
|
|
5
|
+
open: (entityType: EntityType, entityUuid: BusinessUuid | IndividualUuid) => void;
|
|
6
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Ref } from 'vue';
|
|
2
|
+
interface Serializer<T> {
|
|
3
|
+
parse: (value: string) => T;
|
|
4
|
+
serialize: (value: T) => string;
|
|
5
|
+
}
|
|
6
|
+
interface UseRouteQueryStateOptions<T> {
|
|
7
|
+
initialState: T;
|
|
8
|
+
key: string;
|
|
9
|
+
serializer: Serializer<T>;
|
|
10
|
+
}
|
|
11
|
+
export declare function useRouteQueryState<T>(options: UseRouteQueryStateOptions<T>): Ref<T>;
|
|
12
|
+
export {};
|