@fewbox/den-app 0.1.43
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/index-app.d.ts +13 -0
- package/index.css +1 -0
- package/index.js +2 -0
- package/index.js.map +1 -0
- package/jest.setup.d.ts +1 -0
- package/package.json +26 -0
- package/scripts/copy-templates.js +29 -0
- package/scripts/generate-packages.js +41 -0
- package/src/components/Auth/FigmaSignin/index.d.ts +9 -0
- package/src/components/Auth/GoogleGrant/index.d.ts +41 -0
- package/src/components/Auth/GoogleSignin/index.d.ts +18 -0
- package/src/components/Auth/WeComSignin/index.d.ts +8 -0
- package/src/components/Auth/util.d.ts +17 -0
- package/src/components/Debug/index.d.ts +6 -0
- package/src/components/Engine/Base/NativeAttributeMap.d.ts +2 -0
- package/src/components/Engine/Base/ViewAttributes.d.ts +2 -0
- package/src/components/Engine/Base/index.d.ts +61 -0
- package/src/components/Engine/index.d.ts +125 -0
- package/src/components/Layout/Display/index.d.ts +18 -0
- package/src/components/Layout/Dock/index.d.ts +42 -0
- package/src/components/Layout/Flex/index.d.ts +45 -0
- package/src/components/Layout/FlexItem/index.d.ts +18 -0
- package/src/components/Layout/Position/index.d.ts +32 -0
- package/src/components/Layout/PositionArea/index.d.ts +10 -0
- package/src/components/Layout/Responsive/index.d.ts +8 -0
- package/src/components/Layout/SBaseline/index.d.ts +5 -0
- package/src/components/Layout/SBottom/index.d.ts +6 -0
- package/src/components/Layout/SCenter/index.d.ts +5 -0
- package/src/components/Layout/SLeft/index.d.ts +5 -0
- package/src/components/Layout/SMiddle/index.d.ts +5 -0
- package/src/components/Layout/SRight/index.d.ts +5 -0
- package/src/components/Layout/SStretch/index.d.ts +5 -0
- package/src/components/Layout/STop/index.d.ts +5 -0
- package/src/components/Layout/X/index.d.ts +5 -0
- package/src/components/Layout/XAround/index.d.ts +5 -0
- package/src/components/Layout/XAutoBoth/index.d.ts +5 -0
- package/src/components/Layout/XAutoCenter/index.d.ts +5 -0
- package/src/components/Layout/XAutoLeft/index.d.ts +5 -0
- package/src/components/Layout/XAutoLefts/index.d.ts +5 -0
- package/src/components/Layout/XAutoRight/index.d.ts +5 -0
- package/src/components/Layout/XAutoRights/index.d.ts +5 -0
- package/src/components/Layout/XBase/index.d.ts +18 -0
- package/src/components/Layout/XBetween/index.d.ts +5 -0
- package/src/components/Layout/XCenter/index.d.ts +5 -0
- package/src/components/Layout/XCustom/index.d.ts +7 -0
- package/src/components/Layout/XCustomBoth/index.d.ts +7 -0
- package/src/components/Layout/XEvenly/index.d.ts +5 -0
- package/src/components/Layout/XLeft/index.d.ts +5 -0
- package/src/components/Layout/XRight/index.d.ts +5 -0
- package/src/components/Layout/XWrapAround/index.d.ts +5 -0
- package/src/components/Layout/XWrapBetween/index.d.ts +5 -0
- package/src/components/Layout/XWrapBottom/index.d.ts +5 -0
- package/src/components/Layout/XWrapEvenly/index.d.ts +5 -0
- package/src/components/Layout/XWrapMiddle/index.d.ts +5 -0
- package/src/components/Layout/XWrapTop/index.d.ts +5 -0
- package/src/components/Layout/Y/index.d.ts +5 -0
- package/src/components/Layout/YAround/index.d.ts +5 -0
- package/src/components/Layout/YAutoBoth/index.d.ts +5 -0
- package/src/components/Layout/YAutoBottom/index.d.ts +5 -0
- package/src/components/Layout/YAutoBottoms/index.d.ts +5 -0
- package/src/components/Layout/YAutoCenter/index.d.ts +5 -0
- package/src/components/Layout/YAutoTop/index.d.ts +5 -0
- package/src/components/Layout/YAutoTops/index.d.ts +5 -0
- package/src/components/Layout/YBase/index.d.ts +18 -0
- package/src/components/Layout/YBetween/index.d.ts +5 -0
- package/src/components/Layout/YBottom/index.d.ts +5 -0
- package/src/components/Layout/YCustom/index.d.ts +7 -0
- package/src/components/Layout/YCustomBoth/index.d.ts +7 -0
- package/src/components/Layout/YEvenly/index.d.ts +5 -0
- package/src/components/Layout/YMiddle/index.d.ts +5 -0
- package/src/components/Layout/YTop/index.d.ts +5 -0
- package/src/components/Layout/YWrapAround/index.d.ts +5 -0
- package/src/components/Layout/YWrapBetween/index.d.ts +5 -0
- package/src/components/Layout/YWrapCenter/index.d.ts +5 -0
- package/src/components/Layout/YWrapEvenly/index.d.ts +5 -0
- package/src/components/Layout/YWrapLeft/index.d.ts +5 -0
- package/src/components/Layout/YWrapRight/index.d.ts +5 -0
- package/src/components/Layout/index.d.ts +8 -0
- package/src/components/Layout/util.d.ts +6 -0
- package/src/components/View/VActionForm/index.d.ts +7 -0
- package/src/components/View/VAnimation/index.d.ts +127 -0
- package/src/components/View/VAudio/index.d.ts +10 -0
- package/src/components/View/VAvatar/index.d.ts +12 -0
- package/src/components/View/VBackground/index.d.ts +18 -0
- package/src/components/View/VBadge/index.d.ts +6 -0
- package/src/components/View/VBlock/index.d.ts +9 -0
- package/src/components/View/VBoundary/index.d.ts +6 -0
- package/src/components/View/VCard/index.d.ts +8 -0
- package/src/components/View/VCardMedia/index.d.ts +9 -0
- package/src/components/View/VCardSocial/index.d.ts +13 -0
- package/src/components/View/VCardWindow/index.d.ts +15 -0
- package/src/components/View/VChromeExtensionValidator/index.d.ts +23 -0
- package/src/components/View/VDynamic/index.d.ts +7 -0
- package/src/components/View/VErrorBoundary/index.d.ts +18 -0
- package/src/components/View/VFooter/index.d.ts +5 -0
- package/src/components/View/VForm/index.d.ts +13 -0
- package/src/components/View/VFrame/index.d.ts +12 -0
- package/src/components/View/VGoogleFont/index.d.ts +18 -0
- package/src/components/View/VHR/index.d.ts +5 -0
- package/src/components/View/VHeader/index.d.ts +5 -0
- package/src/components/View/VHyperlink/index.d.ts +13 -0
- package/src/components/View/VImage/index.d.ts +13 -0
- package/src/components/View/VInput/VBase64File/index.d.ts +10 -0
- package/src/components/View/VInput/VCheckBox/index.d.ts +6 -0
- package/src/components/View/VInput/VColor/index.d.ts +7 -0
- package/src/components/View/VInput/VDate/index.d.ts +7 -0
- package/src/components/View/VInput/VDatetimeLocal/index.d.ts +7 -0
- package/src/components/View/VInput/VDropdown/index.d.ts +38 -0
- package/src/components/View/VInput/VEmail/index.d.ts +5 -0
- package/src/components/View/VInput/VFile/index.d.ts +29 -0
- package/src/components/View/VInput/VGroup/index.d.ts +10 -0
- package/src/components/View/VInput/VHidden/index.d.ts +5 -0
- package/src/components/View/VInput/VMonth/index.d.ts +5 -0
- package/src/components/View/VInput/VNumber/index.d.ts +5 -0
- package/src/components/View/VInput/VPassword/index.d.ts +5 -0
- package/src/components/View/VInput/VRadio/index.d.ts +6 -0
- package/src/components/View/VInput/VRange/index.d.ts +10 -0
- package/src/components/View/VInput/VSearch/index.d.ts +5 -0
- package/src/components/View/VInput/VSubmit/index.d.ts +8 -0
- package/src/components/View/VInput/VSubmitWrapper/index.d.ts +6 -0
- package/src/components/View/VInput/VTel/index.d.ts +5 -0
- package/src/components/View/VInput/VTextBox/index.d.ts +6 -0
- package/src/components/View/VInput/VTime/index.d.ts +5 -0
- package/src/components/View/VInput/VUrl/index.d.ts +5 -0
- package/src/components/View/VInput/VWeek/index.d.ts +5 -0
- package/src/components/View/VInput/index.d.ts +29 -0
- package/src/components/View/VLabel/index.d.ts +57 -0
- package/src/components/View/VLoading/index.d.ts +8 -0
- package/src/components/View/VMain/index.d.ts +5 -0
- package/src/components/View/VMask/index.d.ts +5 -0
- package/src/components/View/VMount/index.d.ts +5 -0
- package/src/components/View/VPhoto/index.d.ts +20 -0
- package/src/components/View/VRoot/index.d.ts +15 -0
- package/src/components/View/VSection/index.d.ts +5 -0
- package/src/components/View/VSelect/index.d.ts +14 -0
- package/src/components/View/VShadow/index.d.ts +15 -0
- package/src/components/View/VShape/VEllipse/index.d.ts +10 -0
- package/src/components/View/VShape/VLine/index.d.ts +10 -0
- package/src/components/View/VShape/VRectangle/index.d.ts +10 -0
- package/src/components/View/VStack/index.d.ts +5 -0
- package/src/components/View/VSvg/index.d.ts +15 -0
- package/src/components/View/VSwitch/index.d.ts +13 -0
- package/src/components/View/VTemplate/index.d.ts +5 -0
- package/src/components/View/VText/index.d.ts +23 -0
- package/src/components/View/VTextArea/index.d.ts +12 -0
- package/src/components/View/VTheme/index.d.ts +42 -0
- package/src/components/View/VTooltip/index.d.ts +17 -0
- package/src/components/View/VTree/Block/index.d.ts +14 -0
- package/src/components/View/VTree/index.d.ts +15 -0
- package/src/components/View/VVideo/index.d.ts +10 -0
- package/src/components/View/VZone/index.d.ts +14 -0
- package/src/components/app.d.ts +11 -0
- package/src/components/consts.d.ts +2 -0
- package/src/components/core.d.ts +117 -0
- package/src/components/util.d.ts +1 -0
- package/src/components/web.d.ts +9 -0
- package/src/fewbox/index.d.ts +42 -0
- package/src/language/index.d.ts +13 -0
- package/src/network/FormHeaders.d.ts +2 -0
- package/src/network/IGraphQL.d.ts +6 -0
- package/src/network/JsonHeaders.d.ts +5 -0
- package/src/network/Network.d.ts +45 -0
- package/src/network/NetworkObservableBase.d.ts +14 -0
- package/src/network/StreamObservableBase.d.ts +11 -0
- package/src/network/UploadHeaders.d.ts +2 -0
- package/src/network/WS.d.ts +11 -0
- package/src/network/ajax/default/Delete.d.ts +5 -0
- package/src/network/ajax/default/DeleteText.d.ts +5 -0
- package/src/network/ajax/default/Get.d.ts +5 -0
- package/src/network/ajax/default/GetLocal.d.ts +5 -0
- package/src/network/ajax/default/GetText.d.ts +5 -0
- package/src/network/ajax/default/NetworkObservableAjax.d.ts +7 -0
- package/src/network/ajax/default/Patch.d.ts +5 -0
- package/src/network/ajax/default/PatchText.d.ts +5 -0
- package/src/network/ajax/default/Post.d.ts +5 -0
- package/src/network/ajax/default/PostText.d.ts +5 -0
- package/src/network/ajax/default/Put.d.ts +5 -0
- package/src/network/ajax/default/PutText.d.ts +5 -0
- package/src/network/ajax/external/DeleteExternal.d.ts +5 -0
- package/src/network/ajax/external/DeleteTextExternal.d.ts +5 -0
- package/src/network/ajax/external/GetExternal.d.ts +5 -0
- package/src/network/ajax/external/GetTextExternal.d.ts +5 -0
- package/src/network/ajax/external/NetworkObservableAjaxExternal.d.ts +8 -0
- package/src/network/ajax/external/PatchExternal.d.ts +5 -0
- package/src/network/ajax/external/PatchTextExternal.d.ts +5 -0
- package/src/network/ajax/external/PostExternal.d.ts +5 -0
- package/src/network/ajax/external/PostTextExternal.d.ts +5 -0
- package/src/network/ajax/external/PutExternal.d.ts +5 -0
- package/src/network/ajax/external/PutTextExternal.d.ts +5 -0
- package/src/network/fetch/default/DeleteFetch.d.ts +5 -0
- package/src/network/fetch/default/GetFetch.d.ts +5 -0
- package/src/network/fetch/default/NetworkObservableFetch.d.ts +7 -0
- package/src/network/fetch/default/PatchFetch.d.ts +5 -0
- package/src/network/fetch/default/PostFetch.d.ts +5 -0
- package/src/network/fetch/default/PutFetch.d.ts +5 -0
- package/src/network/fetch/external/DeleteFetchExternal.d.ts +5 -0
- package/src/network/fetch/external/GetFetchExternal.d.ts +5 -0
- package/src/network/fetch/external/NetworkObservableFetchExternal.d.ts +8 -0
- package/src/network/fetch/external/PatchFetchExternal.d.ts +5 -0
- package/src/network/fetch/external/PostFetchExternal.d.ts +5 -0
- package/src/network/fetch/external/PutFetchExternal.d.ts +5 -0
- package/src/network/graphql/default/GQL.d.ts +6 -0
- package/src/network/graphql/default/GQLUpload.d.ts +5 -0
- package/src/network/graphql/default/NetworkObservableGQL.d.ts +7 -0
- package/src/network/graphql/external/GQLExternal.d.ts +6 -0
- package/src/network/graphql/external/GQLExternalUpload.d.ts +6 -0
- package/src/network/graphql/external/NetworkObservableGQLExternal.d.ts +7 -0
- package/src/network/index.d.ts +47 -0
- package/src/network/sse/default/GetSSE.d.ts +5 -0
- package/src/network/sse/default/PostSSE.d.ts +5 -0
- package/src/network/sse/default/StreamObservableSSE.d.ts +5 -0
- package/src/network/sse/external/GetSSEExternal.d.ts +5 -0
- package/src/network/sse/external/PostSSEExternal.d.ts +5 -0
- package/src/network/sse/external/StreamObservableSSEExternal.d.ts +6 -0
- package/src/network/util.d.ts +5 -0
- package/src/store/EnumDictionary.d.ts +3 -0
- package/src/store/IContinuePaging.d.ts +4 -0
- package/src/store/IList.d.ts +3 -0
- package/src/store/IMetaResponse.d.ts +5 -0
- package/src/store/IPaging.d.ts +6 -0
- package/src/store/IPayloadResponse.d.ts +4 -0
- package/src/store/Json.d.ts +9 -0
- package/src/store/index.d.ts +7 -0
- package/templates/.claude/skills/fewbox-den/SKILL.md +1111 -0
- package/templates/FEWBOX.md +72 -0
- package/templates/style/_core.scss +288 -0
- package/templates/style/_root-properties.scss +55 -0
- package/templates/style/_root.scss +6 -0
- package/templates/style/_variables.scss +193 -0
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
export { default as Base, IBaseProps, IBaseStates, IBaseReturn, IViewProps } from './Engine/Base';
|
|
2
|
+
export { BreakpointType } from './Layout';
|
|
3
|
+
export { default as VZone, ZoneCategory } from './View/VZone';
|
|
4
|
+
export { default as Display, DisplayCategory, DisplayType } from './Layout/Display';
|
|
5
|
+
export { default as Responsive } from './Layout/Responsive';
|
|
6
|
+
export { FontSizeType, FontWeightType, FontFamilyType, BorderRadiusType, LineHeightType, LetterSpacingType, PaddingType, ViewSizeType, FullColorType, ColorType, getGeneratedClassName } from './Engine';
|
|
7
|
+
export { default as Dock, DockCategory, DockAlignment } from './Layout/Dock';
|
|
8
|
+
export { default as Position, PositionCategory, PositionType } from './Layout/Position';
|
|
9
|
+
export { default as PositionArea, PositionAreaCategory } from './Layout/PositionArea';
|
|
10
|
+
export { default as Flex, FlexDirectionType, FlexWrapType, FlexJustifyContentType, FlexAlignItemsType, FlexAlignContentType } from './Layout/Flex';
|
|
11
|
+
export { default as FlexItem, FlexItemAlignSelfType } from './Layout/FlexItem';
|
|
12
|
+
export { default as SBaseline } from './Layout/SBaseline';
|
|
13
|
+
export { default as SBottom } from './Layout/SBottom';
|
|
14
|
+
export { default as SLeft } from './Layout/SLeft';
|
|
15
|
+
export { default as SMiddle } from './Layout/SMiddle';
|
|
16
|
+
export { default as SRight } from './Layout/SRight';
|
|
17
|
+
export { default as SCenter } from './Layout/SCenter';
|
|
18
|
+
export { default as SStretch } from './Layout/SStretch';
|
|
19
|
+
export { default as STop } from './Layout/STop';
|
|
20
|
+
export { default as X } from './Layout/X';
|
|
21
|
+
export { default as XAround } from './Layout/XAround';
|
|
22
|
+
export { default as XAutoBoth } from './Layout/XAutoBoth';
|
|
23
|
+
export { default as XAutoCenter } from './Layout/XAutoCenter';
|
|
24
|
+
export { default as XAutoLeft } from './Layout/XAutoLeft';
|
|
25
|
+
export { default as XAutoLefts } from './Layout/XAutoLefts';
|
|
26
|
+
export { default as XAutoRight } from './Layout/XAutoRight';
|
|
27
|
+
export { default as XAutoRights } from './Layout/XAutoRights';
|
|
28
|
+
export { default as XBetween } from './Layout/XBetween';
|
|
29
|
+
export { default as XCenter } from './Layout/XCenter';
|
|
30
|
+
export { default as XCustom } from './Layout/XCustom';
|
|
31
|
+
export { default as XCustomBoth } from './Layout/XCustomBoth';
|
|
32
|
+
export { default as XEvenly } from './Layout/XEvenly';
|
|
33
|
+
export { default as XLeft } from './Layout/XLeft';
|
|
34
|
+
export { default as XRight } from './Layout/XRight';
|
|
35
|
+
export { default as XWrapAround } from './Layout/XWrapAround';
|
|
36
|
+
export { default as XWrapBetween } from './Layout/XWrapBetween';
|
|
37
|
+
export { default as XWrapBottom } from './Layout/XWrapBottom';
|
|
38
|
+
export { default as XWrapEvenly } from './Layout/XWrapEvenly';
|
|
39
|
+
export { default as XWrapMiddle } from './Layout/XWrapMiddle';
|
|
40
|
+
export { default as XWrapTop } from './Layout/XWrapTop';
|
|
41
|
+
export { XCrossType } from './Layout/XBase';
|
|
42
|
+
export { default as Y } from './Layout/Y';
|
|
43
|
+
export { default as YBetween } from './Layout/YBetween';
|
|
44
|
+
export { default as YMiddle } from './Layout/YMiddle';
|
|
45
|
+
export { default as YTop } from './Layout/YTop';
|
|
46
|
+
export { default as YBottom } from './Layout/YBottom';
|
|
47
|
+
export { default as YAround } from './Layout/YAround';
|
|
48
|
+
export { default as YEvenly } from './Layout/YEvenly';
|
|
49
|
+
export { default as YAutoTop } from './Layout/YAutoTop';
|
|
50
|
+
export { default as YAutoCenter } from './Layout/YAutoCenter';
|
|
51
|
+
export { default as YAutoBottom } from './Layout/YAutoBottom';
|
|
52
|
+
export { default as YAutoTops } from './Layout/YAutoTops';
|
|
53
|
+
export { default as YAutoBottoms } from './Layout/YAutoBottoms';
|
|
54
|
+
export { default as YAutoBoth } from './Layout/YAutoBoth';
|
|
55
|
+
export { default as YCustom } from './Layout/YCustom';
|
|
56
|
+
export { default as YCustomBoth } from './Layout/YCustomBoth';
|
|
57
|
+
export { default as YWrapLeft } from './Layout/YWrapLeft';
|
|
58
|
+
export { default as YWrapCenter } from './Layout/YWrapCenter';
|
|
59
|
+
export { default as YWrapRight } from './Layout/YWrapRight';
|
|
60
|
+
export { default as YWrapAround } from './Layout/YWrapAround';
|
|
61
|
+
export { default as YWrapBetween } from './Layout/YWrapBetween';
|
|
62
|
+
export { default as YWrapEvenly } from './Layout/YWrapEvenly';
|
|
63
|
+
export { YCrossType } from './Layout/YBase';
|
|
64
|
+
export { default as VBoundary } from './View/VBoundary';
|
|
65
|
+
export { default as VBackground, BackgroundPositionType } from './View/VBackground';
|
|
66
|
+
export { default as VForm, HandleSubmitCategory } from './View/VForm';
|
|
67
|
+
export { default as VActionForm } from './View/VActionForm';
|
|
68
|
+
export { default as VCheckBox } from './View/VInput/VCheckBox';
|
|
69
|
+
export { default as VColor } from './View/VInput/VColor';
|
|
70
|
+
export { default as VDate } from './View/VInput/VDate';
|
|
71
|
+
export { default as VDatetimeLocal } from './View/VInput/VDatetimeLocal';
|
|
72
|
+
export { default as VEmail } from './View/VInput/VEmail';
|
|
73
|
+
export { default as VFile, FileCategory } from './View/VInput/VFile';
|
|
74
|
+
export { default as VBase64File } from './View/VInput/VBase64File';
|
|
75
|
+
export { default as VMonth } from './View/VInput/VMonth';
|
|
76
|
+
export { default as VNumber } from './View/VInput/VNumber';
|
|
77
|
+
export { default as VPassword } from './View/VInput/VPassword';
|
|
78
|
+
export { default as VRadio } from './View/VInput/VRadio';
|
|
79
|
+
export { default as VRange } from './View/VInput/VRange';
|
|
80
|
+
export { default as VSearch } from './View/VInput/VSearch';
|
|
81
|
+
export { default as VSubmit } from './View/VInput/VSubmit';
|
|
82
|
+
export { default as VSubmitWrapper } from './View/VInput/VSubmitWrapper';
|
|
83
|
+
export { default as VTel } from './View/VInput/VTel';
|
|
84
|
+
export { default as VTextBox } from './View/VInput/VTextBox';
|
|
85
|
+
export { default as VTime } from './View/VInput/VTime';
|
|
86
|
+
export { default as VUrl } from './View/VInput/VUrl';
|
|
87
|
+
export { default as VWeek } from './View/VInput/VWeek';
|
|
88
|
+
export { default as VHidden } from './View/VInput/VHidden';
|
|
89
|
+
export { default as VGroup } from './View/VInput/VGroup';
|
|
90
|
+
export { default as VSwitch } from './View/VSwitch';
|
|
91
|
+
export { default as VSelect, ISelectItemData } from './View/VSelect';
|
|
92
|
+
export { default as VDropdown, IDropdownItemData } from './View/VInput/VDropdown';
|
|
93
|
+
export { default as VSvg, SvgCategory } from './View/VSvg';
|
|
94
|
+
export { default as VHyperlink, HyperlinkCategory } from './View/VHyperlink';
|
|
95
|
+
export { default as VImage, ImageCategory } from './View/VImage';
|
|
96
|
+
export { default as VLabel, LabelCategory, LabelType, LabelAlignType } from './View/VLabel';
|
|
97
|
+
export { default as VText, TextCategory, TextAlignType } from './View/VText';
|
|
98
|
+
export { default as VTextArea } from './View/VTextArea';
|
|
99
|
+
export { default as VEllipse, EllipseCategory } from './View/VShape/VEllipse';
|
|
100
|
+
export { default as VLine, LineCategory } from './View/VShape/VLine';
|
|
101
|
+
export { default as VRectangle } from './View/VShape/VRectangle';
|
|
102
|
+
export { default as VShadow, ShadowCategory } from './View/VShadow';
|
|
103
|
+
export { default as VAnimation, AnimationCategory, AnimationDelay, AnimationRepeat, AnimationSpeed } from './View/VAnimation';
|
|
104
|
+
export { default as VAudio } from './View/VAudio';
|
|
105
|
+
export { default as VVideo } from './View/VVideo';
|
|
106
|
+
export { default as VHeader } from './View/VHeader';
|
|
107
|
+
export { default as VMain } from './View/VMain';
|
|
108
|
+
export { default as VFooter } from './View/VFooter';
|
|
109
|
+
export { default as VHR } from './View/VHR';
|
|
110
|
+
export { default as VSection } from './View/VSection';
|
|
111
|
+
export { default as VMask } from './View/VMask';
|
|
112
|
+
export { default as VFrame } from './View/VFrame';
|
|
113
|
+
export { default as VTheme, ThemeCategory } from './View/VTheme';
|
|
114
|
+
export { default as VTooltip, TooltipCategory } from './View/VTooltip';
|
|
115
|
+
export { default as VLoading } from './View/VLoading';
|
|
116
|
+
export { default as VErrorBoundary } from './View/VErrorBoundary';
|
|
117
|
+
export { convertFormDataToJson } from './util';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const convertFormDataToJson: (formData: FormData) => any;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from './core';
|
|
2
|
+
export { default as Debug } from './Debug';
|
|
3
|
+
export { default as VChromeExtensionValidator, ExtensionStatus } from './View/VChromeExtensionValidator';
|
|
4
|
+
export { default as VGoogleFont, IGoogleTypeface, IGoogleFont, GoogleFontType } from './View/VGoogleFont';
|
|
5
|
+
export { default as GoogleGrant, GoogleGrantCategory, GoogleGrantUXMode, GoogleGrantCode, GoogleGrantToken } from './Auth/GoogleGrant';
|
|
6
|
+
export { default as FigmaSignin } from './Auth/FigmaSignin';
|
|
7
|
+
export { default as GoogleSignin, GoogleSigninUXMode } from './Auth/GoogleSignin';
|
|
8
|
+
export { default as WeComSignin } from './Auth/WeComSignin';
|
|
9
|
+
export { IUserProfile, parseJWT } from './Auth/util';
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { Messages } from "../language";
|
|
2
|
+
export interface IError {
|
|
3
|
+
summary: string;
|
|
4
|
+
data: any;
|
|
5
|
+
}
|
|
6
|
+
export interface IEndpoint {
|
|
7
|
+
PROTOCOL: string;
|
|
8
|
+
HOST: string;
|
|
9
|
+
PORT?: number;
|
|
10
|
+
BASEPATH?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface IAppSettings {
|
|
13
|
+
endpoint: IEndpoint;
|
|
14
|
+
[key: string]: IEndpoint;
|
|
15
|
+
}
|
|
16
|
+
export interface IFewBoxOptions {
|
|
17
|
+
getToken: () => string;
|
|
18
|
+
getAppSettings: () => IAppSettings;
|
|
19
|
+
getLanguages: (lang?: string) => Messages;
|
|
20
|
+
getHeaders?: () => Record<string, string>;
|
|
21
|
+
handleIsNotSuccessful: (data: any) => void;
|
|
22
|
+
handleError: (error: IError) => void;
|
|
23
|
+
handleWarning?: (error: IError) => void;
|
|
24
|
+
handleNetworkError: (error: IError) => void;
|
|
25
|
+
isDebug: boolean;
|
|
26
|
+
}
|
|
27
|
+
export declare const boot: (options: IFewBoxOptions) => void;
|
|
28
|
+
export interface IBootProps {
|
|
29
|
+
options: IFewBoxOptions;
|
|
30
|
+
}
|
|
31
|
+
export declare class BootClass {
|
|
32
|
+
private static instance;
|
|
33
|
+
private _options;
|
|
34
|
+
private _initialized;
|
|
35
|
+
private constructor();
|
|
36
|
+
static getInstance(): BootClass;
|
|
37
|
+
get options(): Readonly<IFewBoxOptions>;
|
|
38
|
+
get isInitialized(): boolean;
|
|
39
|
+
initialize(options: IFewBoxOptions): void;
|
|
40
|
+
static resetForTesting(): void;
|
|
41
|
+
}
|
|
42
|
+
export declare const Boot: (props: IBootProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FormatXMLElementFn } from 'intl-messageformat';
|
|
2
|
+
import { PrimitiveType } from 'react-intl';
|
|
3
|
+
export declare const getBrowserLangFull: () => string;
|
|
4
|
+
export declare const getBrowserLang: () => string;
|
|
5
|
+
export declare const getIntlMessage: (intlId: string, lang?: string, values?: Record<string, PrimitiveType | FormatXMLElementFn<string, string>>) => string;
|
|
6
|
+
export interface Messages {
|
|
7
|
+
[key: string]: string;
|
|
8
|
+
}
|
|
9
|
+
export interface Locales {
|
|
10
|
+
[key: string]: Messages;
|
|
11
|
+
}
|
|
12
|
+
export declare const language: (locales: Locales, lang?: string) => Messages;
|
|
13
|
+
export declare const languageFull: (locales: Locales, lang?: string) => Messages;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export declare const buildUrl: (subPath?: string) => string;
|
|
2
|
+
export declare const buildExternalUrl: (external: string, subPath?: string) => string;
|
|
3
|
+
export declare const buildHeaders: (customHeaders?: Record<string, string>) => Record<string, string>;
|
|
4
|
+
export declare const _verbs: (url: string, method: string, headers: Record<string, string>, successCallback: (response: Response) => void, failCallback: (error: any) => void, body?: BodyInit | null | undefined) => void;
|
|
5
|
+
export declare const _verbsGet: (url: string, headers: Record<string, string>, successCallback: (response: Response) => void, failCallback: (error: any) => void) => void;
|
|
6
|
+
export declare const _verbsDelete: (url: string, headers: Record<string, string>, successCallback: (response: Response) => void, failCallback: (error: any) => void) => void;
|
|
7
|
+
export declare const _verbsPost: (url: string, headers: Record<string, string>, body: BodyInit | null | undefined, successCallback: (response: Response) => void, failCallback: (error: any) => void) => void;
|
|
8
|
+
export declare const _verbsPut: (url: string, headers: Record<string, string>, body: BodyInit | null | undefined, successCallback: (response: Response) => void, failCallback: (error: any) => void) => void;
|
|
9
|
+
export declare const _verbsPatch: (url: string, headers: Record<string, string>, body: BodyInit | null | undefined, successCallback: (response: Response) => void, failCallback: (error: any) => void) => void;
|
|
10
|
+
export declare const _verbsPromise: (url: string, method: string, headers: Record<string, string>, body?: BodyInit | null | undefined) => Promise<Response>;
|
|
11
|
+
export declare const _verbsGetPromise: (url: string, headers: Record<string, string>) => Promise<Response>;
|
|
12
|
+
export declare const _verbsDeletePromise: (url: string, headers: Record<string, string>) => Promise<Response>;
|
|
13
|
+
export declare const _verbsPostPromise: (url: string, headers: Record<string, string>, body: BodyInit | null | undefined) => Promise<Response>;
|
|
14
|
+
export declare const _verbsPutPromise: (url: string, headers: Record<string, string>, body: BodyInit | null | undefined) => Promise<Response>;
|
|
15
|
+
export declare const _verbsPatchPromise: (url: string, headers: Record<string, string>, body: BodyInit | null | undefined) => Promise<Response>;
|
|
16
|
+
export declare const verbs: (path: string, method: string, headers: Record<string, string>, successCallback: (response: Response) => void, failCallback: (error: any) => void, body?: BodyInit | null | undefined) => void;
|
|
17
|
+
export declare const verbsGet: (path: string, headers: Record<string, string>, successCallback: (response: Response) => void, failCallback: (error: any) => void) => void;
|
|
18
|
+
export declare const verbsDelete: (path: string, headers: Record<string, string>, successCallback: (response: Response) => void, failCallback: (error: any) => void) => void;
|
|
19
|
+
export declare const verbsPost: (path: string, headers: Record<string, string>, body: BodyInit | null | undefined, successCallback: (response: Response) => void, failCallback: (error: any) => void) => void;
|
|
20
|
+
export declare const verbsPut: (path: string, headers: Record<string, string>, body: BodyInit | null | undefined, successCallback: (response: Response) => void, failCallback: (error: any) => void) => void;
|
|
21
|
+
export declare const verbsPatch: (path: string, headers: Record<string, string>, body: BodyInit | null | undefined, successCallback: (response: Response) => void, failCallback: (error: any) => void) => void;
|
|
22
|
+
export declare const verbsPromise: (path: string, method: string, headers: Record<string, string>, body?: BodyInit | null | undefined) => Promise<Response>;
|
|
23
|
+
export declare const verbsGetPromise: (path: string, headers: Record<string, string>) => Promise<Response>;
|
|
24
|
+
export declare const verbsDeletePromise: (path: string, headers: Record<string, string>) => Promise<Response>;
|
|
25
|
+
export declare const verbsPostPromise: (path: string, headers: Record<string, string>, body: BodyInit | null | undefined) => Promise<Response>;
|
|
26
|
+
export declare const verbsPutPromise: (path: string, headers: Record<string, string>, body: BodyInit | null | undefined) => Promise<Response>;
|
|
27
|
+
export declare const verbsPatchPromise: (path: string, headers: Record<string, string>, body: BodyInit | null | undefined) => Promise<Response>;
|
|
28
|
+
export declare const verbsExternal: (external: string, path: string, method: string, headers: Record<string, string>, successCallback: (response: Response) => void, failCallback: (error: any) => void, body?: BodyInit | null | undefined) => void;
|
|
29
|
+
export declare const verbsGetExternal: (external: string, path: string, headers: Record<string, string>, successCallback: (response: Response) => void, failCallback: (error: any) => void) => void;
|
|
30
|
+
export declare const verbsDeleteExternal: (external: string, path: string, headers: Record<string, string>, successCallback: (response: Response) => void, failCallback: (error: any) => void) => void;
|
|
31
|
+
export declare const verbsPostExternal: (external: string, path: string, headers: Record<string, string>, body: BodyInit | null | undefined, successCallback: (response: Response) => void, failCallback: (error: any) => void) => void;
|
|
32
|
+
export declare const verbsPutExternal: (external: string, path: string, headers: Record<string, string>, body: BodyInit | null | undefined, successCallback: (response: Response) => void, failCallback: (error: any) => void) => void;
|
|
33
|
+
export declare const verbsPatchExternal: (external: string, path: string, headers: Record<string, string>, body: BodyInit | null | undefined, successCallback: (response: Response) => void, failCallback: (error: any) => void) => void;
|
|
34
|
+
export declare const verbsPromiseExternal: (external: string, path: string, method: string, headers: Record<string, string>, body?: BodyInit | null | undefined) => Promise<Response>;
|
|
35
|
+
export declare const verbsGetPromiseExternal: (external: string, path: string, headers: Record<string, string>) => Promise<Response>;
|
|
36
|
+
export declare const verbsDeletePromiseExternal: (external: string, path: string, headers: Record<string, string>) => Promise<Response>;
|
|
37
|
+
export declare const verbsPostPromiseExternal: (external: string, path: string, headers: Record<string, string>, body: BodyInit | null | undefined) => Promise<Response>;
|
|
38
|
+
export declare const verbsPutPromiseExternal: (external: string, path: string, headers: Record<string, string>, body: BodyInit | null | undefined) => Promise<Response>;
|
|
39
|
+
export declare const verbsPatchPromiseExternal: (external: string, path: string, headers: Record<string, string>, body: BodyInit | null | undefined) => Promise<Response>;
|
|
40
|
+
export interface IWebsocketOptions {
|
|
41
|
+
query: string;
|
|
42
|
+
external?: string;
|
|
43
|
+
protocols?: string | string[] | undefined;
|
|
44
|
+
}
|
|
45
|
+
export declare const ws: (options: IWebsocketOptions) => WebSocket;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { AjaxResponse } from 'rxjs/ajax';
|
|
3
|
+
import { IMetaResponse, IPayloadResponse } from '../store';
|
|
4
|
+
export declare abstract class NetworkObservableBase<P> extends Observable<unknown> {
|
|
5
|
+
private readonly subPath?;
|
|
6
|
+
private readonly processAction?;
|
|
7
|
+
constructor(subPath?: string, processAction?: (payload: P) => void);
|
|
8
|
+
protected abstract parseResponse(input: unknown): IPayloadResponse<P> | any;
|
|
9
|
+
private shouldRetryError;
|
|
10
|
+
protected getUrl(external?: string): string;
|
|
11
|
+
protected getHeader(customHeaders?: Record<string, string>): Record<string, string>;
|
|
12
|
+
protected getTextHeader(): Record<string, string>;
|
|
13
|
+
protected pipeline(networkObservable: Observable<AjaxResponse<IPayloadResponse<P> | IMetaResponse> | Response>): Observable<any>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
export declare abstract class StreamObservableBase extends Observable<unknown> {
|
|
3
|
+
protected subPath: string;
|
|
4
|
+
protected processAction: (payload: string) => void;
|
|
5
|
+
protected errorHandler: (error: any) => void;
|
|
6
|
+
protected doneHandler?: () => void;
|
|
7
|
+
constructor(subPath: string, processAction: (payload: string) => void, errorHandler: (error: any) => void, doneHandler?: () => void);
|
|
8
|
+
protected getHeader(customHeaders?: Record<string, string>): Record<string, string>;
|
|
9
|
+
protected getUrl(external?: string): string;
|
|
10
|
+
protected pipeline(url: string, method: string, body?: any): Observable<any>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IWebsocketOptions } from "./Network";
|
|
2
|
+
declare class WS {
|
|
3
|
+
private websocket;
|
|
4
|
+
constructor(options: IWebsocketOptions);
|
|
5
|
+
send(data: string | ArrayBufferLike | Blob | ArrayBufferView): void;
|
|
6
|
+
receive(onmessage: ((this: WebSocket, ev: MessageEvent) => any) | null): void;
|
|
7
|
+
open(onopen: ((this: WebSocket, ev: Event) => any) | null): void;
|
|
8
|
+
close(onclose: ((this: WebSocket, ev: CloseEvent) => any) | null): void;
|
|
9
|
+
handleError(onerror: ((this: WebSocket, ev: Event) => any) | null): void;
|
|
10
|
+
}
|
|
11
|
+
export default WS;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { NetworkObservableBase } from '../../NetworkObservableBase';
|
|
2
|
+
import { IPayloadResponse } from '../../../store';
|
|
3
|
+
declare class NetworkObservableAjax<P> extends NetworkObservableBase<P> {
|
|
4
|
+
constructor(subPath?: string, processAction?: (payload: P) => void);
|
|
5
|
+
protected parseResponse(input: any): IPayloadResponse<P>;
|
|
6
|
+
}
|
|
7
|
+
export default NetworkObservableAjax;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import NetworkObservableAjaxExternal from './NetworkObservableAjaxExternal';
|
|
2
|
+
declare class DeleteExternal<P> extends NetworkObservableAjaxExternal<P> {
|
|
3
|
+
constructor(subPath: string, external: string, processAction?: (payload: P) => void);
|
|
4
|
+
}
|
|
5
|
+
export default DeleteExternal;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import NetworkObservableAjaxExternal from './NetworkObservableAjaxExternal';
|
|
2
|
+
declare class DeleteTextExternal extends NetworkObservableAjaxExternal<string> {
|
|
3
|
+
constructor(subPath: string, external: string, processAction?: (payload: string) => void);
|
|
4
|
+
}
|
|
5
|
+
export default DeleteTextExternal;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import NetworkObservableAjaxExternal from './NetworkObservableAjaxExternal';
|
|
2
|
+
declare class GetExternal<P> extends NetworkObservableAjaxExternal<P> {
|
|
3
|
+
constructor(subPath: string, external: string, processAction?: (payload: P) => void);
|
|
4
|
+
}
|
|
5
|
+
export default GetExternal;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import NetworkObservableAjaxExternal from './NetworkObservableAjaxExternal';
|
|
2
|
+
declare class GetTextExternal extends NetworkObservableAjaxExternal<string> {
|
|
3
|
+
constructor(subPath: string, external: string, processAction?: (payload: string) => void);
|
|
4
|
+
}
|
|
5
|
+
export default GetTextExternal;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { NetworkObservableBase } from '../../NetworkObservableBase';
|
|
2
|
+
import { IPayloadResponse } from '../../../store';
|
|
3
|
+
declare class NetworkObservableAjaxExternal<P> extends NetworkObservableBase<P> {
|
|
4
|
+
protected external: string;
|
|
5
|
+
constructor(subPath: string, external: string, processAction?: (payload: P) => void);
|
|
6
|
+
protected parseResponse(input: any): IPayloadResponse<P>;
|
|
7
|
+
}
|
|
8
|
+
export default NetworkObservableAjaxExternal;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import NetworkObservableAjaxExternal from './NetworkObservableAjaxExternal';
|
|
2
|
+
declare class PatchExternal<Q, P> extends NetworkObservableAjaxExternal<P> {
|
|
3
|
+
constructor(subPath: string, external: string, body: Q, processAction?: (payload: P) => void);
|
|
4
|
+
}
|
|
5
|
+
export default PatchExternal;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import NetworkObservableAjaxExternal from './NetworkObservableAjaxExternal';
|
|
2
|
+
declare class PatchTextExternal<Q> extends NetworkObservableAjaxExternal<string> {
|
|
3
|
+
constructor(subPath: string, external: string, body: Q, processAction?: (payload: string) => void);
|
|
4
|
+
}
|
|
5
|
+
export default PatchTextExternal;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import NetworkObservableAjaxExternal from './NetworkObservableAjaxExternal';
|
|
2
|
+
declare class PostExternal<Q, P> extends NetworkObservableAjaxExternal<P> {
|
|
3
|
+
constructor(subPath: string, external: string, body: Q, processAction?: (payload: P) => void);
|
|
4
|
+
}
|
|
5
|
+
export default PostExternal;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import NetworkObservableAjaxExternal from './NetworkObservableAjaxExternal';
|
|
2
|
+
declare class PostTextExternal<Q> extends NetworkObservableAjaxExternal<string> {
|
|
3
|
+
constructor(subPath: string, external: string, body: Q, processAction?: (payload: string) => void);
|
|
4
|
+
}
|
|
5
|
+
export default PostTextExternal;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import NetworkObservableAjaxExternal from './NetworkObservableAjaxExternal';
|
|
2
|
+
declare class PutExternal<Q, P> extends NetworkObservableAjaxExternal<P> {
|
|
3
|
+
constructor(subPath: string, external: string, body: Q, processAction?: (payload: P) => void);
|
|
4
|
+
}
|
|
5
|
+
export default PutExternal;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import NetworkObservableAjaxExternal from './NetworkObservableAjaxExternal';
|
|
2
|
+
declare class PutTextExternal<Q> extends NetworkObservableAjaxExternal<string> {
|
|
3
|
+
constructor(subPath: string, external: string, body: Q, processAction?: (payload: string) => void);
|
|
4
|
+
}
|
|
5
|
+
export default PutTextExternal;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IPayloadResponse } from '../../../store';
|
|
2
|
+
import { NetworkObservableBase } from '../../NetworkObservableBase';
|
|
3
|
+
declare class NetworkObservableFetch<P> extends NetworkObservableBase<P> {
|
|
4
|
+
constructor(subPath: string, processAction?: (payload: P) => void);
|
|
5
|
+
protected parseResponse(input: any): IPayloadResponse<P> | any;
|
|
6
|
+
}
|
|
7
|
+
export default NetworkObservableFetch;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import NetworkObservableFetchExternal from './NetworkObservableFetchExternal';
|
|
2
|
+
declare class DeleteFetchExternal<P> extends NetworkObservableFetchExternal<P> {
|
|
3
|
+
constructor(subPath: string, external: string, processAction?: (payload: P) => void);
|
|
4
|
+
}
|
|
5
|
+
export default DeleteFetchExternal;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import NetworkObservableFetchExternal from './NetworkObservableFetchExternal';
|
|
2
|
+
declare class GetFetchExternal<P> extends NetworkObservableFetchExternal<P> {
|
|
3
|
+
constructor(subPath: string, external: string, processAction?: (payload: P) => void);
|
|
4
|
+
}
|
|
5
|
+
export default GetFetchExternal;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IPayloadResponse } from '../../../store';
|
|
2
|
+
import { NetworkObservableBase } from '../../NetworkObservableBase';
|
|
3
|
+
declare class NetworkObservableFetchExternal<P> extends NetworkObservableBase<P> {
|
|
4
|
+
protected external: string;
|
|
5
|
+
constructor(subPath: string, external: string, processAction?: (payload: P) => void);
|
|
6
|
+
protected parseResponse(input: any): IPayloadResponse<P> | any;
|
|
7
|
+
}
|
|
8
|
+
export default NetworkObservableFetchExternal;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import NetworkObservableFetchExternal from './NetworkObservableFetchExternal';
|
|
2
|
+
declare class PatchFetchExternal<P> extends NetworkObservableFetchExternal<P> {
|
|
3
|
+
constructor(subPath: string, external: string, processAction?: (payload: P) => void);
|
|
4
|
+
}
|
|
5
|
+
export default PatchFetchExternal;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import NetworkObservableFetchExternal from './NetworkObservableFetchExternal';
|
|
2
|
+
declare class PostFetchExternal<P> extends NetworkObservableFetchExternal<P> {
|
|
3
|
+
constructor(subPath: string, external: string, processAction?: (payload: P) => void);
|
|
4
|
+
}
|
|
5
|
+
export default PostFetchExternal;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import NetworkObservableFetchExternal from './NetworkObservableFetchExternal';
|
|
2
|
+
declare class PutFetchExternal<P> extends NetworkObservableFetchExternal<P> {
|
|
3
|
+
constructor(subPath: string, external: string, processAction?: (payload: P) => void);
|
|
4
|
+
}
|
|
5
|
+
export default PutFetchExternal;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IPayloadResponse } from '../../../store';
|
|
2
|
+
import { NetworkObservableBase } from '../../NetworkObservableBase';
|
|
3
|
+
declare class NetworkObservableGQL<P> extends NetworkObservableBase<P> {
|
|
4
|
+
constructor(subPath: string, processAction?: (payload: P) => void);
|
|
5
|
+
protected parseResponse(input: any): IPayloadResponse<P> | any;
|
|
6
|
+
}
|
|
7
|
+
export default NetworkObservableGQL;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import NetworkObservableGQLExternal from './NetworkObservableGQLExternal';
|
|
2
|
+
import IGraphQL from '../../IGraphQL';
|
|
3
|
+
declare class GQLExternal<P> extends NetworkObservableGQLExternal<P> {
|
|
4
|
+
constructor(graphql: IGraphQL | FormData, external: string, processAction?: (payload: P) => void);
|
|
5
|
+
}
|
|
6
|
+
export default GQLExternal;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import NetworkObservableGQLExternal from './NetworkObservableGQLExternal';
|
|
2
|
+
import IGraphQL from '../../IGraphQL';
|
|
3
|
+
declare class GQLExternalUpload<P> extends NetworkObservableGQLExternal<P> {
|
|
4
|
+
constructor(graphql: IGraphQL | FormData, external: string, processAction?: (payload: P) => void);
|
|
5
|
+
}
|
|
6
|
+
export default GQLExternalUpload;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { NetworkObservableBase } from '../../NetworkObservableBase';
|
|
2
|
+
declare class NetworkObservableGQLExternal<P> extends NetworkObservableBase<P> {
|
|
3
|
+
protected external: string;
|
|
4
|
+
constructor(subPath: string, external: string, processAction?: (payload: P) => void);
|
|
5
|
+
protected parseResponse(input: any): any;
|
|
6
|
+
}
|
|
7
|
+
export default NetworkObservableGQLExternal;
|