@aphexcms/cms-core 0.2.1 → 0.2.2
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/dist/components/layout/sidebar/AppSidebar.svelte.d.ts +1 -8
- package/dist/components/layout/sidebar/AppSidebar.svelte.d.ts.map +1 -1
- package/dist/field-validation/date-utils.js +2 -2
- package/dist/field-validation/rule.js +1 -1
- package/dist/lib/field-validation/date-utils.js +2 -2
- package/dist/lib/field-validation/rule.js +1 -1
- package/dist/utils/initial-value-helpers.js +1 -1
- package/package.json +1 -1
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import type { SidebarData } from '../../../types/sidebar.js';
|
|
3
|
-
import type { ComponentProps } from 'svelte';
|
|
4
|
-
type Props = ComponentProps<typeof Sidebar> & {
|
|
5
|
-
data: SidebarData;
|
|
6
|
-
onSignOut?: () => void | Promise<void>;
|
|
7
|
-
};
|
|
8
|
-
declare const AppSidebar: import("svelte").Component<Props, {}, "">;
|
|
1
|
+
declare const AppSidebar: import("svelte").Component<any, {}, "">;
|
|
9
2
|
type AppSidebar = ReturnType<typeof AppSidebar>;
|
|
10
3
|
export default AppSidebar;
|
|
11
4
|
//# sourceMappingURL=AppSidebar.svelte.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppSidebar.svelte.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/layout/sidebar/AppSidebar.svelte.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AppSidebar.svelte.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/layout/sidebar/AppSidebar.svelte.ts"],"names":[],"mappings":"AAyEA,QAAA,MAAM,UAAU,yCAAwC,CAAC;AACzD,KAAK,UAAU,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC;AAChD,eAAe,UAAU,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import dayjs from 'dayjs';
|
|
2
|
-
import customParseFormat from 'dayjs/plugin/customParseFormat';
|
|
3
|
-
import utc from 'dayjs/plugin/utc';
|
|
2
|
+
import customParseFormat from 'dayjs/plugin/customParseFormat.js';
|
|
3
|
+
import utc from 'dayjs/plugin/utc.js';
|
|
4
4
|
dayjs.extend(customParseFormat);
|
|
5
5
|
dayjs.extend(utc);
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Sanity-style validation Rule implementation
|
|
2
2
|
import dayjs from 'dayjs';
|
|
3
|
-
import customParseFormat from 'dayjs/plugin/customParseFormat';
|
|
3
|
+
import customParseFormat from 'dayjs/plugin/customParseFormat.js';
|
|
4
4
|
// Enable strict parsing
|
|
5
5
|
dayjs.extend(customParseFormat);
|
|
6
6
|
export class Rule {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import dayjs from 'dayjs';
|
|
2
|
-
import customParseFormat from 'dayjs/plugin/customParseFormat';
|
|
3
|
-
import utc from 'dayjs/plugin/utc';
|
|
2
|
+
import customParseFormat from 'dayjs/plugin/customParseFormat.js';
|
|
3
|
+
import utc from 'dayjs/plugin/utc.js';
|
|
4
4
|
dayjs.extend(customParseFormat);
|
|
5
5
|
dayjs.extend(utc);
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Sanity-style validation Rule implementation
|
|
2
2
|
import dayjs from 'dayjs';
|
|
3
|
-
import customParseFormat from 'dayjs/plugin/customParseFormat';
|
|
3
|
+
import customParseFormat from 'dayjs/plugin/customParseFormat.js';
|
|
4
4
|
// Enable strict parsing
|
|
5
5
|
dayjs.extend(customParseFormat);
|
|
6
6
|
export class Rule {
|