@hiver/connector-agent 4.22.10-mondayEmailLog-beta.6 → 4.22.10-mondayEmailLog-beta.8
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/features/write-form/components/write-form/index.d.ts.map +1 -1
- package/features/write-form/utils/logEmails.d.ts +20 -4
- package/features/write-form/utils/logEmails.d.ts.map +1 -1
- package/index.es.js +7409 -7397
- package/index.umd.js +455 -455
- package/package.json +1 -1
- package/testing/dev/MondayEmailLogHarness.d.ts.map +1 -1
- package/types/form.d.ts +1 -0
- package/types/form.d.ts.map +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/write-form/components/write-form/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/write-form/components/write-form/index.tsx"],"names":[],"mappings":"AAgFA,OAAO,KAAK,EAA+B,UAAU,EAAkB,MAAM,eAAe,CAAC;AAwB7F,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAE1D,OAAO,KAAK,EAA+B,UAAU,EAAc,MAAM,cAAc,CAAC;AAGxF,eAAO,MAAM,iBAAiB,wCAAwC,CAAC;AAEvE,UAAU,cAAc;IACtB,QAAQ,EAAE,oBAAoB,CAAC;IAC/B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,aAAa,CAAC,EAAE,UAAU,GAAG,IAAI,CAAC;IAClC,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,oBAAoB,CAAC,CAAC,CAAC;IACxE,cAAc,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IAC/D,eAAe,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC,CAAC;IAC3E,iBAAiB,CAAC,EAAE,CAAC,aAAa,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;CAC1D;AACD,QAAA,MAAM,SAAS,gJAWZ,cAAc,4CAg9BhB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -22,6 +22,9 @@ export declare const getOtherAppLoggingName: (status: unknown, currentConnectorI
|
|
|
22
22
|
/**
|
|
23
23
|
* The current logging state of an already-linked task, so the Edit form opens
|
|
24
24
|
* with the toggle reflecting it. Undefined when the task is not enrolled.
|
|
25
|
+
* A conversation paused from the popover header (autoLogEnabled false) reads as
|
|
26
|
+
* off even when the task's own flag is on: otherwise the toggle opened ON and
|
|
27
|
+
* saving any field resumed every task on the conversation (review finding 2).
|
|
25
28
|
*/
|
|
26
29
|
export declare const getLinkedTaskLogState: (status: unknown, externalResourceId?: string | null) => boolean | undefined;
|
|
27
30
|
/**
|
|
@@ -40,10 +43,23 @@ export declare const withoutLogEmailsField: <T extends IFormConfig>(configs: T[]
|
|
|
40
43
|
*/
|
|
41
44
|
export declare const withLogEmailsArg: (args: Record<string, FormArgValue>, values: FormStateValues, fields: FieldLike[] | undefined, blocked: boolean) => Record<string, FormArgValue>;
|
|
42
45
|
/**
|
|
43
|
-
*
|
|
44
|
-
* default
|
|
45
|
-
*
|
|
46
|
-
*
|
|
46
|
+
* The create form's toggle never starts from a saved Pre-fill default (BUG-7 /
|
|
47
|
+
* B-16): that default is dropped before it reaches form state; every other
|
|
48
|
+
* default is untouched. Its only starting value is the admin's "Sync
|
|
49
|
+
* conversations" setting (shouldStartLogEmailsOn). Edit reflects the task's
|
|
50
|
+
* live state separately.
|
|
47
51
|
*/
|
|
52
|
+
/**
|
|
53
|
+
* Whether a create form starts "Log email as a comment" ON: only when monday.com's
|
|
54
|
+
* admin "Sync conversations" is on (the form's logEmailsDefault), the form offers
|
|
55
|
+
* the toggle, and no other app blocks it (R9). Edit never seeds; it shows the
|
|
56
|
+
* task's own state.
|
|
57
|
+
*/
|
|
58
|
+
export declare const shouldStartLogEmailsOn: ({ isEdit, hasToggle, logEmailsDefault, blockedBy }: {
|
|
59
|
+
isEdit: boolean;
|
|
60
|
+
hasToggle: boolean;
|
|
61
|
+
logEmailsDefault?: boolean | null;
|
|
62
|
+
blockedBy?: string | null;
|
|
63
|
+
}) => boolean;
|
|
48
64
|
export declare const withoutLogEmailsDefault: <T extends Record<string, unknown>>(values: T) => T;
|
|
49
65
|
//# sourceMappingURL=logEmails.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logEmails.d.ts","sourceRoot":"","sources":["../../../../src/features/write-form/utils/logEmails.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAkB,WAAW,EAAE,MAAM,eAAe,CAAC;AACjE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAIjD;;;;;GAKG;AACH,OAAO,EACL,qBAAqB,EACrB,oBAAoB,EACpB,0BAA0B,EAC1B,0BAA0B,EAC1B,0BAA0B,EAC1B,iBAAiB,EAClB,MAAM,eAAe,CAAC;AAEvB,KAAK,SAAS,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAEjD;;;;;;GAMG;AACH,eAAO,MAAM,sBAAsB,WAAY,OAAO,uBAAuB,MAAM,GAAG,IAAI,KAAG,MAAM,GAAG,IAcrG,CAAC;AAEF
|
|
1
|
+
{"version":3,"file":"logEmails.d.ts","sourceRoot":"","sources":["../../../../src/features/write-form/utils/logEmails.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAkB,WAAW,EAAE,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