@v1nt1248/3nclient-lib 0.1.8 → 0.1.10

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/README.md CHANGED
@@ -35,6 +35,7 @@ You can run the project as `pnpm dev` or `npm run dev` if you don't want to use
35
35
  ## Directives
36
36
  - Ui3nHtml
37
37
  - Ui3nClickOutside
38
+ - Ui3nResize
38
39
 
39
40
  ## Plugins
40
41
  - icons
@@ -1,3 +1,4 @@
1
1
  import { default as Ui3nHtml } from './ui3n-html';
2
2
  import { default as Ui3nClickOutside } from './ui3n-click-outside';
3
- export { Ui3nHtml, Ui3nClickOutside, };
3
+ import { default as Ui3nResize, Ui3nResizeCbArg } from './ui3n-resize';
4
+ export { Ui3nHtml, Ui3nClickOutside, Ui3nResize, Ui3nResizeCbArg };
@@ -0,0 +1,13 @@
1
+ import { DirectiveBinding } from 'vue';
2
+ export type Ui3nResizeCbArg = {
3
+ left: number;
4
+ top: number;
5
+ width: number;
6
+ contentHeight: number;
7
+ blockHeight: number;
8
+ };
9
+ declare const _default: {
10
+ mounted(el: HTMLElement, binding: DirectiveBinding): void;
11
+ beforeUnmount(): void;
12
+ };
13
+ export default _default;
package/dist/index.d.ts CHANGED
@@ -25,6 +25,7 @@ import { default as Ui3nProgressLinear } from './components/ui3n-progress/ui3n-p
25
25
  import { default as Ui3nProgressCircular } from './components/ui3n-progress/ui3n-progress-circular.vue';
26
26
  import { default as Ui3nHtml } from './directives/ui3n-html';
27
27
  import { default as Ui3nClickOutside } from './directives/ui3n-click-outside';
28
+ import { default as Ui3nResize } from './directives/ui3n-resize';
28
29
  import { CbFunction, VueEventBus } from './plugins/vue-bus/types';
29
30
  import { DialogInstance } from './plugins/dialogs/types';
30
31
  export * from './constants';
@@ -69,6 +70,7 @@ declare module 'vue' {
69
70
  interface GlobalDirectives {
70
71
  Ui3nHtml: typeof Ui3nHtml;
71
72
  Ui3nClickOutside: typeof Ui3nClickOutside;
73
+ Ui3nResize: typeof Ui3nResize;
72
74
  }
73
75
  }
74
76
  declare module 'pinia' {
@@ -24,6 +24,7 @@ import { default as Ui3nProgressCircular } from './components/ui3n-progress/ui3n
24
24
  import { default as Ui3nTooltip } from './components/ui3n-tooltip/ui3n-tooltip.vue';
25
25
  import { default as Ui3nHtml } from './directives/ui3n-html';
26
26
  import { default as Ui3nClickOutside } from './directives/ui3n-click-outside';
27
+ import { default as Ui3nResize } from './directives/ui3n-resize';
27
28
  export * from './directives';
28
29
  export * from './components';
29
30
  declare module 'vue' {
@@ -56,5 +57,6 @@ declare module 'vue' {
56
57
  interface GlobalDirectives {
57
58
  Ui3nHtml: typeof Ui3nHtml;
58
59
  Ui3nClickOutside: typeof Ui3nClickOutside;
60
+ Ui3nResize: typeof Ui3nResize;
59
61
  }
60
62
  }