@zeedhi/teknisa-components-vuetify 3.0.3 → 3.1.0

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.
Files changed (51) hide show
  1. package/dist/teknisa-vuetify.css +1 -1
  2. package/dist/teknisa-vuetify.js +3040 -2807
  3. package/package.json +3 -3
  4. package/src/components/index.ts +3 -0
  5. package/src/components/public.ts +4 -0
  6. package/src/components/tek-breadcrumb-header/TekBreadcrumbHeader.ts +8 -1
  7. package/src/components/tek-breadcrumb-header/TekBreadcrumbHeader.vue +1 -0
  8. package/src/components/tek-grid/TekGrid.ts +16 -2
  9. package/src/components/tek-grid/columns-button/TekGridColumnsButton.ts +1 -0
  10. package/src/components/tek-grid/columns-button/TekGridColumnsOptionsModal.ts +1 -1
  11. package/src/components/tek-grid/filter-button/TekGridFilterButton.ts +1 -0
  12. package/src/components/tek-grid/layout-options/TekGridLayoutOptions.ts +6 -1
  13. package/src/components/tek-loading/TekLoading.ts +30 -0
  14. package/src/components/tek-loading/TekLoading.vue +18 -0
  15. package/src/components/tek-user-info/TekUserInfo.ts +2 -1
  16. package/src/components/tek-user-info/TekUserInfoList.ts +6 -1
  17. package/src/index.ts +0 -3
  18. package/types/components/index.d.ts +6 -5
  19. package/types/components/public.d.ts +11 -9
  20. package/types/components/tek-breadcrumb-header/TekBreadcrumbHeader.d.ts +1168 -1138
  21. package/types/components/tek-breadcrumb-header/TekBreadcrumbHeader.ts.d.ts +1168 -1138
  22. package/types/components/tek-grid/TekGrid.d.ts +6443 -7211
  23. package/types/components/tek-grid/TekGrid.ts.d.ts +6443 -7211
  24. package/types/components/tek-grid/column-filter/TekGridColumnFilter.d.ts +130 -130
  25. package/types/components/tek-grid/column-filter/TekGridColumnFilter.ts.d.ts +130 -130
  26. package/types/components/tek-grid/column-header/TekGridHeaderRow.d.ts +225 -225
  27. package/types/components/tek-grid/column-header/TekGridHeaderRow.ts.d.ts +225 -225
  28. package/types/components/tek-grid/columns-button/TekGridColumnsButton.d.ts +2933 -2432
  29. package/types/components/tek-grid/columns-button/TekGridColumnsButton.ts.d.ts +2933 -2432
  30. package/types/components/tek-grid/columns-button/TekGridColumnsOptionsController.d.ts +66 -66
  31. package/types/components/tek-grid/columns-button/TekGridColumnsOptionsModal.d.ts +9 -9
  32. package/types/components/tek-grid/filter-button/TekGridFilterButton.d.ts +3580 -2920
  33. package/types/components/tek-grid/filter-button/TekGridFilterButton.ts.d.ts +3580 -2920
  34. package/types/components/tek-grid/indentation/TekGridIndentation.d.ts +32 -32
  35. package/types/components/tek-grid/indentation/TekGridIndentation.ts.d.ts +32 -32
  36. package/types/components/tek-grid/layout-options/TekGridLayoutOptions.d.ts +2394 -1893
  37. package/types/components/tek-grid/layout-options/TekGridLayoutOptions.ts.d.ts +2394 -1893
  38. package/types/components/tek-grid/row/TekGridFooterRow.d.ts +90 -90
  39. package/types/components/tek-grid/row/TekGridFooterRow.ts.d.ts +90 -90
  40. package/types/components/tek-grid/row/TekGridGroupRow.d.ts +87 -87
  41. package/types/components/tek-grid/row/TekGridGroupRow.ts.d.ts +87 -87
  42. package/types/components/tek-loading/TekLoading.d.ts +663 -0
  43. package/types/components/tek-loading/TekLoading.ts.d.ts +663 -0
  44. package/types/components/tek-user-info/TekUserInfo.d.ts +2459 -1940
  45. package/types/components/tek-user-info/TekUserInfo.ts.d.ts +2459 -1940
  46. package/types/components/tek-user-info/TekUserInfoList.d.ts +1245 -1015
  47. package/types/components/tek-user-info/TekUserInfoList.ts.d.ts +1245 -1015
  48. package/types/composables/useTableLayout.d.ts +26 -26
  49. package/types/index.d.ts +6 -6
  50. package/types/utils/isArrayOperation.d.ts +2 -2
  51. /package/{jest.config.js → jest.config.cjs} +0 -0
@@ -1,26 +1,26 @@
1
- import { IIterable } from '@zeedhi/common';
2
- import { IDynamicFilterItem, IGroupedDataManager, ITekGridLayout, ITekGridLayoutColumn, TekGridColumn } from '@zeedhi/teknisa-components-common';
3
- import { IDictionary } from '@zeedhi/core';
4
- import { ComputedRef, UnwrapNestedRefs } from 'vue';
5
- export type DefaultLayout = {
6
- originalDatasourceOrder: string[];
7
- originalDatasourceFilter: IDictionary<any>;
8
- originalColumnProps: ITekGridLayoutColumn[];
9
- originalDatasourceDynamicFilter: IDictionary<IDynamicFilterItem[]>;
10
- };
11
- export type ApplyLayout = (params: {
12
- layout?: ITekGridLayout;
13
- defaultLayout: DefaultLayout;
14
- changeLayoutCallback: (layout: ITekGridLayout) => void;
15
- }) => void;
16
- export type GetColumnElements = () => IDictionary<Element>;
17
- export type GetTableWidth = () => string;
18
- export declare function useTableLayout(): {
19
- applyLayout: ApplyLayout;
20
- getColumnElements: GetColumnElements;
21
- getTableWidth: GetTableWidth;
22
- };
23
- export declare function provideTableLayout<T extends IIterable<TekGridColumn> & IGroupedDataManager>({ instance, rootEl, }: {
24
- instance: UnwrapNestedRefs<T>;
25
- rootEl: ComputedRef<HTMLElement | undefined>;
26
- }): void;
1
+ import { IIterable } from '@zeedhi/common';
2
+ import { IDynamicFilterItem, IGroupedDataManager, ITekGridLayout, ITekGridLayoutColumn, TekGridColumn } from '@zeedhi/teknisa-components-common';
3
+ import { IDictionary } from '@zeedhi/core';
4
+ import { ComputedRef, UnwrapNestedRefs } from 'vue';
5
+ export type DefaultLayout = {
6
+ originalDatasourceOrder: string[];
7
+ originalDatasourceFilter: IDictionary<any>;
8
+ originalColumnProps: ITekGridLayoutColumn[];
9
+ originalDatasourceDynamicFilter: IDictionary<IDynamicFilterItem[]>;
10
+ };
11
+ export type ApplyLayout = (params: {
12
+ layout?: ITekGridLayout;
13
+ defaultLayout: DefaultLayout;
14
+ changeLayoutCallback: (layout: ITekGridLayout) => void;
15
+ }) => void;
16
+ export type GetColumnElements = () => IDictionary<Element>;
17
+ export type GetTableWidth = () => string;
18
+ export declare function useTableLayout(): {
19
+ applyLayout: ApplyLayout;
20
+ getColumnElements: GetColumnElements;
21
+ getTableWidth: GetTableWidth;
22
+ };
23
+ export declare function provideTableLayout<T extends IIterable<TekGridColumn> & IGroupedDataManager>({ instance, rootEl, }: {
24
+ instance: UnwrapNestedRefs<T>;
25
+ rootEl: ComputedRef<HTMLElement | undefined>;
26
+ }): void;
package/types/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import type { App } from 'vue';
2
- declare const TeknisaComponents: {
3
- install(app: App): void;
4
- };
5
- export default TeknisaComponents;
6
- export * from './components/public';
1
+ import type { App } from 'vue';
2
+ declare const TeknisaComponents: {
3
+ install(app: App): void;
4
+ };
5
+ export default TeknisaComponents;
6
+ export * from './components/public';
@@ -1,2 +1,2 @@
1
- declare const isArrayOperation: (operation: string) => boolean;
2
- export { isArrayOperation };
1
+ declare const isArrayOperation: (operation: string) => boolean;
2
+ export { isArrayOperation };
File without changes