@hb-hellotech/hb-ui 2.1.0 → 2.2.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/App.d.ts +4 -0
- package/dist/App.d.ts.map +1 -0
- package/dist/components/business_comp/file_comp/import_file/src/type.d.ts.map +1 -1
- package/dist/components/business_comp/file_comp/index.d.ts +1 -1
- package/dist/components/business_comp/file_comp/index.d.ts.map +1 -1
- package/dist/components/business_comp/form_comp/hb_tooltip_select/src/type.d.ts +1 -1
- package/dist/components/business_comp/form_comp/hb_tooltip_select/src/type.d.ts.map +1 -1
- package/dist/components/business_comp/form_comp/index.d.ts +1 -1
- package/dist/components/business_comp/form_comp/index.d.ts.map +1 -1
- package/dist/components/business_comp/list_page_comp/hb_form_item_filter_modal/index.d.ts +3 -1
- package/dist/components/business_comp/list_page_comp/hb_form_item_filter_modal/index.d.ts.map +1 -1
- package/dist/components/business_comp/list_page_comp/hb_form_item_filter_modal/src/HbFormItemFilterModal.d.ts +14 -2
- package/dist/components/business_comp/list_page_comp/hb_form_item_filter_modal/src/HbFormItemFilterModal.d.ts.map +1 -1
- package/dist/components/business_comp/list_page_comp/hb_form_item_filter_modal/src/type.d.ts +1 -1
- package/dist/components/business_comp/list_page_comp/hb_form_item_filter_modal/src/type.d.ts.map +1 -1
- package/dist/components/business_comp/list_page_comp/hb_form_select_filter/src/type.d.ts.map +1 -1
- package/dist/components/business_comp/list_page_comp/hb_form_select_modal/src/type.d.ts +1 -1
- package/dist/components/business_comp/list_page_comp/hb_form_select_modal/src/type.d.ts.map +1 -1
- package/dist/components/business_comp/list_page_comp/hb_list_btns_act/index.d.ts +56 -1
- package/dist/components/business_comp/list_page_comp/hb_list_btns_act/index.d.ts.map +1 -1
- package/dist/components/business_comp/list_page_comp/hb_list_btns_act/src/HbListBtns.d.ts +49 -2
- package/dist/components/business_comp/list_page_comp/hb_list_btns_act/src/HbListBtns.d.ts.map +1 -1
- package/dist/components/business_comp/list_page_comp/hb_list_btns_act/src/type.d.ts +1 -1
- package/dist/components/business_comp/list_page_comp/hb_list_btns_act/src/type.d.ts.map +1 -1
- package/dist/components/business_comp/list_page_comp/hb_list_form/src/type.d.ts +2 -2
- package/dist/components/business_comp/list_page_comp/hb_list_form/src/type.d.ts.map +1 -1
- package/dist/components/business_comp/list_page_comp/hb_list_page_act/index.d.ts +26 -1
- package/dist/components/business_comp/list_page_comp/hb_list_page_act/index.d.ts.map +1 -1
- package/dist/components/business_comp/list_page_comp/hb_list_page_act/src/HbListPageAct.d.ts +21 -2
- package/dist/components/business_comp/list_page_comp/hb_list_page_act/src/HbListPageAct.d.ts.map +1 -1
- package/dist/components/business_comp/list_page_comp/hb_list_page_act/src/type.d.ts +1 -1
- package/dist/components/business_comp/list_page_comp/hb_list_page_act/src/type.d.ts.map +1 -1
- package/dist/components/business_comp/list_page_comp/hb_list_page_container/index.d.ts +29 -1
- package/dist/components/business_comp/list_page_comp/hb_list_page_container/index.d.ts.map +1 -1
- package/dist/components/business_comp/list_page_comp/hb_list_page_container/src/HbListPageContainer.d.ts +26 -2
- package/dist/components/business_comp/list_page_comp/hb_list_page_container/src/HbListPageContainer.d.ts.map +1 -1
- package/dist/components/business_comp/list_page_comp/hb_list_page_container/src/type.d.ts +1 -1
- package/dist/components/business_comp/list_page_comp/hb_list_page_container/src/type.d.ts.map +1 -1
- package/dist/components/business_comp/list_page_comp/hb_list_table/index.d.ts +3 -1
- package/dist/components/business_comp/list_page_comp/hb_list_table/index.d.ts.map +1 -1
- package/dist/components/business_comp/list_page_comp/hb_list_table/src/HbListTable.d.ts +75 -2
- package/dist/components/business_comp/list_page_comp/hb_list_table/src/HbListTable.d.ts.map +1 -1
- package/dist/components/business_comp/list_page_comp/hb_list_table/src/type.d.ts +1 -1
- package/dist/components/business_comp/list_page_comp/hb_list_table/src/type.d.ts.map +1 -1
- package/dist/components/business_comp/list_page_comp/hb_list_table_act/src/HbTableAct.d.ts +28 -2
- package/dist/components/business_comp/list_page_comp/hb_list_table_act/src/HbTableAct.d.ts.map +1 -1
- package/dist/components/business_comp/list_page_comp/hb_list_table_act/src/type.d.ts.map +1 -1
- package/dist/components/business_comp/list_page_comp/hb_list_table_colums_set/index.d.ts +64 -1
- package/dist/components/business_comp/list_page_comp/hb_list_table_colums_set/index.d.ts.map +1 -1
- package/dist/components/business_comp/list_page_comp/hb_list_table_colums_set/src/HbTableColumnSet.d.ts +64 -2
- package/dist/components/business_comp/list_page_comp/hb_list_table_colums_set/src/HbTableColumnSet.d.ts.map +1 -1
- package/dist/components/business_comp/list_page_comp/hb_list_table_colums_set/src/type.d.ts.map +1 -1
- package/dist/components/business_comp/list_page_comp/index.d.ts +10 -10
- package/dist/components/business_comp/list_page_comp/index.d.ts.map +1 -1
- package/dist/components/business_comp/modal_comp/index.d.ts +1 -1
- package/dist/components/business_comp/modal_comp/index.d.ts.map +1 -1
- package/dist/components/business_comp/modal_comp/log_modal/index.d.ts +77 -1
- package/dist/components/business_comp/modal_comp/log_modal/index.d.ts.map +1 -1
- package/dist/components/business_comp/modal_comp/log_modal/src/HbLogModal.d.ts +42 -2
- package/dist/components/business_comp/modal_comp/log_modal/src/HbLogModal.d.ts.map +1 -1
- package/dist/components/business_comp/modal_comp/log_modal/src/type.d.ts.map +1 -1
- package/dist/components/business_comp/unlist_page_comp/hb_card/index.d.ts +96 -1
- package/dist/components/business_comp/unlist_page_comp/hb_card/index.d.ts.map +1 -1
- package/dist/components/business_comp/unlist_page_comp/hb_card/src/HbLibCard.d.ts +65 -2
- package/dist/components/business_comp/unlist_page_comp/hb_card/src/HbLibCard.d.ts.map +1 -1
- package/dist/components/business_comp/unlist_page_comp/hb_detail_box/index.d.ts +171 -1
- package/dist/components/business_comp/unlist_page_comp/hb_detail_box/index.d.ts.map +1 -1
- package/dist/components/business_comp/unlist_page_comp/hb_detail_box/src/HbLibDetailBox.d.ts +113 -2
- package/dist/components/business_comp/unlist_page_comp/hb_detail_box/src/HbLibDetailBox.d.ts.map +1 -1
- package/dist/components/business_comp/unlist_page_comp/hb_footer_bar/index.d.ts +52 -1
- package/dist/components/business_comp/unlist_page_comp/hb_footer_bar/index.d.ts.map +1 -1
- package/dist/components/business_comp/unlist_page_comp/hb_footer_bar/src/HbLibFooterBar.d.ts +55 -2
- package/dist/components/business_comp/unlist_page_comp/hb_footer_bar/src/HbLibFooterBar.d.ts.map +1 -1
- package/dist/components/business_comp/unlist_page_comp/hb_hover_anchor/src/HbLibAnchor.d.ts +13 -2
- package/dist/components/business_comp/unlist_page_comp/hb_hover_anchor/src/HbLibAnchor.d.ts.map +1 -1
- package/dist/components/business_comp/unlist_page_comp/hb_page_header/index.d.ts +64 -1
- package/dist/components/business_comp/unlist_page_comp/hb_page_header/index.d.ts.map +1 -1
- package/dist/components/business_comp/unlist_page_comp/hb_page_header/src/HbLibPageHeader.d.ts +45 -2
- package/dist/components/business_comp/unlist_page_comp/hb_page_header/src/HbLibPageHeader.d.ts.map +1 -1
- package/dist/components/business_comp/unlist_page_comp/hb_undetail_box/index.d.ts +81 -1
- package/dist/components/business_comp/unlist_page_comp/hb_undetail_box/index.d.ts.map +1 -1
- package/dist/components/business_comp/unlist_page_comp/hb_undetail_box/src/HbLibUnDetailBox.d.ts +56 -2
- package/dist/components/business_comp/unlist_page_comp/hb_undetail_box/src/HbLibUnDetailBox.d.ts.map +1 -1
- package/dist/components/business_comp/unlist_page_comp/index.d.ts +7 -7
- package/dist/components/business_comp/unlist_page_comp/index.d.ts.map +1 -1
- package/dist/components/business_comp/unlist_page_comp/utils.d.ts +1 -1
- package/dist/components/business_comp/unlist_page_comp/utils.d.ts.map +1 -1
- package/dist/components/func_comp/hb_func_comp_copy/index.d.ts +87 -1
- package/dist/components/func_comp/hb_func_comp_copy/index.d.ts.map +1 -1
- package/dist/components/func_comp/hb_func_comp_copy/src/copy.d.ts +87 -2
- package/dist/components/func_comp/hb_func_comp_copy/src/copy.d.ts.map +1 -1
- package/dist/components/func_comp/hb_func_comp_copy/src/type.d.ts +1 -1
- package/dist/components/func_comp/hb_func_comp_copy/src/type.d.ts.map +1 -1
- package/dist/components/func_comp/hb_func_comp_drag/index.d.ts +190 -1
- package/dist/components/func_comp/hb_func_comp_drag/index.d.ts.map +1 -1
- package/dist/components/func_comp/hb_func_comp_drag/src/index.d.ts +116 -2
- package/dist/components/func_comp/hb_func_comp_drag/src/index.d.ts.map +1 -1
- package/dist/components/func_comp/hb_func_comp_drag/src/type.d.ts +1 -1
- package/dist/components/func_comp/hb_func_comp_drag/src/type.d.ts.map +1 -1
- package/dist/components/func_comp/hb_func_comp_sort/index.d.ts +52 -1
- package/dist/components/func_comp/hb_func_comp_sort/index.d.ts.map +1 -1
- package/dist/components/func_comp/hb_func_comp_sort/src/sort.d.ts +52 -2
- package/dist/components/func_comp/hb_func_comp_sort/src/sort.d.ts.map +1 -1
- package/dist/components/func_comp/hb_func_comp_sort/src/type.d.ts +2 -2
- package/dist/components/func_comp/hb_func_comp_sort/src/type.d.ts.map +1 -1
- package/dist/components/func_comp/hb_func_comp_tree/index.d.ts +89 -0
- package/dist/components/func_comp/hb_func_comp_tree/index.d.ts.map +1 -0
- package/dist/components/func_comp/hb_func_comp_tree/src/tree.d.ts +86 -0
- package/dist/components/func_comp/hb_func_comp_tree/src/tree.d.ts.map +1 -0
- package/dist/components/func_comp/hb_func_comp_tree/src/treeNode.d.ts +27 -0
- package/dist/components/func_comp/hb_func_comp_tree/src/treeNode.d.ts.map +1 -0
- package/dist/components/func_comp/hb_func_file_preview/index.d.ts +103 -0
- package/dist/components/func_comp/hb_func_file_preview/index.d.ts.map +1 -0
- package/dist/components/func_comp/hb_func_file_preview/src/file_preview.d.ts +44 -0
- package/dist/components/func_comp/hb_func_file_preview/src/file_preview.d.ts.map +1 -0
- package/dist/components/func_comp/hb_func_file_preview/src/type.d.ts +10 -0
- package/dist/components/func_comp/hb_func_file_preview/src/type.d.ts.map +1 -0
- package/dist/components/func_comp/hb_func_file_preview/src/util.d.ts +17 -0
- package/dist/components/func_comp/hb_func_file_preview/src/util.d.ts.map +1 -0
- package/dist/components/func_comp/hb_func_loading/index.d.ts +15 -1
- package/dist/components/func_comp/hb_func_loading/index.d.ts.map +1 -1
- package/dist/components/func_comp/hb_func_loading/src/loading.d.ts +15 -2
- package/dist/components/func_comp/hb_func_loading/src/loading.d.ts.map +1 -1
- package/dist/components/func_comp/hb_ui_config/index.d.ts +26 -1
- package/dist/components/func_comp/hb_ui_config/index.d.ts.map +1 -1
- package/dist/components/func_comp/hb_ui_config/src/hbUiConfig.d.ts +22 -2
- package/dist/components/func_comp/hb_ui_config/src/hbUiConfig.d.ts.map +1 -1
- package/dist/components/func_comp/index.d.ts +7 -6
- package/dist/components/func_comp/index.d.ts.map +1 -1
- package/dist/components/hooks/useCalTableHeight.d.ts +2 -1
- package/dist/components/hooks/useCalTableHeight.d.ts.map +1 -1
- package/dist/components/hooks/useCalTableWidth.d.ts +2 -2
- package/dist/components/hooks/useCalTableWidth.d.ts.map +1 -1
- package/dist/components/hooks/useFilePreview.d.ts +27 -0
- package/dist/components/hooks/useFilePreview.d.ts.map +1 -0
- package/dist/components/hooks/useListFormItem.d.ts +9 -0
- package/dist/components/hooks/useListFormItem.d.ts.map +1 -0
- package/dist/components/hooks/useModalDrag.d.ts +7 -0
- package/dist/components/hooks/useModalDrag.d.ts.map +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/type.d.ts +16 -0
- package/dist/components/type.d.ts.map +1 -0
- package/dist/components/utils/createBem.d.ts.map +1 -1
- package/dist/components/utils/directives/click_outside/index.d.ts +1 -1
- package/dist/components/utils/directives/click_outside/index.d.ts.map +1 -1
- package/dist/components/utils/directives/debounce_click/index.d.ts +1 -7
- package/dist/components/utils/directives/debounce_click/index.d.ts.map +1 -1
- package/dist/components/utils/directives/index.d.ts +11 -3
- package/dist/components/utils/directives/index.d.ts.map +1 -1
- package/dist/components/utils/directives/v_copy/index.d.ts +1 -0
- package/dist/components/utils/directives/v_copy/index.d.ts.map +1 -1
- package/dist/components/utils/triggerBrowserDownload.d.ts +6 -0
- package/dist/components/utils/triggerBrowserDownload.d.ts.map +1 -0
- package/dist/components/utils/util.d.ts +44 -0
- package/dist/components/utils/util.d.ts.map +1 -0
- package/dist/components/utils/withInstall.d.ts +1 -1
- package/dist/components/utils/withInstall.d.ts.map +1 -1
- package/dist/config/index.d.ts.map +1 -1
- package/dist/demo/FormItemSave.d.ts +4 -0
- package/dist/demo/FormItemSave.d.ts.map +1 -0
- package/dist/demo/HbImportFile.d.ts +6 -0
- package/dist/demo/HbImportFile.d.ts.map +1 -0
- package/dist/demo/HbLibCard.d.ts +4 -0
- package/dist/demo/HbLibCard.d.ts.map +1 -0
- package/dist/demo/HbLibDetailBox.d.ts +4 -0
- package/dist/demo/HbLibDetailBox.d.ts.map +1 -0
- package/dist/demo/HbLogModal.d.ts +16 -0
- package/dist/demo/HbLogModal.d.ts.map +1 -0
- package/dist/demo/HbModal.d.ts +4 -0
- package/dist/demo/HbModal.d.ts.map +1 -0
- package/dist/demo/HbTooltipSelect.d.ts +4 -0
- package/dist/demo/HbTooltipSelect.d.ts.map +1 -0
- package/dist/demo/HbUnDetailBox.d.ts +6 -0
- package/dist/demo/HbUnDetailBox.d.ts.map +1 -0
- package/dist/demo/Table.d.ts +4 -0
- package/dist/demo/Table.d.ts.map +1 -0
- package/dist/demo/Test.d.ts +20 -0
- package/dist/demo/Test.d.ts.map +1 -0
- package/dist/demo/hb_file_preview.d.ts +4 -0
- package/dist/demo/hb_file_preview.d.ts.map +1 -0
- package/dist/hb_component_lib.css +1 -1
- package/dist/hb_component_lib.js +2398 -1963
- package/dist/hb_component_lib.umd.cjs +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/main.d.ts +407 -0
- package/dist/main.d.ts.map +1 -0
- package/package.json +4 -3
- package/dist/components/business_comp/file_comp/import_file/index.d.ts +0 -6
- package/dist/components/business_comp/file_comp/import_file/index.d.ts.map +0 -1
- package/dist/components/business_comp/file_comp/import_file/src/HbImportFile.d.ts +0 -3
- package/dist/components/business_comp/file_comp/import_file/src/HbImportFile.d.ts.map +0 -1
- package/dist/components/business_comp/form_comp/hb_tooltip_select/index.d.ts +0 -5
- package/dist/components/business_comp/form_comp/hb_tooltip_select/index.d.ts.map +0 -1
- package/dist/components/business_comp/form_comp/hb_tooltip_select/src/HbTooltipSelect.d.ts +0 -3
- package/dist/components/business_comp/form_comp/hb_tooltip_select/src/HbTooltipSelect.d.ts.map +0 -1
- package/dist/components/business_comp/list_page_comp/hb_form_select_filter/index.d.ts +0 -5
- package/dist/components/business_comp/list_page_comp/hb_form_select_filter/index.d.ts.map +0 -1
- package/dist/components/business_comp/list_page_comp/hb_form_select_filter/src/HbListMultiSelect.d.ts +0 -3
- package/dist/components/business_comp/list_page_comp/hb_form_select_filter/src/HbListMultiSelect.d.ts.map +0 -1
- package/dist/components/business_comp/list_page_comp/hb_form_select_modal/index.d.ts +0 -5
- package/dist/components/business_comp/list_page_comp/hb_form_select_modal/index.d.ts.map +0 -1
- package/dist/components/business_comp/list_page_comp/hb_form_select_modal/src/HbMutilpleSelectModal.d.ts +0 -3
- package/dist/components/business_comp/list_page_comp/hb_form_select_modal/src/HbMutilpleSelectModal.d.ts.map +0 -1
- package/dist/components/business_comp/list_page_comp/hb_list_form/index.d.ts +0 -5
- package/dist/components/business_comp/list_page_comp/hb_list_form/index.d.ts.map +0 -1
- package/dist/components/business_comp/list_page_comp/hb_list_form/src/HbListForm.d.ts +0 -3
- package/dist/components/business_comp/list_page_comp/hb_list_form/src/HbListForm.d.ts.map +0 -1
- package/dist/components/business_comp/list_page_comp/hb_list_table_act/index.d.ts +0 -5
- package/dist/components/business_comp/list_page_comp/hb_list_table_act/index.d.ts.map +0 -1
- package/dist/components/business_comp/unlist_page_comp/hb_hover_anchor/index.d.ts +0 -3
- package/dist/components/business_comp/unlist_page_comp/hb_hover_anchor/index.d.ts.map +0 -1
- package/dist/components/business_comp/unlist_page_comp/hb_modal/index.d.ts +0 -3
- package/dist/components/business_comp/unlist_page_comp/hb_modal/index.d.ts.map +0 -1
- package/dist/components/business_comp/unlist_page_comp/hb_modal/src/HbLibModal.d.ts +0 -3
- package/dist/components/business_comp/unlist_page_comp/hb_modal/src/HbLibModal.d.ts.map +0 -1
- package/dist/components.d.ts +0 -20
- package/dist/shims-vue.d.ts +0 -9
- package/dist/vite-env.d.ts +0 -35
|
@@ -1,5 +1,56 @@
|
|
|
1
|
+
import { WithInstall } from '../../utils/withInstall';
|
|
2
|
+
import { DefineComponent, ExtractPropTypes, PropType, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
import { SortItem } from '.';
|
|
1
4
|
export * from './src/type';
|
|
2
|
-
declare const HbLibSort:
|
|
5
|
+
declare const HbLibSort: WithInstall<DefineComponent<ExtractPropTypes<{
|
|
6
|
+
readonly triggerWay: {
|
|
7
|
+
readonly type: PropType<"click" | "hover">;
|
|
8
|
+
readonly default: "click";
|
|
9
|
+
};
|
|
10
|
+
readonly colText: {
|
|
11
|
+
readonly type: StringConstructor;
|
|
12
|
+
readonly default: "";
|
|
13
|
+
};
|
|
14
|
+
readonly menuItems: {
|
|
15
|
+
readonly type: PropType< SortItem[]>;
|
|
16
|
+
readonly default: () => never[];
|
|
17
|
+
};
|
|
18
|
+
readonly getSort: {
|
|
19
|
+
readonly type: PropType<(currentSort: {
|
|
20
|
+
orderFeild: string;
|
|
21
|
+
orderBy: "Asc" | "Desc" | "" | undefined;
|
|
22
|
+
}) => void>;
|
|
23
|
+
};
|
|
24
|
+
}>, {
|
|
25
|
+
currentActiveItem: Ref<string, string>;
|
|
26
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
27
|
+
change: (...args: any[]) => void;
|
|
28
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
29
|
+
readonly triggerWay: {
|
|
30
|
+
readonly type: PropType<"click" | "hover">;
|
|
31
|
+
readonly default: "click";
|
|
32
|
+
};
|
|
33
|
+
readonly colText: {
|
|
34
|
+
readonly type: StringConstructor;
|
|
35
|
+
readonly default: "";
|
|
36
|
+
};
|
|
37
|
+
readonly menuItems: {
|
|
38
|
+
readonly type: PropType< SortItem[]>;
|
|
39
|
+
readonly default: () => never[];
|
|
40
|
+
};
|
|
41
|
+
readonly getSort: {
|
|
42
|
+
readonly type: PropType<(currentSort: {
|
|
43
|
+
orderFeild: string;
|
|
44
|
+
orderBy: "Asc" | "Desc" | "" | undefined;
|
|
45
|
+
}) => void>;
|
|
46
|
+
};
|
|
47
|
+
}>> & Readonly<{
|
|
48
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
49
|
+
}>, {
|
|
50
|
+
readonly triggerWay: "click" | "hover";
|
|
51
|
+
readonly colText: string;
|
|
52
|
+
readonly menuItems: SortItem[];
|
|
53
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>>;
|
|
3
54
|
export default HbLibSort;
|
|
4
55
|
export type SortInstance = InstanceType<typeof HbLibSort>;
|
|
5
56
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAEA,cAAc,YAAY,CAAC;AAE3B,QAAA,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/func_comp/hb_func_comp_sort/index.ts"],"names":[],"mappings":";;;AAEA,cAAc,YAAY,CAAC;AAE3B,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6EAAoB,CAAC;AAEpC,eAAe,SAAS,CAAC;AAEzB,MAAM,MAAM,YAAY,GAAG,YAAY,CAAC,OAAO,SAAS,CAAC,CAAC"}
|
|
@@ -1,3 +1,53 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { PropType, DefineComponent, ExtractPropTypes, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
import { SortItem } from './type';
|
|
3
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
4
|
+
readonly triggerWay: {
|
|
5
|
+
readonly type: PropType<"click" | "hover">;
|
|
6
|
+
readonly default: "click";
|
|
7
|
+
};
|
|
8
|
+
readonly colText: {
|
|
9
|
+
readonly type: StringConstructor;
|
|
10
|
+
readonly default: "";
|
|
11
|
+
};
|
|
12
|
+
readonly menuItems: {
|
|
13
|
+
readonly type: PropType<SortItem[]>;
|
|
14
|
+
readonly default: () => never[];
|
|
15
|
+
};
|
|
16
|
+
readonly getSort: {
|
|
17
|
+
readonly type: PropType<(currentSort: {
|
|
18
|
+
orderFeild: string;
|
|
19
|
+
orderBy: "Asc" | "Desc" | "" | undefined;
|
|
20
|
+
}) => void>;
|
|
21
|
+
};
|
|
22
|
+
}>, {
|
|
23
|
+
currentActiveItem: Ref<string, string>;
|
|
24
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
25
|
+
change: (...args: any[]) => void;
|
|
26
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
27
|
+
readonly triggerWay: {
|
|
28
|
+
readonly type: PropType<"click" | "hover">;
|
|
29
|
+
readonly default: "click";
|
|
30
|
+
};
|
|
31
|
+
readonly colText: {
|
|
32
|
+
readonly type: StringConstructor;
|
|
33
|
+
readonly default: "";
|
|
34
|
+
};
|
|
35
|
+
readonly menuItems: {
|
|
36
|
+
readonly type: PropType<SortItem[]>;
|
|
37
|
+
readonly default: () => never[];
|
|
38
|
+
};
|
|
39
|
+
readonly getSort: {
|
|
40
|
+
readonly type: PropType<(currentSort: {
|
|
41
|
+
orderFeild: string;
|
|
42
|
+
orderBy: "Asc" | "Desc" | "" | undefined;
|
|
43
|
+
}) => void>;
|
|
44
|
+
};
|
|
45
|
+
}>> & Readonly<{
|
|
46
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
47
|
+
}>, {
|
|
48
|
+
readonly triggerWay: "click" | "hover";
|
|
49
|
+
readonly colText: string;
|
|
50
|
+
readonly menuItems: SortItem[];
|
|
51
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
52
|
+
export default _default;
|
|
3
53
|
//# sourceMappingURL=sort.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sort.vue.d.ts","sourceRoot":"","sources":["sort.vue
|
|
1
|
+
{"version":3,"file":"sort.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/func_comp/hb_func_comp_sort/src/sort.vue"],"names":[],"mappings":"AAiCA;AA8FA,OAAO,EAAO,KAAK,QAAQ,EAAS,MAAM,KAAK,CAAC;AAEhD,OAAO,EAAe,QAAQ,EAAE,MAAM,QAAQ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0J/C,wBASG"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
export interface SortItem {
|
|
3
3
|
label: string;
|
|
4
4
|
value: string;
|
|
@@ -20,7 +20,7 @@ export declare const HbSortProps: {
|
|
|
20
20
|
readonly getSort: {
|
|
21
21
|
readonly type: PropType<(currentSort: {
|
|
22
22
|
orderFeild: string;
|
|
23
|
-
orderBy:
|
|
23
|
+
orderBy: "Asc" | "Desc" | "" | undefined;
|
|
24
24
|
}) => void>;
|
|
25
25
|
};
|
|
26
26
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../../src/components/func_comp/hb_func_comp_sort/src/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;AACtD,MAAM,WAAW,QAAQ;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,EAAE,CAAC;CAC5B;AAED,eAAO,MAAM,WAAW;;uBAEJ,QAAQ,CAAC,OAAO,GAAG,OAAO,CAAC;;;;;;;;uBAQ5B,QAAQ,CAAC,QAAQ,EAAE,CAAC;;;;uBAIjB,QAAQ,CAAC,CAAC,WAAW,EAAE;YAAE,UAAU,EAAE,MAAM,CAAC;YAAC,OAAO,EAAE,KAAK,GAAG,MAAM,GAAG,EAAE,GAAG,SAAS,CAAA;SAAE,KAAK,IAAI,CAAC;;CAE7G,CAAC;AAEX,MAAM,WAAW,gBAAgB;IAE/B,UAAU,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IAE/B,OAAO,EAAE,MAAM,CAAC;IAEhB,SAAS,EAAE,QAAQ,EAAE,CAAC;IAEtB,OAAO,CAAC,EAAE,CAAC,WAAW,EAAE;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,KAAK,GAAG,MAAM,GAAG,EAAE,GAAG,SAAS,CAAA;KAAE,KAAK,IAAI,CAAC;CACnG;AACD,MAAM,MAAM,eAAe,GAAG,gBAAgB,CAAC,OAAO,WAAW,CAAC,CAAC"}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { WithInstall } from '../../utils/withInstall';
|
|
2
|
+
import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
import { TreeOptions, Key } from '.';
|
|
4
|
+
export * from './src/tree';
|
|
5
|
+
declare const HbTree: WithInstall<DefineComponent<ExtractPropTypes<{
|
|
6
|
+
readonly data: {
|
|
7
|
+
readonly type: PropType< TreeOptions[]>;
|
|
8
|
+
readonly required: true;
|
|
9
|
+
};
|
|
10
|
+
readonly modelValue: {
|
|
11
|
+
readonly type: ArrayConstructor;
|
|
12
|
+
readonly default: () => never[];
|
|
13
|
+
};
|
|
14
|
+
readonly labelKey: {
|
|
15
|
+
readonly type: StringConstructor;
|
|
16
|
+
readonly default: "label";
|
|
17
|
+
};
|
|
18
|
+
readonly keyKey: {
|
|
19
|
+
readonly type: StringConstructor;
|
|
20
|
+
readonly default: "key";
|
|
21
|
+
};
|
|
22
|
+
readonly childrenKey: {
|
|
23
|
+
readonly type: StringConstructor;
|
|
24
|
+
readonly default: "children";
|
|
25
|
+
};
|
|
26
|
+
readonly defaultExpandKeys: {
|
|
27
|
+
readonly type: PropType< Key[]>;
|
|
28
|
+
readonly default: () => never[];
|
|
29
|
+
};
|
|
30
|
+
readonly multiple: {
|
|
31
|
+
readonly type: BooleanConstructor;
|
|
32
|
+
readonly default: false;
|
|
33
|
+
};
|
|
34
|
+
readonly remote: {
|
|
35
|
+
readonly type: BooleanConstructor;
|
|
36
|
+
readonly default: false;
|
|
37
|
+
};
|
|
38
|
+
readonly clickToSelect: {
|
|
39
|
+
readonly type: BooleanConstructor;
|
|
40
|
+
};
|
|
41
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
42
|
+
readonly data: {
|
|
43
|
+
readonly type: PropType< TreeOptions[]>;
|
|
44
|
+
readonly required: true;
|
|
45
|
+
};
|
|
46
|
+
readonly modelValue: {
|
|
47
|
+
readonly type: ArrayConstructor;
|
|
48
|
+
readonly default: () => never[];
|
|
49
|
+
};
|
|
50
|
+
readonly labelKey: {
|
|
51
|
+
readonly type: StringConstructor;
|
|
52
|
+
readonly default: "label";
|
|
53
|
+
};
|
|
54
|
+
readonly keyKey: {
|
|
55
|
+
readonly type: StringConstructor;
|
|
56
|
+
readonly default: "key";
|
|
57
|
+
};
|
|
58
|
+
readonly childrenKey: {
|
|
59
|
+
readonly type: StringConstructor;
|
|
60
|
+
readonly default: "children";
|
|
61
|
+
};
|
|
62
|
+
readonly defaultExpandKeys: {
|
|
63
|
+
readonly type: PropType< Key[]>;
|
|
64
|
+
readonly default: () => never[];
|
|
65
|
+
};
|
|
66
|
+
readonly multiple: {
|
|
67
|
+
readonly type: BooleanConstructor;
|
|
68
|
+
readonly default: false;
|
|
69
|
+
};
|
|
70
|
+
readonly remote: {
|
|
71
|
+
readonly type: BooleanConstructor;
|
|
72
|
+
readonly default: false;
|
|
73
|
+
};
|
|
74
|
+
readonly clickToSelect: {
|
|
75
|
+
readonly type: BooleanConstructor;
|
|
76
|
+
};
|
|
77
|
+
}>> & Readonly<{}>, {
|
|
78
|
+
readonly multiple: boolean;
|
|
79
|
+
readonly modelValue: unknown[];
|
|
80
|
+
readonly labelKey: string;
|
|
81
|
+
readonly keyKey: string;
|
|
82
|
+
readonly childrenKey: string;
|
|
83
|
+
readonly defaultExpandKeys: Key[];
|
|
84
|
+
readonly remote: boolean;
|
|
85
|
+
readonly clickToSelect: boolean;
|
|
86
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>>;
|
|
87
|
+
export default HbTree;
|
|
88
|
+
export type TreeInstance = InstanceType<typeof HbTree>;
|
|
89
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/func_comp/hb_func_comp_tree/index.ts"],"names":[],"mappings":";;;AAIA,cAAc,YAAY,CAAC;AAI3B,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wFAAoB,CAAC;AAEjC,eAAe,MAAM,CAAC;AAEtB,MAAM,MAAM,YAAY,GAAG,YAAY,CAAC,OAAO,MAAM,CAAC,CAAC"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { Key, TreeOptions } from './tree';
|
|
2
|
+
import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
4
|
+
readonly data: {
|
|
5
|
+
readonly type: PropType<TreeOptions[]>;
|
|
6
|
+
readonly required: true;
|
|
7
|
+
};
|
|
8
|
+
readonly modelValue: {
|
|
9
|
+
readonly type: ArrayConstructor;
|
|
10
|
+
readonly default: () => never[];
|
|
11
|
+
};
|
|
12
|
+
readonly labelKey: {
|
|
13
|
+
readonly type: StringConstructor;
|
|
14
|
+
readonly default: "label";
|
|
15
|
+
};
|
|
16
|
+
readonly keyKey: {
|
|
17
|
+
readonly type: StringConstructor;
|
|
18
|
+
readonly default: "key";
|
|
19
|
+
};
|
|
20
|
+
readonly childrenKey: {
|
|
21
|
+
readonly type: StringConstructor;
|
|
22
|
+
readonly default: "children";
|
|
23
|
+
};
|
|
24
|
+
readonly defaultExpandKeys: {
|
|
25
|
+
readonly type: PropType<Key[]>;
|
|
26
|
+
readonly default: () => never[];
|
|
27
|
+
};
|
|
28
|
+
readonly multiple: {
|
|
29
|
+
readonly type: BooleanConstructor;
|
|
30
|
+
readonly default: false;
|
|
31
|
+
};
|
|
32
|
+
readonly remote: {
|
|
33
|
+
readonly type: BooleanConstructor;
|
|
34
|
+
readonly default: false;
|
|
35
|
+
};
|
|
36
|
+
readonly clickToSelect: {
|
|
37
|
+
readonly type: BooleanConstructor;
|
|
38
|
+
};
|
|
39
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
40
|
+
readonly data: {
|
|
41
|
+
readonly type: PropType<TreeOptions[]>;
|
|
42
|
+
readonly required: true;
|
|
43
|
+
};
|
|
44
|
+
readonly modelValue: {
|
|
45
|
+
readonly type: ArrayConstructor;
|
|
46
|
+
readonly default: () => never[];
|
|
47
|
+
};
|
|
48
|
+
readonly labelKey: {
|
|
49
|
+
readonly type: StringConstructor;
|
|
50
|
+
readonly default: "label";
|
|
51
|
+
};
|
|
52
|
+
readonly keyKey: {
|
|
53
|
+
readonly type: StringConstructor;
|
|
54
|
+
readonly default: "key";
|
|
55
|
+
};
|
|
56
|
+
readonly childrenKey: {
|
|
57
|
+
readonly type: StringConstructor;
|
|
58
|
+
readonly default: "children";
|
|
59
|
+
};
|
|
60
|
+
readonly defaultExpandKeys: {
|
|
61
|
+
readonly type: PropType<Key[]>;
|
|
62
|
+
readonly default: () => never[];
|
|
63
|
+
};
|
|
64
|
+
readonly multiple: {
|
|
65
|
+
readonly type: BooleanConstructor;
|
|
66
|
+
readonly default: false;
|
|
67
|
+
};
|
|
68
|
+
readonly remote: {
|
|
69
|
+
readonly type: BooleanConstructor;
|
|
70
|
+
readonly default: false;
|
|
71
|
+
};
|
|
72
|
+
readonly clickToSelect: {
|
|
73
|
+
readonly type: BooleanConstructor;
|
|
74
|
+
};
|
|
75
|
+
}>> & Readonly<{}>, {
|
|
76
|
+
readonly multiple: boolean;
|
|
77
|
+
readonly modelValue: unknown[];
|
|
78
|
+
readonly labelKey: string;
|
|
79
|
+
readonly keyKey: string;
|
|
80
|
+
readonly childrenKey: string;
|
|
81
|
+
readonly defaultExpandKeys: Key[];
|
|
82
|
+
readonly remote: boolean;
|
|
83
|
+
readonly clickToSelect: boolean;
|
|
84
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
85
|
+
export default _default;
|
|
86
|
+
//# sourceMappingURL=tree.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tree.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/func_comp/hb_func_comp_tree/src/tree.vue"],"names":[],"mappings":";AAiHA,OAAO,EAAc,GAAG,EAAa,WAAW,EAAE,MAAM,QAAQ,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqKhE,wBAOG"}AA;IACX,GAAG,CAAC,EAAE,GAAG,CAAA;IACT,QAAQ,CAAC,EAAE,WAAW,EAAE,CAAA;IACxB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CACvB;AAGD,MAAM,WAAW,SAAU,SAAQ,QAAQ,CAAC,WAAW,CAAC;IACtD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,SAAS,CAAC,EAAE,GAAG,GAAG,IAAI,CAAA;IACtB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,UAAU,CAAC,EAAE,WAAW,CAAA;CACzB;AACD,eAAO,MAAM,UAAU;;uBAGJ,QAAQ,CAAC,WAAW,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;uBAwBvB,QAAQ,CAAC,GAAG,EAAE,CAAC;;;;;;;;;;;;;;CAsBxB,CAAA;AAEV,MAAM,MAAM,SAAS,GAAG,OAAO,CAAC,gBAAgB,CAAC,OAAO,UAAU,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { PropType, DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
import { TreeNodes } from './tree';
|
|
3
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
4
|
+
item: {
|
|
5
|
+
type: PropType<TreeNodes>;
|
|
6
|
+
default(): {};
|
|
7
|
+
};
|
|
8
|
+
expandedKeys: {
|
|
9
|
+
type: PropType<Set<string | number>>;
|
|
10
|
+
};
|
|
11
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
12
|
+
toggleExpand: (...args: any[]) => void;
|
|
13
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
14
|
+
item: {
|
|
15
|
+
type: PropType<TreeNodes>;
|
|
16
|
+
default(): {};
|
|
17
|
+
};
|
|
18
|
+
expandedKeys: {
|
|
19
|
+
type: PropType<Set<string | number>>;
|
|
20
|
+
};
|
|
21
|
+
}>> & Readonly<{
|
|
22
|
+
onToggleExpand?: ((...args: any[]) => any) | undefined;
|
|
23
|
+
}>, {
|
|
24
|
+
item: TreeNodes;
|
|
25
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
26
|
+
export default _default;
|
|
27
|
+
//# sourceMappingURL=treeNode.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"treeNode.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/func_comp/hb_func_comp_tree/src/treeNode.vue"],"names":[],"mappings":"AA6CA,OAAO,EAAY,QAAQ,EAAE,MAAM,KAAK,CAAA;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAA;;;cAiGd,QAAQ,CAAC,SAAS,CAAC;;;;cAMnB,QAAQ,CAAC,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;;;;;;cAN9B,QAAQ,CAAC,SAAS,CAAC;;;;cAMnB,QAAQ,CAAC,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;;;;;;;AAdlD,wBAkBG"}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { WithInstall } from '../../utils/withInstall';
|
|
2
|
+
import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue';
|
|
3
|
+
export * from './src/type';
|
|
4
|
+
declare const HbFilePreview: WithInstall<{
|
|
5
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
|
|
6
|
+
$emit: (event: "closeModal" | "prevAttachment" | "nextAttachment", ...args: any[]) => void;
|
|
7
|
+
url: string;
|
|
8
|
+
file: File;
|
|
9
|
+
fileName: string;
|
|
10
|
+
mobile: boolean;
|
|
11
|
+
previewVisible: boolean;
|
|
12
|
+
showAttachmentNav: boolean;
|
|
13
|
+
hasPrevAttachment: boolean;
|
|
14
|
+
hasNextAttachment: boolean;
|
|
15
|
+
isTitleTip: boolean;
|
|
16
|
+
titleTip: string;
|
|
17
|
+
needModal: boolean;
|
|
18
|
+
$props: {
|
|
19
|
+
readonly url?: string | undefined;
|
|
20
|
+
readonly file?: File | undefined;
|
|
21
|
+
readonly fileName?: string | undefined;
|
|
22
|
+
readonly mobile?: boolean | undefined;
|
|
23
|
+
readonly previewVisible?: boolean | undefined;
|
|
24
|
+
readonly showAttachmentNav?: boolean | undefined;
|
|
25
|
+
readonly hasPrevAttachment?: boolean | undefined;
|
|
26
|
+
readonly hasNextAttachment?: boolean | undefined;
|
|
27
|
+
readonly isTitleTip?: boolean | undefined;
|
|
28
|
+
readonly titleTip?: string | undefined;
|
|
29
|
+
readonly needModal?: boolean | undefined;
|
|
30
|
+
};
|
|
31
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
32
|
+
P: {};
|
|
33
|
+
B: {};
|
|
34
|
+
D: {};
|
|
35
|
+
C: {};
|
|
36
|
+
M: {};
|
|
37
|
+
Defaults: {};
|
|
38
|
+
}, Readonly<{}> & Readonly<{}>, {
|
|
39
|
+
$emit: (event: "closeModal" | "prevAttachment" | "nextAttachment", ...args: any[]) => void;
|
|
40
|
+
url: string;
|
|
41
|
+
file: File;
|
|
42
|
+
fileName: string;
|
|
43
|
+
mobile: boolean;
|
|
44
|
+
previewVisible: boolean;
|
|
45
|
+
showAttachmentNav: boolean;
|
|
46
|
+
hasPrevAttachment: boolean;
|
|
47
|
+
hasNextAttachment: boolean;
|
|
48
|
+
isTitleTip: boolean;
|
|
49
|
+
titleTip: string;
|
|
50
|
+
needModal: boolean;
|
|
51
|
+
$props: {
|
|
52
|
+
readonly url?: string | undefined;
|
|
53
|
+
readonly file?: File | undefined;
|
|
54
|
+
readonly fileName?: string | undefined;
|
|
55
|
+
readonly mobile?: boolean | undefined;
|
|
56
|
+
readonly previewVisible?: boolean | undefined;
|
|
57
|
+
readonly showAttachmentNav?: boolean | undefined;
|
|
58
|
+
readonly hasPrevAttachment?: boolean | undefined;
|
|
59
|
+
readonly hasNextAttachment?: boolean | undefined;
|
|
60
|
+
readonly isTitleTip?: boolean | undefined;
|
|
61
|
+
readonly titleTip?: string | undefined;
|
|
62
|
+
readonly needModal?: boolean | undefined;
|
|
63
|
+
};
|
|
64
|
+
}, {}, {}, {}, {}>;
|
|
65
|
+
__isFragment?: never;
|
|
66
|
+
__isTeleport?: never;
|
|
67
|
+
__isSuspense?: never;
|
|
68
|
+
} & ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {
|
|
69
|
+
$emit: (event: "closeModal" | "prevAttachment" | "nextAttachment", ...args: any[]) => void;
|
|
70
|
+
url: string;
|
|
71
|
+
file: File;
|
|
72
|
+
fileName: string;
|
|
73
|
+
mobile: boolean;
|
|
74
|
+
previewVisible: boolean;
|
|
75
|
+
showAttachmentNav: boolean;
|
|
76
|
+
hasPrevAttachment: boolean;
|
|
77
|
+
hasNextAttachment: boolean;
|
|
78
|
+
isTitleTip: boolean;
|
|
79
|
+
titleTip: string;
|
|
80
|
+
needModal: boolean;
|
|
81
|
+
$props: {
|
|
82
|
+
readonly url?: string | undefined;
|
|
83
|
+
readonly file?: File | undefined;
|
|
84
|
+
readonly fileName?: string | undefined;
|
|
85
|
+
readonly mobile?: boolean | undefined;
|
|
86
|
+
readonly previewVisible?: boolean | undefined;
|
|
87
|
+
readonly showAttachmentNav?: boolean | undefined;
|
|
88
|
+
readonly hasPrevAttachment?: boolean | undefined;
|
|
89
|
+
readonly hasNextAttachment?: boolean | undefined;
|
|
90
|
+
readonly isTitleTip?: boolean | undefined;
|
|
91
|
+
readonly titleTip?: string | undefined;
|
|
92
|
+
readonly needModal?: boolean | undefined;
|
|
93
|
+
};
|
|
94
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
95
|
+
$slots: {
|
|
96
|
+
title?(_: {}): any;
|
|
97
|
+
footer?(_: {}): any;
|
|
98
|
+
footer?(_: {}): any;
|
|
99
|
+
};
|
|
100
|
+
})>;
|
|
101
|
+
export default HbFilePreview;
|
|
102
|
+
export type HbFilePreviewInstance = InstanceType<typeof HbFilePreview>;
|
|
103
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/func_comp/hb_func_file_preview/index.ts"],"names":[],"mappings":";;AAGA,cAAc,YAAY,CAAC;AAC3B,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA2B,CAAC;AAE/C,eAAe,aAAa,CAAC;AAE7B,MAAM,MAAM,qBAAqB,GAAG,YAAY,CAAC,OAAO,aAAa,CAAC,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
3
|
+
export default _default;
|
|
4
|
+
type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
5
|
+
$slots: S;
|
|
6
|
+
});
|
|
7
|
+
declare const __VLS_component: DefineComponent<{}, {
|
|
8
|
+
$emit: (event: "closeModal" | "prevAttachment" | "nextAttachment", ...args: any[]) => void;
|
|
9
|
+
url: string;
|
|
10
|
+
file: File;
|
|
11
|
+
fileName: string;
|
|
12
|
+
mobile: boolean;
|
|
13
|
+
previewVisible: boolean;
|
|
14
|
+
showAttachmentNav: boolean;
|
|
15
|
+
hasPrevAttachment: boolean;
|
|
16
|
+
hasNextAttachment: boolean;
|
|
17
|
+
isTitleTip: boolean;
|
|
18
|
+
titleTip: string;
|
|
19
|
+
needModal: boolean;
|
|
20
|
+
$props: {
|
|
21
|
+
readonly url?: string | undefined;
|
|
22
|
+
readonly file?: File | undefined;
|
|
23
|
+
readonly fileName?: string | undefined;
|
|
24
|
+
readonly mobile?: boolean | undefined;
|
|
25
|
+
readonly previewVisible?: boolean | undefined;
|
|
26
|
+
readonly showAttachmentNav?: boolean | undefined;
|
|
27
|
+
readonly hasPrevAttachment?: boolean | undefined;
|
|
28
|
+
readonly hasNextAttachment?: boolean | undefined;
|
|
29
|
+
readonly isTitleTip?: boolean | undefined;
|
|
30
|
+
readonly titleTip?: string | undefined;
|
|
31
|
+
readonly needModal?: boolean | undefined;
|
|
32
|
+
};
|
|
33
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
34
|
+
type __VLS_TemplateResult = {
|
|
35
|
+
attrs: Partial<{}>;
|
|
36
|
+
slots: {
|
|
37
|
+
title?(_: {}): any;
|
|
38
|
+
footer?(_: {}): any;
|
|
39
|
+
footer?(_: {}): any;
|
|
40
|
+
};
|
|
41
|
+
refs: {};
|
|
42
|
+
rootEl: any;
|
|
43
|
+
};
|
|
44
|
+
//# sourceMappingURL=file_preview.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file_preview.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/func_comp/hb_func_file_preview/src/file_preview.vue"],"names":[],"mappings":";AAkKA;wBA4qCqB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;;6BAEtE,CAAC,EAAE,CAAC;;;AAXjC;;;;;;;;;;;;;;;;;;;;;;;;;;2OAQG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../../src/components/func_comp/hb_func_file_preview/src/type.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAE9B,QAAQ,EAAE,MAAM,CAAC;IAEjB,UAAU,EAAE,MAAM,CAAC;IAEnB,WAAW,EAAE,MAAM,CAAC;IAEpB,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { HbFileItem_Intf } from './type';
|
|
2
|
+
/** 可从文件名或完整 URL 解析扩展名(忽略 ?# 后参数) */
|
|
3
|
+
export declare const getFileExtensionFromName: (nameOrUrl: string) => string;
|
|
4
|
+
/** 是否为可内嵌预览的图片类型(依据文件名或 URL) */
|
|
5
|
+
export declare const isAttachmentImagePreview: (fileNameOrUrl: string) => boolean;
|
|
6
|
+
/** 供应商附件:仅 PDF 与常见图片支持内嵌预览 */
|
|
7
|
+
export declare const isAttachmentPreviewable: (fileName: string) => boolean;
|
|
8
|
+
export declare const getAttachmentDownloadUrl: <T extends HbFileItem_Intf>(row: T) => string;
|
|
9
|
+
/**
|
|
10
|
+
* @desc 在 `attachmentInfos` 中定位被点击的附件下标。
|
|
11
|
+
* 仅依赖 fileUuid 会在接口缺省、全空或重复时始终命中第一项,需结合列表下标与预览/下载地址兜底。
|
|
12
|
+
*/
|
|
13
|
+
export declare const resolveAttachmentIndexInList: <T extends HbFileItem_Intf>(list: T[], item: T, options?: {
|
|
14
|
+
/** 列表 v-for 下标,优先使用 */
|
|
15
|
+
preferredIndex?: number;
|
|
16
|
+
}) => number;
|
|
17
|
+
//# sourceMappingURL=util.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../../../src/components/func_comp/hb_func_file_preview/src/util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAC;AAEzC,oCAAoC;AACpC,eAAO,MAAM,wBAAwB,GAAI,WAAW,MAAM,KAAG,MAI5D,CAAC;AAIF,gCAAgC;AAChC,eAAO,MAAM,wBAAwB,GAAI,eAAe,MAAM,KAAG,OAEhE,CAAC;AAEF,8BAA8B;AAC9B,eAAO,MAAM,uBAAuB,GAAI,UAAU,MAAM,KAAG,OAG1D,CAAC;AAEF,eAAO,MAAM,wBAAwB,GAAI,CAAC,SAAS,eAAe,EAAE,KAAK,CAAC,KAAG,MAE5E,CAAC;AACF;;;GAGG;AACH,eAAO,MAAM,4BAA4B,GAAI,CAAC,SAAS,eAAe,EACpE,MAAM,CAAC,EAAE,EACT,MAAM,CAAC,EACP,UAAU;IACR,uBAAuB;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB,KACA,MAsCF,CAAC"}
|
|
@@ -1,4 +1,18 @@
|
|
|
1
|
-
|
|
1
|
+
import { WithInstall } from '../../utils/withInstall';
|
|
2
|
+
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare const HbLibLoading: WithInstall<DefineComponent<ExtractPropTypes<{
|
|
4
|
+
loadTips: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
9
|
+
loadTips: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
}>> & Readonly<{}>, {
|
|
14
|
+
loadTips: string;
|
|
15
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>>;
|
|
2
16
|
export default HbLibLoading;
|
|
3
17
|
export type HbLibLoadingInstance = InstanceType<typeof HbLibLoading>;
|
|
4
18
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/func_comp/hb_func_loading/index.ts"],"names":[],"mappings":";;AAIA,QAAA,MAAM,YAAY;;;;;;;;;;;;wFAAuB,CAAC;AAE1C,eAAe,YAAY,CAAC;AAE5B,MAAM,MAAM,oBAAoB,GAAG,YAAY,CAAC,OAAO,YAAY,CAAC,CAAC"}
|
|
@@ -1,3 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
3
|
+
loadTips: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
8
|
+
loadTips: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
}>> & Readonly<{}>, {
|
|
13
|
+
loadTips: string;
|
|
14
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
15
|
+
export default _default;
|
|
3
16
|
//# sourceMappingURL=loading.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loading.vue.d.ts","sourceRoot":"","sources":["loading.vue
|
|
1
|
+
{"version":3,"file":"loading.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/func_comp/hb_func_loading/src/loading.vue"],"names":[],"mappings":";AAeA;;;;;;;;;;;;;;AAqNA,wBAYG"}
|
|
@@ -1,5 +1,30 @@
|
|
|
1
|
+
import { WithInstall } from '../../utils/withInstall';
|
|
2
|
+
import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue';
|
|
3
|
+
import { Global_config_intf } from '../../../config';
|
|
1
4
|
export declare const GLOBAL_CONFIG_KEY: unique symbol;
|
|
2
|
-
declare const HbUiConfig:
|
|
5
|
+
declare const HbUiConfig: WithInstall<{
|
|
6
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
7
|
+
config?: Global_config_intf;
|
|
8
|
+
}> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLDivElement, ComponentProvideOptions, {
|
|
9
|
+
P: {};
|
|
10
|
+
B: {};
|
|
11
|
+
D: {};
|
|
12
|
+
C: {};
|
|
13
|
+
M: {};
|
|
14
|
+
Defaults: {};
|
|
15
|
+
}, Readonly<{
|
|
16
|
+
config?: Global_config_intf;
|
|
17
|
+
}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
18
|
+
__isFragment?: never;
|
|
19
|
+
__isTeleport?: never;
|
|
20
|
+
__isSuspense?: never;
|
|
21
|
+
} & ComponentOptionsBase<Readonly<{
|
|
22
|
+
config?: Global_config_intf;
|
|
23
|
+
}> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
24
|
+
$slots: {
|
|
25
|
+
default?(_: {}): any;
|
|
26
|
+
};
|
|
27
|
+
})>;
|
|
3
28
|
export default HbUiConfig;
|
|
4
29
|
export type HbUiConfigInstance = InstanceType<typeof HbUiConfig>;
|
|
5
30
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,eAA8B,CAAC;AAK7D,QAAA,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/func_comp/hb_ui_config/index.ts"],"names":[],"mappings":";;;AAAA,eAAO,MAAM,iBAAiB,eAA8B,CAAC;AAK7D,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;GAA2B,CAAC;AAE5C,eAAe,UAAU,CAAC;AAE1B,MAAM,MAAM,kBAAkB,GAAG,YAAY,CAAC,OAAO,UAAU,CAAC,CAAC"}
|