@planningcenter/core-automations 1.16.0 → 1.17.0-rc.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.
- package/dist/cjs/core-automations.esm.js +1 -1
- package/dist/cjs/core-automations.esm.js.map +1 -1
- package/dist/cjs/core-automations.js +1 -1
- package/dist/cjs/core-automations.js.map +1 -1
- package/dist/cjs/core-automations.modern.mjs +1 -1
- package/dist/cjs/core-automations.modern.mjs.map +1 -1
- package/dist/cjs/core-automations.umd.js +1 -1
- package/dist/cjs/core-automations.umd.js.map +1 -1
- package/dist/types/src/history.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +3 -0
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/mocks/handlers.d.ts +4 -0
- package/dist/types/src/mocks/handlers.d.ts.map +1 -1
- package/dist/types/src/new_automation.d.ts +7 -2
- package/dist/types/src/new_automation.d.ts.map +1 -1
- package/dist/types/src/new_automation.stories.d.ts +8 -2
- package/dist/types/src/new_automation.stories.d.ts.map +1 -1
- package/dist/types/src/single_action_inline.d.ts +18 -0
- package/dist/types/src/single_action_inline.d.ts.map +1 -0
- package/dist/types/src/single_action_inline.stories.d.ts +30 -0
- package/dist/types/src/single_action_inline.stories.d.ts.map +1 -0
- package/dist/types/tests/SingleActionInline.test.d.ts +2 -0
- package/dist/types/tests/SingleActionInline.test.d.ts.map +1 -0
- package/package.json +4 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"history.d.ts","sourceRoot":"","sources":["../../../src/history.tsx"],"names":[],"mappings":"AA8BA,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,YAAY,EAAE,MAAM,IAAI,CAAA;KACzB;CACF;AAiMD,KAAK,YAAY,GAAG;IAClB,UAAU,EAAE,kBAAkB,CAAA;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,oBAAoB,EAAE,QAAQ,CAAA;IAC9B,cAAc,CAAC,EAAE,MAAM,IAAI,CAAA;IAC3B,eAAe,EAAE,wBAAwB,CAAA;CAC1C,CAAA;
|
|
1
|
+
{"version":3,"file":"history.d.ts","sourceRoot":"","sources":["../../../src/history.tsx"],"names":[],"mappings":"AA8BA,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,YAAY,EAAE,MAAM,IAAI,CAAA;KACzB;CACF;AAiMD,KAAK,YAAY,GAAG;IAClB,UAAU,EAAE,kBAAkB,CAAA;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,oBAAoB,EAAE,QAAQ,CAAA;IAC9B,cAAc,CAAC,EAAE,MAAM,IAAI,CAAA;IAC3B,eAAe,EAAE,wBAAwB,CAAA;CAC1C,CAAA;gCAuoBsB,YAAY;AAAnC,wBAIC"}
|
|
@@ -1,2 +1,5 @@
|
|
|
1
1
|
export { default as Automations } from "./automations";
|
|
2
|
+
export { default as NewAutomation } from "./new_automation";
|
|
3
|
+
export { default as SingleActionInline } from "./single_action_inline";
|
|
4
|
+
export { fetchAutomations } from "./utils/fetch-automations";
|
|
2
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAA;AACtD,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAC3D,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;AACtE,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA"}
|
|
@@ -11,5 +11,9 @@ export const emptyIncomingSubscriptions: import("msw").RestHandler<import("msw/l
|
|
|
11
11
|
export const personApps: import("msw").RestHandler<import("msw/lib/glossary-de6278a9").M<import("msw/lib/glossary-de6278a9").h>>;
|
|
12
12
|
export const personAppsOptions: import("msw").RestHandler<import("msw/lib/glossary-de6278a9").M<import("msw/lib/glossary-de6278a9").h>>;
|
|
13
13
|
export const paginatedOperationDefinitions: import("msw").RestHandler<import("msw/lib/glossary-de6278a9").M<import("msw/lib/glossary-de6278a9").h>>;
|
|
14
|
+
export const singleTextFieldSubscription: import("msw").RestHandler<import("msw/lib/glossary-de6278a9").M<import("msw/lib/glossary-de6278a9").h>>;
|
|
15
|
+
export const meAutomationSubscriptionsPost: import("msw").RestHandler<import("msw/lib/glossary-de6278a9").M<import("msw/lib/glossary-de6278a9").h>>;
|
|
16
|
+
export const meAutomationSubscriptionPatch: import("msw").RestHandler<import("msw/lib/glossary-de6278a9").M<import("msw/lib/glossary-de6278a9").h>>;
|
|
17
|
+
export const operationDefinitionsWithDateField: import("msw").RestHandler<import("msw/lib/glossary-de6278a9").M<import("msw/lib/glossary-de6278a9").h>>;
|
|
14
18
|
export const handlers: import("msw").RestHandler<import("msw/lib/glossary-de6278a9").M<import("msw/lib/glossary-de6278a9").h>>[];
|
|
15
19
|
//# sourceMappingURL=handlers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"handlers.d.ts","sourceRoot":"","sources":["../../../../src/mocks/handlers.js"],"names":[],"mappings":"AAEA,yIAqBC;AAED,kIAmBC;AAED,0IAqIC;AAED,4IAiEC;AAED,6HA2BC;AAED,oIA+BC;AAED,2IAyHC;AAED,2IA+BC;AAED,gIA2BC;AAED,iJAcC;AAED,iIAgCC;AAED,wIAUC;AAED,oJAuDC;AAED,iIAMC"}
|
|
1
|
+
{"version":3,"file":"handlers.d.ts","sourceRoot":"","sources":["../../../../src/mocks/handlers.js"],"names":[],"mappings":"AAEA,yIAqBC;AAED,kIAmBC;AAED,0IAqIC;AAED,4IAiEC;AAED,6HA2BC;AAED,oIA+BC;AAED,2IAyHC;AAED,2IA+BC;AAED,gIA2BC;AAED,iJAcC;AAED,iIAgCC;AAED,wIAUC;AAED,oJAuDC;AAED,kJAmCC;AAED,oJAaC;AAED,oJAaC;AAED,wJAsCC;AAED,iIAMC"}
|
|
@@ -1,11 +1,16 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare const NewAutomation: React.ForwardRefExoticComponent<{
|
|
2
3
|
afterCreateOptions?: AfterCreateOptions;
|
|
3
4
|
blankStateLink: string;
|
|
4
5
|
debugMode?: boolean;
|
|
5
6
|
defaultApp: string;
|
|
6
7
|
description: string;
|
|
8
|
+
hideFooter?: boolean;
|
|
7
9
|
onRequestClose: () => void;
|
|
10
|
+
onSuccess?: () => void;
|
|
8
11
|
trigger: AutomationTrigger;
|
|
9
|
-
}
|
|
12
|
+
} & React.RefAttributes<{
|
|
13
|
+
submit: () => void;
|
|
14
|
+
}>>;
|
|
10
15
|
export default NewAutomation;
|
|
11
16
|
//# sourceMappingURL=new_automation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"new_automation.d.ts","sourceRoot":"","sources":["../../../src/new_automation.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"new_automation.d.ts","sourceRoot":"","sources":["../../../src/new_automation.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAQN,MAAM,OAAO,CAAA;AA4Hd,QAAA,MAAM,aAAa;yBAaQ,kBAAkB;oBACvB,MAAM;gBACV,OAAO;gBACP,MAAM;iBACL,MAAM;iBACN,OAAO;oBACJ,MAAM,IAAI;gBACd,MAAM,IAAI;aACb,iBAAiB;;YAEH,MAAM,IAAI;GA2dtC,CAAA;AA4JD,eAAe,aAAa,CAAA"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import type { StoryObj } from "@storybook/react";
|
|
2
3
|
declare const meta: {
|
|
3
4
|
args: {
|
|
@@ -6,20 +7,25 @@ declare const meta: {
|
|
|
6
7
|
defaultApp: string;
|
|
7
8
|
description: string;
|
|
8
9
|
};
|
|
9
|
-
component: ({
|
|
10
|
+
component: import("react").ForwardRefExoticComponent<{
|
|
10
11
|
afterCreateOptions?: AfterCreateOptions;
|
|
11
12
|
blankStateLink: string;
|
|
12
13
|
debugMode?: boolean;
|
|
13
14
|
defaultApp: string;
|
|
14
15
|
description: string;
|
|
16
|
+
hideFooter?: boolean;
|
|
15
17
|
onRequestClose: () => void;
|
|
18
|
+
onSuccess?: () => void;
|
|
16
19
|
trigger: AutomationTrigger;
|
|
17
|
-
}
|
|
20
|
+
} & import("react").RefAttributes<{
|
|
21
|
+
submit: () => void;
|
|
22
|
+
}>>;
|
|
18
23
|
title: string;
|
|
19
24
|
};
|
|
20
25
|
export default meta;
|
|
21
26
|
type Story = StoryObj<typeof meta>;
|
|
22
27
|
export declare const Plain: Story;
|
|
23
28
|
export declare const EventsWithTriggerConditions: Story;
|
|
29
|
+
export declare const HideFooter: Story;
|
|
24
30
|
export declare const DynamicTriggerConditions: Story;
|
|
25
31
|
//# sourceMappingURL=new_automation.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"new_automation.stories.d.ts","sourceRoot":"","sources":["../../../src/new_automation.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAItD,QAAA,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"new_automation.stories.d.ts","sourceRoot":"","sources":["../../../src/new_automation.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAItD,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;CAS4B,CAAA;AAEtC,eAAe,IAAI,CAAA;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,KAAK,EAAE,KAanB,CAAA;AAED,eAAO,MAAM,2BAA2B,EAAE,KAkBzC,CAAA;AA0BD,eAAO,MAAM,UAAU,EAAE,KAcxB,CAAA;AAED,eAAO,MAAM,wBAAwB,EAAE,KAoBtC,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare const SingleActionInline: React.ForwardRefExoticComponent<{
|
|
3
|
+
blankStateLink?: string;
|
|
4
|
+
dateFormat?: string;
|
|
5
|
+
defaultApp: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
olsonTimeZone?: string;
|
|
8
|
+
onLoad?: (automation: AutomationInstance | null) => void;
|
|
9
|
+
onRequestClose: () => void;
|
|
10
|
+
onSuccess?: () => void;
|
|
11
|
+
paddingTop?: number;
|
|
12
|
+
trigger: AutomationTrigger;
|
|
13
|
+
twentyFourHourTime?: boolean;
|
|
14
|
+
} & React.RefAttributes<{
|
|
15
|
+
submit: () => void;
|
|
16
|
+
}>>;
|
|
17
|
+
export default SingleActionInline;
|
|
18
|
+
//# sourceMappingURL=single_action_inline.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"single_action_inline.d.ts","sourceRoot":"","sources":["../../../src/single_action_inline.tsx"],"names":[],"mappings":"AAeA,OAAO,KAQN,MAAM,OAAO,CAAA;AAyKd,QAAA,MAAM,kBAAkB;qBAeD,MAAM;iBACV,MAAM;gBACP,MAAM;kBACJ,MAAM;oBACJ,MAAM;0BACA,kBAAkB,GAAG,IAAI,KAAK,IAAI;oBACxC,MAAM,IAAI;gBACd,MAAM,IAAI;iBACT,MAAM;aACV,iBAAiB;yBACL,OAAO;;YAEL,MAAM,IAAI;GAmdtC,CAAA;AAID,eAAe,kBAAkB,CAAA"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { StoryObj } from "@storybook/react";
|
|
3
|
+
declare const meta: {
|
|
4
|
+
args: {
|
|
5
|
+
defaultApp: string;
|
|
6
|
+
onRequestClose: () => void;
|
|
7
|
+
onSuccess: () => void;
|
|
8
|
+
};
|
|
9
|
+
component: import("react").ForwardRefExoticComponent<{
|
|
10
|
+
blankStateLink?: string;
|
|
11
|
+
dateFormat?: string;
|
|
12
|
+
defaultApp: string;
|
|
13
|
+
description?: string;
|
|
14
|
+
olsonTimeZone?: string;
|
|
15
|
+
onLoad?: (automation: AutomationInstance) => void;
|
|
16
|
+
onRequestClose: () => void;
|
|
17
|
+
onSuccess?: () => void;
|
|
18
|
+
paddingTop?: number;
|
|
19
|
+
trigger: AutomationTrigger;
|
|
20
|
+
twentyFourHourTime?: boolean;
|
|
21
|
+
} & import("react").RefAttributes<{
|
|
22
|
+
submit: () => void;
|
|
23
|
+
}>>;
|
|
24
|
+
title: string;
|
|
25
|
+
};
|
|
26
|
+
export default meta;
|
|
27
|
+
type Story = StoryObj<typeof meta>;
|
|
28
|
+
export declare const Plain: Story;
|
|
29
|
+
export declare const MultipleEvents: Story;
|
|
30
|
+
//# sourceMappingURL=single_action_inline.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"single_action_inline.stories.d.ts","sourceRoot":"","sources":["../../../src/single_action_inline.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAItD,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;CAQiC,CAAA;AAE3C,eAAe,IAAI,CAAA;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,KAAK,EAAE,KAanB,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,KAkB5B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SingleActionInline.test.d.ts","sourceRoot":"","sources":["../../../tests/SingleActionInline.test.tsx"],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@planningcenter/core-automations",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.17.0-rc.0",
|
|
4
4
|
"description": "Display and manage core automations",
|
|
5
5
|
"main": "./dist/cjs/core-automations.js",
|
|
6
6
|
"module": "./dist/cjs/core-automations.esm.js",
|
|
@@ -100,11 +100,13 @@
|
|
|
100
100
|
"@planningcenter/icons": ">=15.3.0",
|
|
101
101
|
"@planningcenter/tapestry": "^3.0.1",
|
|
102
102
|
"@planningcenter/tapestry-react": "^4.11",
|
|
103
|
+
"lodash": "^4.17.21",
|
|
103
104
|
"react": "^17.0.0 || ^18.0.0",
|
|
104
105
|
"react-dom": "^17.0.0 || ^18.0.0"
|
|
105
106
|
},
|
|
106
107
|
"packageManager": "yarn@4.14.1",
|
|
107
108
|
"resolutions": {
|
|
108
109
|
"@testing-library/dom": "8.20.0"
|
|
109
|
-
}
|
|
110
|
+
},
|
|
111
|
+
"stableVersion": "1.17.0"
|
|
110
112
|
}
|