@cortezaproject/corteza-vue 2021.9.0-dev.4 → 2021.9.0-dev.5

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.
@@ -7,5 +7,5 @@ export * from './prompts';
7
7
  export { CLoaderLogo, } from './loader';
8
8
  export { CTopbar, CSidebar, CSidebarNavItems, } from './navigation';
9
9
  export { CToaster, CToasterLink, } from './toaster';
10
- export { CHamburgerMenu, CReminderSidebar, } from './sidebar';
10
+ export { CReminderSidebar, } from './reminders';
11
11
  export { default as C3 } from './c3';
@@ -1 +1,14 @@
1
1
  export declare const modalOpenEventName = "c-permissions-modal-open";
2
+ interface ResourceParts {
3
+ component: string;
4
+ resourceType?: string;
5
+ references: Array<string>;
6
+ i18nPrefix: string;
7
+ }
8
+ /**
9
+ * Splitting strings:
10
+ * - corteza::compose:moduleField/42/21/12
11
+ * - corteza::compose/42/21/12
12
+ */
13
+ export declare function split(input: string): ResourceParts;
14
+ export {};
@@ -0,0 +1 @@
1
+ export { default as CReminderSidebar } from './CReminderSidebar.vue';
@@ -1,2 +1 @@
1
- export { default as CHamburgerMenu } from './CHamburgerMenu.vue';
2
1
  export { default as CReminderSidebar } from './CReminderSidebar.vue';
@@ -1,10 +1,2 @@
1
- import { Moment } from 'moment';
2
- export declare function isoDate(d: Moment | Date | string | number): string;
3
- export declare function isoDateOnly(d: Moment | Date | string | number): string;
4
- export declare function locDate(d: Moment | Date | string | number): string;
5
- export declare function locLongDate(d: Moment | Date | string | number): string;
6
- export declare function locDateOnly(d: Moment | Date | string | number): string;
7
- export declare function locLongDateOnly(d: Moment | Date | string | number): string;
8
- export declare function locTimeOnly(d: Moment | Date | string | number): string;
9
- export declare function locLongTimeOnly(d: Moment | Date | string | number): string;
10
- export declare function relTime(d: Moment | Date | string | number, s?: boolean): string;
1
+ export declare function locFullDateTime(d: unknown): string;
2
+ export declare function locDate(d: unknown): string;
package/dist/i18n.d.ts CHANGED
@@ -14,7 +14,7 @@ interface Options {
14
14
  */
15
15
  fallbackNS: string | false;
16
16
  /**
17
- * What namespace to use when not explcitly defined
17
+ * What namespace to use when not explicitly defined
18
18
  * When empty, default is set to the value of (the first item in) ns
19
19
  */
20
20
  defaultNS: string;