@fewbox/den-web 0.0.83
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-web.d.ts +63 -0
- package/index.css +1 -0
- package/index.js +2 -0
- package/index.js.map +1 -0
- package/package.json +25 -0
- package/scripts/copy-templates.js +29 -0
- package/src/action/index.d.ts +8 -0
- package/src/components/Analyze/GA4NextJS/index.d.ts +5 -0
- package/src/components/Analyze/util.d.ts +115 -0
- package/src/components/Api/GAPI/index.d.ts +7 -0
- package/src/components/Auth/FigmaSignin/index.d.ts +9 -0
- package/src/components/Auth/GoogleSignin/index.d.ts +14 -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/index.d.ts +222 -0
- package/src/components/Engine/BaseComponent/index.d.ts +9 -0
- package/src/components/Engine/index.d.ts +212 -0
- package/src/components/Layout/Display/index.d.ts +18 -0
- package/src/components/Layout/Dock/index.d.ts +23 -0
- package/src/components/Layout/DockBak/index.d.ts +24 -0
- package/src/components/Layout/Flex/index.d.ts +44 -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/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 +16 -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 +10 -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 +11 -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/VButton/index.d.ts +17 -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 +12 -0
- package/src/components/View/VDesigner/VDesignerConnection/index.d.ts +10 -0
- package/src/components/View/VDesigner/VDesignerElement/index.d.ts +11 -0
- package/src/components/View/VDesigner/VDesignerGroup/index.d.ts +10 -0
- package/src/components/View/VDesigner/VDesignerNode/index.d.ts +68 -0
- package/src/components/View/VDesigner/index.d.ts +35 -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 +14 -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/App/index.d.ts +16 -0
- package/src/components/View/VImage/Web/index.d.ts +6 -0
- package/src/components/View/VInput/VBase64File/App/index.d.ts +10 -0
- package/src/components/View/VInput/VBase64File/Web/index.d.ts +10 -0
- package/src/components/View/VInput/VCheckBox/index.d.ts +9 -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 +31 -0
- package/src/components/View/VInput/VEmail/index.d.ts +5 -0
- package/src/components/View/VInput/VFile/index.d.ts +22 -0
- package/src/components/View/VInput/VGroup/index.d.ts +11 -0
- package/src/components/View/VInput/VHidden/index.d.ts +8 -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 +8 -0
- package/src/components/View/VInput/VSearch/index.d.ts +5 -0
- package/src/components/View/VInput/VSubmit/index.d.ts +7 -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 +7 -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 +47 -0
- package/src/components/View/VLabel/index.d.ts +60 -0
- package/src/components/View/VLink/App/index.d.ts +6 -0
- package/src/components/View/VLink/Web/index.d.ts +6 -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/VPaypal/index.d.ts +10 -0
- package/src/components/View/VPhoto/index.d.ts +20 -0
- package/src/components/View/VPureRoot/index.d.ts +7 -0
- package/src/components/View/VRoot/index.d.ts +7 -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 +16 -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 +22 -0
- package/src/components/View/VTextArea/index.d.ts +17 -0
- package/src/components/View/VTheme/index.d.ts +43 -0
- package/src/components/View/VTooltip/index.d.ts +20 -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/util.d.ts +1 -0
- package/src/components/web.d.ts +122 -0
- package/src/fewbox/index.d.ts +25 -0
- package/src/language/index.d.ts +5 -0
- package/src/network/Delete.d.ts +6 -0
- package/src/network/DeleteExternal.d.ts +6 -0
- package/src/network/DeleteForm.d.ts +6 -0
- package/src/network/DeleteFormExternal.d.ts +6 -0
- package/src/network/ErrorMessage.d.ts +2 -0
- package/src/network/FormHeaders.d.ts +2 -0
- package/src/network/GQL.d.ts +6 -0
- package/src/network/GQLExternal.d.ts +6 -0
- package/src/network/Get.d.ts +6 -0
- package/src/network/GetExternal.d.ts +6 -0
- package/src/network/GetFetch.d.ts +6 -0
- package/src/network/GetFetchExternal.d.ts +6 -0
- package/src/network/GetForm.d.ts +6 -0
- package/src/network/GetFormExternal.d.ts +6 -0
- package/src/network/GetLocal.d.ts +5 -0
- package/src/network/GetSSE.d.ts +5 -0
- package/src/network/Headers.d.ts +5 -0
- package/src/network/NetworkObservableAjax.d.ts +8 -0
- package/src/network/NetworkObservableAjaxExternal.d.ts +9 -0
- package/src/network/NetworkObservableBase.d.ts +12 -0
- package/src/network/NetworkObservableFetch.d.ts +7 -0
- package/src/network/NetworkObservableFetchExternal.d.ts +8 -0
- package/src/network/NetworkObservableGQL.d.ts +8 -0
- package/src/network/NetworkObservableGQLExternal.d.ts +9 -0
- package/src/network/Patch.d.ts +6 -0
- package/src/network/PatchExternal.d.ts +6 -0
- package/src/network/PatchFetch.d.ts +6 -0
- package/src/network/PatchFetchExternal.d.ts +6 -0
- package/src/network/PatchForm.d.ts +6 -0
- package/src/network/PatchFormExternal.d.ts +6 -0
- package/src/network/Post.d.ts +6 -0
- package/src/network/PostExternal.d.ts +6 -0
- package/src/network/PostFetch.d.ts +6 -0
- package/src/network/PostFetchExternal.d.ts +6 -0
- package/src/network/PostForm.d.ts +6 -0
- package/src/network/PostFormExternal.d.ts +6 -0
- package/src/network/PostSSE.d.ts +5 -0
- package/src/network/Put.d.ts +6 -0
- package/src/network/PutExternal.d.ts +6 -0
- package/src/network/PutFetch.d.ts +6 -0
- package/src/network/PutFetchExternal.d.ts +6 -0
- package/src/network/PutForm.d.ts +6 -0
- package/src/network/PutFormExternal.d.ts +6 -0
- package/src/network/SSEObservableBase.d.ts +13 -0
- package/src/network/index.d.ts +38 -0
- package/src/network/util.d.ts +5 -0
- package/templates/FEWBOX.md +73 -0
- package/templates/style/_core.scss +297 -0
- package/templates/style/_root-properties.scss +56 -0
- package/templates/style/_root.scss +6 -0
- package/templates/style/_variables.scss +194 -0
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
export { default as Debug } from './Debug';
|
|
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 { SizeType, FontWeightType, FontFamilyType, BorderRadiusType, LineHeightType, LetterSpacingType, PaddingType, ViewSizeType, FullColorType, ColorType, ComponentType, getGeneratedClassName } from './Engine';
|
|
6
|
+
export { default as Dock, DockCategory } from './Layout/Dock';
|
|
7
|
+
export { default as Position, PositionCategory, PositionType } from './Layout/Position';
|
|
8
|
+
export { default as PositionArea, PositionAreaCategory } from './Layout/PositionArea';
|
|
9
|
+
export { default as Flex, FlexDirectionType, FlexWrapType, FlexJustifyContentType, FlexAlignItemsType, FlexAlignContentType } from './Layout/Flex';
|
|
10
|
+
export { default as FlexItem, FlexItemAlignSelfType } from './Layout/FlexItem';
|
|
11
|
+
export { default as SBaseline } from './Layout/SBaseline';
|
|
12
|
+
export { default as SBottom } from './Layout/SBottom';
|
|
13
|
+
export { default as SLeft } from './Layout/SLeft';
|
|
14
|
+
export { default as SMiddle } from './Layout/SMiddle';
|
|
15
|
+
export { default as SRight } from './Layout/SRight';
|
|
16
|
+
export { default as SCenter } from './Layout/SCenter';
|
|
17
|
+
export { default as SStretch } from './Layout/SStretch';
|
|
18
|
+
export { default as STop } from './Layout/STop';
|
|
19
|
+
export { default as X } from './Layout/X';
|
|
20
|
+
export { default as XAround } from './Layout/XAround';
|
|
21
|
+
export { default as XAutoBoth } from './Layout/XAutoBoth';
|
|
22
|
+
export { default as XAutoCenter } from './Layout/XAutoCenter';
|
|
23
|
+
export { default as XAutoLeft } from './Layout/XAutoLeft';
|
|
24
|
+
export { default as XAutoLefts } from './Layout/XAutoLefts';
|
|
25
|
+
export { default as XAutoRight } from './Layout/XAutoRight';
|
|
26
|
+
export { default as XAutoRights } from './Layout/XAutoRights';
|
|
27
|
+
export { default as XBetween } from './Layout/XBetween';
|
|
28
|
+
export { default as XCenter } from './Layout/XCenter';
|
|
29
|
+
export { default as XCustom } from './Layout/XCustom';
|
|
30
|
+
export { default as XCustomBoth } from './Layout/XCustomBoth';
|
|
31
|
+
export { default as XEvenly } from './Layout/XEvenly';
|
|
32
|
+
export { default as XLeft } from './Layout/XLeft';
|
|
33
|
+
export { default as XRight } from './Layout/XRight';
|
|
34
|
+
export { default as XWrapAround } from './Layout/XWrapAround';
|
|
35
|
+
export { default as XWrapBetween } from './Layout/XWrapBetween';
|
|
36
|
+
export { default as XWrapBottom } from './Layout/XWrapBottom';
|
|
37
|
+
export { default as XWrapEvenly } from './Layout/XWrapEvenly';
|
|
38
|
+
export { default as XWrapMiddle } from './Layout/XWrapMiddle';
|
|
39
|
+
export { default as XWrapTop } from './Layout/XWrapTop';
|
|
40
|
+
export { XCrossType } from './Layout/XBase';
|
|
41
|
+
export { default as Y } from './Layout/Y';
|
|
42
|
+
export { default as YBetween } from './Layout/YBetween';
|
|
43
|
+
export { default as YMiddle } from './Layout/YMiddle';
|
|
44
|
+
export { default as YTop } from './Layout/YTop';
|
|
45
|
+
export { default as YBottom } from './Layout/YBottom';
|
|
46
|
+
export { default as YAround } from './Layout/YAround';
|
|
47
|
+
export { default as YEvenly } from './Layout/YEvenly';
|
|
48
|
+
export { default as YAutoTop } from './Layout/YAutoTop';
|
|
49
|
+
export { default as YAutoCenter } from './Layout/YAutoCenter';
|
|
50
|
+
export { default as YAutoBottom } from './Layout/YAutoBottom';
|
|
51
|
+
export { default as YAutoTops } from './Layout/YAutoTops';
|
|
52
|
+
export { default as YAutoBottoms } from './Layout/YAutoBottoms';
|
|
53
|
+
export { default as YAutoBoth } from './Layout/YAutoBoth';
|
|
54
|
+
export { default as YCustom } from './Layout/YCustom';
|
|
55
|
+
export { default as YCustomBoth } from './Layout/YCustomBoth';
|
|
56
|
+
export { default as YWrapLeft } from './Layout/YWrapLeft';
|
|
57
|
+
export { default as YWrapCenter } from './Layout/YWrapCenter';
|
|
58
|
+
export { default as YWrapRight } from './Layout/YWrapRight';
|
|
59
|
+
export { default as YWrapAround } from './Layout/YWrapAround';
|
|
60
|
+
export { default as YWrapBetween } from './Layout/YWrapBetween';
|
|
61
|
+
export { default as YWrapEvenly } from './Layout/YWrapEvenly';
|
|
62
|
+
export { YCrossType } from './Layout/YBase';
|
|
63
|
+
export { default as Base, IBaseProps, IBaseStates, IChildrenProps, IBaseReturn } from './Engine/Base';
|
|
64
|
+
export { default as VBackground, BackgroundPositionType } from './View/VBackground';
|
|
65
|
+
export { default as VImage } from './View/VImage/Web';
|
|
66
|
+
export { default as VForm, HandleSubmitCategory } from './View/VForm';
|
|
67
|
+
export { default as VActionForm } from './View/VActionForm';
|
|
68
|
+
export { InputExtensionItem } from './View/VInput';
|
|
69
|
+
export { default as VCheckBox } from './View/VInput/VCheckBox';
|
|
70
|
+
export { default as VColor } from './View/VInput/VColor';
|
|
71
|
+
export { default as VDate } from './View/VInput/VDate';
|
|
72
|
+
export { default as VDatetimeLocal } from './View/VInput/VDatetimeLocal';
|
|
73
|
+
export { default as VEmail } from './View/VInput/VEmail';
|
|
74
|
+
export { default as VFile, FileCategory } from './View/VInput/VFile';
|
|
75
|
+
export { default as VBase64File } from './View/VInput/VBase64File/Web';
|
|
76
|
+
export { default as VMonth } from './View/VInput/VMonth';
|
|
77
|
+
export { default as VNumber } from './View/VInput/VNumber';
|
|
78
|
+
export { default as VPassword } from './View/VInput/VPassword';
|
|
79
|
+
export { default as VRadio } from './View/VInput/VRadio';
|
|
80
|
+
export { default as VRange } from './View/VInput/VRange';
|
|
81
|
+
export { default as VSearch } from './View/VInput/VSearch';
|
|
82
|
+
export { default as VSubmit } from './View/VInput/VSubmit';
|
|
83
|
+
export { default as VSubmitWrapper } from './View/VInput/VSubmitWrapper';
|
|
84
|
+
export { default as VTel } from './View/VInput/VTel';
|
|
85
|
+
export { default as VTextBox } from './View/VInput/VTextBox';
|
|
86
|
+
export { default as VTime } from './View/VInput/VTime';
|
|
87
|
+
export { default as VUrl } from './View/VInput/VUrl';
|
|
88
|
+
export { default as VWeek } from './View/VInput/VWeek';
|
|
89
|
+
export { default as VHidden } from './View/VInput/VHidden';
|
|
90
|
+
export { default as VGroup } from './View/VInput/VGroup';
|
|
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 VBoundary } from './View/VBoundary';
|
|
95
|
+
export { default as VHyperlink, HyperlinkCategory } from './View/VHyperlink';
|
|
96
|
+
export { default as VLink } from './View/VLink/Web';
|
|
97
|
+
export { default as VLabel, LabelCategory, LabelType, LabelAlignType } from './View/VLabel';
|
|
98
|
+
export { default as VText, TextCategory, TextAlignType } from './View/VText';
|
|
99
|
+
export { default as VTextArea } from './View/VTextArea';
|
|
100
|
+
export { default as VEllipse, EllipseCategory } from './View/VShape/VEllipse';
|
|
101
|
+
export { default as VLine, LineCategory } from './View/VShape/VLine';
|
|
102
|
+
export { default as VRectangle } from './View/VShape/VRectangle';
|
|
103
|
+
export { default as VShadow, ShadowCategory } from './View/VShadow';
|
|
104
|
+
export { default as VGoogleFont, IGoogleTypeface, IGoogleFont, GoogleFontType } from './View/VGoogleFont';
|
|
105
|
+
export { default as VAnimation, AnimationCategory, AnimationDelay, AnimationRepeat, AnimationSpeed } from './View/VAnimation';
|
|
106
|
+
export { default as VAudio } from './View/VAudio';
|
|
107
|
+
export { default as VVideo } from './View/VVideo';
|
|
108
|
+
export { default as VFooter } from './View/VFooter';
|
|
109
|
+
export { default as VHeader } from './View/VHeader';
|
|
110
|
+
export { default as VHR } from './View/VHR';
|
|
111
|
+
export { default as VMain } from './View/VMain';
|
|
112
|
+
export { default as VSection } from './View/VSection';
|
|
113
|
+
export { default as VMask } from './View/VMask';
|
|
114
|
+
export { default as VFrame } from './View/VFrame';
|
|
115
|
+
export { default as GA4NextJS } from './Analyze/GA4NextJS';
|
|
116
|
+
export { default as GAPI } from './Api/GAPI';
|
|
117
|
+
export { default as FigmaSignin } from './Auth/FigmaSignin';
|
|
118
|
+
export { default as GoogleSignin, IGoogleAccount } from './Auth/GoogleSignin';
|
|
119
|
+
export { default as WeComSignin } from './Auth/WeComSignin';
|
|
120
|
+
export { IUserProfile, parseJWT } from './Auth/util';
|
|
121
|
+
export { ga4NextJSScope, ga4NextJSEvent, ga4NextJSInit, ga4NextJSPageview, ga4NextJSSetFieldsObject, IGAEvent, IGA4Options, ICustomGA4Options, IGAOptions, ICustomGAOptions, IGTagOptions, ICustomGTagOptions, IGFieldsObject, GAEventTransportType } from './Analyze/util';
|
|
122
|
+
export { convertFormDataToJson } from './util';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface Consts {
|
|
3
|
+
FontFamily: string;
|
|
4
|
+
}
|
|
5
|
+
export interface IFewBoxOptions {
|
|
6
|
+
getToken: () => string;
|
|
7
|
+
getAppSettings: () => any;
|
|
8
|
+
getLanguages: (lang?: string) => any;
|
|
9
|
+
getHeaders?: () => any;
|
|
10
|
+
getConsts?: () => Consts;
|
|
11
|
+
showErrorMessage: (message: string, error?: any) => void;
|
|
12
|
+
handleFetchException: (errors: any) => void;
|
|
13
|
+
isDebug: boolean;
|
|
14
|
+
}
|
|
15
|
+
export declare const boot: (options: IFewBoxOptions) => void;
|
|
16
|
+
export interface IBootProps {
|
|
17
|
+
options: IFewBoxOptions;
|
|
18
|
+
}
|
|
19
|
+
export declare class BootClass {
|
|
20
|
+
private static instance;
|
|
21
|
+
options: IFewBoxOptions;
|
|
22
|
+
private constructor();
|
|
23
|
+
static getInstance(): BootClass;
|
|
24
|
+
}
|
|
25
|
+
export declare const Boot: (props: IBootProps) => React.JSX.Element;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const getBrowserLangFull: () => string;
|
|
2
|
+
export declare const getBrowserLang: () => string;
|
|
3
|
+
export declare const getIntlMessage: (intlId: string, lang?: any, values?: any) => string;
|
|
4
|
+
export declare const language: (en: any, zh: any, lang?: string) => any;
|
|
5
|
+
export declare const languageFull: (langs: any, lang?: string) => any;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import NetworkObservableAjaxExternal from './NetworkObservableAjaxExternal';
|
|
2
|
+
import { LoadPayload } from '.';
|
|
3
|
+
declare class DeleteExternal<ARP> extends NetworkObservableAjaxExternal<ARP> {
|
|
4
|
+
constructor(path: string, external: string, action?: LoadPayload);
|
|
5
|
+
}
|
|
6
|
+
export default DeleteExternal;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import NetworkObservableAjaxExternal from './NetworkObservableAjaxExternal';
|
|
2
|
+
import { LoadPayload } from '.';
|
|
3
|
+
declare class DeleteFormExternal<ARP> extends NetworkObservableAjaxExternal<ARP> {
|
|
4
|
+
constructor(path: string, external: string, action?: LoadPayload);
|
|
5
|
+
}
|
|
6
|
+
export default DeleteFormExternal;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import NetworkObservableGQLExternal from './NetworkObservableGQLExternal';
|
|
2
|
+
import { LoadPayload } from './util';
|
|
3
|
+
declare class GQLExternal<ARP> extends NetworkObservableGQLExternal<ARP> {
|
|
4
|
+
constructor(graphql: string, field: string, external: string, action?: LoadPayload);
|
|
5
|
+
}
|
|
6
|
+
export default GQLExternal;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import NetworkObservableAjaxExternal from './NetworkObservableAjaxExternal';
|
|
2
|
+
import { LoadPayload } from '.';
|
|
3
|
+
declare class GetExternal<ARP> extends NetworkObservableAjaxExternal<ARP> {
|
|
4
|
+
constructor(path: string, external: string, action?: LoadPayload);
|
|
5
|
+
}
|
|
6
|
+
export default GetExternal;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import NetworkObservableFetchExternal from './NetworkObservableFetchExternal';
|
|
2
|
+
import { LoadPayload } from '.';
|
|
3
|
+
declare class GetFetchExternal<FRP> extends NetworkObservableFetchExternal {
|
|
4
|
+
constructor(path: string, external: string, action?: LoadPayload);
|
|
5
|
+
}
|
|
6
|
+
export default GetFetchExternal;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import NetworkObservableAjaxExternal from './NetworkObservableAjaxExternal';
|
|
2
|
+
import { LoadPayload } from '.';
|
|
3
|
+
declare class GetFormExternal<ARP> extends NetworkObservableAjaxExternal<ARP> {
|
|
4
|
+
constructor(path: string, external: string, action?: LoadPayload);
|
|
5
|
+
}
|
|
6
|
+
export default GetFormExternal;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { NetworkObservableBase } from './NetworkObservableBase';
|
|
2
|
+
import { AjaxResponse } from 'rxjs/ajax';
|
|
3
|
+
import { LoadPayload } from './util';
|
|
4
|
+
declare class NetworkObservableAjax<ARP> extends NetworkObservableBase<AjaxResponse<ARP>> {
|
|
5
|
+
constructor(path: string, action?: LoadPayload);
|
|
6
|
+
protected GetUrl(): string;
|
|
7
|
+
}
|
|
8
|
+
export default NetworkObservableAjax;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AjaxResponse } from 'rxjs/ajax';
|
|
2
|
+
import { LoadPayload } from '.';
|
|
3
|
+
import { NetworkObservableBase } from './NetworkObservableBase';
|
|
4
|
+
declare class NetworkObservableAjaxExternal<ARP> extends NetworkObservableBase<AjaxResponse<ARP>> {
|
|
5
|
+
protected External: string;
|
|
6
|
+
constructor(path: string, external: string, action?: LoadPayload);
|
|
7
|
+
protected GetUrl(): string;
|
|
8
|
+
}
|
|
9
|
+
export default NetworkObservableAjaxExternal;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { LoadPayload } from '.';
|
|
3
|
+
export declare class NetworkObservableBase<RP> extends Observable<any> {
|
|
4
|
+
protected Path: string;
|
|
5
|
+
protected ParseData: (input: RP, key?: string) => any;
|
|
6
|
+
protected Action?: LoadPayload;
|
|
7
|
+
protected AppSettings: any;
|
|
8
|
+
constructor();
|
|
9
|
+
protected GetHeader(): any;
|
|
10
|
+
protected GetFormHeader(): any;
|
|
11
|
+
protected Pipe(networkObservable: Observable<RP>): Observable<any>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { NetworkObservableBase } from './NetworkObservableBase';
|
|
2
|
+
import { LoadPayload } from './util';
|
|
3
|
+
declare class NetworkObservableFetch extends NetworkObservableBase<Response> {
|
|
4
|
+
constructor(path: string, action?: LoadPayload);
|
|
5
|
+
protected GetUrl(): string;
|
|
6
|
+
}
|
|
7
|
+
export default NetworkObservableFetch;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { NetworkObservableBase } from './NetworkObservableBase';
|
|
2
|
+
import { LoadPayload } from './util';
|
|
3
|
+
declare class NetworkObservableFetchExternal extends NetworkObservableBase<Response> {
|
|
4
|
+
protected External: string;
|
|
5
|
+
constructor(path: string, external: string, action?: LoadPayload);
|
|
6
|
+
protected GetUrl(): string;
|
|
7
|
+
}
|
|
8
|
+
export default NetworkObservableFetchExternal;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { NetworkObservableBase } from './NetworkObservableBase';
|
|
2
|
+
import { AjaxResponse } from 'rxjs/ajax';
|
|
3
|
+
import { LoadPayload } from './util';
|
|
4
|
+
declare class NetworkObservableGQL<ARP> extends NetworkObservableBase<AjaxResponse<ARP>> {
|
|
5
|
+
constructor(path: string, field: string, action?: LoadPayload);
|
|
6
|
+
protected GetUrl(): string;
|
|
7
|
+
}
|
|
8
|
+
export default NetworkObservableGQL;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { NetworkObservableBase } from './NetworkObservableBase';
|
|
2
|
+
import { AjaxResponse } from 'rxjs/ajax';
|
|
3
|
+
import { LoadPayload } from './util';
|
|
4
|
+
declare class NetworkObservableGQLExternal<ARP> extends NetworkObservableBase<AjaxResponse<ARP>> {
|
|
5
|
+
protected External: string;
|
|
6
|
+
constructor(path: string, field: string, external: string, action?: LoadPayload);
|
|
7
|
+
protected GetUrl(): string;
|
|
8
|
+
}
|
|
9
|
+
export default NetworkObservableGQLExternal;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import NetworkObservableAjaxExternal from './NetworkObservableAjaxExternal';
|
|
2
|
+
import { LoadPayload } from '.';
|
|
3
|
+
declare class PatchExternal<ARQ, ARP> extends NetworkObservableAjaxExternal<ARP> {
|
|
4
|
+
constructor(path: string, external: string, body: ARQ, action?: LoadPayload);
|
|
5
|
+
}
|
|
6
|
+
export default PatchExternal;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import NetworkObservableFetchExternal from './NetworkObservableFetchExternal';
|
|
2
|
+
import { LoadPayload } from '.';
|
|
3
|
+
declare class PatchFetchExternal<FRP> extends NetworkObservableFetchExternal {
|
|
4
|
+
constructor(path: string, external: string, action?: LoadPayload);
|
|
5
|
+
}
|
|
6
|
+
export default PatchFetchExternal;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import NetworkObservableAjaxExternal from './NetworkObservableAjaxExternal';
|
|
2
|
+
import { LoadPayload } from '.';
|
|
3
|
+
declare class PatchFormExternal<ARQ, ARP> extends NetworkObservableAjaxExternal<ARP> {
|
|
4
|
+
constructor(path: string, external: string, body: ARQ, action?: LoadPayload);
|
|
5
|
+
}
|
|
6
|
+
export default PatchFormExternal;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import NetworkObservableAjaxExternal from './NetworkObservableAjaxExternal';
|
|
2
|
+
import { LoadPayload } from '.';
|
|
3
|
+
declare class PostExternal<ARQ, ARP> extends NetworkObservableAjaxExternal<ARP> {
|
|
4
|
+
constructor(path: string, external: string, body: ARQ, action?: LoadPayload);
|
|
5
|
+
}
|
|
6
|
+
export default PostExternal;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import NetworkObservableFetchExternal from './NetworkObservableFetchExternal';
|
|
2
|
+
import { LoadPayload } from '.';
|
|
3
|
+
declare class PostFetchExternal<FRP> extends NetworkObservableFetchExternal {
|
|
4
|
+
constructor(path: string, external: string, action?: LoadPayload);
|
|
5
|
+
}
|
|
6
|
+
export default PostFetchExternal;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import NetworkObservableAjaxExternal from './NetworkObservableAjaxExternal';
|
|
2
|
+
import { LoadPayload } from '.';
|
|
3
|
+
declare class PostFormExternal<ARQ, ARP> extends NetworkObservableAjaxExternal<ARP> {
|
|
4
|
+
constructor(path: string, external: string, body: ARQ, action?: LoadPayload);
|
|
5
|
+
}
|
|
6
|
+
export default PostFormExternal;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { SSEObservableBase } from "./SSEObservableBase";
|
|
2
|
+
declare class PostSSE extends SSEObservableBase {
|
|
3
|
+
constructor(path: string, external: string, body: any, action: (value: any) => void, errorHandler: (error: any) => void, doneHandler?: () => void);
|
|
4
|
+
}
|
|
5
|
+
export default PostSSE;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import NetworkObservableAjaxExternal from './NetworkObservableAjaxExternal';
|
|
2
|
+
import { LoadPayload } from '.';
|
|
3
|
+
declare class PutExternal<ARQ, ARP> extends NetworkObservableAjaxExternal<ARP> {
|
|
4
|
+
constructor(path: string, external: string, body: ARQ, action?: LoadPayload);
|
|
5
|
+
}
|
|
6
|
+
export default PutExternal;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import NetworkObservableFetchExternal from './NetworkObservableFetchExternal';
|
|
2
|
+
import { LoadPayload } from '.';
|
|
3
|
+
declare class PutFetchExternal<FRP> extends NetworkObservableFetchExternal {
|
|
4
|
+
constructor(path: string, external: string, action?: LoadPayload);
|
|
5
|
+
}
|
|
6
|
+
export default PutFetchExternal;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import NetworkObservableAjaxExternal from './NetworkObservableAjaxExternal';
|
|
2
|
+
import { LoadPayload } from '.';
|
|
3
|
+
declare class PutFormExternal<ARQ, ARP> extends NetworkObservableAjaxExternal<ARP> {
|
|
4
|
+
constructor(path: string, external: string, body: ARQ, action?: LoadPayload);
|
|
5
|
+
}
|
|
6
|
+
export default PutFormExternal;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
export declare abstract class SSEObservableBase extends Observable<any> {
|
|
3
|
+
protected Path: string;
|
|
4
|
+
protected External: string;
|
|
5
|
+
protected AppSettings: any;
|
|
6
|
+
protected Action: (value: any) => void;
|
|
7
|
+
protected ErrorHandler: (error: any) => void;
|
|
8
|
+
protected DoneHandler?: () => void;
|
|
9
|
+
constructor(path: string, external: string, action: (value: any) => void, errorHandler: (error: any) => void, doneHandler?: () => void);
|
|
10
|
+
protected GetHeader(): any;
|
|
11
|
+
protected GetUrl(): string;
|
|
12
|
+
protected Pipe(method: string, body?: any): Promise<void>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export { default as NetworkObservableAjax } from './NetworkObservableAjax';
|
|
2
|
+
export { default as Delete } from './Delete';
|
|
3
|
+
export { getErrorMessage } from './ErrorMessage';
|
|
4
|
+
export { default as NetworkObservableAjaxExternal } from './NetworkObservableAjaxExternal';
|
|
5
|
+
export { default as DeleteExternal } from './DeleteExternal';
|
|
6
|
+
export { default as GetExternal } from './GetExternal';
|
|
7
|
+
export { default as PatchExternal } from './PatchExternal';
|
|
8
|
+
export { default as PostExternal } from './PostExternal';
|
|
9
|
+
export { default as PutExternal } from './PutExternal';
|
|
10
|
+
export { default as GQL } from './GQL';
|
|
11
|
+
export { default as GQLExternal } from './GQLExternal';
|
|
12
|
+
export { default as NetworkObservableGQL } from './NetworkObservableGQL';
|
|
13
|
+
export { default as Get } from './Get';
|
|
14
|
+
export { default as Headers } from './Headers';
|
|
15
|
+
export { default as GetLocal } from './GetLocal';
|
|
16
|
+
export { default as Patch } from './Patch';
|
|
17
|
+
export { default as Post } from './Post';
|
|
18
|
+
export { default as Put } from './Put';
|
|
19
|
+
export { default as GetFetch } from './GetFetch';
|
|
20
|
+
export { default as GetFetchExternal } from './GetFetchExternal';
|
|
21
|
+
export { default as PostFetch } from './PostFetch';
|
|
22
|
+
export { default as PostFetchExternal } from './PostFetchExternal';
|
|
23
|
+
export { default as PutFetch } from './PutFetch';
|
|
24
|
+
export { default as PutFetchExternal } from './PutFetchExternal';
|
|
25
|
+
export { default as PatchFetch } from './PatchFetch';
|
|
26
|
+
export { default as PatchFetchExternal } from './PatchFetchExternal';
|
|
27
|
+
export { default as PostSSE } from './PostSSE';
|
|
28
|
+
export { default as PostForm } from './PostForm';
|
|
29
|
+
export { default as PostFormExternal } from './PostFormExternal';
|
|
30
|
+
export { default as PutForm } from './PutForm';
|
|
31
|
+
export { default as PutFormExternal } from './PutFormExternal';
|
|
32
|
+
export { default as PatchForm } from './PatchForm';
|
|
33
|
+
export { default as PatchFormExternal } from './PatchFormExternal';
|
|
34
|
+
export { default as GetForm } from './GetForm';
|
|
35
|
+
export { default as GetFormExternal } from './GetFormExternal';
|
|
36
|
+
export { default as DeleteForm } from './DeleteForm';
|
|
37
|
+
export { default as DeleteFormExternal } from './DeleteFormExternal';
|
|
38
|
+
export { parseGQLAjaxData, parseAjaxData, parseFetchData, convertJsonToGraphQLSchema, LoadPayload } from './util';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const parseGQLAjaxData: (input: any, field: string) => any;
|
|
2
|
+
export declare const parseAjaxData: (input: any) => any;
|
|
3
|
+
export declare const parseFetchData: (input: any) => any;
|
|
4
|
+
export type LoadPayload = (payload: any) => void;
|
|
5
|
+
export declare const convertJsonToGraphQLSchema: (json: any) => string;
|