@fewangsit/wangsvue-fats 1.0.0-alpha.11 → 1.0.0-alpha.13
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/components/button/Button.vue.d.ts +5 -2
- package/components/index.d.ts +1 -0
- package/components/inputsearch/InputSearch.vue.d.ts +0 -2
- package/package.json +1 -1
- package/utils/index.d.ts +1 -0
- package/utils/listenSidebarChanges.util.d.ts +11 -0
- package/wangsvue-fats.es.js +19837 -18749
- package/wangsvue-fats.system.js +146 -126
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { ButtonHTMLAttributes, VNode } from 'vue';
|
|
2
2
|
import { WangsIcons } from '../icon/Icon.vue.d';
|
|
3
3
|
import { TooltipOptions } from 'primevue/tooltip';
|
|
4
|
-
import {
|
|
5
|
-
|
|
4
|
+
import {
|
|
5
|
+
GlobalComponentConstructor,
|
|
6
|
+
ClassComponent,
|
|
7
|
+
HintedString,
|
|
8
|
+
} from '../ts-helpers';
|
|
6
9
|
|
|
7
10
|
/**
|
|
8
11
|
* Defines valid properties in Button component.
|
package/components/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from '.././components';
|
|
2
|
+
export * from '../../reader-tagsamurai/components';
|
|
2
3
|
export { default as Animation } from './animation/Animation.vue';
|
|
3
4
|
export { default as ApproverInfo } from './approverinfo/ApproverInfo.vue';
|
|
4
5
|
export { default as Badge } from './badge/Badge.vue';
|
package/package.json
CHANGED
package/utils/index.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export { genPlaceholder } from './genPlaceholder.util';
|
|
|
15
15
|
export { getFileType, formatFile, validateFileSize, validateFileType, } from './addAttachment.util';
|
|
16
16
|
export { getTransactionRole, getSystemRole, hasTransactionRole, hasApprovalRole, hasSystemRole, checkRouteAccess, hasManagerRole, hasAnyManagerRole, hasMonitoringReportRole, hasAnyMonitoringReportRole, hasStaffRole, type UserLogin, type TransactionAttribute, type SystemRoleAttribute, type SystemRole, type TransactionRole, } from './role.util';
|
|
17
17
|
export { setNestedPropertyValue, getNestedPropertyValue, isEmptyObject, } from './object.util';
|
|
18
|
+
export { unListenSidebarChanges, listenSidebarChanges, } from './listenSidebarChanges.util';
|
|
18
19
|
export { ZIndexUtils } from 'primevue/utils';
|
|
19
20
|
export type { FileType, FormattedFile } from './addAttachment.util';
|
|
20
21
|
export type { ITable } from './exportToExcel.util';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { TreeNode } from '.././components/basetree/BaseTree.vue.d';
|
|
2
|
+
export type SidebarEvent = CustomEvent<{
|
|
3
|
+
/**
|
|
4
|
+
* Stringified keys array.
|
|
5
|
+
*/
|
|
6
|
+
keys: string;
|
|
7
|
+
node: TreeNode;
|
|
8
|
+
}>;
|
|
9
|
+
declare const listenSidebarChanges: (type: "group" | "category", callback: (e: SidebarEvent) => any) => void;
|
|
10
|
+
declare const unListenSidebarChanges: (type: "group" | "category", callback: (e: SidebarEvent) => any) => void;
|
|
11
|
+
export { unListenSidebarChanges, listenSidebarChanges };
|