@baosight-erp/bs-components 0.1.0 → 0.1.1

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.
@@ -0,0 +1,93 @@
1
+ import { BSApi } from './index';
2
+
3
+
4
+ declare module 'vue' {
5
+ export interface GlobalComponents {
6
+ /** 全局配置 */
7
+ bsConfigProvider: typeof import('./config-provider')['default'];
8
+ /** 自动补全 */
9
+ bsAutoComplete: typeof import('./components/auto-complete')['default'];
10
+ /** 日期选择 */
11
+ bsDatePicker: typeof import('./components/date-picker')['default'];
12
+ /** 日期区间 */
13
+ bsDateSpan: typeof import('./components/date-span')['default'];
14
+ /** 表单域 */
15
+ bsField: typeof import('./components/field')['default'];
16
+ /** 表单 */
17
+ bsForm: typeof import('./components/form')['default'];
18
+ /** 单行输入 */
19
+ bsInput: typeof import('./components/input')['default'];
20
+ /** 数字输入 */
21
+ bsInputNumber: typeof import('./components/input-number')['default'];
22
+ /** 密码输入 */
23
+ bsInputPassword: typeof import('./components/input-password')['default'];
24
+ /** 搜索输入 */
25
+ bsInputSearch: typeof import('./components/input-search')['default'];
26
+ /** 起止输入 */
27
+ bsInputSpan: typeof import('./components/input-span')['default'];
28
+ /** 多选 */
29
+ bsMultiSelect: typeof import('./components/multi-select')['default'];
30
+ /** 弹框选择输入 */
31
+ bsPopupInput: typeof import('./components/popup-input')['default'];
32
+ /** 下拉选择 */
33
+ bsSelect: typeof import('./components/select')['default'];
34
+ /** 多行输入 */
35
+ bsTextarea: typeof import('./components/textarea')['default'];
36
+ /** 时间选择 */
37
+ bsTimePicker: typeof import('./components/time-picker')['default'];
38
+ /** 时间区间 */
39
+ bsTimeSpan: typeof import('./components/time-span')['default'];
40
+ /** 页面容器 */
41
+ bsPage: typeof import('./components/page')['default'];
42
+ /** 区域容器 */
43
+ bsRegion: typeof import('./components/region')['default'];
44
+ /** 页签容器 */
45
+ bsTabs: typeof import('./components/tabs')['default'];
46
+ /** 编码选项 */
47
+ bsCodeOption: typeof import('./components/code-option')['default'];
48
+ /** 文件导入 */
49
+ bsImporter: typeof import('./components/importer')['default'];
50
+ /** 声明式选项 */
51
+ bsOption: typeof import('./components/option')['default'];
52
+ /** 声明式选项集合 */
53
+ bsOptions: typeof import('./components/options')['default'];
54
+ /** 提示标签 */
55
+ bsTipLabel: typeof import('./components/tip-label')['default'];
56
+ /** 树 */
57
+ bsTree: typeof import('./components/tree')['default'];
58
+ /** 附件上传 */
59
+ bsUpload: typeof import('./components/upload')['default'];
60
+ /** 表格列 */
61
+ bsColumn: typeof import('./components/column')['default'];
62
+ /** 表格 */
63
+ bsTable: typeof import('./components/table')['default'];
64
+ /** 窗口 */
65
+ bsWindow: typeof import('./components/window')['default'];
66
+ /** 表选项 */
67
+ bsTableOption: typeof import('./components/table-option')['default'];
68
+ /** 树形输入 */
69
+ bsTreeInput: typeof import('./components/tree-input')['default'];
70
+ /** 页签面板 */
71
+ bsTabPane: typeof import('./components/tab-pane')['default'];
72
+ }
73
+
74
+ export interface ComponentCustomProperties {
75
+ /** registerBS 后挂在组件实例上的 BS 工具集合 */
76
+ $BS: BSApi;
77
+ /** registerBS 后挂在组件实例上的 BS 工具集合 */
78
+ BS: BSApi;
79
+ }
80
+ }
81
+
82
+ declare global {
83
+ interface Window {
84
+ BS: BSApi;
85
+ }
86
+
87
+ const EiInfo: any;
88
+ const EiBlock: any;
89
+ const EiColumn: any;
90
+ const BS: BSApi;
91
+ }
92
+
93
+ export {};
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ /// <reference path="./global.d.ts" />
1
2
  import { BSRuntimeOptions } from './runtime';
2
3
  import { notify, closeNotify, success, warn, error, info } from './utils/notify';
3
4
  import { callService, callServiceSync, request, requestSync } from './utils/network';
@@ -12,11 +13,44 @@ import { default as SpreadsheetUtil } from './utils/spreadsheet-util';
12
13
  import { default as SSHUtil } from './utils/ssh-util';
13
14
  import { default as RegexUtil } from './utils/regex-util';
14
15
  import { default as FileUtil } from './utils/file-util';
15
- import { getBSWindow } from './components/window';
16
+ import { default as BSAutoComplete } from './components/auto-complete';
17
+ import { default as BSDatePicker } from './components/date-picker';
18
+ import { default as BSDateSpan } from './components/date-span';
19
+ import { default as BSField } from './components/field';
20
+ import { default as BSForm } from './components/form';
21
+ import { default as BSInput } from './components/input';
22
+ import { default as BSInputNumber } from './components/input-number';
23
+ import { default as BSInputPassword } from './components/input-password';
24
+ import { default as BSInputSearch } from './components/input-search';
25
+ import { default as BSInputSpan } from './components/input-span';
26
+ import { default as BSMultiSelect } from './components/multi-select';
27
+ import { default as BSPopupInput } from './components/popup-input';
28
+ import { default as BSSelect } from './components/select';
29
+ import { default as BSTextarea } from './components/textarea';
30
+ import { default as BSTimePicker } from './components/time-picker';
31
+ import { default as BSTimeSpan } from './components/time-span';
32
+ import { default as BSPage } from './components/page';
33
+ import { default as BSRegion } from './components/region';
34
+ import { default as BSTabs } from './components/tabs';
35
+ import { default as BSCodeOption } from './components/code-option';
36
+ import { default as BSImporter } from './components/importer';
37
+ import { default as BSOption } from './components/option';
38
+ import { default as BSOptions } from './components/options';
39
+ import { default as BSTree } from './components/tree';
40
+ import { default as BSTipLabel } from './components/tip-label';
41
+ import { default as BSUpload } from './components/upload';
42
+ import { default as BSColumn } from './components/column';
43
+ import { default as BSTable } from './components/table';
44
+ import { default as BSWindow, getBSWindow } from './components/window';
45
+ import { default as BSTableOption } from './components/table-option';
46
+ import { default as BSTreeInput } from './components/tree-input';
47
+ import { default as BSTabPane } from './components/tab-pane';
16
48
  import { default as BSConfigProvider, registerAntdLocale, registerDayjsLocale, useBSTheme } from './config-provider';
17
49
  import { injectThemeStyle } from './theme';
18
50
  import { useLocale, useBSLocaleState, localeMessages, registerLocale, translate, defaultLocale } from './locale';
19
51
  export * from './ei';
52
+ export { BSAutoComplete, BSDatePicker, BSDateSpan, BSField, BSForm, BSInput, BSInputNumber, BSInputPassword, BSInputSearch, BSInputSpan, BSMultiSelect, BSPopupInput, BSSelect, BSTextarea, BSTimePicker, BSTimeSpan, BSPage, BSRegion, BSTabs, BSCodeOption, BSImporter, BSOption, BSOptions, BSTipLabel, BSTree, BSUpload, BSColumn, BSTable, BSWindow, BSTableOption, BSTreeInput, BSTabPane };
53
+ export type { BSTableProps } from './components/table/table-props';
20
54
  export type BSApi = typeof CommonUtil & {
21
55
  notify: typeof notify;
22
56
  success: typeof success;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@baosight-erp/bs-components",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "private": false,
5
5
  "description": "iPlat4j 生态内共享的 Vue 3 + Ant Design Vue 组件库",
6
6
  "type": "module",