@tripup-company/element-ui-extended 0.0.44 → 0.0.45

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 (87) hide show
  1. package/dist/element-ui-extended.common.js +514 -167
  2. package/dist/element-ui-extended.common.js.map +1 -1
  3. package/dist/element-ui-extended.umd.js +514 -167
  4. package/dist/element-ui-extended.umd.js.map +1 -1
  5. package/dist/element-ui-extended.umd.min.js +2 -2
  6. package/dist/element-ui-extended.umd.min.js.map +1 -1
  7. package/dist/examples/models/contact-model.d.ts +20 -0
  8. package/dist/examples/models/contact-model.d.ts.map +1 -0
  9. package/dist/examples/repositories/contacts-repository.d.ts +9 -0
  10. package/dist/examples/repositories/contacts-repository.d.ts.map +1 -0
  11. package/dist/examples/repositories/data/contact.d.ts +43 -0
  12. package/dist/examples/repositories/data/contact.d.ts.map +1 -0
  13. package/dist/examples/types/icontact.d.ts +17 -0
  14. package/dist/examples/types/icontact.d.ts.map +1 -0
  15. package/dist/src/components/GenericFilters/filter-convertor.d.ts +7 -0
  16. package/dist/src/components/GenericFilters/filter-convertor.d.ts.map +1 -0
  17. package/dist/src/components/GenericFilters/filter-factory.d.ts +36 -0
  18. package/dist/src/components/GenericFilters/filter-factory.d.ts.map +1 -0
  19. package/dist/src/components/GenericFilters/filters/base-filter.d.ts +8 -0
  20. package/dist/src/components/GenericFilters/filters/base-filter.d.ts.map +1 -0
  21. package/dist/src/components/GenericFilters/filters/between-filter.d.ts +7 -0
  22. package/dist/src/components/GenericFilters/filters/between-filter.d.ts.map +1 -0
  23. package/dist/src/components/GenericFilters/filters/contains-filter.d.ts +7 -0
  24. package/dist/src/components/GenericFilters/filters/contains-filter.d.ts.map +1 -0
  25. package/dist/src/components/GenericFilters/filters/contains-multiple-filelds-filter.d.ts +7 -0
  26. package/dist/src/components/GenericFilters/filters/contains-multiple-filelds-filter.d.ts.map +1 -0
  27. package/dist/src/components/GenericFilters/filters/end-with-filter.d.ts +6 -0
  28. package/dist/src/components/GenericFilters/filters/end-with-filter.d.ts.map +1 -0
  29. package/dist/src/components/GenericFilters/filters/equal-filter.d.ts +7 -0
  30. package/dist/src/components/GenericFilters/filters/equal-filter.d.ts.map +1 -0
  31. package/dist/src/components/GenericFilters/filters/group-by-filter.d.ts +8 -0
  32. package/dist/src/components/GenericFilters/filters/group-by-filter.d.ts.map +1 -0
  33. package/dist/src/components/GenericFilters/filters/in-filter.d.ts +7 -0
  34. package/dist/src/components/GenericFilters/filters/in-filter.d.ts.map +1 -0
  35. package/dist/src/components/GenericFilters/filters/interfaces/condition.d.ts +5 -0
  36. package/dist/src/components/GenericFilters/filters/interfaces/condition.d.ts.map +1 -0
  37. package/dist/src/components/GenericFilters/filters/interfaces/filter-response.d.ts +5 -0
  38. package/dist/src/components/GenericFilters/filters/interfaces/filter-response.d.ts.map +1 -0
  39. package/dist/src/components/GenericFilters/filters/is-not-null-filter.d.ts +7 -0
  40. package/dist/src/components/GenericFilters/filters/is-not-null-filter.d.ts.map +1 -0
  41. package/dist/src/components/GenericFilters/filters/is-null-filter.d.ts +7 -0
  42. package/dist/src/components/GenericFilters/filters/is-null-filter.d.ts.map +1 -0
  43. package/dist/src/components/GenericFilters/filters/not-contains-filter.d.ts +7 -0
  44. package/dist/src/components/GenericFilters/filters/not-contains-filter.d.ts.map +1 -0
  45. package/dist/src/components/GenericFilters/filters/not-equal-filter.d.ts +7 -0
  46. package/dist/src/components/GenericFilters/filters/not-equal-filter.d.ts.map +1 -0
  47. package/dist/src/components/GenericFilters/filters/start-with-filter.d.ts +6 -0
  48. package/dist/src/components/GenericFilters/filters/start-with-filter.d.ts.map +1 -0
  49. package/dist/src/components/GenericFilters/filters/week-day-filter.d.ts +8 -0
  50. package/dist/src/components/GenericFilters/filters/week-day-filter.d.ts.map +1 -0
  51. package/dist/src/components/GenericFilters/filters/younger-week-filter.d.ts +8 -0
  52. package/dist/src/components/GenericFilters/filters/younger-week-filter.d.ts.map +1 -0
  53. package/dist/src/index.d.ts +20 -0
  54. package/dist/src/index.d.ts.map +1 -0
  55. package/dist/src/lang/en.d.ts +186 -0
  56. package/dist/src/lang/en.d.ts.map +1 -0
  57. package/dist/src/lang/index.d.ts +4 -0
  58. package/dist/src/lang/index.d.ts.map +1 -0
  59. package/dist/src/main.d.ts +2 -0
  60. package/dist/src/main.d.ts.map +1 -0
  61. package/dist/src/models/base-model.d.ts +4 -0
  62. package/dist/src/models/base-model.d.ts.map +1 -0
  63. package/dist/src/models/meta-model.d.ts +10 -0
  64. package/dist/src/models/meta-model.d.ts.map +1 -0
  65. package/dist/src/repositories/base-repository.d.ts +17 -0
  66. package/dist/src/repositories/base-repository.d.ts.map +1 -0
  67. package/dist/src/repositories/contracts/read.d.ts +6 -0
  68. package/dist/src/repositories/contracts/read.d.ts.map +1 -0
  69. package/dist/src/repositories/contracts/write.d.ts +6 -0
  70. package/dist/src/repositories/contracts/write.d.ts.map +1 -0
  71. package/dist/src/services/list-query-service.d.ts +15 -0
  72. package/dist/src/services/list-query-service.d.ts.map +1 -0
  73. package/dist/src/services/local-storage-service.d.ts +7 -0
  74. package/dist/src/services/local-storage-service.d.ts.map +1 -0
  75. package/dist/src/services/resolutions.d.ts +2 -0
  76. package/dist/src/services/resolutions.d.ts.map +1 -0
  77. package/dist/src/types/axiosInterface.d.ts +21 -0
  78. package/dist/src/types/axiosInterface.d.ts.map +1 -0
  79. package/dist/src/types/collection.d.ts +6 -0
  80. package/dist/src/types/collection.d.ts.map +1 -0
  81. package/dist/src/types/error.d.ts +4 -0
  82. package/dist/src/types/error.d.ts.map +1 -0
  83. package/dist/src/types/meta.d.ts +7 -0
  84. package/dist/src/types/meta.d.ts.map +1 -0
  85. package/dist/src/types/pagination.d.ts +9 -0
  86. package/dist/src/types/pagination.d.ts.map +1 -0
  87. package/package.json +5 -3
@@ -0,0 +1,10 @@
1
+ import { Meta } from "../types/meta";
2
+ import BaseModel from "./base-model";
3
+ import { Pagination } from "../types/pagination";
4
+ export default class MetaModel extends BaseModel implements Meta {
5
+ include: [];
6
+ custom: [];
7
+ pagination: Pagination;
8
+ constructor(data?: any[]);
9
+ }
10
+ //# sourceMappingURL=meta-model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"meta-model.d.ts","sourceRoot":"","sources":["../../../src/models/meta-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACrC,OAAO,SAAS,MAAM,cAAc,CAAC;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,MAAM,CAAC,OAAO,OAAO,SAAU,SAAQ,SAAU,YAAW,IAAI;IAC9D,OAAO,EAAE,EAAE,CAAC;IACZ,MAAM,EAAE,EAAE,CAAC;IACX,UAAU,EAAE,UAAU,CAAC;gBAEX,IAAI,QAAK;CAGtB"}
@@ -0,0 +1,17 @@
1
+ import { Write } from "./contracts/write";
2
+ import { Read } from "./contracts/read";
3
+ import { Collection } from "../types/collection";
4
+ import { AxiosInstance } from "../types/axiosInterface";
5
+ export default abstract class BaseRepository<T> implements Write<T>, Read<T> {
6
+ protected baseUrl: string;
7
+ protected request: AxiosInstance;
8
+ constructor(location: string, baseUrl: string, request: AxiosInstance);
9
+ convert(data: any): T;
10
+ collectionConvert(data: any): Collection<T>;
11
+ create(item: T): Promise<T>;
12
+ update(id: string, item: T, include?: string): Promise<T>;
13
+ delete(id: string): Promise<boolean>;
14
+ findOne(id: string, include?: string): Promise<T>;
15
+ all(query: string, include?: string, filter?: string): Promise<Collection<T>>;
16
+ }
17
+ //# sourceMappingURL=base-repository.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base-repository.d.ts","sourceRoot":"","sources":["../../../src/repositories/base-repository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAExD,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,cAAc,CAAC,CAAC,CAAE,YAAW,KAAK,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IAC1E,SAAS,CAAC,OAAO,EAAE,MAAM,CAAC;IAC1B,SAAS,CAAC,OAAO,EAAE,aAAa,CAAC;gBAErB,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,aAAa;IAKrE,OAAO,CAAC,IAAI,EAAE,GAAG,GAAG,CAAC;IAIrB,iBAAiB,CAAC,IAAI,EAAE,GAAG,GAAG,UAAU,CAAC,CAAC,CAAC;IAS3C,MAAM,CAAC,IAAI,EAAE,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC;IAc3B,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,EAAE,OAAO,SAAO,GAAG,OAAO,CAAC,CAAC,CAAC;IAgBvD,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAepC,OAAO,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,SAAO,GAAG,OAAO,CAAC,CAAC,CAAC;IAe/C,GAAG,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,SAAO,EAAE,MAAM,SAAK,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;CAexE"}
@@ -0,0 +1,6 @@
1
+ import { Collection } from "../../types/collection";
2
+ export interface Read<T> {
3
+ all(query: string): Promise<Collection<T>>;
4
+ findOne(id: string): Promise<T>;
5
+ }
6
+ //# sourceMappingURL=read.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"read.d.ts","sourceRoot":"","sources":["../../../../src/repositories/contracts/read.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,wBAAwB,CAAC;AAElD,MAAM,WAAW,IAAI,CAAC,CAAC;IACnB,GAAG,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;IAC3C,OAAO,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;CACnC"}
@@ -0,0 +1,6 @@
1
+ export interface Write<T> {
2
+ create(item: T): Promise<T>;
3
+ update(id: string, item: T): Promise<T>;
4
+ delete(id: string): Promise<boolean>;
5
+ }
6
+ //# sourceMappingURL=write.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"write.d.ts","sourceRoot":"","sources":["../../../../src/repositories/contracts/write.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,KAAK,CAAC,CAAC;IACpB,MAAM,CAAC,IAAI,EAAE,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;IAC5B,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;IACxC,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;CACxC"}
@@ -0,0 +1,15 @@
1
+ export default class ListQueryService {
2
+ key: string;
3
+ storageService: any;
4
+ constructor(key: any, storageService: any);
5
+ updateSort(column: any): void;
6
+ getListQuery(): {
7
+ meta: {
8
+ page: number;
9
+ limit: number;
10
+ };
11
+ };
12
+ updateListQuery(listQuery: any): void;
13
+ setListQuery(listQuery: any): void;
14
+ }
15
+ //# sourceMappingURL=list-query-service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-query-service.d.ts","sourceRoot":"","sources":["../../../src/services/list-query-service.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,OAAO,gBAAgB;IACnC,GAAG,EAAE,MAAM,CAAC;IACZ,cAAc,EAAE,GAAG,CAAC;gBAER,GAAG,EAAE,GAAG,EAAE,cAAc,EAAE,GAAG;IAIzC,UAAU,CAAC,MAAM,KAAA;IAcjB,YAAY;;;;;;IAUZ,eAAe,CAAC,SAAS,EAAE,GAAG;IAG9B,YAAY,CAAC,SAAS,EAAE,GAAG;CAG5B"}
@@ -0,0 +1,7 @@
1
+ export default class LocalStorageService {
2
+ key: string | undefined;
3
+ constructor(key?: string);
4
+ get(key: any, defaultValue?: {}): any;
5
+ set(key: any, val: any): void;
6
+ }
7
+ //# sourceMappingURL=local-storage-service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"local-storage-service.d.ts","sourceRoot":"","sources":["../../../src/services/local-storage-service.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,OAAO,mBAAmB;IACtC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAC;gBACZ,GAAG,SAAK;IAGpB,GAAG,CAAC,GAAG,KAAA,EAAE,YAAY,KAAK;IAW1B,GAAG,CAAC,GAAG,KAAA,EAAE,GAAG,KAAA;CAUb"}
@@ -0,0 +1,2 @@
1
+ export default function getResolution(size: any): any;
2
+ //# sourceMappingURL=resolutions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolutions.d.ts","sourceRoot":"","sources":["../../../src/services/resolutions.js"],"names":[],"mappings":"AAkBA,sDAEC"}
@@ -0,0 +1,21 @@
1
+ import { AxiosError, AxiosRequestConfig, AxiosResponse, AxiosStatic } from "axios";
2
+ export interface AxiosInstance extends AxiosStatic {
3
+ $request<T = any>(config: AxiosRequestConfig): Promise<T>;
4
+ $get<T = any>(url: string, config?: AxiosRequestConfig): Promise<T>;
5
+ $delete<T = any>(url: string, config?: AxiosRequestConfig): Promise<T>;
6
+ $head<T = any>(url: string, config?: AxiosRequestConfig): Promise<T>;
7
+ $options<T = any>(url: string, config?: AxiosRequestConfig): Promise<T>;
8
+ $post<T = any>(url: string, data?: any, config?: AxiosRequestConfig): Promise<T>;
9
+ $put<T = any>(url: string, data?: any, config?: AxiosRequestConfig): Promise<T>;
10
+ $patch<T = any>(url: string, data?: any, config?: AxiosRequestConfig): Promise<T>;
11
+ setBaseURL(baseURL: string): void;
12
+ setHeader(name: string, value?: string | false, scopes?: string | string[]): void;
13
+ setToken(token: string | false, type?: string, scopes?: string | string[]): void;
14
+ onRequest(callback: (config: AxiosRequestConfig) => void | AxiosRequestConfig | Promise<AxiosRequestConfig>): void;
15
+ onResponse<T = any>(callback: (response: AxiosResponse<T>) => void | AxiosResponse<T> | Promise<AxiosResponse<T>>): void;
16
+ onError(callback: (error: AxiosError) => any): void;
17
+ onRequestError(callback: (error: AxiosError) => any): void;
18
+ onResponseError(callback: (error: AxiosError) => any): void;
19
+ create(options?: AxiosRequestConfig): AxiosInstance;
20
+ }
21
+ //# sourceMappingURL=axiosInterface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"axiosInterface.d.ts","sourceRoot":"","sources":["../../../src/types/axiosInterface.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,kBAAkB,EAClB,aAAa,EACb,WAAW,EACZ,MAAM,OAAO,CAAC;AAEf,MAAM,WAAW,aAAc,SAAQ,WAAW;IAChD,QAAQ,CAAC,CAAC,GAAG,GAAG,EAAE,MAAM,EAAE,kBAAkB,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;IAC1D,IAAI,CAAC,CAAC,GAAG,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;IACpE,OAAO,CAAC,CAAC,GAAG,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;IACvE,KAAK,CAAC,CAAC,GAAG,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;IACrE,QAAQ,CAAC,CAAC,GAAG,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;IACxE,KAAK,CAAC,CAAC,GAAG,GAAG,EACX,GAAG,EAAE,MAAM,EACX,IAAI,CAAC,EAAE,GAAG,EACV,MAAM,CAAC,EAAE,kBAAkB,GAC1B,OAAO,CAAC,CAAC,CAAC,CAAC;IACd,IAAI,CAAC,CAAC,GAAG,GAAG,EACV,GAAG,EAAE,MAAM,EACX,IAAI,CAAC,EAAE,GAAG,EACV,MAAM,CAAC,EAAE,kBAAkB,GAC1B,OAAO,CAAC,CAAC,CAAC,CAAC;IACd,MAAM,CAAC,CAAC,GAAG,GAAG,EACZ,GAAG,EAAE,MAAM,EACX,IAAI,CAAC,EAAE,GAAG,EACV,MAAM,CAAC,EAAE,kBAAkB,GAC1B,OAAO,CAAC,CAAC,CAAC,CAAC;IACd,UAAU,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,SAAS,CACP,IAAI,EAAE,MAAM,EACZ,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,EACtB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GACzB,IAAI,CAAC;IACR,QAAQ,CACN,KAAK,EAAE,MAAM,GAAG,KAAK,EACrB,IAAI,CAAC,EAAE,MAAM,EACb,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GACzB,IAAI,CAAC;IACR,SAAS,CACP,QAAQ,EAAE,CACR,MAAM,EAAE,kBAAkB,KACvB,IAAI,GAAG,kBAAkB,GAAG,OAAO,CAAC,kBAAkB,CAAC,GAC3D,IAAI,CAAC;IACR,UAAU,CAAC,CAAC,GAAG,GAAG,EAChB,QAAQ,EAAE,CACR,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,KACvB,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,GACvD,IAAI,CAAC;IACR,OAAO,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,GAAG,GAAG,IAAI,CAAC;IACpD,cAAc,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,GAAG,GAAG,IAAI,CAAC;IAC3D,eAAe,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,GAAG,GAAG,IAAI,CAAC;IAC5D,MAAM,CAAC,OAAO,CAAC,EAAE,kBAAkB,GAAG,aAAa,CAAC;CACrD"}
@@ -0,0 +1,6 @@
1
+ import { Meta } from "./meta";
2
+ export interface Collection<T> {
3
+ data: T[];
4
+ meta: Meta;
5
+ }
6
+ //# sourceMappingURL=collection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collection.d.ts","sourceRoot":"","sources":["../../../src/types/collection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,IAAI,EAAC,MAAM,QAAQ,CAAC;AAE5B,MAAM,WAAW,UAAU,CAAC,CAAC;IACzB,IAAI,EAAE,CAAC,EAAE,CAAC;IACV,IAAI,EAAE,IAAI,CAAA;CACb"}
@@ -0,0 +1,4 @@
1
+ interface IError {
2
+ message: string;
3
+ }
4
+ //# sourceMappingURL=error.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../../../src/types/error.ts"],"names":[],"mappings":"AAAA,UAAU,MAAM;IACZ,OAAO,EAAE,MAAM,CAAA;CAClB"}
@@ -0,0 +1,7 @@
1
+ import { Pagination } from "./pagination";
2
+ export interface Meta {
3
+ include: [];
4
+ custom: [];
5
+ pagination: Pagination;
6
+ }
7
+ //# sourceMappingURL=meta.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/types/meta.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,MAAM,WAAW,IAAI;IACnB,OAAO,EAAE,EAAE,CAAC;IACZ,MAAM,EAAE,EAAE,CAAC;IACX,UAAU,EAAE,UAAU,CAAC;CACxB"}
@@ -0,0 +1,9 @@
1
+ export interface Pagination {
2
+ total: number;
3
+ count: number;
4
+ per_page: number;
5
+ current_page: number;
6
+ total_pages: number;
7
+ links: [];
8
+ }
9
+ //# sourceMappingURL=pagination.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pagination.d.ts","sourceRoot":"","sources":["../../../src/types/pagination.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,EAAE,CAAA;CACZ"}
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@tripup-company/element-ui-extended",
3
- "version": "0.0.44",
3
+ "version": "0.0.45",
4
4
  "main": "./dist/element-ui-extended.umd.js",
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
7
- "build": "vue-cli-service build",
7
+ "build": "vue-cli-service build && tsc --emitDeclarationOnly",
8
8
  "lint": "vue-cli-service lint",
9
- "build-lib": "vue-cli-service build --target lib src/index.ts",
9
+ "build-lib": "vue-cli-service build --target lib src/index.ts && tsc --emitDeclarationOnly",
10
10
  "test": "mochapack --webpack-config webpack.test.config.js --require mock-local-storage --require ./tests/setup.js ./tests/unit/**/*.js"
11
11
  },
12
12
  "dependencies": {
@@ -44,6 +44,7 @@
44
44
  "prettier": "^2.2.1",
45
45
  "sass": "^1.26.5",
46
46
  "sass-loader": "^8.0.2",
47
+ "ts-loader": "^9.2.6",
47
48
  "typescript": "~4.1.5",
48
49
  "vue-loader": "^15.9.5",
49
50
  "vue-template-compiler": "^2.6.11"
@@ -59,6 +60,7 @@
59
60
  "src/filters.js",
60
61
  "src/filters-top.js"
61
62
  ],
63
+ "typings": "./dist/src/index.d.ts",
62
64
  "description": "## Project setup ``` npm install ```",
63
65
  "repository": {
64
66
  "type": "git",