@admin-layout/client 4.0.1-alpha.2 → 5.0.1-alpha.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 (37) hide show
  1. package/lib/components/ApplicationErrorFillWrapper.d.ts +2 -2
  2. package/lib/components/ApplicationErrorHandlerCommon.d.ts +2 -2
  3. package/lib/components/ErrorBoundaryCommon.d.ts +3 -3
  4. package/lib/config/defaultSettings.js +5 -5
  5. package/lib/config/defaultSettings.js.map +1 -1
  6. package/lib/config/env-config.d.ts +2 -1
  7. package/lib/config/env-config.js +11 -3
  8. package/lib/config/env-config.js.map +1 -1
  9. package/lib/constants/error.d.ts +5 -5
  10. package/lib/graphql/link/error-link.d.ts +1 -1
  11. package/lib/graphql/link/error-link.js.map +1 -1
  12. package/lib/interfaces/default-settings.d.ts +1 -1
  13. package/lib/interfaces/index.d.ts +0 -1
  14. package/lib/interfaces/index.js +1 -1
  15. package/lib/interfaces/index.js.map +1 -1
  16. package/lib/interfaces/layout/base-menu.d.ts +1 -1
  17. package/lib/interfaces/layout/basic-layout.d.ts +8 -4
  18. package/lib/interfaces/layout/global-header.d.ts +1 -1
  19. package/lib/interfaces/layout/sider-menu.d.ts +3 -3
  20. package/lib/interfaces/pure-settings.d.ts +3 -3
  21. package/lib/interfaces/typings.d.ts +1 -1
  22. package/lib/redux/actions/error-actions.d.ts +1 -1
  23. package/lib/redux/selectors/index.d.ts +1 -1
  24. package/lib/utils/componentSize.d.ts +7 -0
  25. package/lib/utils/componentSize.js +48 -0
  26. package/lib/utils/componentSize.js.map +1 -0
  27. package/lib/utils/index.d.ts +1 -0
  28. package/lib/utils/index.js +1 -0
  29. package/lib/utils/index.js.map +1 -1
  30. package/lib/utils/seperatedMenus.d.ts +1 -1
  31. package/package.json +2 -2
  32. package/lib/interfaces/generated/generated-models.d.ts +0 -2222
  33. package/lib/interfaces/generated/generated-models.js +0 -52
  34. package/lib/interfaces/generated/generated-models.js.map +0 -1
  35. package/lib/interfaces/generated/index.d.ts +0 -1
  36. package/lib/interfaces/generated/index.js +0 -2
  37. package/lib/interfaces/generated/index.js.map +0 -1
@@ -1,52 +0,0 @@
1
- import { gql } from '@apollo/client';
2
- import * as Apollo from '@apollo/client';
3
- const defaultOptions = {};
4
- ;
5
- ;
6
- ;
7
- ;
8
- ;
9
- ;
10
- ;
11
- ;
12
- ;
13
- ;
14
- ;
15
- ;
16
- ;
17
- export const OrgNameInContextFragmentDoc = gql `
18
- fragment OrgNameInContext on Context {
19
- orgName
20
- }
21
- `;
22
- export const GetOrgNameFromContextDocument = gql `
23
- query GetOrgNameFromContext {
24
- getOrgNameFromContext @client {
25
- ...OrgNameInContext
26
- }
27
- }
28
- ${OrgNameInContextFragmentDoc}`;
29
- /**
30
- * __useGetOrgNameFromContextQuery__
31
- *
32
- * To run a query within a React component, call `useGetOrgNameFromContextQuery` and pass it any options that fit your needs.
33
- * When your component renders, `useGetOrgNameFromContextQuery` returns an object from Apollo Client that contains loading, error, and data properties
34
- * you can use to render your UI.
35
- *
36
- * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
37
- *
38
- * @example
39
- * const { data, loading, error } = useGetOrgNameFromContextQuery({
40
- * variables: {
41
- * },
42
- * });
43
- */
44
- export function useGetOrgNameFromContextQuery(baseOptions) {
45
- const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
46
- return Apollo.useQuery(GetOrgNameFromContextDocument, options);
47
- }
48
- export function useGetOrgNameFromContextLazyQuery(baseOptions) {
49
- const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
50
- return Apollo.useLazyQuery(GetOrgNameFromContextDocument, options);
51
- }
52
- //# sourceMappingURL=generated-models.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"generated-models.js","sourceRoot":"","sources":["../../../src/interfaces/generated/generated-models.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AACrC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAOzC,MAAM,cAAc,GAAI,EAAE,CAAA;AAsDzB,CAAC;AA4BD,CAAC;AAeD,CAAC;AAiED,CAAC;AAaD,CAAC;AA+JD,CAAC;AAkaD,CAAC;AAyGD,CAAC;AAMD,CAAC;AAgBD,CAAC;AA6BD,CAAC;AAwTD,CAAC;AA2DD,CAAC;AAqIF,MAAM,CAAC,MAAM,2BAA2B,GAAG,GAAG,CAAA;;;;KAIzC,CAAC;AACN,MAAM,CAAC,MAAM,6BAA6B,GAAG,GAAG,CAAA;;;;;;MAM1C,2BAA2B,EAAE,CAAC;AAEpC;;;;;;;;;;;;;;GAcG;AACH,MAAM,UAAU,6BAA6B,CAAC,WAAwG;IAC9I,MAAM,OAAO,mCAAO,cAAc,GAAK,WAAW,CAAC,CAAA;IACnD,OAAO,MAAM,CAAC,QAAQ,CAAoE,6BAA6B,EAAE,OAAO,CAAC,CAAC;AACpI,CAAC;AACP,MAAM,UAAU,iCAAiC,CAAC,WAA4G;IACpJ,MAAM,OAAO,mCAAO,cAAc,GAAK,WAAW,CAAC,CAAA;IACnD,OAAO,MAAM,CAAC,YAAY,CAAoE,6BAA6B,EAAE,OAAO,CAAC,CAAC;AACxI,CAAC"}
@@ -1 +0,0 @@
1
- export * from './generated-models';
@@ -1,2 +0,0 @@
1
- export * from './generated-models';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/interfaces/generated/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC"}