@fewangsit/wangsvue-fats 1.0.0-alpha.56 → 1.0.0-alpha.58
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/basetree/BaseTree.vue.d.ts +4 -0
- package/components/dialogprintqr/DialogPrintQR.vue.d.ts +18 -0
- package/components/index.d.ts +1 -0
- package/components/tree/Tree.vue.d.ts +2 -1
- package/main.d.ts +3 -0
- package/package.json +1 -1
- package/plugins/VueHtmlToPaper.d.ts +11 -0
- package/stats.html +1 -1
- package/style.css +1 -1
- package/utils/formatTagCode.util.d.ts +1 -0
- package/wangsvue-fats.js +14069 -12244
- package/wangsvue-fats.system.js +171 -61
|
@@ -351,6 +351,10 @@ export interface BaseTreeProps {
|
|
|
351
351
|
* @defaultValue false
|
|
352
352
|
*/
|
|
353
353
|
loading?: boolean | undefined;
|
|
354
|
+
/**
|
|
355
|
+
* Defines the group tree to showing disposable groups.
|
|
356
|
+
*/
|
|
357
|
+
showDisposableGroups?: boolean;
|
|
354
358
|
/**
|
|
355
359
|
* Icon to display when tree is loading.
|
|
356
360
|
* @deprecated since v3.27.0. Use 'loadingicon' slot.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ClassComponent } from '../../components/ts-helpers.d';
|
|
2
|
+
|
|
3
|
+
export interface DialogPrintQRProps {
|
|
4
|
+
visible?: boolean;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export type DialogPrintQREmits = {
|
|
8
|
+
'printed': [];
|
|
9
|
+
'update:visible': [state: boolean];
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
declare class DialogPrintQR extends ClassComponent<
|
|
13
|
+
DialogPrintQRProps,
|
|
14
|
+
unknown,
|
|
15
|
+
DialogPrintQREmits
|
|
16
|
+
> {}
|
|
17
|
+
|
|
18
|
+
export default DialogPrintQR;
|
package/components/index.d.ts
CHANGED
|
@@ -63,3 +63,4 @@ export { default as UserWithIcon } from './userwithicon/UserWithIcon.vue';
|
|
|
63
63
|
export { default as FilterContainer } from './filtercontainer/FilterContainer.vue';
|
|
64
64
|
export { default as InputSearch } from './inputsearch/InputSearch.vue';
|
|
65
65
|
export { default as TransactionRoles } from './transactionroles/TransactionRoles.vue';
|
|
66
|
+
export { default as DialogPrintQR } from './dialogprintqr/DialogPrintQR.vue';
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { TreeSelectionKeys } from 'primevue/tree';
|
|
2
1
|
import { Slot } from 'vue';
|
|
3
2
|
|
|
4
3
|
import { MenuItem } from '../../components/menuitem';
|
|
@@ -7,6 +6,8 @@ import { BaseTreeProps, TreeNode } from '../basetree/BaseTree.vue.d';
|
|
|
7
6
|
import { QueryParams, ShortFetchResponse } from '../datatable/DataTable.vue.d';
|
|
8
7
|
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
|
9
8
|
|
|
9
|
+
import { TreeSelectionKeys } from 'primevue/tree';
|
|
10
|
+
|
|
10
11
|
export interface TreeProps extends BaseTreeProps {
|
|
11
12
|
/**
|
|
12
13
|
* Keyword to filter the Tree by name/label.
|
package/main.d.ts
CHANGED
|
@@ -25,6 +25,9 @@ export type { FormContext } from './plugins/formValidation';
|
|
|
25
25
|
export * from './plugins/i18n';
|
|
26
26
|
export { default as i18n } from './plugins/i18n-extension';
|
|
27
27
|
|
|
28
|
+
// Used for dialog print qr
|
|
29
|
+
export { default as VueHtmlToPaper } from './plugins/VueHtmlToPaper';
|
|
30
|
+
|
|
28
31
|
export * from './components';
|
|
29
32
|
|
|
30
33
|
// Config
|
package/package.json
CHANGED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { App } from 'vue';
|
|
2
|
+
type PrintOptions = {
|
|
3
|
+
name?: string;
|
|
4
|
+
specs?: string[];
|
|
5
|
+
replace?: boolean;
|
|
6
|
+
styles?: string[];
|
|
7
|
+
};
|
|
8
|
+
declare const VueHtmlToPaper: {
|
|
9
|
+
install(app: App, globalOptions?: PrintOptions): void;
|
|
10
|
+
};
|
|
11
|
+
export default VueHtmlToPaper;
|