@hkyhy/marsun-components-core 0.1.119 → 0.1.121
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/Filter/createKneFilterField.js +55 -53
- package/dist/components/Filter/createKneFilterField.js.map +1 -1
- package/dist/components/Form/SuperSelect.d.ts +1 -0
- package/dist/components/Form/SuperSelect.js +67 -58
- package/dist/components/Form/SuperSelect.js.map +1 -1
- package/dist/components/Form/createPagedSuperSelectApi.d.ts +60 -0
- package/dist/components/Form/createPagedSuperSelectApi.js +46 -0
- package/dist/components/Form/createPagedSuperSelectApi.js.map +1 -0
- package/dist/components/Form/index.d.ts +3 -0
- package/dist/components/Form/superSelectEmpty.d.ts +5 -0
- package/dist/components/Form/superSelectEmpty.js +11 -0
- package/dist/components/Form/superSelectEmpty.js.map +1 -0
- package/dist/components/FormInfo/fields.d.ts +2 -0
- package/dist/components/FormInfo/fields.js.map +1 -1
- package/dist/components/FormInfo/index.d.ts +2 -2
- package/dist/components/ReactFilter/fields/index.js +35 -27
- package/dist/components/ReactFilter/fields/index.js.map +1 -1
- package/dist/components/Tools/ActionTracking/Cancel/CancelExecutionModal.d.ts +20 -0
- package/dist/components/Tools/ActionTracking/Cancel/CancelExecutionModal.js +82 -0
- package/dist/components/Tools/ActionTracking/Cancel/CancelExecutionModal.js.map +1 -0
- package/dist/components/Tools/ActionTracking/Cancel/CancelExecutionModal.module.scss.js +7 -0
- package/dist/components/Tools/ActionTracking/Cancel/CancelExecutionModal.module.scss.js.map +1 -0
- package/dist/components/Tools/ActionTracking/Cancel/index.d.ts +3 -0
- package/dist/components/Tools/ActionTracking/CreateAction/CreateActionForm.d.ts +25 -0
- package/dist/components/Tools/ActionTracking/CreateAction/CreateActionForm.js +257 -0
- package/dist/components/Tools/ActionTracking/CreateAction/CreateActionForm.js.map +1 -0
- package/dist/components/Tools/ActionTracking/CreateAction/CreateActionForm.module.scss.js +10 -0
- package/dist/components/Tools/ActionTracking/CreateAction/CreateActionForm.module.scss.js.map +1 -0
- package/dist/components/Tools/ActionTracking/CreateAction/CreateActionModal.d.ts +47 -0
- package/dist/components/Tools/ActionTracking/CreateAction/CreateActionModal.js +148 -0
- package/dist/components/Tools/ActionTracking/CreateAction/CreateActionModal.js.map +1 -0
- package/dist/components/Tools/ActionTracking/CreateAction/CreateActionModal.module.scss.js +7 -0
- package/dist/components/Tools/ActionTracking/CreateAction/CreateActionModal.module.scss.js.map +1 -0
- package/dist/components/Tools/ActionTracking/CreateAction/PersonRoleCascader.d.ts +18 -0
- package/dist/components/Tools/ActionTracking/CreateAction/PersonRoleCascader.js +73 -0
- package/dist/components/Tools/ActionTracking/CreateAction/PersonRoleCascader.js.map +1 -0
- package/dist/components/Tools/ActionTracking/CreateAction/PersonRoleCascader.module.scss.js +5 -0
- package/dist/components/Tools/ActionTracking/CreateAction/PersonRoleCascader.module.scss.js.map +1 -0
- package/dist/components/Tools/ActionTracking/CreateAction/PersonRoleCascaderField.d.ts +19 -0
- package/dist/components/Tools/ActionTracking/CreateAction/PersonRoleCascaderField.js +62 -0
- package/dist/components/Tools/ActionTracking/CreateAction/PersonRoleCascaderField.js.map +1 -0
- package/dist/components/Tools/ActionTracking/CreateAction/PersonRoleCascaderField.module.scss.js +8 -0
- package/dist/components/Tools/ActionTracking/CreateAction/PersonRoleCascaderField.module.scss.js.map +1 -0
- package/dist/components/Tools/ActionTracking/CreateAction/SetFormFields.d.ts +4 -0
- package/dist/components/Tools/ActionTracking/CreateAction/SetFormFields.js +14 -0
- package/dist/components/Tools/ActionTracking/CreateAction/SetFormFields.js.map +1 -0
- package/dist/components/Tools/ActionTracking/CreateAction/index.d.ts +12 -0
- package/dist/components/Tools/ActionTracking/CreateAction/personCascadePath.d.ts +5 -0
- package/dist/components/Tools/ActionTracking/CreateAction/personCascadePath.js +30 -0
- package/dist/components/Tools/ActionTracking/CreateAction/personCascadePath.js.map +1 -0
- package/dist/components/Tools/ActionTracking/CreateAction/submitHelpers.d.ts +8 -0
- package/dist/components/Tools/ActionTracking/CreateAction/submitHelpers.js +35 -0
- package/dist/components/Tools/ActionTracking/CreateAction/submitHelpers.js.map +1 -0
- package/dist/components/Tools/ActionTracking/CreateAction/types.d.ts +108 -0
- package/dist/components/Tools/ActionTracking/Follow/ActionFollowModal.d.ts +27 -0
- package/dist/components/Tools/ActionTracking/Follow/ActionFollowModal.js +107 -0
- package/dist/components/Tools/ActionTracking/Follow/ActionFollowModal.js.map +1 -0
- package/dist/components/Tools/ActionTracking/Follow/ActionFollowModal.module.scss.js +11 -0
- package/dist/components/Tools/ActionTracking/Follow/ActionFollowModal.module.scss.js.map +1 -0
- package/dist/components/Tools/ActionTracking/Follow/index.d.ts +3 -0
- package/dist/components/Tools/ActionTracking/List/ActionFilterBar.d.ts +23 -0
- package/dist/components/Tools/ActionTracking/List/ActionFilterBar.js +31 -0
- package/dist/components/Tools/ActionTracking/List/ActionFilterBar.js.map +1 -0
- package/dist/components/Tools/ActionTracking/List/ActionFilterBar.module.scss.js +8 -0
- package/dist/components/Tools/ActionTracking/List/ActionFilterBar.module.scss.js.map +1 -0
- package/dist/components/Tools/ActionTracking/List/ActionListTable.d.ts +29 -0
- package/dist/components/Tools/ActionTracking/List/ActionListTable.js +76 -0
- package/dist/components/Tools/ActionTracking/List/ActionListTable.js.map +1 -0
- package/dist/components/Tools/ActionTracking/List/ActionListTable.module.scss.js +8 -0
- package/dist/components/Tools/ActionTracking/List/ActionListTable.module.scss.js.map +1 -0
- package/dist/components/Tools/ActionTracking/List/filterDefaults.d.ts +15 -0
- package/dist/components/Tools/ActionTracking/List/filterDefaults.js +27 -0
- package/dist/components/Tools/ActionTracking/List/filterDefaults.js.map +1 -0
- package/dist/components/Tools/ActionTracking/List/index.d.ts +6 -0
- package/dist/components/Tools/ActionTracking/List/listTypes.d.ts +49 -0
- package/dist/components/Tools/ActionTracking/{ActionTrackingShell.d.ts → Shell/ActionTrackingShell.d.ts} +1 -1
- package/dist/components/Tools/ActionTracking/{ActionTrackingShell.js → Shell/ActionTrackingShell.js} +1 -1
- package/dist/components/Tools/ActionTracking/Shell/ActionTrackingShell.js.map +1 -0
- package/dist/components/Tools/ActionTracking/Shell/index.d.ts +3 -0
- package/dist/components/Tools/ActionTracking/index.d.ts +11 -2
- package/dist/components/Tools/ActionTracking/utils/index.d.ts +1 -0
- package/dist/components/Tools/ActionTracking/utils/sanitizeActionHtml.d.ts +2 -0
- package/dist/components/Tools/index.d.ts +2 -0
- package/dist/form-info.d.ts +3 -0
- package/dist/form-info.js +80 -72
- package/dist/form-info.js.map +1 -1
- package/dist/index.js +855 -811
- package/dist/index.js.map +1 -1
- package/dist/marsun-components-core.css +2 -2
- package/dist/styles/global.css +2 -2
- package/package.json +1 -1
- package/dist/components/Tools/ActionTracking/ActionTrackingShell.js.map +0 -1
- /package/dist/components/Tools/ActionTracking/{style.module.scss.js → Shell/style.module.scss.js} +0 -0
- /package/dist/components/Tools/ActionTracking/{style.module.scss.js.map → Shell/style.module.scss.js.map} +0 -0
|
@@ -1,2 +1,11 @@
|
|
|
1
|
-
export { default as ActionTrackingShell } from './
|
|
2
|
-
export type { ActionTrackingShellProps } from './
|
|
1
|
+
export { default as ActionTrackingShell } from './Shell';
|
|
2
|
+
export type { ActionTrackingShellProps } from './Shell';
|
|
3
|
+
export { CreateActionModal, CreateActionForm, renderPersonOptionLabel, CREATE_ACTION_VARIETY_PAGE_SIZE, PersonRoleCascader, PersonRoleCascaderField, SetFormFields, findPersonCascadePath, cascadePathStillValid, validateCreateActionPersons, createActionPersonWarnMessage, personDisplayName, addDaysYmd, } from './CreateAction';
|
|
4
|
+
export type { CreateActionModalProps, CreateActionFormProps, PersonRoleCascaderProps, PersonRoleCascaderFieldProps, CreateActionPrefill, CreateActionScopeLock, LockedContextField, ActionPersonCascadeOption, ActionPersonOption, CreateActionPersonCatalog, CreateActionSelectOption, CreateActionDimensionOption, CreateActionLoaders, CreateActionSelectPageQuery, CreateActionSelectPageResult, CreateActionSubmitPayload, CreateActionPersonValidateError, CreateActionPersonValidateResult, } from './CreateAction';
|
|
5
|
+
export { ActionFilterBar, ActionListTable, defaultCreatedRange, normalizeActionFilters, canQueryActionList, resetActionFiltersToDefault, } from './List';
|
|
6
|
+
export type { ActionFilterBarProps, ActionListTableProps, ActionListFilters, ActionListRowBase, ActionListSelectOption, ActionListColumns, ActionListEmptyConfig, } from './List';
|
|
7
|
+
export { default as ActionFollowModal } from './Follow';
|
|
8
|
+
export type { ActionFollowModalProps, ActionFollowView } from './Follow';
|
|
9
|
+
export { default as CancelExecutionModal, CancelExecutionForm } from './Cancel';
|
|
10
|
+
export type { CancelExecutionModalProps } from './Cancel';
|
|
11
|
+
export { sanitizeActionHtml } from './utils';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { sanitizeActionHtml } from './sanitizeActionHtml';
|
|
@@ -2,6 +2,8 @@ export { InboxBell } from './Inbox';
|
|
|
2
2
|
export type { InboxBellItem, InboxBellListResult, InboxBellListParams, InboxBellProps, InboxBellMessageType, } from './Inbox';
|
|
3
3
|
export { ActionTrackingShell } from './ActionTracking';
|
|
4
4
|
export type { ActionTrackingShellProps } from './ActionTracking';
|
|
5
|
+
export { CreateActionModal, CreateActionForm, renderPersonOptionLabel, CREATE_ACTION_VARIETY_PAGE_SIZE, PersonRoleCascader, PersonRoleCascaderField, SetFormFields, findPersonCascadePath, cascadePathStillValid, validateCreateActionPersons, createActionPersonWarnMessage, personDisplayName, addDaysYmd, ActionFilterBar, ActionListTable, ActionFollowModal, CancelExecutionModal, CancelExecutionForm, sanitizeActionHtml, defaultCreatedRange, normalizeActionFilters, canQueryActionList, resetActionFiltersToDefault, } from './ActionTracking';
|
|
6
|
+
export type { CreateActionModalProps, CreateActionFormProps, PersonRoleCascaderProps, PersonRoleCascaderFieldProps, CreateActionPrefill, CreateActionScopeLock, LockedContextField, ActionPersonCascadeOption, ActionPersonOption, CreateActionPersonCatalog, CreateActionSelectOption, CreateActionDimensionOption, CreateActionLoaders, CreateActionSelectPageQuery, CreateActionSelectPageResult, CreateActionSubmitPayload, CreateActionPersonValidateError, CreateActionPersonValidateResult, ActionFilterBarProps, ActionListTableProps, ActionFollowModalProps, ActionFollowView, CancelExecutionModalProps, ActionListFilters, ActionListRowBase, ActionListSelectOption, ActionListColumns, ActionListEmptyConfig, } from './ActionTracking';
|
|
5
7
|
export { MessageTemplateAdmin } from './MessageCenter';
|
|
6
8
|
export type { MessageTemplateAdminProps, MessageTemplateAdminItem, MessageEventCatalogItem, MessageEventCatalogPayload, MessageAudienceRoleOption, MessageAudienceUserOption, MessageTemplateVariable, MessageTemplateVariableAdmin, PushRuleAdminItem, MessageCrudFlags, MessageAdminPermissions, } from './MessageCenter';
|
|
7
9
|
export { generateTemplateCode, normalizeTemplatePlaceholders, applyTemplateVars, resolveMessageAdminPermissions, MSG_CENTER_APP_SWITCH_STORAGE_KEY, SYSTEM_APP_TO_MSG_CENTER_APP_KEY, MSG_CENTER_SWITCHABLE_APP_KEYS, msgCenterAppKeyFromSystemAppCode, filterMsgCenterSwitchableApps, getMsgCenterAppKey, setMsgCenterAppKey, subscribeMsgCenterAppKey, bindMsgCenterAppKeyStorageSync, resolveMsgCenterSwitchState, useMsgCenterAppKey, MsgCenterAppSwitcher, } from './MessageCenter';
|
package/dist/form-info.d.ts
CHANGED
|
@@ -18,6 +18,9 @@ export { normalizeLabelTips, withNormalizedLabelTips } from './components/Form/n
|
|
|
18
18
|
/** Form SuperSelect(allowSelectedAll);实现在 Form/ */
|
|
19
19
|
export { SuperSelect, SUPER_SELECT_ALL_VALUE, isSuperSelectAllValue, } from './components/Form/SuperSelect';
|
|
20
20
|
export type { SuperSelectProps, SuperSelectOption } from './components/Form/SuperSelect';
|
|
21
|
+
export { SUPER_SELECT_EMPTY_TEXT, defaultSuperSelectEmpty, } from './components/Form/superSelectEmpty';
|
|
22
|
+
export { createPagedSuperSelectApi, pagedSuperSelectGetSearchProps, pagedSuperSelectPagination, PAGED_SUPER_SELECT_PAGE_SIZE, } from './components/Form/createPagedSuperSelectApi';
|
|
23
|
+
export type { PagedSuperSelectOption, PagedSuperSelectQuery, PagedSuperSelectPage, CreatePagedSuperSelectApiOptions, } from './components/Form/createPagedSuperSelectApi';
|
|
21
24
|
export { InputRange } from './components/Form/InputRange';
|
|
22
25
|
export type { InputRangeProps, InputRangeValue } from './components/Form/InputRange';
|
|
23
26
|
export { inputRangeRules } from './components/Form/inputRangeRules';
|
package/dist/form-info.js
CHANGED
|
@@ -1,80 +1,88 @@
|
|
|
1
|
-
import { default as
|
|
1
|
+
import { default as t } from "./components/Form/FormDataSync.js";
|
|
2
2
|
import { default as a } from "./components/Form/FetchSelect.js";
|
|
3
|
-
import { default as
|
|
4
|
-
import { default as
|
|
3
|
+
import { default as l } from "./components/Form/FetchTreeSelect.js";
|
|
4
|
+
import { default as m } from "./components/Form/PersonOptionRow/index.js";
|
|
5
5
|
import { normalizeLabelTips as s, withNormalizedLabelTips as d } from "./components/Form/normalizeLabelTips.js";
|
|
6
|
-
import { SUPER_SELECT_ALL_VALUE as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { default as
|
|
12
|
-
import { default as
|
|
13
|
-
import { default as C } from "./components/FormInfo/
|
|
14
|
-
import { default as
|
|
15
|
-
import { default as
|
|
16
|
-
import { default as
|
|
17
|
-
import { default as
|
|
18
|
-
import {
|
|
19
|
-
import { default as
|
|
20
|
-
import {
|
|
21
|
-
import { default as
|
|
22
|
-
import {
|
|
23
|
-
import { default as
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
6
|
+
import { SUPER_SELECT_ALL_VALUE as i, SuperSelect as x, isSuperSelectAllValue as F } from "./components/Form/SuperSelect.js";
|
|
7
|
+
import { SUPER_SELECT_EMPTY_TEXT as c, defaultSuperSelectEmpty as E } from "./components/Form/superSelectEmpty.js";
|
|
8
|
+
import { PAGED_SUPER_SELECT_PAGE_SIZE as L, createPagedSuperSelectApi as R, pagedSuperSelectGetSearchProps as P, pagedSuperSelectPagination as _ } from "./components/Form/createPagedSuperSelectApi.js";
|
|
9
|
+
import { InputRange as A } from "./components/Form/InputRange.js";
|
|
10
|
+
import { inputRangeRules as g } from "./components/Form/inputRangeRules.js";
|
|
11
|
+
import { default as G } from "./components/FormInfo/ErrorTip.js";
|
|
12
|
+
import { default as w } from "./components/FormInfo/Form.js";
|
|
13
|
+
import { default as C } from "./components/FormInfo/FormApiButton.js";
|
|
14
|
+
import { default as y, useFormDrawer as D } from "./components/FormInfo/FormDrawer.js";
|
|
15
|
+
import { default as V } from "./components/FormInfo/FormItem.js";
|
|
16
|
+
import { default as z, useFormModal as O } from "./components/FormInfo/FormModal.js";
|
|
17
|
+
import { default as Y } from "./components/FormInfo/FormSteps.js";
|
|
18
|
+
import { default as j, useFormStepModal as k } from "./components/FormInfo/FormStepsModal.js";
|
|
19
|
+
import { default as H } from "./components/FormInfo/MultiField.js";
|
|
20
|
+
import { CancelButton as K, Input as Q, InputNumber as W, RadioGroup as $, ResetButton as ee, Select as re, SubmitButton as te, Switch as oe, TextArea as ae, TreeSelect as pe } from "./components/FormInfo/fields.js";
|
|
21
|
+
import { default as ue } from "./components/FormInfo/FormInfo.js";
|
|
22
|
+
import { GroupList as fe, RULES as se, default as de, useField as Se, useFormApi as ie, useFormContext as xe, useGroup as Fe, useReset as ne, useSubmit as ce } from "@kne/react-form";
|
|
23
|
+
import { default as Te, default as Le } from "./components/FormInfo/List.js";
|
|
24
|
+
import { RichTextField as Pe } from "./components/FormInfo/RichTextField/index.js";
|
|
25
|
+
import { default as be, validateFieldsByName as Ae } from "./components/FormInfo/Steps.js";
|
|
26
|
+
import { default as ge } from "./components/FormInfo/TableList.js";
|
|
27
|
+
import { VariableMentionField as Ge } from "./components/FormInfo/VariableMentionInput/index.js";
|
|
28
|
+
import { buildFormOverlayProps as we } from "./components/FormInfo/buildFormOverlayProps.js";
|
|
27
29
|
export {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
+
K as CancelButton,
|
|
31
|
+
G as ErrorTip,
|
|
30
32
|
a as FetchSelect,
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
33
|
+
l as FetchTreeSelect,
|
|
34
|
+
w as Form,
|
|
35
|
+
C as FormApiButton,
|
|
36
|
+
t as FormDataSync,
|
|
37
|
+
y as FormDrawer,
|
|
38
|
+
ue as FormInfo,
|
|
39
|
+
V as FormItem,
|
|
40
|
+
z as FormModal,
|
|
41
|
+
Y as FormSteps,
|
|
42
|
+
j as FormStepsModal,
|
|
43
|
+
fe as GroupList,
|
|
44
|
+
Q as Input,
|
|
45
|
+
W as InputNumber,
|
|
46
|
+
A as InputRange,
|
|
47
|
+
Te as List,
|
|
48
|
+
H as MultiField,
|
|
49
|
+
L as PAGED_SUPER_SELECT_PAGE_SIZE,
|
|
50
|
+
m as PersonOptionRow,
|
|
51
|
+
se as RULES,
|
|
52
|
+
$ as RadioGroup,
|
|
53
|
+
de as ReactForm,
|
|
54
|
+
ee as ResetButton,
|
|
55
|
+
Pe as RichTextField,
|
|
56
|
+
i as SUPER_SELECT_ALL_VALUE,
|
|
57
|
+
c as SUPER_SELECT_EMPTY_TEXT,
|
|
58
|
+
re as Select,
|
|
59
|
+
be as Steps,
|
|
60
|
+
Le as SubList,
|
|
61
|
+
te as SubmitButton,
|
|
62
|
+
x as SuperSelect,
|
|
63
|
+
oe as Switch,
|
|
64
|
+
ge as TableList,
|
|
65
|
+
ae as TextArea,
|
|
66
|
+
pe as TreeSelect,
|
|
67
|
+
Ge as VariableMentionField,
|
|
68
|
+
we as buildFormOverlayProps,
|
|
69
|
+
R as createPagedSuperSelectApi,
|
|
70
|
+
E as defaultSuperSelectEmpty,
|
|
71
|
+
g as inputRangeRules,
|
|
72
|
+
F as isSuperSelectAllValue,
|
|
67
73
|
s as normalizeLabelTips,
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
74
|
+
P as pagedSuperSelectGetSearchProps,
|
|
75
|
+
_ as pagedSuperSelectPagination,
|
|
76
|
+
Se as useField,
|
|
77
|
+
ie as useFormApi,
|
|
78
|
+
xe as useFormContext,
|
|
79
|
+
D as useFormDrawer,
|
|
80
|
+
O as useFormModal,
|
|
81
|
+
k as useFormStepModal,
|
|
82
|
+
Fe as useGroup,
|
|
83
|
+
ne as useReset,
|
|
84
|
+
ce as useSubmit,
|
|
85
|
+
Ae as validateFieldsByName,
|
|
78
86
|
d as withNormalizedLabelTips
|
|
79
87
|
};
|
|
80
88
|
//# sourceMappingURL=form-info.js.map
|
package/dist/form-info.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-info.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"form-info.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|