@fewangsit/wangsvue-fats 1.0.0-alpha.57 → 1.0.0-alpha.59

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,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;
@@ -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';
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fewangsit/wangsvue-fats",
3
- "version": "1.0.0-alpha.57",
3
+ "version": "1.0.0-alpha.59",
4
4
  "author": "Wangsit FE Developer",
5
5
  "description": "Fixed Asset Tagsamurai VueJS Component Library",
6
6
  "type": "module",
@@ -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;