@hkyhy/marsun-components-core 0.1.122 → 0.1.124
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/README.md +1 -0
- package/dist/components/File/FileItem/index.js +65 -55
- package/dist/components/File/FileItem/index.js.map +1 -1
- package/dist/components/File/FilePreview/FilePreviewContent.js +114 -90
- package/dist/components/File/FilePreview/FilePreviewContent.js.map +1 -1
- package/dist/components/File/FilePreview/index.js +43 -33
- package/dist/components/File/FilePreview/index.js.map +1 -1
- package/dist/components/File/index.d.ts +1 -0
- package/dist/components/File/utils/authedFetch.d.ts +12 -0
- package/dist/components/File/utils/authedFetch.js +50 -0
- package/dist/components/File/utils/authedFetch.js.map +1 -0
- package/dist/components/Form/index.d.ts +1 -1
- package/dist/components/Form/kneFormInfo.d.ts +2 -0
- package/dist/components/Form/kneFormInfo.js +30 -27
- package/dist/components/Form/kneFormInfo.js.map +1 -1
- package/dist/components/FormInfo/fields.d.ts +2 -0
- package/dist/components/FormInfo/fields.js +22 -19
- package/dist/components/FormInfo/fields.js.map +1 -1
- package/dist/components/FormInfo/index.d.ts +1 -1
- package/dist/components/InfoPage/Content/index.d.ts +8 -1
- package/dist/components/InfoPage/Content/index.js +103 -57
- package/dist/components/InfoPage/Content/index.js.map +1 -1
- package/dist/components/InfoPage/Content/style.module.scss.js +10 -8
- package/dist/components/InfoPage/Content/style.module.scss.js.map +1 -1
- package/dist/components/InfoPage/index.d.ts +13 -1
- package/dist/components/Tools/ActionTracking/CreateAction/CreateActionForm.d.ts +8 -1
- package/dist/components/Tools/ActionTracking/CreateAction/CreateActionForm.js +148 -142
- package/dist/components/Tools/ActionTracking/CreateAction/CreateActionForm.js.map +1 -1
- package/dist/components/Tools/ActionTracking/CreateAction/CreateActionForm.module.scss.js +5 -4
- package/dist/components/Tools/ActionTracking/CreateAction/CreateActionForm.module.scss.js.map +1 -1
- package/dist/components/Tools/ActionTracking/CreateAction/CreateActionModal.d.ts +10 -2
- package/dist/components/Tools/ActionTracking/CreateAction/CreateActionModal.js +122 -116
- package/dist/components/Tools/ActionTracking/CreateAction/CreateActionModal.js.map +1 -1
- package/dist/components/Tools/ActionTracking/CreateAction/PersonRoleCascaderField.js +20 -31
- package/dist/components/Tools/ActionTracking/CreateAction/PersonRoleCascaderField.js.map +1 -1
- package/dist/components/Tools/ActionTracking/CreateAction/PersonRoleCascaderField.module.scss.js +1 -2
- package/dist/components/Tools/ActionTracking/CreateAction/PersonRoleCascaderField.module.scss.js.map +1 -1
- package/dist/components/Tools/ActionTracking/CreateAction/index.d.ts +1 -1
- package/dist/components/Tools/ActionTracking/CreateAction/submitHelpers.d.ts +5 -0
- package/dist/components/Tools/ActionTracking/CreateAction/submitHelpers.js +37 -18
- package/dist/components/Tools/ActionTracking/CreateAction/submitHelpers.js.map +1 -1
- package/dist/components/Tools/ActionTracking/CreateAction/types.d.ts +9 -0
- package/dist/components/Tools/ActionTracking/index.d.ts +1 -1
- package/dist/components/Tools/Inbox/InboxBell/InboxBell.d.ts +14 -3
- package/dist/components/Tools/Inbox/InboxBell/InboxBell.js +136 -95
- package/dist/components/Tools/Inbox/InboxBell/InboxBell.js.map +1 -1
- package/dist/components/Tools/Inbox/InboxBell/index.d.ts +1 -1
- package/dist/components/Tools/Inbox/InboxBell/style.module.scss.js +18 -16
- package/dist/components/Tools/Inbox/InboxBell/style.module.scss.js.map +1 -1
- package/dist/components/Tools/Inbox/index.d.ts +2 -1
- package/dist/components/Tools/Inbox/requestInboxBadgeRefresh.d.ts +9 -0
- package/dist/components/Tools/Inbox/requestInboxBadgeRefresh.js +15 -0
- package/dist/components/Tools/Inbox/requestInboxBadgeRefresh.js.map +1 -0
- package/dist/components/Tools/index.d.ts +3 -2
- package/dist/file.js +24 -19
- package/dist/file.js.map +1 -1
- package/dist/form-info.js +46 -45
- package/dist/index.d.ts +1 -0
- package/dist/index.js +534 -524
- package/dist/index.js.map +1 -1
- package/dist/marsun-components-core.css +1 -1
- package/dist/styles/global.css +1 -1
- package/package.json +1 -1
package/dist/form-info.js
CHANGED
|
@@ -3,7 +3,7 @@ import { default as a } from "./components/Form/FetchSelect.js";
|
|
|
3
3
|
import { default as l } from "./components/Form/FetchTreeSelect.js";
|
|
4
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
|
|
6
|
+
import { SUPER_SELECT_ALL_VALUE as S, SuperSelect as x, isSuperSelectAllValue as F } from "./components/Form/SuperSelect.js";
|
|
7
7
|
import { SUPER_SELECT_EMPTY_TEXT as c, defaultSuperSelectEmpty as E } from "./components/Form/superSelectEmpty.js";
|
|
8
8
|
import { PAGED_SUPER_SELECT_PAGE_SIZE as L, createPagedSuperSelectApi as R, pagedSuperSelectGetSearchProps as P, pagedSuperSelectPagination as _ } from "./components/Form/createPagedSuperSelectApi.js";
|
|
9
9
|
import { InputRange as A } from "./components/Form/InputRange.js";
|
|
@@ -11,61 +11,62 @@ import { inputRangeRules as g } from "./components/Form/inputRangeRules.js";
|
|
|
11
11
|
import { default as G } from "./components/FormInfo/ErrorTip.js";
|
|
12
12
|
import { default as w } from "./components/FormInfo/Form.js";
|
|
13
13
|
import { default as C } from "./components/FormInfo/FormApiButton.js";
|
|
14
|
-
import { default as
|
|
14
|
+
import { default as U, useFormDrawer as y } from "./components/FormInfo/FormDrawer.js";
|
|
15
15
|
import { default as V } from "./components/FormInfo/FormItem.js";
|
|
16
16
|
import { default as z, useFormModal as O } from "./components/FormInfo/FormModal.js";
|
|
17
|
-
import { default as
|
|
18
|
-
import { default as
|
|
17
|
+
import { default as X } from "./components/FormInfo/FormSteps.js";
|
|
18
|
+
import { default as Z, useFormStepModal as j } from "./components/FormInfo/FormStepsModal.js";
|
|
19
19
|
import { default as H } from "./components/FormInfo/MultiField.js";
|
|
20
|
-
import { CancelButton as K,
|
|
21
|
-
import { default as
|
|
22
|
-
import { GroupList as
|
|
23
|
-
import { default as
|
|
24
|
-
import { RichTextField as
|
|
25
|
-
import { default as
|
|
26
|
-
import { default as
|
|
27
|
-
import { VariableMentionField as
|
|
28
|
-
import { buildFormOverlayProps as
|
|
20
|
+
import { CancelButton as K, DatePicker as Q, Input as W, InputNumber as $, RadioGroup as ee, ResetButton as re, Select as te, SubmitButton as oe, Switch as ae, TextArea as pe, TreeSelect as le } from "./components/FormInfo/fields.js";
|
|
21
|
+
import { default as me } from "./components/FormInfo/FormInfo.js";
|
|
22
|
+
import { GroupList as se, RULES as de, default as ie, useField as Se, useFormApi as xe, useFormContext as Fe, useGroup as ne, useReset as ce, useSubmit as Ee } from "@kne/react-form";
|
|
23
|
+
import { default as Le, default as Re } from "./components/FormInfo/List.js";
|
|
24
|
+
import { RichTextField as _e } from "./components/FormInfo/RichTextField/index.js";
|
|
25
|
+
import { default as Ae, validateFieldsByName as Me } from "./components/FormInfo/Steps.js";
|
|
26
|
+
import { default as he } from "./components/FormInfo/TableList.js";
|
|
27
|
+
import { VariableMentionField as Ie } from "./components/FormInfo/VariableMentionInput/index.js";
|
|
28
|
+
import { buildFormOverlayProps as Be } from "./components/FormInfo/buildFormOverlayProps.js";
|
|
29
29
|
export {
|
|
30
30
|
K as CancelButton,
|
|
31
|
+
Q as DatePicker,
|
|
31
32
|
G as ErrorTip,
|
|
32
33
|
a as FetchSelect,
|
|
33
34
|
l as FetchTreeSelect,
|
|
34
35
|
w as Form,
|
|
35
36
|
C as FormApiButton,
|
|
36
37
|
t as FormDataSync,
|
|
37
|
-
|
|
38
|
-
|
|
38
|
+
U as FormDrawer,
|
|
39
|
+
me as FormInfo,
|
|
39
40
|
V as FormItem,
|
|
40
41
|
z as FormModal,
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
42
|
+
X as FormSteps,
|
|
43
|
+
Z as FormStepsModal,
|
|
44
|
+
se as GroupList,
|
|
45
|
+
W as Input,
|
|
46
|
+
$ as InputNumber,
|
|
46
47
|
A as InputRange,
|
|
47
|
-
|
|
48
|
+
Le as List,
|
|
48
49
|
H as MultiField,
|
|
49
50
|
L as PAGED_SUPER_SELECT_PAGE_SIZE,
|
|
50
51
|
m as PersonOptionRow,
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
52
|
+
de as RULES,
|
|
53
|
+
ee as RadioGroup,
|
|
54
|
+
ie as ReactForm,
|
|
55
|
+
re as ResetButton,
|
|
56
|
+
_e as RichTextField,
|
|
57
|
+
S as SUPER_SELECT_ALL_VALUE,
|
|
57
58
|
c as SUPER_SELECT_EMPTY_TEXT,
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
59
|
+
te as Select,
|
|
60
|
+
Ae as Steps,
|
|
61
|
+
Re as SubList,
|
|
62
|
+
oe as SubmitButton,
|
|
62
63
|
x as SuperSelect,
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
64
|
+
ae as Switch,
|
|
65
|
+
he as TableList,
|
|
66
|
+
pe as TextArea,
|
|
67
|
+
le as TreeSelect,
|
|
68
|
+
Ie as VariableMentionField,
|
|
69
|
+
Be as buildFormOverlayProps,
|
|
69
70
|
R as createPagedSuperSelectApi,
|
|
70
71
|
E as defaultSuperSelectEmpty,
|
|
71
72
|
g as inputRangeRules,
|
|
@@ -74,15 +75,15 @@ export {
|
|
|
74
75
|
P as pagedSuperSelectGetSearchProps,
|
|
75
76
|
_ as pagedSuperSelectPagination,
|
|
76
77
|
Se as useField,
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
78
|
+
xe as useFormApi,
|
|
79
|
+
Fe as useFormContext,
|
|
80
|
+
y as useFormDrawer,
|
|
80
81
|
O as useFormModal,
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
82
|
+
j as useFormStepModal,
|
|
83
|
+
ne as useGroup,
|
|
84
|
+
ce as useReset,
|
|
85
|
+
Ee as useSubmit,
|
|
86
|
+
Me as validateFieldsByName,
|
|
86
87
|
d as withNormalizedLabelTips
|
|
87
88
|
};
|
|
88
89
|
//# sourceMappingURL=form-info.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -39,6 +39,7 @@ export * from './components/InteractiveBlock';
|
|
|
39
39
|
export * from './components/Layout';
|
|
40
40
|
export * from './components/Modal';
|
|
41
41
|
export { default as InfoPage, Content as InfoPageContent, InfoList, Descriptions as InfoPageDescriptions, DetailList, CentralContent, FieldView, TableView, formatView, defaultFormat, computeColumnsValue, computeDisplay, computeColumnsDisplay, SplitLine, Flow, Report, Score, } from './components/InfoPage';
|
|
42
|
+
export type { ContentItem, ContentLayout, ContentProps, InfoPagePartProps, } from './components/InfoPage';
|
|
42
43
|
export { FlexBox, FlexBoxFetch, useFlexBox, defaultColumns as flexBoxDefaultColumns, FlexBoxView, FlexBoxViewItem, getItemKey as flexBoxGetItemKey, } from './components/FlexBox';
|
|
43
44
|
export { ReactModal, ReactDrawer, useModal, useDrawer, useConfirmModal, DrawerContextHolder, ScrollRegion, TabsLayout, ColumnsLayout, createModalRender, createDrawerRender, modalClassNames, } from './components/ReactModal';
|
|
44
45
|
export * from './components/Permissions';
|