@webx-ui/module-inbox 0.6.7 → 0.7.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/FormField.d.ts +18 -0
- package/dist/FormNotifications.d.ts +8 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1788 -1509
- package/dist/index.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types.d.ts +50 -1
- package/package.json +3 -3
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
disabled?: boolean;
|
|
3
|
+
placeholder?: string;
|
|
4
|
+
emptyText?: string;
|
|
5
|
+
};
|
|
6
|
+
type __VLS_PublicProps = {
|
|
7
|
+
modelValue?: string | null;
|
|
8
|
+
} & __VLS_Props;
|
|
9
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
|
+
"update:modelValue": (value: string | null) => any;
|
|
11
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
12
|
+
"onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
|
|
13
|
+
}>, {
|
|
14
|
+
placeholder: string;
|
|
15
|
+
disabled: boolean;
|
|
16
|
+
emptyText: string;
|
|
17
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
18
|
+
export default _default;
|
|
@@ -8,12 +8,19 @@ import { FormOptions, InboxField, RecipientState } from './types';
|
|
|
8
8
|
* The list offered is not every administrator but the ones who may open a submission — a
|
|
9
9
|
* notification is a link, and sending one to somebody who gets a 403 looks like the panel is
|
|
10
10
|
* broken rather than like the form is.
|
|
11
|
+
*
|
|
12
|
+
* Beside the letter, and never instead of it: the channels of the notifications module, when it
|
|
13
|
+
* is installed (NOTIFICATIONS §15.2) — a Telegram chat, another letter with its own template.
|
|
14
|
+
* The picker asks the event's target on the server for names, so this package needs nothing of
|
|
15
|
+
* that module's code; a site without it never sees the card.
|
|
11
16
|
*/
|
|
12
17
|
type __VLS_Props = {
|
|
13
18
|
fields: InboxField[];
|
|
14
19
|
errors: Record<string, string[]>;
|
|
15
20
|
/** What the server said about the saved list: who is deleted or switched off. */
|
|
16
21
|
reported?: RecipientState[];
|
|
22
|
+
/** Whether the notifications module is installed — the server says so on the form. */
|
|
23
|
+
notifications?: boolean;
|
|
17
24
|
};
|
|
18
25
|
type __VLS_PublicProps = {
|
|
19
26
|
modelValue: FormOptions;
|
|
@@ -22,5 +29,5 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
22
29
|
"update:modelValue": (value: FormOptions) => any;
|
|
23
30
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
24
31
|
"onUpdate:modelValue"?: ((value: FormOptions) => any) | undefined;
|
|
25
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
32
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
26
33
|
export default _default;
|
package/dist/index.d.ts
CHANGED
|
@@ -8,5 +8,6 @@ export { default as WxInboxStatusesPage } from './StatusesPage';
|
|
|
8
8
|
export { default as WxInboxSubmissionList } from './SubmissionList';
|
|
9
9
|
export { default as WxInboxSubmissionPage } from './SubmissionPage';
|
|
10
10
|
export { default as WxInboxFieldList } from './FieldList';
|
|
11
|
+
export { default as WxInboxFormField } from './FormField';
|
|
11
12
|
export { FIELD_TYPES, STATUS_COLORS } from './types';
|
|
12
|
-
export type { FieldChoice, FieldInput, FieldOptions, FieldType, FormInput, FormOptions, InboxField, InboxForm, InboxAdmin, InboxPage, InboxRecipient, InboxStatus, InboxSubmission, Recipient, RecipientProblem, RecipientState, StatusColor, StatusInput, SubmissionAttachment, SubmissionColumn, SubmissionCounts, SubmissionEvent, SubmissionInput, SubmissionMassInput, SubmissionMeta, SubmissionQuery, SubmissionRow, SubmissionsPage, SubmissionValue, } from './types';
|
|
13
|
+
export type { ChannelDelivery, FieldChoice, FieldInput, FieldOptions, FieldType, FormCandidate, FormChannel, FormInput, FormOptions, InboxField, InboxForm, InboxAdmin, InboxPage, InboxRecipient, InboxStatus, InboxSubmission, Recipient, RecipientProblem, RecipientState, StatusColor, StatusInput, SubmissionAttachment, SubmissionColumn, SubmissionCounts, SubmissionEvent, SubmissionInput, SubmissionMassInput, SubmissionMeta, SubmissionQuery, SubmissionRow, SubmissionsPage, SubmissionValue, } from './types';
|