@lcap/nasl 3.7.0-alpha.1 → 3.7.0-beta.1
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/out/automate/engine/utils.d.ts +1 -1
- package/out/automate/engine/utils.js +3 -7
- package/out/automate/engine/utils.js.map +1 -1
- package/out/automate/template/myProcess.js +65 -65
- package/out/automate/template/myProcess.js.map +1 -1
- package/out/bak/translator.js +42 -12
- package/out/bak/translator.js.map +1 -1
- package/out/breakpoint/generator/BreakpointNode.d.ts +2 -0
- package/out/breakpoint/generator/BreakpointNode.js +7 -0
- package/out/breakpoint/generator/BreakpointNode.js.map +1 -1
- package/out/breakpoint/shared/constants.js +1 -0
- package/out/breakpoint/shared/constants.js.map +1 -1
- package/out/breakpoint/shared/utils.js +1 -1
- package/out/breakpoint/shared/utils.js.map +1 -1
- package/out/common/BaseNode.d.ts +4 -3
- package/out/common/BaseNode.js +61 -10
- package/out/common/BaseNode.js.map +1 -1
- package/out/common/ComponentAPI.d.ts +5 -3
- package/out/common/EventEmitter.d.ts +1 -0
- package/out/common/EventEmitter.js.map +1 -1
- package/out/concepts/Abort__.d.ts +5 -4
- package/out/concepts/Abort__.js +5 -7
- package/out/concepts/Abort__.js.map +1 -1
- package/out/concepts/AbstractInterface__.d.ts +9 -6
- package/out/concepts/AbstractInterface__.js +8 -11
- package/out/concepts/AbstractInterface__.js.map +1 -1
- package/out/concepts/Anchor__.d.ts +5 -12
- package/out/concepts/Anchor__.js +5 -44
- package/out/concepts/Anchor__.js.map +1 -1
- package/out/concepts/AnonymousFunction__.d.ts +10 -47
- package/out/concepts/AnonymousFunction__.js +14 -159
- package/out/concepts/AnonymousFunction__.js.map +1 -1
- package/out/concepts/App__.d.ts +321 -437
- package/out/concepts/App__.js +460 -986
- package/out/concepts/App__.js.map +1 -1
- package/out/concepts/Argument__.d.ts +5 -12
- package/out/concepts/Argument__.js +11 -46
- package/out/concepts/Argument__.js.map +1 -1
- package/out/concepts/Assignee__.d.ts +8 -5
- package/out/concepts/Assignee__.js +9 -66
- package/out/concepts/Assignee__.js.map +1 -1
- package/out/concepts/AssignmentLine__.d.ts +5 -6
- package/out/concepts/AssignmentLine__.js +7 -11
- package/out/concepts/AssignmentLine__.js.map +1 -1
- package/out/concepts/Assignment__.d.ts +5 -26
- package/out/concepts/Assignment__.js +5 -64
- package/out/concepts/Assignment__.js.map +1 -1
- package/out/concepts/Attribute__.d.ts +14 -51
- package/out/concepts/Attribute__.js +36 -126
- package/out/concepts/Attribute__.js.map +1 -1
- package/out/concepts/AuthInterface__.d.ts +10 -10
- package/out/concepts/AuthInterface__.js +18 -13
- package/out/concepts/AuthInterface__.js.map +1 -1
- package/out/concepts/AuthLogicForCallInterface__.d.ts +6 -3
- package/out/concepts/AuthLogicForCallInterface__.js +6 -32
- package/out/concepts/AuthLogicForCallInterface__.js.map +1 -1
- package/out/concepts/AuthLogic__.d.ts +19 -19
- package/out/concepts/AuthLogic__.js +26 -25
- package/out/concepts/AuthLogic__.js.map +1 -1
- package/out/concepts/BackendVariable__.d.ts +19 -47
- package/out/concepts/BackendVariable__.js +43 -134
- package/out/concepts/BackendVariable__.js.map +1 -1
- package/out/concepts/Backend__.d.ts +6 -13
- package/out/concepts/Backend__.js +13 -50
- package/out/concepts/Backend__.js.map +1 -1
- package/out/concepts/BaseSetter__.d.ts +25 -0
- package/out/concepts/BaseSetter__.js +53 -0
- package/out/concepts/BaseSetter__.js.map +1 -0
- package/out/concepts/BatchAssignment__.d.ts +9 -21
- package/out/concepts/BatchAssignment__.js +11 -86
- package/out/concepts/BatchAssignment__.js.map +1 -1
- package/out/concepts/BinaryExpression__.d.ts +5 -22
- package/out/concepts/BinaryExpression__.js +32 -59
- package/out/concepts/BinaryExpression__.js.map +1 -1
- package/out/concepts/BindAttribute__.d.ts +60 -107
- package/out/concepts/BindAttribute__.js +144 -251
- package/out/concepts/BindAttribute__.js.map +1 -1
- package/out/concepts/BindDirective__.d.ts +26 -42
- package/out/concepts/BindDirective__.js +63 -105
- package/out/concepts/BindDirective__.js.map +1 -1
- package/out/concepts/BindEvent__.d.ts +27 -36
- package/out/concepts/BindEvent__.js +50 -109
- package/out/concepts/BindEvent__.js.map +1 -1
- package/out/concepts/BindStyle__.d.ts +24 -41
- package/out/concepts/BindStyle__.js +48 -88
- package/out/concepts/BindStyle__.js.map +1 -1
- package/out/concepts/Block__.d.ts +5 -2
- package/out/concepts/Block__.js +5 -31
- package/out/concepts/Block__.js.map +1 -1
- package/out/concepts/BooleanLiteral__.d.ts +5 -0
- package/out/concepts/BooleanLiteral__.js +8 -1
- package/out/concepts/BooleanLiteral__.js.map +1 -1
- package/out/concepts/BusinessComponent__.d.ts +47 -49
- package/out/concepts/BusinessComponent__.js +122 -444
- package/out/concepts/BusinessComponent__.js.map +1 -1
- package/out/concepts/BusinessLogic__.d.ts +5 -0
- package/out/concepts/BusinessLogic__.js +8 -1
- package/out/concepts/BusinessLogic__.js.map +1 -1
- package/out/concepts/CallAuthInterface__.d.ts +6 -4
- package/out/concepts/CallAuthInterface__.js +6 -34
- package/out/concepts/CallAuthInterface__.js.map +1 -1
- package/out/concepts/CallConnector__.d.ts +5 -0
- package/out/concepts/CallConnector__.js +11 -2
- package/out/concepts/CallConnector__.js.map +1 -1
- package/out/concepts/CallEvent__.d.ts +6 -7
- package/out/concepts/CallEvent__.js +11 -40
- package/out/concepts/CallEvent__.js.map +1 -1
- package/out/concepts/CallFunction__.d.ts +17 -9
- package/out/concepts/CallFunction__.js +84 -130
- package/out/concepts/CallFunction__.js.map +1 -1
- package/out/concepts/CallInterface__.d.ts +6 -7
- package/out/concepts/CallInterface__.js +14 -41
- package/out/concepts/CallInterface__.js.map +1 -1
- package/out/concepts/CallLogic__.d.ts +11 -24
- package/out/concepts/CallLogic__.js +68 -140
- package/out/concepts/CallLogic__.js.map +1 -1
- package/out/concepts/CallQueryComponent__.d.ts +70 -126
- package/out/concepts/CallQueryComponent__.js +134 -308
- package/out/concepts/CallQueryComponent__.js.map +1 -1
- package/out/concepts/CapsulesSetter__.d.ts +109 -0
- package/out/concepts/CapsulesSetter__.js +163 -0
- package/out/concepts/CapsulesSetter__.js.map +1 -0
- package/out/concepts/Comment__.d.ts +5 -0
- package/out/concepts/Comment__.js +8 -1
- package/out/concepts/Comment__.js.map +1 -1
- package/out/concepts/CompletionProperty__.d.ts +6 -26
- package/out/concepts/CompletionProperty__.js +24 -74
- package/out/concepts/CompletionProperty__.js.map +1 -1
- package/out/concepts/ConfigGroup__.d.ts +6 -13
- package/out/concepts/ConfigGroup__.js +13 -50
- package/out/concepts/ConfigGroup__.js.map +1 -1
- package/out/concepts/ConfigPropertyValue__.d.ts +5 -11
- package/out/concepts/ConfigPropertyValue__.js +11 -19
- package/out/concepts/ConfigPropertyValue__.js.map +1 -1
- package/out/concepts/ConfigProperty__.d.ts +11 -18
- package/out/concepts/ConfigProperty__.js +25 -58
- package/out/concepts/ConfigProperty__.js.map +1 -1
- package/out/concepts/Configuration__.d.ts +6 -13
- package/out/concepts/Configuration__.js +6 -49
- package/out/concepts/Configuration__.js.map +1 -1
- package/out/concepts/Connection__.d.ts +11 -18
- package/out/concepts/Connection__.js +25 -58
- package/out/concepts/Connection__.js.map +1 -1
- package/out/concepts/ConnectorTrigger__.d.ts +28 -34
- package/out/concepts/ConnectorTrigger__.js +55 -50
- package/out/concepts/ConnectorTrigger__.js.map +1 -1
- package/out/concepts/Connector__.d.ts +106 -504
- package/out/concepts/Connector__.js +134 -791
- package/out/concepts/Connector__.js.map +1 -1
- package/out/concepts/Constant__.d.ts +27 -55
- package/out/concepts/Constant__.js +45 -137
- package/out/concepts/Constant__.js.map +1 -1
- package/out/concepts/CountersignPolicy__.d.ts +6 -5
- package/out/concepts/CountersignPolicy__.js +8 -12
- package/out/concepts/CountersignPolicy__.js.map +1 -1
- package/out/concepts/DataSource__.d.ts +11 -18
- package/out/concepts/DataSource__.js +25 -58
- package/out/concepts/DataSource__.js.map +1 -1
- package/out/concepts/DatabaseTypeAnnotation__.d.ts +5 -6
- package/out/concepts/DatabaseTypeAnnotation__.js +11 -13
- package/out/concepts/DatabaseTypeAnnotation__.js.map +1 -1
- package/out/concepts/DefaultValue__.d.ts +7 -19
- package/out/concepts/DefaultValue__.js +6 -56
- package/out/concepts/DefaultValue__.js.map +1 -1
- package/out/concepts/Destination__.d.ts +10 -21
- package/out/concepts/Destination__.js +15 -55
- package/out/concepts/Destination__.js.map +1 -1
- package/out/concepts/End__.d.ts +5 -4
- package/out/concepts/End__.js +7 -8
- package/out/concepts/End__.js.map +1 -1
- package/out/concepts/EntityIndex__.d.ts +20 -26
- package/out/concepts/EntityIndex__.js +40 -39
- package/out/concepts/EntityIndex__.js.map +1 -1
- package/out/concepts/EntityProperty__.d.ts +17 -56
- package/out/concepts/EntityProperty__.js +70 -181
- package/out/concepts/EntityProperty__.js.map +1 -1
- package/out/concepts/Entity__.d.ts +18 -26
- package/out/concepts/Entity__.js +38 -98
- package/out/concepts/Entity__.js.map +1 -1
- package/out/concepts/EnumItem__.d.ts +15 -21
- package/out/concepts/EnumItem__.js +27 -31
- package/out/concepts/EnumItem__.js.map +1 -1
- package/out/concepts/EnumSelectSetter__.d.ts +109 -0
- package/out/concepts/EnumSelectSetter__.js +163 -0
- package/out/concepts/EnumSelectSetter__.js.map +1 -0
- package/out/concepts/Enum__.d.ts +10 -28
- package/out/concepts/Enum__.js +35 -102
- package/out/concepts/Enum__.js.map +1 -1
- package/out/concepts/EventDeclaration__.d.ts +41 -0
- package/out/concepts/EventDeclaration__.js +81 -0
- package/out/concepts/EventDeclaration__.js.map +1 -0
- package/out/concepts/Event__.d.ts +16 -27
- package/out/concepts/Event__.js +37 -78
- package/out/concepts/Event__.js.map +1 -1
- package/out/concepts/ExternalDestination__.d.ts +8 -25
- package/out/concepts/ExternalDestination__.js +8 -58
- package/out/concepts/ExternalDestination__.js.map +1 -1
- package/out/concepts/ForEachStatement__.d.ts +7 -55
- package/out/concepts/ForEachStatement__.js +6 -128
- package/out/concepts/ForEachStatement__.js.map +1 -1
- package/out/concepts/FrontendLibrary__.d.ts +38 -46
- package/out/concepts/FrontendLibrary__.js +55 -121
- package/out/concepts/FrontendLibrary__.js.map +1 -1
- package/out/concepts/FrontendType__.d.ts +8 -12
- package/out/concepts/FrontendType__.js +15 -109
- package/out/concepts/FrontendType__.js.map +1 -1
- package/out/concepts/FrontendVariable__.d.ts +5 -0
- package/out/concepts/FrontendVariable__.js +8 -1
- package/out/concepts/FrontendVariable__.js.map +1 -1
- package/out/concepts/Frontend__.d.ts +9 -41
- package/out/concepts/Frontend__.js +36 -209
- package/out/concepts/Frontend__.js.map +1 -1
- package/out/concepts/Function__.d.ts +13 -34
- package/out/concepts/Function__.js +22 -194
- package/out/concepts/Function__.js.map +1 -1
- package/out/concepts/I18nInfo__.d.ts +6 -7
- package/out/concepts/I18nInfo__.js +14 -14
- package/out/concepts/I18nInfo__.js.map +1 -1
- package/out/concepts/IconSetter__.d.ts +29 -0
- package/out/concepts/IconSetter__.js +62 -0
- package/out/concepts/IconSetter__.js.map +1 -0
- package/out/concepts/Identifier__.d.ts +5 -0
- package/out/concepts/Identifier__.js +20 -6
- package/out/concepts/Identifier__.js.map +1 -1
- package/out/concepts/IfStatement__.d.ts +5 -12
- package/out/concepts/IfStatement__.js +5 -44
- package/out/concepts/IfStatement__.js.map +1 -1
- package/out/concepts/ImageSetter__.d.ts +25 -0
- package/out/concepts/ImageSetter__.js +53 -0
- package/out/concepts/ImageSetter__.js.map +1 -0
- package/out/concepts/ImportedInterface__.d.ts +9 -0
- package/out/concepts/ImportedInterface__.js +11 -1
- package/out/concepts/ImportedInterface__.js.map +1 -1
- package/out/concepts/InputSetter__.d.ts +29 -0
- package/out/concepts/InputSetter__.js +62 -0
- package/out/concepts/InputSetter__.js.map +1 -0
- package/out/concepts/Integration__.d.ts +7 -26
- package/out/concepts/Integration__.js +6 -93
- package/out/concepts/Integration__.js.map +1 -1
- package/out/concepts/InterfaceParam__.d.ts +34 -62
- package/out/concepts/InterfaceParam__.js +63 -147
- package/out/concepts/InterfaceParam__.js.map +1 -1
- package/out/concepts/Interface__.d.ts +42 -48
- package/out/concepts/Interface__.js +89 -158
- package/out/concepts/Interface__.js.map +1 -1
- package/out/concepts/JSBlock__.d.ts +5 -4
- package/out/concepts/JSBlock__.js +8 -8
- package/out/concepts/JSBlock__.js.map +1 -1
- package/out/concepts/JavaLogic__.d.ts +5 -0
- package/out/concepts/JavaLogic__.js +14 -3
- package/out/concepts/JavaLogic__.js.map +1 -1
- package/out/concepts/LogicDeclaration__.d.ts +289 -0
- package/out/concepts/LogicDeclaration__.js +352 -0
- package/out/concepts/LogicDeclaration__.js.map +1 -0
- package/out/concepts/LogicItem__.d.ts +39 -45
- package/out/concepts/LogicItem__.js +76 -62
- package/out/concepts/LogicItem__.js.map +1 -1
- package/out/concepts/Logic__.d.ts +45 -63
- package/out/concepts/Logic__.js +159 -280
- package/out/concepts/Logic__.js.map +1 -1
- package/out/concepts/MatchCase__.d.ts +6 -4
- package/out/concepts/MatchCase__.js +16 -68
- package/out/concepts/MatchCase__.js.map +1 -1
- package/out/concepts/Match__.d.ts +8 -14
- package/out/concepts/Match__.js +17 -49
- package/out/concepts/Match__.js.map +1 -1
- package/out/concepts/MemberExpression__.d.ts +8 -23
- package/out/concepts/MemberExpression__.js +85 -103
- package/out/concepts/MemberExpression__.js.map +1 -1
- package/out/concepts/MetadataType__.d.ts +36 -54
- package/out/concepts/MetadataType__.js +44 -119
- package/out/concepts/MetadataType__.js.map +1 -1
- package/out/concepts/MicroApp__.d.ts +5 -6
- package/out/concepts/MicroApp__.js +30 -18
- package/out/concepts/MicroApp__.js.map +1 -1
- package/out/concepts/Module__.d.ts +99 -128
- package/out/concepts/Module__.js +133 -532
- package/out/concepts/Module__.js.map +1 -1
- package/out/concepts/MsgTriggerEvent__.d.ts +31 -33
- package/out/concepts/MsgTriggerEvent__.js +39 -67
- package/out/concepts/MsgTriggerEvent__.js.map +1 -1
- package/out/concepts/MsgTriggerLauncher__.d.ts +11 -14
- package/out/concepts/MsgTriggerLauncher__.js +18 -44
- package/out/concepts/MsgTriggerLauncher__.js.map +1 -1
- package/out/concepts/MultiApprovalPolicy__.d.ts +8 -9
- package/out/concepts/MultiApprovalPolicy__.js +7 -13
- package/out/concepts/MultiApprovalPolicy__.js.map +1 -1
- package/out/concepts/Namespace__.d.ts +112 -138
- package/out/concepts/Namespace__.js +122 -501
- package/out/concepts/Namespace__.js.map +1 -1
- package/out/concepts/NewComposite__.d.ts +11 -21
- package/out/concepts/NewComposite__.js +48 -146
- package/out/concepts/NewComposite__.js.map +1 -1
- package/out/concepts/NewList__.d.ts +6 -14
- package/out/concepts/NewList__.js +7 -77
- package/out/concepts/NewList__.js.map +1 -1
- package/out/concepts/NewMap__.d.ts +6 -14
- package/out/concepts/NewMap__.js +7 -77
- package/out/concepts/NewMap__.js.map +1 -1
- package/out/concepts/New__.d.ts +6 -0
- package/out/concepts/New__.js +9 -0
- package/out/concepts/New__.js.map +1 -1
- package/out/concepts/NullLiteral__.d.ts +5 -0
- package/out/concepts/NullLiteral__.js +5 -0
- package/out/concepts/NullLiteral__.js.map +1 -1
- package/out/concepts/NumberInputSetter__.d.ts +45 -0
- package/out/concepts/NumberInputSetter__.js +98 -0
- package/out/concepts/NumberInputSetter__.js.map +1 -0
- package/out/concepts/NumericLiteral__.d.ts +6 -13
- package/out/concepts/NumericLiteral__.js +8 -45
- package/out/concepts/NumericLiteral__.js.map +1 -1
- package/out/concepts/OqlQueryComponent__.d.ts +7 -17
- package/out/concepts/OqlQueryComponent__.js +16 -53
- package/out/concepts/OqlQueryComponent__.js.map +1 -1
- package/out/concepts/OverriddenLogic__.d.ts +38 -59
- package/out/concepts/OverriddenLogic__.js +55 -252
- package/out/concepts/OverriddenLogic__.js.map +1 -1
- package/out/concepts/Paginate__.d.ts +59 -0
- package/out/concepts/Paginate__.js +158 -0
- package/out/concepts/Paginate__.js.map +1 -0
- package/out/concepts/ParamWithGroup__.d.ts +13 -10
- package/out/concepts/ParamWithGroup__.js +15 -6
- package/out/concepts/ParamWithGroup__.js.map +1 -1
- package/out/concepts/Param__.d.ts +33 -76
- package/out/concepts/Param__.js +63 -159
- package/out/concepts/Param__.js.map +1 -1
- package/out/concepts/Point__.d.ts +5 -6
- package/out/concepts/Point__.js +11 -13
- package/out/concepts/Point__.js.map +1 -1
- package/out/concepts/ProcessComponent__.d.ts +12 -20
- package/out/concepts/ProcessComponent__.js +32 -90
- package/out/concepts/ProcessComponent__.js.map +1 -1
- package/out/concepts/ProcessElement__.d.ts +21 -66
- package/out/concepts/ProcessElement__.js +48 -360
- package/out/concepts/ProcessElement__.js.map +1 -1
- package/out/concepts/ProcessOutcome__.d.ts +5 -4
- package/out/concepts/ProcessOutcome__.js +8 -8
- package/out/concepts/ProcessOutcome__.js.map +1 -1
- package/out/concepts/ProcessOutcomes__.d.ts +5 -4
- package/out/concepts/ProcessOutcomes__.js +6 -7
- package/out/concepts/ProcessOutcomes__.js.map +1 -1
- package/out/concepts/Process__.d.ts +16 -26
- package/out/concepts/Process__.js +29 -186
- package/out/concepts/Process__.js.map +1 -1
- package/out/concepts/PropDeclaration__.d.ts +99 -0
- package/out/concepts/PropDeclaration__.js +183 -0
- package/out/concepts/PropDeclaration__.js.map +1 -0
- package/out/concepts/PropertySelectSetter__.d.ts +25 -0
- package/out/concepts/PropertySelectSetter__.js +53 -0
- package/out/concepts/PropertySelectSetter__.js.map +1 -0
- package/out/concepts/QueryAggregateExpression__.d.ts +6 -13
- package/out/concepts/QueryAggregateExpression__.js +11 -46
- package/out/concepts/QueryAggregateExpression__.js.map +1 -1
- package/out/concepts/QueryFieldExpression__.d.ts +5 -0
- package/out/concepts/QueryFieldExpression__.js +17 -4
- package/out/concepts/QueryFieldExpression__.js.map +1 -1
- package/out/concepts/QueryFromExpression__.d.ts +6 -3
- package/out/concepts/QueryFromExpression__.js +14 -34
- package/out/concepts/QueryFromExpression__.js.map +1 -1
- package/out/concepts/QueryGroupByExpression__.d.ts +5 -12
- package/out/concepts/QueryGroupByExpression__.js +5 -44
- package/out/concepts/QueryGroupByExpression__.js.map +1 -1
- package/out/concepts/QueryJoinExpression__.d.ts +29 -26
- package/out/concepts/QueryJoinExpression__.js +34 -52
- package/out/concepts/QueryJoinExpression__.js.map +1 -1
- package/out/concepts/QueryLimitExpression__.d.ts +5 -22
- package/out/concepts/QueryLimitExpression__.js +5 -57
- package/out/concepts/QueryLimitExpression__.js.map +1 -1
- package/out/concepts/QueryOrderByExpression__.d.ts +5 -22
- package/out/concepts/QueryOrderByExpression__.js +5 -57
- package/out/concepts/QueryOrderByExpression__.js.map +1 -1
- package/out/concepts/QuerySelectExpression__.d.ts +37 -34
- package/out/concepts/QuerySelectExpression__.js +37 -59
- package/out/concepts/QuerySelectExpression__.js.map +1 -1
- package/out/concepts/Rect__.d.ts +5 -6
- package/out/concepts/Rect__.js +17 -15
- package/out/concepts/Rect__.js.map +1 -1
- package/out/concepts/Return__.d.ts +28 -56
- package/out/concepts/Return__.js +50 -139
- package/out/concepts/Return__.js.map +1 -1
- package/out/concepts/Role__.d.ts +5 -11
- package/out/concepts/Role__.js +21 -21
- package/out/concepts/Role__.js.map +1 -1
- package/out/concepts/SelectMembers__.d.ts +8 -20
- package/out/concepts/SelectMembers__.js +10 -58
- package/out/concepts/SelectMembers__.js.map +1 -1
- package/out/concepts/SequentialPolicy__.d.ts +5 -0
- package/out/concepts/SequentialPolicy__.js +5 -0
- package/out/concepts/SequentialPolicy__.js.map +1 -1
- package/out/concepts/SetterOption__.d.ts +49 -0
- package/out/concepts/SetterOption__.js +99 -0
- package/out/concepts/SetterOption__.js.map +1 -0
- package/out/concepts/SlotDeclaration__.d.ts +213 -0
- package/out/concepts/SlotDeclaration__.js +287 -0
- package/out/concepts/SlotDeclaration__.js.map +1 -0
- package/out/concepts/Slot__.d.ts +7 -31
- package/out/concepts/Slot__.js +27 -72
- package/out/concepts/Slot__.js.map +1 -1
- package/out/concepts/SqlQueryComponent__.d.ts +6 -17
- package/out/concepts/SqlQueryComponent__.js +14 -54
- package/out/concepts/SqlQueryComponent__.js.map +1 -1
- package/out/concepts/Start__.d.ts +5 -4
- package/out/concepts/Start__.js +5 -7
- package/out/concepts/Start__.js.map +1 -1
- package/out/concepts/StaticString__.d.ts +6 -12
- package/out/concepts/StaticString__.js +14 -21
- package/out/concepts/StaticString__.js.map +1 -1
- package/out/concepts/StringInterpolation__.d.ts +5 -2
- package/out/concepts/StringInterpolation__.js +7 -33
- package/out/concepts/StringInterpolation__.js.map +1 -1
- package/out/concepts/StringLiteral__.d.ts +6 -1
- package/out/concepts/StringLiteral__.js +16 -2
- package/out/concepts/StringLiteral__.js.map +1 -1
- package/out/concepts/StructureProperty__.d.ts +13 -49
- package/out/concepts/StructureProperty__.js +35 -137
- package/out/concepts/StructureProperty__.js.map +1 -1
- package/out/concepts/Structure__.d.ts +13 -21
- package/out/concepts/Structure__.js +28 -90
- package/out/concepts/Structure__.js.map +1 -1
- package/out/concepts/SwitchCase__.d.ts +6 -13
- package/out/concepts/SwitchCase__.js +6 -45
- package/out/concepts/SwitchCase__.js.map +1 -1
- package/out/concepts/SwitchSetter__.d.ts +25 -0
- package/out/concepts/SwitchSetter__.js +53 -0
- package/out/concepts/SwitchSetter__.js.map +1 -0
- package/out/concepts/SwitchStatement__.d.ts +6 -3
- package/out/concepts/SwitchStatement__.js +5 -31
- package/out/concepts/SwitchStatement__.js.map +1 -1
- package/out/concepts/ThemeVariable__.d.ts +29 -0
- package/out/concepts/ThemeVariable__.js +58 -0
- package/out/concepts/ThemeVariable__.js.map +1 -0
- package/out/concepts/Theme__.d.ts +5 -6
- package/out/concepts/Theme__.js +11 -13
- package/out/concepts/Theme__.js.map +1 -1
- package/out/concepts/Transactional__.d.ts +29 -35
- package/out/concepts/Transactional__.js +54 -56
- package/out/concepts/Transactional__.js.map +1 -1
- package/out/concepts/TriggerEvent__.d.ts +8 -20
- package/out/concepts/TriggerEvent__.js +13 -57
- package/out/concepts/TriggerEvent__.js.map +1 -1
- package/out/concepts/TriggerLauncher__.d.ts +12 -17
- package/out/concepts/TriggerLauncher__.js +30 -27
- package/out/concepts/TriggerLauncher__.js.map +1 -1
- package/out/concepts/TypeAnnotation__.d.ts +8 -11
- package/out/concepts/TypeAnnotation__.js +40 -89
- package/out/concepts/TypeAnnotation__.js.map +1 -1
- package/out/concepts/TypeParam__.d.ts +5 -0
- package/out/concepts/TypeParam__.js +12 -1
- package/out/concepts/TypeParam__.js.map +1 -1
- package/out/concepts/UnaryExpression__.d.ts +5 -12
- package/out/concepts/UnaryExpression__.js +8 -45
- package/out/concepts/UnaryExpression__.js.map +1 -1
- package/out/concepts/Unparsed__.d.ts +5 -0
- package/out/concepts/Unparsed__.js +8 -1
- package/out/concepts/Unparsed__.js.map +1 -1
- package/out/concepts/UseComponent__.d.ts +6 -7
- package/out/concepts/UseComponent__.js +11 -13
- package/out/concepts/UseComponent__.js.map +1 -1
- package/out/concepts/ValidationRule__.d.ts +7 -28
- package/out/concepts/ValidationRule__.js +18 -71
- package/out/concepts/ValidationRule__.js.map +1 -1
- package/out/concepts/Variable__.d.ts +30 -58
- package/out/concepts/Variable__.js +51 -140
- package/out/concepts/Variable__.js.map +1 -1
- package/out/concepts/ViewBlockWithImage__.d.ts +33 -0
- package/out/concepts/ViewBlockWithImage__.js +63 -0
- package/out/concepts/ViewBlockWithImage__.js.map +1 -0
- package/out/concepts/ViewBlock__.d.ts +11 -12
- package/out/concepts/ViewBlock__.js +22 -18
- package/out/concepts/ViewBlock__.js.map +1 -1
- package/out/concepts/ViewComponentDeclaration__.d.ts +721 -0
- package/out/concepts/ViewComponentDeclaration__.js +808 -0
- package/out/concepts/ViewComponentDeclaration__.js.map +1 -0
- package/out/concepts/ViewElement__.d.ts +38 -37
- package/out/concepts/ViewElement__.js +415 -432
- package/out/concepts/ViewElement__.js.map +1 -1
- package/out/concepts/View__.d.ts +39 -46
- package/out/concepts/View__.js +509 -342
- package/out/concepts/View__.js.map +1 -1
- package/out/concepts/WhileStatement__.d.ts +6 -13
- package/out/concepts/WhileStatement__.js +6 -45
- package/out/concepts/WhileStatement__.js.map +1 -1
- package/out/concepts/basics/stdlib/nasl.auth.js +68 -33
- package/out/concepts/basics/stdlib/nasl.auth.js.map +1 -1
- package/out/concepts/basics/stdlib/nasl.process.js +101 -3
- package/out/concepts/basics/stdlib/nasl.process.js.map +1 -1
- package/out/concepts/basics/stdlib/nasl.util.js +31 -31
- package/out/concepts/basics/stdlib/nasl.util.js.map +1 -1
- package/out/concepts/index__.d.ts +24 -8
- package/out/concepts/index__.js +24 -8
- package/out/concepts/index__.js.map +1 -1
- package/out/concepts/utils/asserts.d.ts +1079 -313
- package/out/concepts/utils/asserts.js +1461 -441
- package/out/concepts/utils/asserts.js.map +1 -1
- package/out/concepts/utils/types.d.ts +82 -30
- package/out/config.d.ts +9 -0
- package/out/config.js +5 -0
- package/out/config.js.map +1 -1
- package/out/decorators/index.d.ts +1 -6
- package/out/decorators/index.js +7 -16
- package/out/decorators/index.js.map +1 -1
- package/out/enums/KEYWORDS.js +2 -0
- package/out/enums/KEYWORDS.js.map +1 -1
- package/out/generator/genBundleFiles.d.ts +2 -0
- package/out/generator/genBundleFiles.js +105 -25
- package/out/generator/genBundleFiles.js.map +1 -1
- package/out/generator/genReleaseBody.d.ts +2 -4
- package/out/generator/genReleaseBody.js +0 -1
- package/out/generator/genReleaseBody.js.map +1 -1
- package/out/generator/permission.d.ts +5 -1
- package/out/generator/permission.js +3 -2
- package/out/generator/permission.js.map +1 -1
- package/out/index.d.ts +1 -0
- package/out/index.js +3 -1
- package/out/index.js.map +1 -1
- package/out/natural/genNaturalTS.js +2 -5
- package/out/natural/genNaturalTS.js.map +1 -1
- package/out/natural/index.d.ts +2 -0
- package/out/natural/index.js +2 -0
- package/out/natural/index.js.map +1 -1
- package/out/natural/naslStdlibMap.d.ts +1 -2
- package/out/natural/naslStdlibMap.js +32 -23
- package/out/natural/naslStdlibMap.js.map +1 -1
- package/out/natural/prompt/analyzeClaims.d.ts +1 -0
- package/out/natural/prompt/analyzeClaims.js +21 -0
- package/out/natural/prompt/analyzeClaims.js.map +1 -0
- package/out/natural/prompt/executeClaims.d.ts +1 -0
- package/out/natural/prompt/executeClaims.js +73 -0
- package/out/natural/prompt/executeClaims.js.map +1 -0
- package/out/natural/transformTSCode.js +13 -2
- package/out/natural/transformTSCode.js.map +1 -1
- package/out/server/createUiTs.d.ts +2 -1
- package/out/server/createUiTs.js +133 -161
- package/out/server/createUiTs.js.map +1 -1
- package/out/server/entity2LogicNamespace.js +1 -15
- package/out/server/entity2LogicNamespace.js.map +1 -1
- package/out/server/extendBaseNode.js +36 -9
- package/out/server/extendBaseNode.js.map +1 -1
- package/out/server/formatTsUtils.js +9 -9
- package/out/server/formatTsUtils.js.map +1 -1
- package/out/server/getConnector.d.ts +1 -0
- package/out/server/getConnector.js +38 -35
- package/out/server/getConnector.js.map +1 -1
- package/out/server/getFunctions.js +3 -3
- package/out/server/getFunctions.js.map +1 -1
- package/out/server/getLogics.js +51 -15
- package/out/server/getLogics.js.map +1 -1
- package/out/server/getMemberIdentifier.js +87 -144
- package/out/server/getMemberIdentifier.js.map +1 -1
- package/out/server/naslServer.d.ts +11 -1
- package/out/server/naslServer.js +118 -74
- package/out/server/naslServer.js.map +1 -1
- package/out/server/translator.js +24 -5
- package/out/server/translator.js.map +1 -1
- package/out/service/storage/init.d.ts +1 -0
- package/out/service/storage/init.js +12 -7
- package/out/service/storage/init.js.map +1 -1
- package/out/templator/genCreateBlock.js +16 -16
- package/out/templator/genCreateBlock.js.map +1 -1
- package/out/templator/genCurdEditMultipleKeyBlock.js +23 -23
- package/out/templator/genCurdEditMultipleKeyBlock.js.map +1 -1
- package/out/templator/genCurdMultipleKeyBlock.d.ts +2 -2
- package/out/templator/genCurdMultipleKeyBlock.js +28 -38
- package/out/templator/genCurdMultipleKeyBlock.js.map +1 -1
- package/out/templator/genEditTableBlock.js +15 -15
- package/out/templator/genEditTableBlock.js.map +1 -1
- package/out/templator/genEnumSelectBlock.js +8 -8
- package/out/templator/genEnumSelectBlock.js.map +1 -1
- package/out/templator/genGridViewBlock.js +18 -20
- package/out/templator/genGridViewBlock.js.map +1 -1
- package/out/templator/genListViewBlock.js +10 -10
- package/out/templator/genListViewBlock.js.map +1 -1
- package/out/templator/genQueryComponent.js +32 -37
- package/out/templator/genQueryComponent.js.map +1 -1
- package/out/templator/genSelectBlock.js +10 -10
- package/out/templator/genSelectBlock.js.map +1 -1
- package/out/templator/genTableBlock.js +18 -10
- package/out/templator/genTableBlock.js.map +1 -1
- package/out/templator/genUpdateBlock.js +15 -15
- package/out/templator/genUpdateBlock.js.map +1 -1
- package/out/templator/utils.d.ts +19 -24
- package/out/templator/utils.js +20 -30
- package/out/templator/utils.js.map +1 -1
- package/out/translator/types.d.ts +2 -0
- package/out/utils/index.d.ts +6 -1
- package/out/utils/index.js +37 -4
- package/out/utils/index.js.map +1 -1
- package/out/utils/string.d.ts +12 -0
- package/out/utils/string.js +15 -1
- package/out/utils/string.js.map +1 -1
- package/out/utils/time-slicing/performance.js +3 -3
- package/out/utils/time-slicing/performance.js.map +1 -1
- package/package.json +1 -1
- package/sandbox/stdlib/nasl.auth.ts +4 -0
- package/sandbox/stdlib/nasl.collection.ts +5 -3
- package/sandbox/stdlib/nasl.core.ts +16 -1
- package/sandbox/stdlib/nasl.oql.ts +2 -2
- package/sandbox/stdlib/nasl.process.ts +18 -0
- package/sandbox/stdlib/nasl.ui.components.h5.ts +1751 -0
- package/sandbox/stdlib/nasl.ui.components.pc.ts +3479 -0
- package/sandbox/stdlib/nasl.ui.definition.ts +53 -2688
- package/sandbox/stdlib/nasl.ui.ts +2 -1
- package/sandbox/stdlib/nasl.util.ts +7 -5
- package/sandbox-natural/stdlib/nasl.core.ts +3 -0
- package/sandbox-natural/stdlib/nasl.oql.ts +4 -3
- package/src/automate/engine/utils.js +3 -7
- package/src/automate/template/myProcess.js +65 -65
- package/src/bak/translator.js +62 -29
- package/src/breakpoint/generator/BreakpointNode.ts +9 -0
- package/src/breakpoint/shared/constants.ts +1 -0
- package/src/breakpoint/shared/utils.ts +1 -1
- package/src/common/BaseNode.ts +71 -9
- package/src/common/ComponentAPI.ts +6 -3
- package/src/common/EventEmitter.ts +1 -0
- package/src/concepts/Abort__.ts +8 -8
- package/src/concepts/AbstractInterface__.ts +14 -14
- package/src/concepts/Anchor__.ts +8 -60
- package/src/concepts/AnonymousFunction__.ts +21 -198
- package/src/concepts/App__.ts +1151 -1837
- package/src/concepts/Argument__.ts +16 -64
- package/src/concepts/Assignee__.ts +14 -72
- package/src/concepts/AssignmentLine__.ts +9 -14
- package/src/concepts/Assignment__.ts +9 -92
- package/src/concepts/Attribute__.ts +49 -176
- package/src/concepts/AuthInterface__.ts +19 -20
- package/src/concepts/AuthLogicForCallInterface__.ts +9 -36
- package/src/concepts/AuthLogic__.ts +45 -46
- package/src/concepts/BackendVariable__.ts +45 -167
- package/src/concepts/Backend__.ts +13 -57
- package/src/concepts/BaseSetter__.ts +72 -0
- package/src/concepts/BatchAssignment__.ts +18 -105
- package/src/concepts/BinaryExpression__.ts +36 -89
- package/src/concepts/BindAttribute__.ts +194 -343
- package/src/concepts/BindDirective__.ts +80 -135
- package/src/concepts/BindEvent__.ts +62 -126
- package/src/concepts/BindStyle__.ts +59 -112
- package/src/concepts/Block__.ts +8 -34
- package/src/concepts/BooleanLiteral__.ts +12 -5
- package/src/concepts/BusinessComponent__.ts +201 -502
- package/src/concepts/BusinessLogic__.ts +15 -15
- package/src/concepts/CallAuthInterface__.ts +10 -39
- package/src/concepts/CallConnector__.ts +15 -6
- package/src/concepts/CallEvent__.ts +16 -45
- package/src/concepts/CallFunction__.ts +104 -134
- package/src/concepts/CallInterface__.ts +20 -47
- package/src/concepts/CallLogic__.ts +93 -175
- package/src/concepts/CallQueryComponent__.ts +226 -520
- package/src/concepts/CapsulesSetter__.ts +254 -0
- package/src/concepts/Comment__.ts +11 -5
- package/src/concepts/CompletionProperty__.ts +29 -100
- package/src/concepts/ConfigGroup__.ts +13 -57
- package/src/concepts/ConfigPropertyValue__.ts +14 -26
- package/src/concepts/ConfigProperty__.ts +28 -68
- package/src/concepts/Configuration__.ts +9 -56
- package/src/concepts/Connection__.ts +27 -68
- package/src/concepts/ConnectorTrigger__.ts +57 -65
- package/src/concepts/Connector__.ts +339 -1448
- package/src/concepts/Constant__.ts +59 -182
- package/src/concepts/CountersignPolicy__.ts +12 -18
- package/src/concepts/DataSource__.ts +29 -68
- package/src/concepts/DatabaseTypeAnnotation__.ts +14 -19
- package/src/concepts/DefaultValue__.ts +10 -74
- package/src/concepts/Destination__.ts +28 -80
- package/src/concepts/End__.ts +11 -9
- package/src/concepts/EntityIndex__.ts +44 -51
- package/src/concepts/EntityProperty__.ts +86 -238
- package/src/concepts/Entity__.ts +43 -111
- package/src/concepts/EnumItem__.ts +29 -40
- package/src/concepts/EnumSelectSetter__.ts +254 -0
- package/src/concepts/Enum__.ts +38 -129
- package/src/concepts/EventDeclaration__.ts +95 -0
- package/src/concepts/Event__.ts +43 -92
- package/src/concepts/ExternalDestination__.ts +17 -91
- package/src/concepts/ForEachStatement__.ts +15 -198
- package/src/concepts/FrontendLibrary__.ts +111 -161
- package/src/concepts/FrontendType__.ts +21 -118
- package/src/concepts/FrontendVariable__.ts +10 -4
- package/src/concepts/Frontend__.ts +44 -250
- package/src/concepts/Function__.ts +28 -220
- package/src/concepts/I18nInfo__.ts +18 -20
- package/src/concepts/IconSetter__.ts +72 -0
- package/src/concepts/Identifier__.ts +27 -16
- package/src/concepts/IfStatement__.ts +9 -60
- package/src/concepts/ImageSetter__.ts +65 -0
- package/src/concepts/ImportedInterface__.ts +17 -4
- package/src/concepts/InputSetter__.ts +72 -0
- package/src/concepts/Integration__.ts +10 -114
- package/src/concepts/InterfaceParam__.ts +67 -186
- package/src/concepts/Interface__.ts +106 -200
- package/src/concepts/JSBlock__.ts +11 -11
- package/src/concepts/JavaLogic__.ts +19 -9
- package/src/concepts/LogicDeclaration__.ts +657 -0
- package/src/concepts/LogicItem__.ts +91 -96
- package/src/concepts/Logic__.ts +287 -434
- package/src/concepts/MatchCase__.ts +22 -72
- package/src/concepts/Match__.ts +23 -67
- package/src/concepts/MemberExpression__.ts +136 -132
- package/src/concepts/MetadataType__.ts +72 -167
- package/src/concepts/MicroApp__.ts +34 -29
- package/src/concepts/Module__.ts +259 -681
- package/src/concepts/MsgTriggerEvent__.ts +44 -79
- package/src/concepts/MsgTriggerLauncher__.ts +21 -54
- package/src/concepts/MultiApprovalPolicy__.ts +10 -18
- package/src/concepts/Namespace__.ts +278 -652
- package/src/concepts/NewComposite__.ts +62 -170
- package/src/concepts/NewList__.ts +12 -94
- package/src/concepts/NewMap__.ts +12 -94
- package/src/concepts/New__.ts +13 -2
- package/src/concepts/NullLiteral__.ts +8 -2
- package/src/concepts/NumberInputSetter__.ts +104 -0
- package/src/concepts/NumericLiteral__.ts +13 -63
- package/src/concepts/OqlQueryComponent__.ts +23 -71
- package/src/concepts/OverriddenLogic__.ts +71 -287
- package/src/concepts/Paginate__.ts +185 -0
- package/src/concepts/ParamWithGroup__.ts +26 -17
- package/src/concepts/Param__.ts +70 -211
- package/src/concepts/Point__.ts +14 -19
- package/src/concepts/ProcessComponent__.ts +33 -104
- package/src/concepts/ProcessElement__.ts +67 -422
- package/src/concepts/ProcessOutcome__.ts +12 -11
- package/src/concepts/ProcessOutcomes__.ts +9 -9
- package/src/concepts/Process__.ts +36 -200
- package/src/concepts/PropDeclaration__.ts +209 -0
- package/src/concepts/PropertySelectSetter__.ts +65 -0
- package/src/concepts/QueryAggregateExpression__.ts +18 -65
- package/src/concepts/QueryFieldExpression__.ts +22 -10
- package/src/concepts/QueryFromExpression__.ts +21 -41
- package/src/concepts/QueryGroupByExpression__.ts +8 -60
- package/src/concepts/QueryJoinExpression__.ts +64 -101
- package/src/concepts/QueryLimitExpression__.ts +9 -86
- package/src/concepts/QueryOrderByExpression__.ts +9 -86
- package/src/concepts/QuerySelectExpression__.ts +70 -118
- package/src/concepts/Rect__.ts +22 -23
- package/src/concepts/Return__.ts +60 -185
- package/src/concepts/Role__.ts +22 -29
- package/src/concepts/SelectMembers__.ts +16 -77
- package/src/concepts/SequentialPolicy__.ts +7 -2
- package/src/concepts/SetterOption__.ts +111 -0
- package/src/concepts/SlotDeclaration__.ts +488 -0
- package/src/concepts/Slot__.ts +35 -105
- package/src/concepts/SqlQueryComponent__.ts +21 -73
- package/src/concepts/Start__.ts +7 -8
- package/src/concepts/StaticString__.ts +16 -26
- package/src/concepts/StringInterpolation__.ts +9 -36
- package/src/concepts/StringLiteral__.ts +16 -7
- package/src/concepts/StructureProperty__.ts +38 -176
- package/src/concepts/Structure__.ts +32 -102
- package/src/concepts/SwitchCase__.ts +10 -62
- package/src/concepts/SwitchSetter__.ts +65 -0
- package/src/concepts/SwitchStatement__.ts +9 -35
- package/src/concepts/ThemeVariable__.ts +71 -0
- package/src/concepts/Theme__.ts +15 -17
- package/src/concepts/Transactional__.ts +67 -77
- package/src/concepts/TriggerEvent__.ts +14 -76
- package/src/concepts/TriggerLauncher__.ts +34 -38
- package/src/concepts/TypeAnnotation__.ts +50 -100
- package/src/concepts/TypeParam__.ts +10 -5
- package/src/concepts/UnaryExpression__.ts +12 -62
- package/src/concepts/Unparsed__.ts +11 -5
- package/src/concepts/UseComponent__.ts +14 -19
- package/src/concepts/ValidationRule__.ts +26 -105
- package/src/concepts/Variable__.ts +71 -195
- package/src/concepts/ViewBlockWithImage__.ts +80 -0
- package/src/concepts/ViewBlock__.ts +24 -27
- package/src/concepts/ViewComponentDeclaration__.ts +1670 -0
- package/src/concepts/ViewElement__.ts +502 -486
- package/src/concepts/View__.ts +576 -389
- package/src/concepts/WhileStatement__.ts +11 -62
- package/src/concepts/basics/stdlib/nasl.auth.ts +97 -34
- package/src/concepts/basics/stdlib/nasl.process.ts +103 -7
- package/src/concepts/basics/stdlib/nasl.util.ts +31 -31
- package/src/concepts/index__.ts +24 -8
- package/src/concepts/utils/asserts.ts +1544 -446
- package/src/concepts/utils/types.ts +121 -41
- package/src/config.ts +6 -0
- package/src/decorators/index.ts +3 -8
- package/src/enums/KEYWORDS.ts +2 -0
- package/src/generator/genBundleFiles.ts +129 -29
- package/src/generator/genReleaseBody.ts +0 -2
- package/src/generator/permission.ts +2 -2
- package/src/index.ts +1 -0
- package/src/natural/genNaturalTS.ts +2 -2
- package/src/natural/index.ts +3 -0
- package/src/natural/naslStdlibMap.ts +25 -19
- package/src/natural/prompt/analyzeClaims.ts +16 -0
- package/src/natural/prompt/executeClaims.ts +69 -0
- package/src/natural/transformTSCode.ts +12 -2
- package/src/server/createUiTs.ts +121 -155
- package/src/server/entity2LogicNamespace.ts +1 -16
- package/src/server/extendBaseNode.ts +46 -15
- package/src/server/formatTsUtils.ts +13 -13
- package/src/server/getConnector.ts +43 -35
- package/src/server/getFunctions.ts +3 -3
- package/src/server/getLogics.ts +34 -17
- package/src/server/getMemberIdentifier.ts +101 -145
- package/src/server/naslServer.ts +136 -74
- package/src/server/translator.ts +23 -5
- package/src/service/storage/init.ts +15 -8
- package/src/templator/genCreateBlock.ts +16 -16
- package/src/templator/genCurdEditMultipleKeyBlock.ts +23 -23
- package/src/templator/genCurdMultipleKeyBlock.ts +34 -44
- package/src/templator/genEditTableBlock.ts +15 -15
- package/src/templator/genEnumSelectBlock.ts +8 -8
- package/src/templator/genGridViewBlock.ts +18 -20
- package/src/templator/genListViewBlock.ts +10 -10
- package/src/templator/genQueryComponent.ts +33 -38
- package/src/templator/genSelectBlock.ts +10 -10
- package/src/templator/genTableBlock.ts +20 -12
- package/src/templator/genUpdateBlock.ts +15 -15
- package/src/templator/utils.ts +21 -30
- package/src/translator/types.ts +4 -0
- package/src/utils/index.ts +40 -5
- package/src/utils/string.ts +14 -0
- package/src/utils/time-slicing/performance.ts +3 -3
- package/test/concepts/call-interface/__snapshots__/getQuickInfoOffset.spec.ts.snap +1 -1
- package/test/concepts/call-interface/__snapshots__/toEmbeddedTS.spec.ts.snap +1 -1
- package/test/concepts/call-logic/__snapshots__/getQuickInfoOffset.spec.ts.snap +7 -8
- package/test/concepts/call-logic/__snapshots__/toEmbeddedTS.spec.ts.snap +5 -5
- package/test/concepts/entity/__snapshots__/toEmbeddedTS.spec.ts.snap +2 -2
- package/test/concepts/member-expression/__snapshots__/toEmbeddedTS.spec.ts.snap +1 -1
- package/test/concepts/member-expression/__snapshots__/toJS.spec.ts.snap +1 -1
- package/test/concepts/member-expression/fixtures/elements.table-view.data.json +363 -10
- package/test/concepts/view-element/__snapshots__/toEmbeddedTS.spec.ts.snap +655 -611
- package/test/concepts/view-element/__snapshots__/toVue.spec.ts.snap +127 -6
- package/test/concepts/view-element/fixtures/table-data-source-calllogic-with-server-validation.json +2074 -0
- package/test/concepts/view-element/toEmbeddedTS.spec.ts +11 -0
- package/test/concepts/view-element/toVue.spec.ts +0 -1
- package/ts-worker/src/start.js +1 -0
- package/out/concepts/ViewComponent__.d.ts +0 -568
- package/out/concepts/ViewComponent__.js +0 -809
- package/out/concepts/ViewComponent__.js.map +0 -1
- package/src/concepts/ViewComponent__.ts +0 -1444
|
@@ -0,0 +1,1751 @@
|
|
|
1
|
+
|
|
2
|
+
declare namespace nasl.ui {
|
|
3
|
+
class VanArea extends ViewComponent {
|
|
4
|
+
constructor(options?: Partial<VanAreaOptions>);
|
|
5
|
+
}
|
|
6
|
+
class VanAreaOptions extends ViewComponentOptions {
|
|
7
|
+
private labelField;
|
|
8
|
+
isNew: nasl.core.Boolean;
|
|
9
|
+
value: nasl.core.String;
|
|
10
|
+
areaListprop: {
|
|
11
|
+
province_list: {
|
|
12
|
+
[key: string]: string;
|
|
13
|
+
};
|
|
14
|
+
city_list: {
|
|
15
|
+
[key: string]: string;
|
|
16
|
+
};
|
|
17
|
+
county_list: {
|
|
18
|
+
[key: string]: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
title: nasl.core.String;
|
|
22
|
+
confirmButtonText: nasl.core.String;
|
|
23
|
+
cancelButtonText: nasl.core.String;
|
|
24
|
+
visibleItemCount: nasl.core.Integer;
|
|
25
|
+
columnsNum: nasl.core.Integer;
|
|
26
|
+
inputAlign: 'left' | 'center' | 'right';
|
|
27
|
+
converter: 'name' | 'code';
|
|
28
|
+
closeOnClickOverlay: nasl.core.Boolean;
|
|
29
|
+
readonly: nasl.core.Boolean;
|
|
30
|
+
disabled: nasl.core.Boolean;
|
|
31
|
+
onConfirm: (values: nasl.collection.List<{
|
|
32
|
+
code: nasl.core.String;
|
|
33
|
+
name: nasl.core.String;
|
|
34
|
+
}>, index: nasl.collection.List<nasl.core.Integer>, value: nasl.core.String) => any;
|
|
35
|
+
onCancel: (event: any) => any;
|
|
36
|
+
onChange: (event: any) => any;
|
|
37
|
+
slotTitle: () => Array<ViewComponent>;
|
|
38
|
+
slotDefault: () => Array<VanPickerActionSlot>;
|
|
39
|
+
slotPannelTitle: () => Array<ViewComponent>;
|
|
40
|
+
slotPickerTop: () => Array<VanPickerActionSlot>;
|
|
41
|
+
slotPickerBottom: () => Array<VanPickerActionSlot>;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
declare namespace nasl.ui {
|
|
45
|
+
class VanBadge extends ViewComponent {
|
|
46
|
+
constructor(options?: Partial<VanBadgeOptions>);
|
|
47
|
+
}
|
|
48
|
+
class VanBadgeOptions extends ViewComponentOptions {
|
|
49
|
+
content: nasl.core.Decimal;
|
|
50
|
+
max: nasl.core.Decimal;
|
|
51
|
+
dot: nasl.core.Boolean;
|
|
52
|
+
slotDefault: () => Array<ViewComponent>;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
declare namespace nasl.ui {
|
|
56
|
+
class VanButton extends ViewComponent {
|
|
57
|
+
constructor(options?: Partial<VanButtonOptions>);
|
|
58
|
+
}
|
|
59
|
+
class VanButtonOptions extends ViewComponentOptions {
|
|
60
|
+
private to;
|
|
61
|
+
replace: nasl.core.Boolean;
|
|
62
|
+
text: nasl.core.String;
|
|
63
|
+
type: 'info' | 'info_secondary' | 'default' | 'warning' | 'warning_secondary' | 'danger' | 'danger_secondary';
|
|
64
|
+
block: 'spanb' | 'blockb';
|
|
65
|
+
icon: nasl.core.String;
|
|
66
|
+
iconPosition: 'left' | 'right';
|
|
67
|
+
linkType: 'destination' | 'download';
|
|
68
|
+
hrefAndTo: nasl.core.String;
|
|
69
|
+
target: '_blank' | '_self' | '_parent' | '_top';
|
|
70
|
+
disabled: nasl.core.Boolean;
|
|
71
|
+
loading: nasl.core.Boolean;
|
|
72
|
+
loadingText: nasl.core.String;
|
|
73
|
+
size: 'large' | 'middle' | 'normal' | 'small' | 'mini';
|
|
74
|
+
squareroud: 'square' | 'round';
|
|
75
|
+
hairline: nasl.core.Boolean;
|
|
76
|
+
onClick: (event: any) => any;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
declare namespace nasl.ui {
|
|
80
|
+
class VanCalendar extends ViewComponent {
|
|
81
|
+
constructor(options?: Partial<VanCalendarOptions>);
|
|
82
|
+
reset(): any;
|
|
83
|
+
}
|
|
84
|
+
class VanCalendarOptions extends ViewComponentOptions {
|
|
85
|
+
private labelField;
|
|
86
|
+
private type;
|
|
87
|
+
isNew: nasl.core.Boolean;
|
|
88
|
+
value: nasl.core.String;
|
|
89
|
+
minDate: nasl.core.String;
|
|
90
|
+
maxDate: nasl.core.String;
|
|
91
|
+
title: nasl.core.String;
|
|
92
|
+
inputAlign: 'left' | 'center' | 'right';
|
|
93
|
+
closeOnClickOverlay: nasl.core.Boolean;
|
|
94
|
+
readonly: nasl.core.Boolean;
|
|
95
|
+
disabled: nasl.core.Boolean;
|
|
96
|
+
onConfirm: (event: nasl.core.Date) => any;
|
|
97
|
+
onSelect: (event: nasl.core.Date) => any;
|
|
98
|
+
onCancel: (event: any) => any;
|
|
99
|
+
slotTitle: () => Array<ViewComponent>;
|
|
100
|
+
slotDefault: () => Array<VanPickerActionSlot>;
|
|
101
|
+
slotPannelTitle: () => Array<ViewComponent>;
|
|
102
|
+
slotPickerTop: () => Array<VanPickerActionSlot>;
|
|
103
|
+
slotPickerBottom: () => Array<VanPickerActionSlot>;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
declare namespace nasl.ui {
|
|
107
|
+
class VanCapsules extends ViewComponent {
|
|
108
|
+
constructor(options?: Partial<VanCapsulesOptions>);
|
|
109
|
+
}
|
|
110
|
+
class VanCapsulesOptions extends ViewComponentOptions {
|
|
111
|
+
value: nasl.core.Any;
|
|
112
|
+
cancelable: nasl.core.Boolean;
|
|
113
|
+
multiple: nasl.core.Boolean;
|
|
114
|
+
readonly: nasl.core.Boolean;
|
|
115
|
+
disabled: nasl.core.Boolean;
|
|
116
|
+
onSelect: (event: {
|
|
117
|
+
value: nasl.core.Any;
|
|
118
|
+
}) => any;
|
|
119
|
+
onChange: (event: {
|
|
120
|
+
value: nasl.core.Any;
|
|
121
|
+
}) => any;
|
|
122
|
+
slotDefault: () => Array<VanCapsulesItem | VanCapsulesGroup>;
|
|
123
|
+
}
|
|
124
|
+
class VanCapsulesItem extends ViewComponent {
|
|
125
|
+
constructor(options?: Partial<VanCapsulesItemOptions>);
|
|
126
|
+
}
|
|
127
|
+
class VanCapsulesItemOptions extends ViewComponentOptions {
|
|
128
|
+
value: nasl.core.Any;
|
|
129
|
+
label: nasl.core.String;
|
|
130
|
+
flag: nasl.core.Boolean;
|
|
131
|
+
disabled: nasl.core.Boolean;
|
|
132
|
+
slotDefault: () => Array<ViewComponent>;
|
|
133
|
+
}
|
|
134
|
+
class VanCapsulesGroup extends ViewComponent {
|
|
135
|
+
constructor(options?: Partial<VanCapsulesGroupOptions>);
|
|
136
|
+
}
|
|
137
|
+
class VanCapsulesGroupOptions extends ViewComponentOptions {
|
|
138
|
+
slotDefault: () => Array<VanCapsulesItem>;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
declare namespace nasl.ui {
|
|
142
|
+
class VanCardu extends ViewComponent {
|
|
143
|
+
constructor(options?: Partial<VanCarduOptions>);
|
|
144
|
+
}
|
|
145
|
+
class VanCarduOptions extends ViewComponentOptions {
|
|
146
|
+
linkType: 'destination' | 'download';
|
|
147
|
+
hrefAndTo: nasl.core.String;
|
|
148
|
+
target: '_blank' | '_self' | '_parent' | '_top';
|
|
149
|
+
private width;
|
|
150
|
+
sr: 's' | 'r';
|
|
151
|
+
shadow: nasl.core.Boolean;
|
|
152
|
+
border: nasl.core.Boolean;
|
|
153
|
+
split: nasl.core.Boolean;
|
|
154
|
+
onClick: (event: {
|
|
155
|
+
altKey: nasl.core.Boolean;
|
|
156
|
+
button: nasl.core.Integer;
|
|
157
|
+
clientX: nasl.core.Integer;
|
|
158
|
+
clientY: nasl.core.Integer;
|
|
159
|
+
ctrlKey: nasl.core.Boolean;
|
|
160
|
+
metaKey: nasl.core.Boolean;
|
|
161
|
+
movementX: nasl.core.Integer;
|
|
162
|
+
movementY: nasl.core.Integer;
|
|
163
|
+
offsetX: nasl.core.Integer;
|
|
164
|
+
offsetY: nasl.core.Integer;
|
|
165
|
+
pageX: nasl.core.Integer;
|
|
166
|
+
pageY: nasl.core.Integer;
|
|
167
|
+
screenX: nasl.core.Integer;
|
|
168
|
+
screenY: nasl.core.Integer;
|
|
169
|
+
which: nasl.core.Integer;
|
|
170
|
+
}) => any;
|
|
171
|
+
slotDefault: () => Array<ViewComponent>;
|
|
172
|
+
slotCover: () => Array<ViewComponent>;
|
|
173
|
+
slotHead: () => Array<ViewComponent>;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
declare namespace nasl.ui {
|
|
177
|
+
class VanCascader<T, V> extends ViewComponent {
|
|
178
|
+
constructor(options?: Partial<VanCascaderOptions<T, V>>);
|
|
179
|
+
value: VanCascaderOptions<T, V>['value'];
|
|
180
|
+
filterText: nasl.core.String;
|
|
181
|
+
}
|
|
182
|
+
class VanCascaderOptions<T, V> extends ViewComponentOptions {
|
|
183
|
+
private labelField;
|
|
184
|
+
treeDisplay: nasl.core.Boolean;
|
|
185
|
+
value: V;
|
|
186
|
+
dataSource: nasl.collection.List<T> | {
|
|
187
|
+
total: nasl.core.Integer;
|
|
188
|
+
list: nasl.collection.List<T>;
|
|
189
|
+
};
|
|
190
|
+
dataSchema: T;
|
|
191
|
+
textField: (item: T) => any;
|
|
192
|
+
valueField: (item: T) => V;
|
|
193
|
+
parentField: (item: T) => any;
|
|
194
|
+
childrenField: (item: T) => any;
|
|
195
|
+
placeholder: nasl.core.String;
|
|
196
|
+
title: nasl.core.String;
|
|
197
|
+
tabPlaceholder: nasl.core.String;
|
|
198
|
+
inputAlign: 'left' | 'center' | 'right';
|
|
199
|
+
filterable: nasl.core.Boolean;
|
|
200
|
+
closeOnClickOverlay: nasl.core.Boolean;
|
|
201
|
+
readonly: nasl.core.Boolean;
|
|
202
|
+
disabled: nasl.core.Boolean;
|
|
203
|
+
onFinish: (event: {
|
|
204
|
+
value: V;
|
|
205
|
+
}) => any;
|
|
206
|
+
onChange: (event: {
|
|
207
|
+
value: V;
|
|
208
|
+
}) => any;
|
|
209
|
+
slotOption: (current: Current<T>) => Array<ViewComponent>;
|
|
210
|
+
slotTitle: () => Array<ViewComponent>;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
declare namespace nasl.ui {
|
|
214
|
+
class VanCellGroup extends ViewComponent {
|
|
215
|
+
constructor(options?: Partial<VanCellGroupOptions>);
|
|
216
|
+
}
|
|
217
|
+
class VanCellGroupOptions extends ViewComponentOptions {
|
|
218
|
+
inset: nasl.core.Boolean;
|
|
219
|
+
slotDefault: () => Array<VanCell>;
|
|
220
|
+
}
|
|
221
|
+
class VanCell extends ViewComponent {
|
|
222
|
+
constructor(options?: Partial<VanCellOptions>);
|
|
223
|
+
}
|
|
224
|
+
class VanCellOptions extends ViewComponentOptions {
|
|
225
|
+
private title;
|
|
226
|
+
private rtitle;
|
|
227
|
+
private label;
|
|
228
|
+
value: nasl.core.String;
|
|
229
|
+
isLink: nasl.core.Boolean;
|
|
230
|
+
arrowDirection: 'left' | 'up' | 'down' | 'right';
|
|
231
|
+
center: nasl.core.Boolean;
|
|
232
|
+
icon: nasl.core.String;
|
|
233
|
+
linkType: 'destination' | 'download';
|
|
234
|
+
hrefAndTo: nasl.core.String;
|
|
235
|
+
target: '_blank' | '_self' | '_parent' | '_top';
|
|
236
|
+
onClick: (event: {
|
|
237
|
+
altKey: nasl.core.Boolean;
|
|
238
|
+
button: nasl.core.Integer;
|
|
239
|
+
clientX: nasl.core.Integer;
|
|
240
|
+
clientY: nasl.core.Integer;
|
|
241
|
+
ctrlKey: nasl.core.Boolean;
|
|
242
|
+
metaKey: nasl.core.Boolean;
|
|
243
|
+
movementX: nasl.core.Integer;
|
|
244
|
+
movementY: nasl.core.Integer;
|
|
245
|
+
offsetX: nasl.core.Integer;
|
|
246
|
+
offsetY: nasl.core.Integer;
|
|
247
|
+
pageX: nasl.core.Integer;
|
|
248
|
+
pageY: nasl.core.Integer;
|
|
249
|
+
screenX: nasl.core.Integer;
|
|
250
|
+
screenY: nasl.core.Integer;
|
|
251
|
+
which: nasl.core.Integer;
|
|
252
|
+
}) => any;
|
|
253
|
+
slotDefault: () => Array<ViewComponent>;
|
|
254
|
+
slotTitle: () => Array<ViewComponent>;
|
|
255
|
+
private slotRightIcon;
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
declare namespace nasl.ui {
|
|
259
|
+
class VanCheckboxGroup<T, V> extends ViewComponent {
|
|
260
|
+
constructor(options?: Partial<VanCheckboxGroupOptions<T, V>>);
|
|
261
|
+
value: VanCheckboxGroupOptions<T, V>['value'];
|
|
262
|
+
data: VanCheckboxGroupOptions<T, V>['dataSource'];
|
|
263
|
+
}
|
|
264
|
+
class VanCheckboxGroupOptions<T, V> extends ViewComponentOptions {
|
|
265
|
+
dataSource: nasl.collection.List<T> | {
|
|
266
|
+
total: nasl.core.Integer;
|
|
267
|
+
list: nasl.collection.List<T>;
|
|
268
|
+
};
|
|
269
|
+
dataSchema: T;
|
|
270
|
+
value: nasl.collection.List<V>;
|
|
271
|
+
max: nasl.core.Integer;
|
|
272
|
+
min: nasl.core.Integer;
|
|
273
|
+
valueField: (item: T) => V;
|
|
274
|
+
direction: 'horizontal' | 'vertical';
|
|
275
|
+
column: nasl.core.Integer;
|
|
276
|
+
converter: 'join' | 'join:|' | 'join:;' | 'json' | 'none';
|
|
277
|
+
disabled: nasl.core.Boolean;
|
|
278
|
+
onChange: (event: {
|
|
279
|
+
value: nasl.collection.List<V>;
|
|
280
|
+
}) => any;
|
|
281
|
+
slotDefault: () => Array<VanCheckbox<V>>;
|
|
282
|
+
slotItem: (current: Current<T>) => Array<ViewComponent>;
|
|
283
|
+
}
|
|
284
|
+
class VanCheckbox<V> extends ViewComponent {
|
|
285
|
+
constructor(options?: Partial<VanCheckboxOptions<V>>);
|
|
286
|
+
}
|
|
287
|
+
class VanCheckboxOptions<V> extends ViewComponentOptions {
|
|
288
|
+
private title;
|
|
289
|
+
label: V;
|
|
290
|
+
shape: 'square' | 'round';
|
|
291
|
+
labelPosition: 'right' | 'left';
|
|
292
|
+
value: nasl.core.Boolean;
|
|
293
|
+
disabled: nasl.core.Boolean;
|
|
294
|
+
readonly: nasl.core.Boolean;
|
|
295
|
+
onClick: (event: {
|
|
296
|
+
altKey: nasl.core.Boolean;
|
|
297
|
+
button: nasl.core.Integer;
|
|
298
|
+
clientX: nasl.core.Integer;
|
|
299
|
+
clientY: nasl.core.Integer;
|
|
300
|
+
ctrlKey: nasl.core.Boolean;
|
|
301
|
+
metaKey: nasl.core.Boolean;
|
|
302
|
+
movementX: nasl.core.Integer;
|
|
303
|
+
movementY: nasl.core.Integer;
|
|
304
|
+
offsetX: nasl.core.Integer;
|
|
305
|
+
offsetY: nasl.core.Integer;
|
|
306
|
+
pageX: nasl.core.Integer;
|
|
307
|
+
pageY: nasl.core.Integer;
|
|
308
|
+
screenX: nasl.core.Integer;
|
|
309
|
+
screenY: nasl.core.Integer;
|
|
310
|
+
which: nasl.core.Integer;
|
|
311
|
+
}) => any;
|
|
312
|
+
slotDefault: () => Array<ViewComponent>;
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
declare namespace nasl.ui {
|
|
316
|
+
class VanCircle extends ViewComponent {
|
|
317
|
+
constructor(options?: Partial<VanCircleOptions>);
|
|
318
|
+
}
|
|
319
|
+
class VanCircleOptions extends ViewComponentOptions {
|
|
320
|
+
private text;
|
|
321
|
+
value: nasl.core.Decimal;
|
|
322
|
+
clockwise: nasl.core.Boolean;
|
|
323
|
+
size: nasl.core.Decimal;
|
|
324
|
+
color: nasl.core.String;
|
|
325
|
+
layerColor: nasl.core.String;
|
|
326
|
+
fill: nasl.core.String;
|
|
327
|
+
strokeWidth: nasl.core.Decimal;
|
|
328
|
+
slotDefault: () => Array<ViewComponent>;
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
declare namespace nasl.ui {
|
|
332
|
+
class VanCollapse extends ViewComponent {
|
|
333
|
+
constructor(options?: Partial<VanCollapseOptions>);
|
|
334
|
+
}
|
|
335
|
+
class VanCollapseOptions extends ViewComponentOptions {
|
|
336
|
+
value: nasl.core.String;
|
|
337
|
+
accordion: nasl.core.Boolean;
|
|
338
|
+
onChange: (event: nasl.core.String) => any;
|
|
339
|
+
slotDefault: () => Array<VanCollapseItem>;
|
|
340
|
+
}
|
|
341
|
+
class VanCollapseItem extends ViewComponent {
|
|
342
|
+
toggle(expanded?: nasl.core.Boolean): any;
|
|
343
|
+
constructor(options?: Partial<VanCollapseItemOptions>);
|
|
344
|
+
}
|
|
345
|
+
class VanCollapseItemOptions extends ViewComponentOptions {
|
|
346
|
+
private title;
|
|
347
|
+
name: nasl.core.String;
|
|
348
|
+
isLink: nasl.core.Boolean;
|
|
349
|
+
disabled: nasl.core.Boolean;
|
|
350
|
+
onOpen: (event: any) => any;
|
|
351
|
+
onClose: (event: any) => any;
|
|
352
|
+
slotTitle: () => Array<ViewComponent>;
|
|
353
|
+
slotDefault: () => Array<ViewComponent>;
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
declare namespace nasl.ui {
|
|
357
|
+
class VanDatetimePicker extends ViewComponent {
|
|
358
|
+
constructor(options?: Partial<VanDatetimePickerOptions>);
|
|
359
|
+
open(): any;
|
|
360
|
+
close(): any;
|
|
361
|
+
}
|
|
362
|
+
class VanDatetimePickerOptions extends ViewComponentOptions {
|
|
363
|
+
private labelField;
|
|
364
|
+
type: 'time' | 'date' | 'datetime';
|
|
365
|
+
unit: 'date' | 'week' | 'month' | 'quarter' | 'year' | 'minute' | 'second';
|
|
366
|
+
showFormatter: 'YYYY年M月D日' | 'YYYY-MM-DD' | 'M/D/YYYY' | 'D/M/YYYY' | 'GGGG-W周' | 'GGGG年第W周' | 'GGGG-WWWW' | 'YYYY年M月' | 'YYYY-MM' | 'M/YYYY' | 'YYYY年第Q季度' | 'YYYY年QQ' | 'YYYY-QQ' | 'YYYY年' | 'YYYY' | 'HH:mm:ss' | 'HH时mm分ss秒' | 'HH:mm' | 'HH时mm分' | 'YYYY-MM-DD HH:mm:ss' | 'YYYY年M月D日 HH时mm分ss秒' | 'YYYY-MM-DD HH:mm HH:mm' | 'YYYY年M月D日 HH时mm分';
|
|
367
|
+
advancedFormat: {
|
|
368
|
+
enable: nasl.core.Boolean;
|
|
369
|
+
value: nasl.core.String;
|
|
370
|
+
};
|
|
371
|
+
range: nasl.core.Boolean;
|
|
372
|
+
startValue: nasl.core.String;
|
|
373
|
+
endValue: nasl.core.String;
|
|
374
|
+
isNew: nasl.core.Boolean;
|
|
375
|
+
value: nasl.core.String;
|
|
376
|
+
minDate: nasl.core.String;
|
|
377
|
+
maxDate: nasl.core.String;
|
|
378
|
+
maxHour: nasl.core.Integer;
|
|
379
|
+
minHour: nasl.core.Integer;
|
|
380
|
+
maxMinute: nasl.core.Integer;
|
|
381
|
+
minMinute: nasl.core.Integer;
|
|
382
|
+
converter: 'format' | 'timestamp' | 'json' | 'date';
|
|
383
|
+
private displayFormat;
|
|
384
|
+
title: nasl.core.String;
|
|
385
|
+
inputAlign: 'left' | 'center' | 'right';
|
|
386
|
+
closeOnClickOverlay: nasl.core.Boolean;
|
|
387
|
+
readonly: nasl.core.Boolean;
|
|
388
|
+
disabled: nasl.core.Boolean;
|
|
389
|
+
onConfirm: (event: nasl.core.String) => any;
|
|
390
|
+
onCancel: (event: any) => any;
|
|
391
|
+
slotTitle: () => Array<ViewComponent>;
|
|
392
|
+
slotBottom: () => Array<ViewComponent>;
|
|
393
|
+
slotDefault: () => Array<VanPickerActionSlot>;
|
|
394
|
+
slotPannelTitle: () => Array<ViewComponent>;
|
|
395
|
+
slotPickerTop: () => Array<VanPickerActionSlot>;
|
|
396
|
+
slotPickerBottom: () => Array<VanPickerActionSlot>;
|
|
397
|
+
}
|
|
398
|
+
class VanDatetimePickerActionSlot extends ViewComponent {
|
|
399
|
+
constructor(options?: Partial<VanDatetimePickerActionSlotOptions>);
|
|
400
|
+
}
|
|
401
|
+
class VanDatetimePickerActionSlotOptions extends ViewComponentOptions {
|
|
402
|
+
targetMethod: 'confirm' | 'cancel';
|
|
403
|
+
slotDefault: () => Array<ViewComponent>;
|
|
404
|
+
}
|
|
405
|
+
class VanPickerActionSlot extends ViewComponent {
|
|
406
|
+
constructor(options?: Partial<VanPickerActionSlotOptions>);
|
|
407
|
+
}
|
|
408
|
+
class VanPickerActionSlotOptions extends ViewComponentOptions {
|
|
409
|
+
targetMethod: 'confirm' | 'cancel';
|
|
410
|
+
slotDefault: () => Array<ViewComponent>;
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
declare namespace nasl.ui {
|
|
414
|
+
class VanDialog extends ViewComponent {
|
|
415
|
+
constructor(options?: Partial<VanDialogOptions>);
|
|
416
|
+
openModal(): any;
|
|
417
|
+
closeModal(): any;
|
|
418
|
+
}
|
|
419
|
+
class VanDialogOptions extends ViewComponentOptions {
|
|
420
|
+
private showConfirmButton;
|
|
421
|
+
private showCancelButton;
|
|
422
|
+
value: nasl.core.Boolean;
|
|
423
|
+
closeOnClickOverlay: nasl.core.Boolean;
|
|
424
|
+
onOpen: (event: any) => any;
|
|
425
|
+
onClose: (event: any) => any;
|
|
426
|
+
slotDefault: () => Array<ViewComponent>;
|
|
427
|
+
slotFooter: () => Array<ViewComponent>;
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
declare namespace nasl.ui {
|
|
431
|
+
class VanDivider extends ViewComponent {
|
|
432
|
+
constructor(options?: Partial<VanDividerOptions>);
|
|
433
|
+
}
|
|
434
|
+
class VanDividerOptions extends ViewComponentOptions {
|
|
435
|
+
contentPosition: 'center' | 'left' | 'right';
|
|
436
|
+
private title;
|
|
437
|
+
dashed: 'b' | 'a';
|
|
438
|
+
slotDefault: () => Array<ViewComponent>;
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
declare namespace nasl.ui {
|
|
442
|
+
class VanDropdownMenu extends ViewComponent {
|
|
443
|
+
constructor(options?: Partial<VanDropdownMenuOptions>);
|
|
444
|
+
}
|
|
445
|
+
class VanDropdownMenuOptions extends ViewComponentOptions {
|
|
446
|
+
private value;
|
|
447
|
+
private route;
|
|
448
|
+
direction: 'up' | 'down';
|
|
449
|
+
overlay: nasl.core.Boolean;
|
|
450
|
+
closeOnClickOverlay: nasl.core.Boolean;
|
|
451
|
+
slotDefault: () => Array<VanDropdownMenu>;
|
|
452
|
+
}
|
|
453
|
+
class VanDropdownItem extends ViewComponent {
|
|
454
|
+
constructor(options?: Partial<VanDropdownItemOptions>);
|
|
455
|
+
toggle(show?: nasl.core.Boolean): any;
|
|
456
|
+
}
|
|
457
|
+
class VanDropdownItemOptions extends ViewComponentOptions {
|
|
458
|
+
value: nasl.core.String;
|
|
459
|
+
title: nasl.core.String;
|
|
460
|
+
shutself: nasl.core.Boolean;
|
|
461
|
+
disabled: nasl.core.Boolean;
|
|
462
|
+
onChange: (event: nasl.core.String) => any;
|
|
463
|
+
onOpen: (event: any) => any;
|
|
464
|
+
onClose: (event: any) => any;
|
|
465
|
+
slotDefault: () => Array<VanDropdownItemSon>;
|
|
466
|
+
}
|
|
467
|
+
class VanDropdownItemSon extends ViewComponent {
|
|
468
|
+
constructor(options?: Partial<VanDropdownItemSonOptions>);
|
|
469
|
+
}
|
|
470
|
+
class VanDropdownItemSonOptions extends ViewComponentOptions {
|
|
471
|
+
private rtitle;
|
|
472
|
+
private label;
|
|
473
|
+
value: nasl.core.String;
|
|
474
|
+
isLink: nasl.core.Boolean;
|
|
475
|
+
arrowDirection: 'left' | 'up' | 'down' | 'right';
|
|
476
|
+
center: nasl.core.Boolean;
|
|
477
|
+
title: nasl.core.String;
|
|
478
|
+
icon: nasl.core.String;
|
|
479
|
+
linkType: 'destination' | 'download';
|
|
480
|
+
hrefAndTo: nasl.core.String;
|
|
481
|
+
target: '_blank' | '_self' | '_parent' | '_top';
|
|
482
|
+
onClick: (event: {
|
|
483
|
+
altKey: nasl.core.Boolean;
|
|
484
|
+
button: nasl.core.Integer;
|
|
485
|
+
clientX: nasl.core.Integer;
|
|
486
|
+
clientY: nasl.core.Integer;
|
|
487
|
+
ctrlKey: nasl.core.Boolean;
|
|
488
|
+
metaKey: nasl.core.Boolean;
|
|
489
|
+
movementX: nasl.core.Integer;
|
|
490
|
+
movementY: nasl.core.Integer;
|
|
491
|
+
offsetX: nasl.core.Integer;
|
|
492
|
+
offsetY: nasl.core.Integer;
|
|
493
|
+
pageX: nasl.core.Integer;
|
|
494
|
+
pageY: nasl.core.Integer;
|
|
495
|
+
screenX: nasl.core.Integer;
|
|
496
|
+
screenY: nasl.core.Integer;
|
|
497
|
+
which: nasl.core.Integer;
|
|
498
|
+
}) => any;
|
|
499
|
+
slotDefault: () => Array<ViewComponent>;
|
|
500
|
+
private slotRightIcon;
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
declare namespace nasl.ui {
|
|
504
|
+
class VanFieldinput extends ViewComponent {
|
|
505
|
+
constructor(options?: Partial<VanFieldinputOptions>);
|
|
506
|
+
focus(): any;
|
|
507
|
+
blur(): any;
|
|
508
|
+
clear(): any;
|
|
509
|
+
}
|
|
510
|
+
class VanFieldinputOptions extends ViewComponentOptions {
|
|
511
|
+
private prefix;
|
|
512
|
+
private suffix;
|
|
513
|
+
value: nasl.core.String;
|
|
514
|
+
type: 'text' | 'password' | 'integer' | 'rndinteger' | 'point' | 'card';
|
|
515
|
+
placeholder: nasl.core.String;
|
|
516
|
+
maxlength: nasl.core.Integer;
|
|
517
|
+
keyboardTitle: nasl.core.String;
|
|
518
|
+
confirmText: nasl.core.String;
|
|
519
|
+
confirmSize: 'default' | 'large';
|
|
520
|
+
clearable: nasl.core.Boolean;
|
|
521
|
+
readonly: nasl.core.Boolean;
|
|
522
|
+
disabled: nasl.core.Boolean;
|
|
523
|
+
inputstyle: 'input' | 'password';
|
|
524
|
+
keytheme: 'native' | 'custom';
|
|
525
|
+
keyboardTheme: 'default' | 'custom';
|
|
526
|
+
onInput: (event: Event) => any;
|
|
527
|
+
onChange: (event: nasl.core.String) => any;
|
|
528
|
+
onFocus: (event: FocusEvent) => any;
|
|
529
|
+
onBlur: (event: FocusEvent) => any;
|
|
530
|
+
onClear: (event: any) => any;
|
|
531
|
+
onEnoughkey: (event: nasl.core.String) => any;
|
|
532
|
+
onClickConfirm: (event: nasl.core.String) => any;
|
|
533
|
+
}
|
|
534
|
+
}
|
|
535
|
+
declare namespace nasl.ui {
|
|
536
|
+
class VanFieldtextarea extends ViewComponent {
|
|
537
|
+
constructor(options?: Partial<VanFieldtextareaOptions>);
|
|
538
|
+
focus(): any;
|
|
539
|
+
blur(): any;
|
|
540
|
+
clear(): any;
|
|
541
|
+
}
|
|
542
|
+
class VanFieldtextareaOptions extends ViewComponentOptions {
|
|
543
|
+
private prefix;
|
|
544
|
+
private suffix;
|
|
545
|
+
value: nasl.core.String;
|
|
546
|
+
placeholder: nasl.core.String;
|
|
547
|
+
maxlength: nasl.core.Integer;
|
|
548
|
+
showWordLimit: nasl.core.Boolean;
|
|
549
|
+
autosize: nasl.core.Boolean | {
|
|
550
|
+
maxHeight: nasl.core.Integer;
|
|
551
|
+
minHeight: nasl.core.Integer;
|
|
552
|
+
};
|
|
553
|
+
clearable: nasl.core.Boolean;
|
|
554
|
+
readonly: nasl.core.Boolean;
|
|
555
|
+
disabled: nasl.core.Boolean;
|
|
556
|
+
onInput: (event: Event) => any;
|
|
557
|
+
onChange: (event: nasl.core.String) => any;
|
|
558
|
+
onFocus: (event: FocusEvent) => any;
|
|
559
|
+
onBlur: (event: FocusEvent) => any;
|
|
560
|
+
onClear: (event: any) => any;
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
declare namespace nasl.ui {
|
|
564
|
+
class VanForComponents<T> extends ViewComponent {
|
|
565
|
+
constructor(options?: Partial<VanForComponentsOptions<T>>);
|
|
566
|
+
data: VanForComponentsOptions<T>['dataSource'];
|
|
567
|
+
}
|
|
568
|
+
class VanForComponentsOptions<T> extends ViewComponentOptions {
|
|
569
|
+
dataSource: nasl.collection.List<T> | {
|
|
570
|
+
total: nasl.core.Integer;
|
|
571
|
+
list: nasl.collection.List<T>;
|
|
572
|
+
};
|
|
573
|
+
dataSchema: T;
|
|
574
|
+
colnum: nasl.core.Decimal;
|
|
575
|
+
wrap: nasl.core.Boolean;
|
|
576
|
+
equalWidth: nasl.core.Boolean;
|
|
577
|
+
slotDefault: (current?: Current<T>) => Array<ViewComponent>;
|
|
578
|
+
slotItem: (current: Current<T>) => Array<ViewComponent>;
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
declare namespace nasl.ui {
|
|
582
|
+
class VanForm extends ViewComponent {
|
|
583
|
+
constructor(options?: Partial<VanFormOptions>);
|
|
584
|
+
validate(name?: nasl.core.String | nasl.collection.List<nasl.core.String>): any;
|
|
585
|
+
}
|
|
586
|
+
class VanFormOptions extends ViewComponentOptions {
|
|
587
|
+
private labelAlign;
|
|
588
|
+
private inputAlign;
|
|
589
|
+
onSubmit: (event: {}) => any;
|
|
590
|
+
onFailed: (event: {
|
|
591
|
+
values: {};
|
|
592
|
+
}) => any;
|
|
593
|
+
slotDefault: () => Array<VanField>;
|
|
594
|
+
}
|
|
595
|
+
class VanField extends ViewComponent {
|
|
596
|
+
constructor(options?: Partial<VanFieldOptions>);
|
|
597
|
+
}
|
|
598
|
+
class VanFieldOptions extends ViewComponentOptions {
|
|
599
|
+
private value;
|
|
600
|
+
private name;
|
|
601
|
+
private type;
|
|
602
|
+
private label;
|
|
603
|
+
private size;
|
|
604
|
+
private placeholder;
|
|
605
|
+
labelLayout: 'inline' | 'block';
|
|
606
|
+
required: nasl.core.Boolean;
|
|
607
|
+
rules: nasl.collection.List<nasl.core.String>;
|
|
608
|
+
border: nasl.core.Boolean;
|
|
609
|
+
slotInput: () => Array<ViewComponent>;
|
|
610
|
+
slotTitle: () => Array<ViewComponent>;
|
|
611
|
+
}
|
|
612
|
+
}
|
|
613
|
+
declare namespace nasl.ui {
|
|
614
|
+
class VanGallery<T> extends ViewComponent {
|
|
615
|
+
constructor(options?: Partial<VanGalleryOptions<T>>);
|
|
616
|
+
}
|
|
617
|
+
class VanGalleryOptions<T> extends ViewComponentOptions {
|
|
618
|
+
dataSource: nasl.collection.List<T> | {
|
|
619
|
+
total: nasl.core.Integer;
|
|
620
|
+
list: nasl.collection.List<T>;
|
|
621
|
+
};
|
|
622
|
+
}
|
|
623
|
+
}
|
|
624
|
+
declare namespace nasl.ui {
|
|
625
|
+
class VanIconv extends ViewComponent {
|
|
626
|
+
constructor(options?: Partial<VanIconvOptions>);
|
|
627
|
+
}
|
|
628
|
+
class VanIconvOptions extends ViewComponentOptions {
|
|
629
|
+
name: nasl.core.String;
|
|
630
|
+
icotype: 'only' | 'top' | 'left';
|
|
631
|
+
linkType: 'destination' | 'download';
|
|
632
|
+
hrefAndTo: nasl.core.String;
|
|
633
|
+
target: '_blank' | '_self' | '_parent' | '_top';
|
|
634
|
+
onClick: (event: any) => any;
|
|
635
|
+
slotDefault: () => Array<ViewComponent>;
|
|
636
|
+
}
|
|
637
|
+
}
|
|
638
|
+
declare namespace nasl.ui {
|
|
639
|
+
class VanImage extends ViewComponent {
|
|
640
|
+
constructor(options?: Partial<VanImageOptions>);
|
|
641
|
+
}
|
|
642
|
+
class VanImageOptions extends ViewComponentOptions {
|
|
643
|
+
loadingType: 'loading' | 'none' | 'placeholder';
|
|
644
|
+
placeholderSrc: nasl.core.String;
|
|
645
|
+
src: nasl.core.String;
|
|
646
|
+
fit: 'contain' | 'scale-down' | 'none' | 'fill' | 'cover';
|
|
647
|
+
sr: 's' | 'r';
|
|
648
|
+
preview: nasl.core.Boolean;
|
|
649
|
+
onClick: (event: {
|
|
650
|
+
altKey: nasl.core.Boolean;
|
|
651
|
+
button: nasl.core.Integer;
|
|
652
|
+
clientX: nasl.core.Integer;
|
|
653
|
+
clientY: nasl.core.Integer;
|
|
654
|
+
ctrlKey: nasl.core.Boolean;
|
|
655
|
+
metaKey: nasl.core.Boolean;
|
|
656
|
+
movementX: nasl.core.Integer;
|
|
657
|
+
movementY: nasl.core.Integer;
|
|
658
|
+
offsetX: nasl.core.Integer;
|
|
659
|
+
offsetY: nasl.core.Integer;
|
|
660
|
+
pageX: nasl.core.Integer;
|
|
661
|
+
pageY: nasl.core.Integer;
|
|
662
|
+
screenX: nasl.core.Integer;
|
|
663
|
+
screenY: nasl.core.Integer;
|
|
664
|
+
which: nasl.core.Integer;
|
|
665
|
+
}) => any;
|
|
666
|
+
}
|
|
667
|
+
}
|
|
668
|
+
declare namespace nasl.ui {
|
|
669
|
+
class VanLinearLayout extends ViewComponent {
|
|
670
|
+
constructor(options?: Partial<VanLinearLayoutOptions>);
|
|
671
|
+
openLoading(): any;
|
|
672
|
+
closeLoading(): any;
|
|
673
|
+
}
|
|
674
|
+
class VanLinearLayoutOptions extends ViewComponentOptions {
|
|
675
|
+
private display;
|
|
676
|
+
gap: 'shrink' | 'none' | 'small' | 'normal' | 'large';
|
|
677
|
+
layout: 'none' | 'inline' | 'block';
|
|
678
|
+
loadingIcon: nasl.core.String;
|
|
679
|
+
loadingIconRotate: nasl.core.Boolean;
|
|
680
|
+
loadingText: nasl.core.String;
|
|
681
|
+
mode: 'inline' | 'block' | 'flex';
|
|
682
|
+
direction: 'horizontal' | 'vertical';
|
|
683
|
+
justify: 'start' | 'center' | 'end' | 'space-between' | 'space-around';
|
|
684
|
+
alignment: 'start' | 'center' | 'end' | 'baseline' | 'stretch';
|
|
685
|
+
_alignment: 'start' | 'center' | 'end' | 'stretch';
|
|
686
|
+
_justify: 'start' | 'center' | 'end' | 'space-between' | 'space-around';
|
|
687
|
+
wrap: nasl.core.Boolean;
|
|
688
|
+
onClick: (event: any) => any;
|
|
689
|
+
slotDefault: () => Array<ViewComponent>;
|
|
690
|
+
}
|
|
691
|
+
}
|
|
692
|
+
declare namespace nasl.ui {
|
|
693
|
+
class VanNoticeBar extends ViewComponent {
|
|
694
|
+
constructor(options?: Partial<VanNoticeBarOptions>);
|
|
695
|
+
}
|
|
696
|
+
class VanNoticeBarOptions extends ViewComponentOptions {
|
|
697
|
+
private text;
|
|
698
|
+
mode: 'closeable' | 'link' | 'normal';
|
|
699
|
+
scrollable: nasl.core.Boolean;
|
|
700
|
+
wrapable: nasl.core.Boolean;
|
|
701
|
+
linkType: 'destination' | 'download';
|
|
702
|
+
hrefAndTo: nasl.core.String;
|
|
703
|
+
target: '_blank' | '_self' | '_parent' | '_top';
|
|
704
|
+
onClick: (event: {
|
|
705
|
+
altKey: nasl.core.Boolean;
|
|
706
|
+
button: nasl.core.Integer;
|
|
707
|
+
clientX: nasl.core.Integer;
|
|
708
|
+
clientY: nasl.core.Integer;
|
|
709
|
+
ctrlKey: nasl.core.Boolean;
|
|
710
|
+
metaKey: nasl.core.Boolean;
|
|
711
|
+
movementX: nasl.core.Integer;
|
|
712
|
+
movementY: nasl.core.Integer;
|
|
713
|
+
offsetX: nasl.core.Integer;
|
|
714
|
+
offsetY: nasl.core.Integer;
|
|
715
|
+
pageX: nasl.core.Integer;
|
|
716
|
+
pageY: nasl.core.Integer;
|
|
717
|
+
screenX: nasl.core.Integer;
|
|
718
|
+
screenY: nasl.core.Integer;
|
|
719
|
+
which: nasl.core.Integer;
|
|
720
|
+
}) => any;
|
|
721
|
+
onClose: (event: any) => any;
|
|
722
|
+
onRout: (event: any) => any;
|
|
723
|
+
slotDefault: () => Array<ViewComponent>;
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
declare namespace nasl.ui {
|
|
727
|
+
class VanPickerson<T, V, M extends nasl.core.Boolean, P extends nasl.core.Boolean> extends ViewComponent {
|
|
728
|
+
constructor(options?: Partial<VanPickersonOptions<T, V, M, P>>);
|
|
729
|
+
value: VanPickersonOptions<T, V, M, P>['value'];
|
|
730
|
+
data: VanPickersonOptions<T, V, M, P>['dataSource'];
|
|
731
|
+
page: nasl.core.Integer;
|
|
732
|
+
size: nasl.core.Integer;
|
|
733
|
+
filterText: nasl.core.String;
|
|
734
|
+
reload(): any;
|
|
735
|
+
}
|
|
736
|
+
class VanPickersonOptions<T, V, M extends nasl.core.Boolean, P extends nasl.core.Boolean> extends ViewComponentOptions {
|
|
737
|
+
private labelField;
|
|
738
|
+
private defaultIndex;
|
|
739
|
+
isNew: nasl.core.Boolean;
|
|
740
|
+
value: M extends true ? nasl.collection.List<V> : V;
|
|
741
|
+
dataSource: nasl.collection.List<T> | {
|
|
742
|
+
total: nasl.core.Integer;
|
|
743
|
+
list: nasl.collection.List<T>;
|
|
744
|
+
};
|
|
745
|
+
dataSchema: T;
|
|
746
|
+
valueField: (item: T) => V;
|
|
747
|
+
textField: (item: T) => nasl.core.String;
|
|
748
|
+
pageSize: nasl.core.Decimal;
|
|
749
|
+
sorting: {
|
|
750
|
+
field: nasl.core.String;
|
|
751
|
+
order: nasl.core.String;
|
|
752
|
+
};
|
|
753
|
+
matchMethod: 'includes' | 'startsWith' | 'endsWith';
|
|
754
|
+
pageable: nasl.core.Boolean;
|
|
755
|
+
type: 'picker' | 'list';
|
|
756
|
+
placeholder: nasl.core.String;
|
|
757
|
+
title: nasl.core.String;
|
|
758
|
+
confirmButtonText: nasl.core.String;
|
|
759
|
+
cancelButtonText: nasl.core.String;
|
|
760
|
+
visibleItemCount: nasl.core.Integer;
|
|
761
|
+
inputAlign: 'left' | 'center' | 'right';
|
|
762
|
+
showToolbar: nasl.core.Boolean;
|
|
763
|
+
filterable: nasl.core.Boolean;
|
|
764
|
+
multiple: nasl.core.Boolean;
|
|
765
|
+
enableSelectAll: nasl.core.Boolean;
|
|
766
|
+
enableSelectedCount: nasl.core.Boolean;
|
|
767
|
+
closeOnClickOverlay: nasl.core.Boolean;
|
|
768
|
+
initialLoad: nasl.core.Boolean;
|
|
769
|
+
readonly: nasl.core.Boolean;
|
|
770
|
+
disabled: nasl.core.Boolean;
|
|
771
|
+
onConfirm: (event: M extends true ? nasl.collection.List<V> : V) => any;
|
|
772
|
+
onCancel: (event: any) => any;
|
|
773
|
+
onChange: (event: any) => any;
|
|
774
|
+
slotDefault: () => Array<VanPickerActionSlot>;
|
|
775
|
+
slotOption: (current: Current<T>) => Array<ViewComponent>;
|
|
776
|
+
slotTitle: () => Array<ViewComponent>;
|
|
777
|
+
slotPannelTitle: () => Array<ViewComponent>;
|
|
778
|
+
slotPickerTop: () => Array<VanPickerActionSlot>;
|
|
779
|
+
slotPickerBottom: () => Array<VanPickerActionSlot>;
|
|
780
|
+
}
|
|
781
|
+
}
|
|
782
|
+
declare namespace nasl.ui {
|
|
783
|
+
class VanPopover extends ViewComponent {
|
|
784
|
+
openModal(): any;
|
|
785
|
+
closeModal(): any;
|
|
786
|
+
constructor(options?: Partial<VanPopoverOptions>);
|
|
787
|
+
}
|
|
788
|
+
class VanPopoverOptions extends ViewComponentOptions {
|
|
789
|
+
value: nasl.core.Boolean;
|
|
790
|
+
overlay: nasl.core.Boolean;
|
|
791
|
+
closeOnClickAction: nasl.core.Boolean;
|
|
792
|
+
theme: 'dark' | 'light';
|
|
793
|
+
placement: 'top' | 'bottom' | 'left' | 'right' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end' | 'right-start' | 'right-end';
|
|
794
|
+
onSelect: (event: any) => any;
|
|
795
|
+
onOpen: (event: any) => any;
|
|
796
|
+
onClose: (event: any) => any;
|
|
797
|
+
slotDefault: () => Array<VanPopoverItem>;
|
|
798
|
+
}
|
|
799
|
+
class VanPopoverItem extends ViewComponent {
|
|
800
|
+
constructor(options?: Partial<VanPopoverItemOptions>);
|
|
801
|
+
}
|
|
802
|
+
class VanPopoverItemOptions extends ViewComponentOptions {
|
|
803
|
+
text: nasl.core.String;
|
|
804
|
+
disabled: nasl.core.Boolean;
|
|
805
|
+
onClick: (event: any) => any;
|
|
806
|
+
}
|
|
807
|
+
}
|
|
808
|
+
declare namespace nasl.ui {
|
|
809
|
+
class VanPopup extends ViewComponent {
|
|
810
|
+
constructor(options?: Partial<VanPopupOptions>);
|
|
811
|
+
openModal(): any;
|
|
812
|
+
closeModal(): any;
|
|
813
|
+
}
|
|
814
|
+
class VanPopupOptions extends ViewComponentOptions {
|
|
815
|
+
value: nasl.core.Boolean;
|
|
816
|
+
position: 'top' | 'bottom' | 'right' | 'left';
|
|
817
|
+
closeOnClickOverlay: nasl.core.Boolean;
|
|
818
|
+
onClick: (event: any) => any;
|
|
819
|
+
onClickOverlay: (event: any) => any;
|
|
820
|
+
onOpen: (event: any) => any;
|
|
821
|
+
onClose: (event: any) => any;
|
|
822
|
+
slotDefault: () => Array<ViewComponent>;
|
|
823
|
+
}
|
|
824
|
+
}
|
|
825
|
+
declare namespace nasl.ui {
|
|
826
|
+
class VanProgress extends ViewComponent {
|
|
827
|
+
constructor(options?: Partial<VanProgressOptions>);
|
|
828
|
+
}
|
|
829
|
+
class VanProgressOptions extends ViewComponentOptions {
|
|
830
|
+
value: nasl.core.Decimal;
|
|
831
|
+
pivotText: nasl.core.String;
|
|
832
|
+
showPivot: nasl.core.Boolean;
|
|
833
|
+
custom: nasl.core.Boolean;
|
|
834
|
+
inactive: nasl.core.Boolean;
|
|
835
|
+
strokeWidth: nasl.core.Decimal;
|
|
836
|
+
color: nasl.core.String;
|
|
837
|
+
trackColor: nasl.core.String;
|
|
838
|
+
textColor: nasl.core.String;
|
|
839
|
+
pivotColor: nasl.core.String;
|
|
840
|
+
slotDefault: () => Array<ViewComponent>;
|
|
841
|
+
}
|
|
842
|
+
}
|
|
843
|
+
declare namespace nasl.ui {
|
|
844
|
+
class VanRadioGroup<T, V> extends ViewComponent {
|
|
845
|
+
constructor(options?: Partial<VanRadioGroupOptions<T, V>>);
|
|
846
|
+
value: VanRadioGroupOptions<T, V>['value'];
|
|
847
|
+
data: VanRadioGroupOptions<T, V>['dataSource'];
|
|
848
|
+
}
|
|
849
|
+
class VanRadioGroupOptions<T, V> extends ViewComponentOptions {
|
|
850
|
+
dataSource: nasl.collection.List<T> | {
|
|
851
|
+
total: nasl.core.Integer;
|
|
852
|
+
list: nasl.collection.List<T>;
|
|
853
|
+
};
|
|
854
|
+
dataSchema: T;
|
|
855
|
+
value: V;
|
|
856
|
+
icon: nasl.core.String;
|
|
857
|
+
direction: 'horizontal' | 'vertical';
|
|
858
|
+
column: nasl.core.Integer;
|
|
859
|
+
disabled: nasl.core.Boolean;
|
|
860
|
+
readonly: nasl.core.Boolean;
|
|
861
|
+
onChange: (event: V) => any;
|
|
862
|
+
slotDefault: () => Array<VanRadio<V>>;
|
|
863
|
+
slotItem: (current: Current<T>) => Array<ViewComponent>;
|
|
864
|
+
}
|
|
865
|
+
class VanRadio<V> extends ViewComponent {
|
|
866
|
+
constructor(options?: Partial<VanRadioOptions<V>>);
|
|
867
|
+
}
|
|
868
|
+
class VanRadioOptions<V> extends ViewComponentOptions {
|
|
869
|
+
private title;
|
|
870
|
+
name: nasl.core.String;
|
|
871
|
+
icon: nasl.core.String;
|
|
872
|
+
labelPosition: 'right' | 'left';
|
|
873
|
+
disabled: nasl.core.Boolean;
|
|
874
|
+
onClick: (event: {
|
|
875
|
+
altKey: nasl.core.Boolean;
|
|
876
|
+
button: nasl.core.Integer;
|
|
877
|
+
clientX: nasl.core.Integer;
|
|
878
|
+
clientY: nasl.core.Integer;
|
|
879
|
+
ctrlKey: nasl.core.Boolean;
|
|
880
|
+
metaKey: nasl.core.Boolean;
|
|
881
|
+
movementX: nasl.core.Integer;
|
|
882
|
+
movementY: nasl.core.Integer;
|
|
883
|
+
offsetX: nasl.core.Integer;
|
|
884
|
+
offsetY: nasl.core.Integer;
|
|
885
|
+
pageX: nasl.core.Integer;
|
|
886
|
+
pageY: nasl.core.Integer;
|
|
887
|
+
screenX: nasl.core.Integer;
|
|
888
|
+
screenY: nasl.core.Integer;
|
|
889
|
+
which: nasl.core.Integer;
|
|
890
|
+
}) => any;
|
|
891
|
+
slotDefault: () => Array<ViewComponent>;
|
|
892
|
+
}
|
|
893
|
+
}
|
|
894
|
+
declare namespace nasl.ui {
|
|
895
|
+
class VanRate extends ViewComponent {
|
|
896
|
+
constructor(options?: Partial<VanRateOptions>);
|
|
897
|
+
}
|
|
898
|
+
class VanRateOptions extends ViewComponentOptions {
|
|
899
|
+
value: nasl.core.Decimal;
|
|
900
|
+
count: nasl.core.Integer;
|
|
901
|
+
icon: nasl.core.String;
|
|
902
|
+
voidIcon: nasl.core.String;
|
|
903
|
+
allowHalf: nasl.core.Boolean;
|
|
904
|
+
readonly: nasl.core.Boolean;
|
|
905
|
+
disabled: nasl.core.Boolean;
|
|
906
|
+
size: nasl.core.Decimal;
|
|
907
|
+
gutter: nasl.core.Decimal;
|
|
908
|
+
color: nasl.core.String;
|
|
909
|
+
voidColor: nasl.core.String;
|
|
910
|
+
disabledColor: nasl.core.String;
|
|
911
|
+
onChange: (event: nasl.core.Decimal) => any;
|
|
912
|
+
}
|
|
913
|
+
}
|
|
914
|
+
declare namespace nasl.ui {
|
|
915
|
+
class VanRouterView extends ViewComponent {
|
|
916
|
+
constructor(options?: Partial<VanRouterViewOptions>);
|
|
917
|
+
}
|
|
918
|
+
class VanRouterViewOptions extends ViewComponentOptions {
|
|
919
|
+
}
|
|
920
|
+
}
|
|
921
|
+
declare namespace nasl.ui {
|
|
922
|
+
class VanRow extends ViewComponent {
|
|
923
|
+
constructor(options?: Partial<VanRowOptions>);
|
|
924
|
+
}
|
|
925
|
+
class VanRowOptions extends ViewComponentOptions {
|
|
926
|
+
type: '-' | 'flex';
|
|
927
|
+
justify: 'start' | 'center' | 'end' | 'space-between' | 'space-around';
|
|
928
|
+
alignment: 'start' | 'center' | 'end' | 'baseline' | 'stretch';
|
|
929
|
+
gutter: '0' | '10' | '20' | '30';
|
|
930
|
+
slotDefault: () => Array<VanCol>;
|
|
931
|
+
}
|
|
932
|
+
class VanCol extends ViewComponent {
|
|
933
|
+
constructor(options?: Partial<VanColOptions>);
|
|
934
|
+
}
|
|
935
|
+
class VanColOptions extends ViewComponentOptions {
|
|
936
|
+
direction: 'horizontal' | 'vertical';
|
|
937
|
+
_justify: 'start' | 'center' | 'end' | 'space-between' | 'space-around';
|
|
938
|
+
alignment: 'start' | 'center' | 'end' | 'baseline' | 'stretch';
|
|
939
|
+
_alignment: 'start' | 'center' | 'end' | 'stretch';
|
|
940
|
+
justify: 'start' | 'center' | 'end' | 'space-between' | 'space-around';
|
|
941
|
+
wrap: nasl.core.Boolean;
|
|
942
|
+
gap: 'shrink' | 'none' | 'small' | 'normal' | 'large';
|
|
943
|
+
span: nasl.core.Integer;
|
|
944
|
+
offset: nasl.core.Integer;
|
|
945
|
+
mode: 'inline' | 'flex';
|
|
946
|
+
slotDefault: () => Array<ViewComponent>;
|
|
947
|
+
}
|
|
948
|
+
}
|
|
949
|
+
declare namespace nasl.ui {
|
|
950
|
+
class VanSearch extends ViewComponent {
|
|
951
|
+
constructor(options?: Partial<VanSearchOptions>);
|
|
952
|
+
}
|
|
953
|
+
class VanSearchOptions extends ViewComponentOptions {
|
|
954
|
+
private actiontext;
|
|
955
|
+
value: nasl.core.String;
|
|
956
|
+
maxlength: nasl.core.Integer;
|
|
957
|
+
placeholder: nasl.core.String;
|
|
958
|
+
cleartrigger: 'always' | 'focus';
|
|
959
|
+
inputAlign: 'left' | 'center' | 'right';
|
|
960
|
+
iconalign: 'left' | 'right';
|
|
961
|
+
clearable: nasl.core.Boolean;
|
|
962
|
+
readonly: nasl.core.Boolean;
|
|
963
|
+
disabled: nasl.core.Boolean;
|
|
964
|
+
shape: 'square' | 'round';
|
|
965
|
+
onSearch: (event: nasl.core.String) => any;
|
|
966
|
+
onIconsearch: (event: {
|
|
967
|
+
altKey: nasl.core.Boolean;
|
|
968
|
+
button: nasl.core.Integer;
|
|
969
|
+
clientX: nasl.core.Integer;
|
|
970
|
+
clientY: nasl.core.Integer;
|
|
971
|
+
ctrlKey: nasl.core.Boolean;
|
|
972
|
+
metaKey: nasl.core.Boolean;
|
|
973
|
+
movementX: nasl.core.Integer;
|
|
974
|
+
movementY: nasl.core.Integer;
|
|
975
|
+
offsetX: nasl.core.Integer;
|
|
976
|
+
offsetY: nasl.core.Integer;
|
|
977
|
+
pageX: nasl.core.Integer;
|
|
978
|
+
pageY: nasl.core.Integer;
|
|
979
|
+
screenX: nasl.core.Integer;
|
|
980
|
+
screenY: nasl.core.Integer;
|
|
981
|
+
which: nasl.core.Integer;
|
|
982
|
+
}) => any;
|
|
983
|
+
onInput: (event: nasl.core.String) => any;
|
|
984
|
+
onFocus: (event: FocusEvent) => any;
|
|
985
|
+
onBlur: (event: FocusEvent) => any;
|
|
986
|
+
onClickinput: (event: FocusEvent) => any;
|
|
987
|
+
onClear: (event: any) => any;
|
|
988
|
+
slotDefault: () => Array<ViewComponent>;
|
|
989
|
+
slotAction: () => Array<ViewComponent>;
|
|
990
|
+
}
|
|
991
|
+
}
|
|
992
|
+
declare namespace nasl.ui {
|
|
993
|
+
class VanSidebar extends ViewComponent {
|
|
994
|
+
constructor(options?: Partial<VanSidebarOptions>);
|
|
995
|
+
}
|
|
996
|
+
class VanSidebarOptions extends ViewComponentOptions {
|
|
997
|
+
value: nasl.core.String;
|
|
998
|
+
route: nasl.core.Boolean;
|
|
999
|
+
onChange: (event: any) => any;
|
|
1000
|
+
slotDefault: () => Array<VanSidebarItem>;
|
|
1001
|
+
}
|
|
1002
|
+
class VanSidebarItem extends ViewComponent {
|
|
1003
|
+
constructor(options?: Partial<VanSidebarItemOptions>);
|
|
1004
|
+
}
|
|
1005
|
+
class VanSidebarItemOptions extends ViewComponentOptions {
|
|
1006
|
+
value: nasl.core.String;
|
|
1007
|
+
showbaget: nasl.core.Boolean;
|
|
1008
|
+
badge: nasl.core.Decimal;
|
|
1009
|
+
badgemax: nasl.core.Decimal;
|
|
1010
|
+
private title;
|
|
1011
|
+
linkType: 'destination' | 'download';
|
|
1012
|
+
hrefAndTo: nasl.core.String;
|
|
1013
|
+
target: '_blank' | '_self' | '_parent' | '_top';
|
|
1014
|
+
disabled: nasl.core.Boolean;
|
|
1015
|
+
onClick: (event: nasl.core.Integer) => any;
|
|
1016
|
+
slotTitle: () => Array<ViewComponent>;
|
|
1017
|
+
}
|
|
1018
|
+
}
|
|
1019
|
+
declare namespace nasl.ui {
|
|
1020
|
+
class VanSlider extends ViewComponent {
|
|
1021
|
+
constructor(options?: Partial<VanSliderOptions>);
|
|
1022
|
+
}
|
|
1023
|
+
class VanSliderOptions extends ViewComponentOptions {
|
|
1024
|
+
value: nasl.core.Decimal;
|
|
1025
|
+
max: nasl.core.Decimal;
|
|
1026
|
+
min: nasl.core.Decimal;
|
|
1027
|
+
range: nasl.core.Boolean;
|
|
1028
|
+
custom: nasl.core.Boolean;
|
|
1029
|
+
disabled: nasl.core.Boolean;
|
|
1030
|
+
vertical: nasl.core.Boolean;
|
|
1031
|
+
step: nasl.core.Decimal | nasl.core.String;
|
|
1032
|
+
barHeight: nasl.core.Decimal;
|
|
1033
|
+
buttonSize: nasl.core.Decimal;
|
|
1034
|
+
activeColor: nasl.core.String;
|
|
1035
|
+
inactiveColor: nasl.core.String;
|
|
1036
|
+
onInput: (event: nasl.core.Decimal) => any;
|
|
1037
|
+
onChange: (event: nasl.core.Decimal) => any;
|
|
1038
|
+
onDragStart: (event: any) => any;
|
|
1039
|
+
onDragEnd: (event: any) => any;
|
|
1040
|
+
slotButton: () => Array<ViewComponent>;
|
|
1041
|
+
}
|
|
1042
|
+
}
|
|
1043
|
+
declare namespace nasl.ui {
|
|
1044
|
+
class VanStepperNew extends ViewComponent {
|
|
1045
|
+
constructor(options?: Partial<VanStepperNewOptions>);
|
|
1046
|
+
}
|
|
1047
|
+
class VanStepperNewOptions extends ViewComponentOptions {
|
|
1048
|
+
value: nasl.core.Decimal | nasl.core.Integer;
|
|
1049
|
+
min: nasl.core.Decimal;
|
|
1050
|
+
max: nasl.core.Decimal;
|
|
1051
|
+
decimalLength: nasl.core.Integer;
|
|
1052
|
+
decimalPlaces: {
|
|
1053
|
+
places: nasl.core.Integer | nasl.core.String;
|
|
1054
|
+
omit: nasl.core.Boolean;
|
|
1055
|
+
};
|
|
1056
|
+
thousandths: nasl.core.Boolean;
|
|
1057
|
+
percentSign: nasl.core.Boolean;
|
|
1058
|
+
unit: {
|
|
1059
|
+
type: nasl.core.String;
|
|
1060
|
+
value: nasl.core.String;
|
|
1061
|
+
};
|
|
1062
|
+
advancedFormat: {
|
|
1063
|
+
enable: nasl.core.Boolean;
|
|
1064
|
+
value: nasl.core.String;
|
|
1065
|
+
};
|
|
1066
|
+
placeholder: nasl.core.String;
|
|
1067
|
+
showPlus: nasl.core.Boolean;
|
|
1068
|
+
showMinus: nasl.core.Boolean;
|
|
1069
|
+
disablePlus: nasl.core.Boolean;
|
|
1070
|
+
disableMinus: nasl.core.Boolean;
|
|
1071
|
+
disableInput: nasl.core.Boolean;
|
|
1072
|
+
disabled: nasl.core.Boolean;
|
|
1073
|
+
theme: 'fang' | 'round';
|
|
1074
|
+
step: nasl.core.String | nasl.core.Decimal;
|
|
1075
|
+
align: 'left' | 'center' | 'right';
|
|
1076
|
+
onClick: (event: any) => any;
|
|
1077
|
+
onChange: (event: nasl.core.Decimal | nasl.core.Integer) => any;
|
|
1078
|
+
}
|
|
1079
|
+
}
|
|
1080
|
+
declare namespace nasl.ui {
|
|
1081
|
+
class VanSteps<T> extends ViewComponent {
|
|
1082
|
+
constructor(options?: Partial<VanStepsOptions<T>>);
|
|
1083
|
+
}
|
|
1084
|
+
class VanStepsOptions<T> extends ViewComponentOptions {
|
|
1085
|
+
dataSource: nasl.collection.List<T> | {
|
|
1086
|
+
total: nasl.core.Integer;
|
|
1087
|
+
list: nasl.collection.List<T>;
|
|
1088
|
+
};
|
|
1089
|
+
dataSchema: T;
|
|
1090
|
+
value: nasl.core.Integer;
|
|
1091
|
+
direction: 'horizontal' | 'vertical';
|
|
1092
|
+
readonly: nasl.core.Boolean;
|
|
1093
|
+
disabled: nasl.core.Boolean;
|
|
1094
|
+
onChangestep: (event: nasl.core.Integer) => any;
|
|
1095
|
+
slotDefault: () => Array<VanStep>;
|
|
1096
|
+
slotItem: (current: Current<T>) => Array<ViewComponent>;
|
|
1097
|
+
}
|
|
1098
|
+
class VanStep extends ViewComponent {
|
|
1099
|
+
constructor(options?: Partial<VanStepOptions>);
|
|
1100
|
+
}
|
|
1101
|
+
class VanStepOptions extends ViewComponentOptions {
|
|
1102
|
+
status: 'wait' | 'process' | 'finish' | 'error';
|
|
1103
|
+
icon: nasl.core.String;
|
|
1104
|
+
readonly: nasl.core.Boolean;
|
|
1105
|
+
disabled: nasl.core.Boolean;
|
|
1106
|
+
onClicktitle: (event: nasl.core.Integer) => any;
|
|
1107
|
+
onClickicon: (event: nasl.core.Integer) => any;
|
|
1108
|
+
slotDefault: () => Array<ViewComponent>;
|
|
1109
|
+
}
|
|
1110
|
+
}
|
|
1111
|
+
declare namespace nasl.ui {
|
|
1112
|
+
class VanSwipe extends ViewComponent {
|
|
1113
|
+
constructor(options?: Partial<VanSwipeOptions>);
|
|
1114
|
+
}
|
|
1115
|
+
class VanSwipeOptions extends ViewComponentOptions {
|
|
1116
|
+
private loop;
|
|
1117
|
+
private showIndicators;
|
|
1118
|
+
duration: nasl.core.Decimal;
|
|
1119
|
+
touchable: nasl.core.Boolean;
|
|
1120
|
+
slotDefault: () => Array<VanSwipeItem>;
|
|
1121
|
+
}
|
|
1122
|
+
class VanSwipeItem extends ViewComponent {
|
|
1123
|
+
constructor(options?: Partial<VanSwipeItemOptions>);
|
|
1124
|
+
}
|
|
1125
|
+
class VanSwipeItemOptions extends ViewComponentOptions {
|
|
1126
|
+
onClick: (event: {
|
|
1127
|
+
altKey: nasl.core.Boolean;
|
|
1128
|
+
button: nasl.core.Integer;
|
|
1129
|
+
clientX: nasl.core.Integer;
|
|
1130
|
+
clientY: nasl.core.Integer;
|
|
1131
|
+
ctrlKey: nasl.core.Boolean;
|
|
1132
|
+
metaKey: nasl.core.Boolean;
|
|
1133
|
+
movementX: nasl.core.Integer;
|
|
1134
|
+
movementY: nasl.core.Integer;
|
|
1135
|
+
offsetX: nasl.core.Integer;
|
|
1136
|
+
offsetY: nasl.core.Integer;
|
|
1137
|
+
pageX: nasl.core.Integer;
|
|
1138
|
+
pageY: nasl.core.Integer;
|
|
1139
|
+
screenX: nasl.core.Integer;
|
|
1140
|
+
screenY: nasl.core.Integer;
|
|
1141
|
+
which: nasl.core.Integer;
|
|
1142
|
+
}) => any;
|
|
1143
|
+
slotDefault: () => Array<ViewComponent>;
|
|
1144
|
+
}
|
|
1145
|
+
}
|
|
1146
|
+
declare namespace nasl.ui {
|
|
1147
|
+
class VanSwipeCell extends ViewComponent {
|
|
1148
|
+
constructor(options?: Partial<VanSwipeCellOptions>);
|
|
1149
|
+
close(): any;
|
|
1150
|
+
}
|
|
1151
|
+
class VanSwipeCellOptions extends ViewComponentOptions {
|
|
1152
|
+
leftWidth: nasl.core.String;
|
|
1153
|
+
rightWidth: nasl.core.String;
|
|
1154
|
+
disabled: nasl.core.Boolean;
|
|
1155
|
+
onClick: (event: nasl.core.String) => any;
|
|
1156
|
+
slotDefault: () => Array<ViewComponent>;
|
|
1157
|
+
slotRight: () => Array<ViewComponent>;
|
|
1158
|
+
slotLeft: () => Array<ViewComponent>;
|
|
1159
|
+
}
|
|
1160
|
+
}
|
|
1161
|
+
declare namespace nasl.ui {
|
|
1162
|
+
class VanSwitch extends ViewComponent {
|
|
1163
|
+
constructor(options?: Partial<VanSwitchOptions>);
|
|
1164
|
+
}
|
|
1165
|
+
class VanSwitchOptions extends ViewComponentOptions {
|
|
1166
|
+
value: nasl.core.Boolean;
|
|
1167
|
+
disabled: nasl.core.Boolean;
|
|
1168
|
+
readonly: nasl.core.Boolean;
|
|
1169
|
+
onClick: (event: {
|
|
1170
|
+
altKey: nasl.core.Boolean;
|
|
1171
|
+
button: nasl.core.Integer;
|
|
1172
|
+
clientX: nasl.core.Integer;
|
|
1173
|
+
clientY: nasl.core.Integer;
|
|
1174
|
+
ctrlKey: nasl.core.Boolean;
|
|
1175
|
+
metaKey: nasl.core.Boolean;
|
|
1176
|
+
movementX: nasl.core.Integer;
|
|
1177
|
+
movementY: nasl.core.Integer;
|
|
1178
|
+
offsetX: nasl.core.Integer;
|
|
1179
|
+
offsetY: nasl.core.Integer;
|
|
1180
|
+
pageX: nasl.core.Integer;
|
|
1181
|
+
pageY: nasl.core.Integer;
|
|
1182
|
+
screenX: nasl.core.Integer;
|
|
1183
|
+
screenY: nasl.core.Integer;
|
|
1184
|
+
which: nasl.core.Integer;
|
|
1185
|
+
}) => any;
|
|
1186
|
+
onChange: (event: nasl.core.Boolean) => any;
|
|
1187
|
+
}
|
|
1188
|
+
}
|
|
1189
|
+
declare namespace nasl.ui {
|
|
1190
|
+
class VanTabbar extends ViewComponent {
|
|
1191
|
+
constructor(options?: Partial<VanTabbarOptions>);
|
|
1192
|
+
}
|
|
1193
|
+
class VanTabbarOptions extends ViewComponentOptions {
|
|
1194
|
+
value: nasl.core.String;
|
|
1195
|
+
fixed: nasl.core.Boolean;
|
|
1196
|
+
route: nasl.core.Boolean;
|
|
1197
|
+
border: nasl.core.Boolean;
|
|
1198
|
+
onChange: (event: nasl.core.String) => any;
|
|
1199
|
+
slotDefault: () => Array<VanTabbarItem>;
|
|
1200
|
+
}
|
|
1201
|
+
class VanTabbarItem extends ViewComponent {
|
|
1202
|
+
constructor(options?: Partial<VanTabbarItemOptions>);
|
|
1203
|
+
}
|
|
1204
|
+
class VanTabbarItemOptions extends ViewComponentOptions {
|
|
1205
|
+
name: nasl.core.String;
|
|
1206
|
+
showbaget: nasl.core.Boolean;
|
|
1207
|
+
badge: nasl.core.Decimal;
|
|
1208
|
+
badgemax: nasl.core.Decimal;
|
|
1209
|
+
icon: nasl.core.String;
|
|
1210
|
+
linkType: 'destination' | 'download';
|
|
1211
|
+
hrefAndTo: nasl.core.String;
|
|
1212
|
+
target: '_blank' | '_self' | '_parent' | '_top';
|
|
1213
|
+
onClick: (event: {
|
|
1214
|
+
altKey: nasl.core.Boolean;
|
|
1215
|
+
button: nasl.core.Integer;
|
|
1216
|
+
clientX: nasl.core.Integer;
|
|
1217
|
+
clientY: nasl.core.Integer;
|
|
1218
|
+
ctrlKey: nasl.core.Boolean;
|
|
1219
|
+
metaKey: nasl.core.Boolean;
|
|
1220
|
+
movementX: nasl.core.Integer;
|
|
1221
|
+
movementY: nasl.core.Integer;
|
|
1222
|
+
offsetX: nasl.core.Integer;
|
|
1223
|
+
offsetY: nasl.core.Integer;
|
|
1224
|
+
pageX: nasl.core.Integer;
|
|
1225
|
+
pageY: nasl.core.Integer;
|
|
1226
|
+
screenX: nasl.core.Integer;
|
|
1227
|
+
screenY: nasl.core.Integer;
|
|
1228
|
+
which: nasl.core.Integer;
|
|
1229
|
+
}) => any;
|
|
1230
|
+
slotDefault: () => Array<ViewComponent>;
|
|
1231
|
+
}
|
|
1232
|
+
}
|
|
1233
|
+
declare namespace nasl.ui {
|
|
1234
|
+
class VanTabs extends ViewComponent {
|
|
1235
|
+
constructor(options?: Partial<VanTabsOptions>);
|
|
1236
|
+
}
|
|
1237
|
+
class VanTabsOptions extends ViewComponentOptions {
|
|
1238
|
+
value: nasl.core.String;
|
|
1239
|
+
type: 'line' | 'card';
|
|
1240
|
+
sticky: nasl.core.Boolean;
|
|
1241
|
+
scrollspystr: 'no' | 'scrollspy';
|
|
1242
|
+
swipeable: nasl.core.Boolean;
|
|
1243
|
+
animated: nasl.core.Boolean;
|
|
1244
|
+
disabled: nasl.core.Boolean;
|
|
1245
|
+
onClick: (event: nasl.core.String) => any;
|
|
1246
|
+
onChange: (event: nasl.core.String) => any;
|
|
1247
|
+
slotDefault: () => Array<VanTab>;
|
|
1248
|
+
}
|
|
1249
|
+
class VanTab extends ViewComponent {
|
|
1250
|
+
constructor(options?: Partial<VanTabOptions>);
|
|
1251
|
+
}
|
|
1252
|
+
class VanTabOptions extends ViewComponentOptions {
|
|
1253
|
+
private title;
|
|
1254
|
+
name: nasl.core.String;
|
|
1255
|
+
badgebtn: nasl.core.Boolean;
|
|
1256
|
+
badge: nasl.core.Decimal;
|
|
1257
|
+
badgemax: nasl.core.Decimal;
|
|
1258
|
+
disabled: nasl.core.Boolean;
|
|
1259
|
+
slotDefault: () => Array<ViewComponent>;
|
|
1260
|
+
slotTitle: () => Array<ViewComponent>;
|
|
1261
|
+
}
|
|
1262
|
+
}
|
|
1263
|
+
declare namespace nasl.ui {
|
|
1264
|
+
class VanTag extends ViewComponent {
|
|
1265
|
+
constructor(options?: Partial<VanTagOptions>);
|
|
1266
|
+
}
|
|
1267
|
+
class VanTagOptions extends ViewComponentOptions {
|
|
1268
|
+
type: 'primary' | 'success' | 'danger' | 'warning';
|
|
1269
|
+
mark: nasl.core.Boolean;
|
|
1270
|
+
closeable: nasl.core.Boolean;
|
|
1271
|
+
size: 'large' | 'medium' | 'small';
|
|
1272
|
+
round: nasl.core.Boolean;
|
|
1273
|
+
plain: nasl.core.Boolean;
|
|
1274
|
+
onClick: (event: {
|
|
1275
|
+
altKey: nasl.core.Boolean;
|
|
1276
|
+
button: nasl.core.Integer;
|
|
1277
|
+
clientX: nasl.core.Integer;
|
|
1278
|
+
clientY: nasl.core.Integer;
|
|
1279
|
+
ctrlKey: nasl.core.Boolean;
|
|
1280
|
+
metaKey: nasl.core.Boolean;
|
|
1281
|
+
movementX: nasl.core.Integer;
|
|
1282
|
+
movementY: nasl.core.Integer;
|
|
1283
|
+
offsetX: nasl.core.Integer;
|
|
1284
|
+
offsetY: nasl.core.Integer;
|
|
1285
|
+
pageX: nasl.core.Integer;
|
|
1286
|
+
pageY: nasl.core.Integer;
|
|
1287
|
+
screenX: nasl.core.Integer;
|
|
1288
|
+
screenY: nasl.core.Integer;
|
|
1289
|
+
which: nasl.core.Integer;
|
|
1290
|
+
}) => any;
|
|
1291
|
+
onBeforeClose: (event: any) => any;
|
|
1292
|
+
onClose: (event: any) => any;
|
|
1293
|
+
slotDefault: () => Array<ViewComponent>;
|
|
1294
|
+
}
|
|
1295
|
+
}
|
|
1296
|
+
declare namespace nasl.ui {
|
|
1297
|
+
class VanText extends ViewComponent {
|
|
1298
|
+
constructor(options?: Partial<VanTextOptions>);
|
|
1299
|
+
}
|
|
1300
|
+
class VanTextOptions extends ViewComponentOptions {
|
|
1301
|
+
text: nasl.core.String;
|
|
1302
|
+
color: 'default' | 'primary' | 'secondary' | 'success' | 'warning' | 'error' | 'disabled';
|
|
1303
|
+
display: 'inline' | 'block';
|
|
1304
|
+
overflow: 'normal' | 'ellipsis' | 'break' | 'nowrap';
|
|
1305
|
+
size: 'small' | 'normal' | 'large' | 'huge';
|
|
1306
|
+
onClick: (event: {
|
|
1307
|
+
altKey: nasl.core.Boolean;
|
|
1308
|
+
button: nasl.core.Integer;
|
|
1309
|
+
clientX: nasl.core.Integer;
|
|
1310
|
+
clientY: nasl.core.Integer;
|
|
1311
|
+
ctrlKey: nasl.core.Boolean;
|
|
1312
|
+
metaKey: nasl.core.Boolean;
|
|
1313
|
+
movementX: nasl.core.Integer;
|
|
1314
|
+
movementY: nasl.core.Integer;
|
|
1315
|
+
offsetX: nasl.core.Integer;
|
|
1316
|
+
offsetY: nasl.core.Integer;
|
|
1317
|
+
pageX: nasl.core.Integer;
|
|
1318
|
+
pageY: nasl.core.Integer;
|
|
1319
|
+
screenX: nasl.core.Integer;
|
|
1320
|
+
screenY: nasl.core.Integer;
|
|
1321
|
+
which: nasl.core.Integer;
|
|
1322
|
+
}) => any;
|
|
1323
|
+
slotDefault: () => Array<ViewComponent>;
|
|
1324
|
+
}
|
|
1325
|
+
}
|
|
1326
|
+
declare namespace nasl.ui {
|
|
1327
|
+
class VanToast extends ViewComponent {
|
|
1328
|
+
constructor(options?: Partial<VanToastOptions>);
|
|
1329
|
+
open(): any;
|
|
1330
|
+
close(): any;
|
|
1331
|
+
}
|
|
1332
|
+
class VanToastOptions extends ViewComponentOptions {
|
|
1333
|
+
private value;
|
|
1334
|
+
message: nasl.core.String;
|
|
1335
|
+
type: 'success' | 'warning' | 'fail' | 'loading' | 'custom';
|
|
1336
|
+
customIcon: nasl.core.String;
|
|
1337
|
+
duration: nasl.core.Integer;
|
|
1338
|
+
private position;
|
|
1339
|
+
onOpen: (event: any) => any;
|
|
1340
|
+
onClose: (event: any) => any;
|
|
1341
|
+
}
|
|
1342
|
+
}
|
|
1343
|
+
declare namespace nasl.ui {
|
|
1344
|
+
class VanUploader extends ViewComponent {
|
|
1345
|
+
constructor(options?: Partial<VanUploaderOptions>);
|
|
1346
|
+
chooseFile(): any;
|
|
1347
|
+
}
|
|
1348
|
+
class VanUploaderOptions extends ViewComponentOptions {
|
|
1349
|
+
private resultType;
|
|
1350
|
+
value: nasl.collection.List<{
|
|
1351
|
+
name: nasl.core.String;
|
|
1352
|
+
url: nasl.core.String;
|
|
1353
|
+
size: nasl.core.Integer;
|
|
1354
|
+
}> | nasl.core.String;
|
|
1355
|
+
name: nasl.core.String;
|
|
1356
|
+
accept: nasl.core.String;
|
|
1357
|
+
url: nasl.core.String;
|
|
1358
|
+
headers: Object;
|
|
1359
|
+
data: Object;
|
|
1360
|
+
withCredentials: nasl.core.Boolean;
|
|
1361
|
+
urlField: nasl.core.String;
|
|
1362
|
+
converter: 'json' | 'simple';
|
|
1363
|
+
private autoUpload;
|
|
1364
|
+
multiple: nasl.core.Boolean;
|
|
1365
|
+
maxCount: nasl.core.Integer;
|
|
1366
|
+
maxSize: nasl.core.Decimal;
|
|
1367
|
+
capture: 'waga' | 'camera';
|
|
1368
|
+
access: 'public' | 'private';
|
|
1369
|
+
ttl: nasl.core.Boolean;
|
|
1370
|
+
ttlValue: nasl.core.Integer;
|
|
1371
|
+
viaOriginURL: nasl.core.Boolean;
|
|
1372
|
+
lcapIsCompress: nasl.core.Boolean;
|
|
1373
|
+
readonly: nasl.core.Boolean;
|
|
1374
|
+
disabled: nasl.core.Boolean;
|
|
1375
|
+
onClickUpload: (event: {
|
|
1376
|
+
altKey: nasl.core.Boolean;
|
|
1377
|
+
button: nasl.core.Integer;
|
|
1378
|
+
clientX: nasl.core.Integer;
|
|
1379
|
+
clientY: nasl.core.Integer;
|
|
1380
|
+
ctrlKey: nasl.core.Boolean;
|
|
1381
|
+
metaKey: nasl.core.Boolean;
|
|
1382
|
+
movementX: nasl.core.Integer;
|
|
1383
|
+
movementY: nasl.core.Integer;
|
|
1384
|
+
offsetX: nasl.core.Integer;
|
|
1385
|
+
offsetY: nasl.core.Integer;
|
|
1386
|
+
pageX: nasl.core.Integer;
|
|
1387
|
+
pageY: nasl.core.Integer;
|
|
1388
|
+
screenX: nasl.core.Integer;
|
|
1389
|
+
screenY: nasl.core.Integer;
|
|
1390
|
+
which: nasl.core.Integer;
|
|
1391
|
+
}) => any;
|
|
1392
|
+
onOversize: (event: {
|
|
1393
|
+
file: {
|
|
1394
|
+
name: nasl.core.String;
|
|
1395
|
+
size: nasl.core.Integer;
|
|
1396
|
+
type: nasl.core.String;
|
|
1397
|
+
};
|
|
1398
|
+
message: nasl.core.String;
|
|
1399
|
+
name: nasl.core.String;
|
|
1400
|
+
size: nasl.core.Integer;
|
|
1401
|
+
status: nasl.core.String;
|
|
1402
|
+
uid: nasl.core.Integer;
|
|
1403
|
+
}) => any;
|
|
1404
|
+
onDelete: (event: {
|
|
1405
|
+
massage: nasl.core.String;
|
|
1406
|
+
name: nasl.core.String;
|
|
1407
|
+
size: nasl.core.Integer;
|
|
1408
|
+
uid: nasl.core.Integer;
|
|
1409
|
+
url: nasl.core.String;
|
|
1410
|
+
index: nasl.core.Integer;
|
|
1411
|
+
}) => any;
|
|
1412
|
+
onStart: (event: {
|
|
1413
|
+
file: {
|
|
1414
|
+
name: nasl.core.String;
|
|
1415
|
+
size: nasl.core.Integer;
|
|
1416
|
+
type: nasl.core.String;
|
|
1417
|
+
};
|
|
1418
|
+
item: {
|
|
1419
|
+
message: nasl.core.String;
|
|
1420
|
+
name: nasl.core.String;
|
|
1421
|
+
percent: nasl.core.Integer;
|
|
1422
|
+
size: nasl.core.Integer;
|
|
1423
|
+
status: nasl.core.String;
|
|
1424
|
+
uid: nasl.core.Integer;
|
|
1425
|
+
url: nasl.core.String;
|
|
1426
|
+
};
|
|
1427
|
+
}) => any;
|
|
1428
|
+
onProgress: (event: {
|
|
1429
|
+
file: {
|
|
1430
|
+
name: nasl.core.String;
|
|
1431
|
+
size: nasl.core.Integer;
|
|
1432
|
+
type: nasl.core.String;
|
|
1433
|
+
};
|
|
1434
|
+
item: {
|
|
1435
|
+
message: nasl.core.String;
|
|
1436
|
+
name: nasl.core.String;
|
|
1437
|
+
percent: nasl.core.Integer;
|
|
1438
|
+
size: nasl.core.Integer;
|
|
1439
|
+
status: nasl.core.String;
|
|
1440
|
+
uid: nasl.core.Integer;
|
|
1441
|
+
url: nasl.core.String;
|
|
1442
|
+
response: {
|
|
1443
|
+
filePath: nasl.core.String;
|
|
1444
|
+
msg: nasl.core.String;
|
|
1445
|
+
result: nasl.core.String;
|
|
1446
|
+
success: nasl.core.Boolean;
|
|
1447
|
+
};
|
|
1448
|
+
};
|
|
1449
|
+
}) => any;
|
|
1450
|
+
onSuccess: (event: {
|
|
1451
|
+
file: {
|
|
1452
|
+
name: nasl.core.String;
|
|
1453
|
+
size: nasl.core.Integer;
|
|
1454
|
+
type: nasl.core.String;
|
|
1455
|
+
};
|
|
1456
|
+
item: {
|
|
1457
|
+
message: nasl.core.String;
|
|
1458
|
+
name: nasl.core.String;
|
|
1459
|
+
percent: nasl.core.Integer;
|
|
1460
|
+
size: nasl.core.Integer;
|
|
1461
|
+
status: nasl.core.String;
|
|
1462
|
+
uid: nasl.core.Integer;
|
|
1463
|
+
url: nasl.core.String;
|
|
1464
|
+
response: {
|
|
1465
|
+
filePath: nasl.core.String;
|
|
1466
|
+
msg: nasl.core.String;
|
|
1467
|
+
result: nasl.core.String;
|
|
1468
|
+
success: nasl.core.Boolean;
|
|
1469
|
+
};
|
|
1470
|
+
};
|
|
1471
|
+
}) => any;
|
|
1472
|
+
onError: (event: {
|
|
1473
|
+
file: {
|
|
1474
|
+
name: nasl.core.String;
|
|
1475
|
+
size: nasl.core.Integer;
|
|
1476
|
+
type: nasl.core.String;
|
|
1477
|
+
};
|
|
1478
|
+
item: {
|
|
1479
|
+
message: nasl.core.String;
|
|
1480
|
+
name: nasl.core.String;
|
|
1481
|
+
percent: nasl.core.Integer;
|
|
1482
|
+
size: nasl.core.Integer;
|
|
1483
|
+
status: nasl.core.String;
|
|
1484
|
+
uid: nasl.core.Integer;
|
|
1485
|
+
url: nasl.core.String;
|
|
1486
|
+
response: {
|
|
1487
|
+
filePath: nasl.core.String;
|
|
1488
|
+
msg: nasl.core.String;
|
|
1489
|
+
result: nasl.core.String;
|
|
1490
|
+
success: nasl.core.Boolean;
|
|
1491
|
+
};
|
|
1492
|
+
};
|
|
1493
|
+
}) => any;
|
|
1494
|
+
slotDefault: () => Array<ViewComponent>;
|
|
1495
|
+
}
|
|
1496
|
+
}
|
|
1497
|
+
declare namespace nasl.ui {
|
|
1498
|
+
class VanAbsoluteLayout extends ViewComponent {
|
|
1499
|
+
constructor(options?: Partial<VanAbsoluteLayoutOptions>);
|
|
1500
|
+
}
|
|
1501
|
+
class VanAbsoluteLayoutOptions extends ViewComponentOptions {
|
|
1502
|
+
onClick: (event: {
|
|
1503
|
+
altKey: nasl.core.Boolean;
|
|
1504
|
+
button: nasl.core.Integer;
|
|
1505
|
+
clientX: nasl.core.Integer;
|
|
1506
|
+
clientY: nasl.core.Integer;
|
|
1507
|
+
ctrlKey: nasl.core.Boolean;
|
|
1508
|
+
metaKey: nasl.core.Boolean;
|
|
1509
|
+
movementX: nasl.core.Integer;
|
|
1510
|
+
movementY: nasl.core.Integer;
|
|
1511
|
+
offsetX: nasl.core.Integer;
|
|
1512
|
+
offsetY: nasl.core.Integer;
|
|
1513
|
+
pageX: nasl.core.Integer;
|
|
1514
|
+
pageY: nasl.core.Integer;
|
|
1515
|
+
screenX: nasl.core.Integer;
|
|
1516
|
+
screenY: nasl.core.Integer;
|
|
1517
|
+
which: nasl.core.Integer;
|
|
1518
|
+
}) => any;
|
|
1519
|
+
slotDefault: () => Array<ViewComponent>;
|
|
1520
|
+
}
|
|
1521
|
+
}
|
|
1522
|
+
declare namespace nasl.ui {
|
|
1523
|
+
class VanCopy extends ViewComponent {
|
|
1524
|
+
constructor(options?: Partial<VanCopyOptions>);
|
|
1525
|
+
}
|
|
1526
|
+
class VanCopyOptions extends ViewComponentOptions {
|
|
1527
|
+
private text;
|
|
1528
|
+
private successText;
|
|
1529
|
+
private feedback;
|
|
1530
|
+
private placement;
|
|
1531
|
+
private hideDelay;
|
|
1532
|
+
value: nasl.core.String;
|
|
1533
|
+
disabled: nasl.core.Boolean;
|
|
1534
|
+
onCopy: (event: {
|
|
1535
|
+
value: nasl.core.String;
|
|
1536
|
+
}) => any;
|
|
1537
|
+
slotDefault: () => Array<ViewComponent>;
|
|
1538
|
+
}
|
|
1539
|
+
}
|
|
1540
|
+
declare namespace nasl.ui {
|
|
1541
|
+
class VanCountDownNew extends ViewComponent {
|
|
1542
|
+
start(): any;
|
|
1543
|
+
pause(): any;
|
|
1544
|
+
continue(): any;
|
|
1545
|
+
stop(): any;
|
|
1546
|
+
constructor(options?: Partial<VanCountDownNewOptions>);
|
|
1547
|
+
}
|
|
1548
|
+
class VanCountDownNewOptions extends ViewComponentOptions {
|
|
1549
|
+
timer: nasl.core.Integer;
|
|
1550
|
+
reverse: 'positive' | 'negative';
|
|
1551
|
+
autostart: nasl.core.Boolean;
|
|
1552
|
+
hideMinute: nasl.core.Boolean;
|
|
1553
|
+
onStart: (event: any) => any;
|
|
1554
|
+
onPause: (event: any) => any;
|
|
1555
|
+
onContinue: (event: any) => any;
|
|
1556
|
+
onStop: (event: any) => any;
|
|
1557
|
+
}
|
|
1558
|
+
}
|
|
1559
|
+
declare namespace nasl.ui {
|
|
1560
|
+
class VanGridView<T, V, P extends nasl.core.Boolean, M extends nasl.core.Boolean> extends ViewComponent {
|
|
1561
|
+
constructor(options?: Partial<VanGridViewOptions<T, V, P, M>>);
|
|
1562
|
+
data: VanGridViewOptions<T, V, P, M>['dataSource'];
|
|
1563
|
+
page: nasl.core.Integer;
|
|
1564
|
+
size: nasl.core.Integer;
|
|
1565
|
+
filterText: nasl.core.String;
|
|
1566
|
+
reload(): any;
|
|
1567
|
+
}
|
|
1568
|
+
class VanGridViewOptions<T, V, P extends nasl.core.Boolean, M extends nasl.core.Boolean> extends ViewComponentOptions {
|
|
1569
|
+
private value;
|
|
1570
|
+
private textField;
|
|
1571
|
+
private valueField;
|
|
1572
|
+
private cancelable;
|
|
1573
|
+
private multiple;
|
|
1574
|
+
private clearable;
|
|
1575
|
+
dataSource: nasl.collection.List<T> | {
|
|
1576
|
+
total: nasl.core.Integer;
|
|
1577
|
+
list: nasl.collection.List<T>;
|
|
1578
|
+
};
|
|
1579
|
+
dataSchema: T;
|
|
1580
|
+
pageable: '' | 'auto-more' | 'load-more';
|
|
1581
|
+
pageSize: nasl.core.Integer;
|
|
1582
|
+
private pageNumber;
|
|
1583
|
+
filterable: nasl.core.Boolean;
|
|
1584
|
+
remotePaging: nasl.core.Boolean;
|
|
1585
|
+
remoteFiltering: nasl.core.Boolean;
|
|
1586
|
+
pullRefresh: nasl.core.Boolean;
|
|
1587
|
+
pullingText: nasl.core.String;
|
|
1588
|
+
loosingText: nasl.core.String;
|
|
1589
|
+
successText: nasl.core.String;
|
|
1590
|
+
successDuration: nasl.core.Integer;
|
|
1591
|
+
pullDistance: nasl.core.Decimal;
|
|
1592
|
+
placeholder: nasl.core.String;
|
|
1593
|
+
initialLoad: nasl.core.Boolean;
|
|
1594
|
+
loadingText: nasl.core.String;
|
|
1595
|
+
private error;
|
|
1596
|
+
errorText: nasl.core.String;
|
|
1597
|
+
emptyText: nasl.core.String;
|
|
1598
|
+
iffall: nasl.core.Boolean;
|
|
1599
|
+
col: nasl.core.Integer;
|
|
1600
|
+
private readonly;
|
|
1601
|
+
private disabled;
|
|
1602
|
+
onLoad: (event: any) => any;
|
|
1603
|
+
slotDefault: () => Array<VanCardu>;
|
|
1604
|
+
slotItem: (current: Current<T>) => Array<ViewComponent>;
|
|
1605
|
+
}
|
|
1606
|
+
}
|
|
1607
|
+
declare namespace nasl.ui {
|
|
1608
|
+
class VanIframe extends ViewComponent {
|
|
1609
|
+
constructor(options?: Partial<VanIframeOptions>);
|
|
1610
|
+
}
|
|
1611
|
+
class VanIframeOptions extends ViewComponentOptions {
|
|
1612
|
+
src: nasl.core.String;
|
|
1613
|
+
onLoad: (event: any) => any;
|
|
1614
|
+
}
|
|
1615
|
+
}
|
|
1616
|
+
declare namespace nasl.ui {
|
|
1617
|
+
class VanLink extends ViewComponent {
|
|
1618
|
+
constructor(options?: Partial<VanLinkOptions>);
|
|
1619
|
+
}
|
|
1620
|
+
class VanLinkOptions extends ViewComponentOptions {
|
|
1621
|
+
private to;
|
|
1622
|
+
private replace;
|
|
1623
|
+
private append;
|
|
1624
|
+
private decoration;
|
|
1625
|
+
text: nasl.core.String;
|
|
1626
|
+
color: 'default' | 'light' | 'success' | 'warning' | 'danger';
|
|
1627
|
+
display: 'inline' | 'block';
|
|
1628
|
+
linkType: 'destination' | 'download';
|
|
1629
|
+
hrefAndTo: nasl.core.String;
|
|
1630
|
+
target: '_blank' | '_self' | '_parent' | '_top';
|
|
1631
|
+
disabled: nasl.core.Boolean;
|
|
1632
|
+
onClick: (event: {
|
|
1633
|
+
altKey: nasl.core.Boolean;
|
|
1634
|
+
button: nasl.core.Integer;
|
|
1635
|
+
clientX: nasl.core.Integer;
|
|
1636
|
+
clientY: nasl.core.Integer;
|
|
1637
|
+
ctrlKey: nasl.core.Boolean;
|
|
1638
|
+
metaKey: nasl.core.Boolean;
|
|
1639
|
+
movementX: nasl.core.Integer;
|
|
1640
|
+
movementY: nasl.core.Integer;
|
|
1641
|
+
offsetX: nasl.core.Integer;
|
|
1642
|
+
offsetY: nasl.core.Integer;
|
|
1643
|
+
pageX: nasl.core.Integer;
|
|
1644
|
+
pageY: nasl.core.Integer;
|
|
1645
|
+
screenX: nasl.core.Integer;
|
|
1646
|
+
screenY: nasl.core.Integer;
|
|
1647
|
+
which: nasl.core.Integer;
|
|
1648
|
+
}) => any;
|
|
1649
|
+
}
|
|
1650
|
+
}
|
|
1651
|
+
declare namespace nasl.ui {
|
|
1652
|
+
class VanListView<T, V, P, M> extends ViewComponent {
|
|
1653
|
+
constructor(options?: Partial<VanListViewOptions<T, V, P, M>>);
|
|
1654
|
+
data: VanListViewOptions<T, V, P, M>['dataSource'];
|
|
1655
|
+
page: nasl.core.Integer;
|
|
1656
|
+
size: nasl.core.Integer;
|
|
1657
|
+
filterText: nasl.core.String;
|
|
1658
|
+
reload(): any;
|
|
1659
|
+
}
|
|
1660
|
+
class VanListViewOptions<T, V, P, M> extends ViewComponentOptions {
|
|
1661
|
+
private readonly;
|
|
1662
|
+
private disabled;
|
|
1663
|
+
private cancelable;
|
|
1664
|
+
private showHead;
|
|
1665
|
+
private title;
|
|
1666
|
+
private showFoot;
|
|
1667
|
+
private remotePaging;
|
|
1668
|
+
private remoteFiltering;
|
|
1669
|
+
private matchMethod;
|
|
1670
|
+
private caseSensitive;
|
|
1671
|
+
private size;
|
|
1672
|
+
dataSource: nasl.collection.List<T> | {
|
|
1673
|
+
total: nasl.core.Integer;
|
|
1674
|
+
list: nasl.collection.List<T>;
|
|
1675
|
+
};
|
|
1676
|
+
dataSchema: T;
|
|
1677
|
+
valueField: (item: T) => V;
|
|
1678
|
+
textField: (item: T) => nasl.core.String;
|
|
1679
|
+
value: M extends true ? nasl.collection.List<V> : V;
|
|
1680
|
+
pageable: '' | 'auto-more' | 'load-more' | 'pagination';
|
|
1681
|
+
pageSize: nasl.core.Integer;
|
|
1682
|
+
private pageNumber;
|
|
1683
|
+
filterable: nasl.core.Boolean;
|
|
1684
|
+
placeholder: nasl.core.String;
|
|
1685
|
+
clearable: nasl.core.Boolean;
|
|
1686
|
+
private selectable;
|
|
1687
|
+
multiple: nasl.core.Boolean;
|
|
1688
|
+
selectedIcon: nasl.core.String;
|
|
1689
|
+
unselectedIcon: nasl.core.String;
|
|
1690
|
+
pullRefresh: nasl.core.Boolean;
|
|
1691
|
+
pullingText: nasl.core.String;
|
|
1692
|
+
loosingText: nasl.core.String;
|
|
1693
|
+
successText: nasl.core.String;
|
|
1694
|
+
successDuration: nasl.core.Integer;
|
|
1695
|
+
pullDistance: nasl.core.Decimal;
|
|
1696
|
+
hiddenempty: nasl.core.Boolean;
|
|
1697
|
+
initialLoad: nasl.core.Boolean;
|
|
1698
|
+
designerMode: 'success' | 'empty' | 'loading' | 'error';
|
|
1699
|
+
loadingText: nasl.core.String;
|
|
1700
|
+
loading: nasl.core.Boolean;
|
|
1701
|
+
errorText: nasl.core.String;
|
|
1702
|
+
error: nasl.core.Boolean;
|
|
1703
|
+
emptyText: nasl.core.String;
|
|
1704
|
+
striped: nasl.core.Boolean;
|
|
1705
|
+
onInput: (event: M extends true ? nasl.collection.List<V> : V) => any;
|
|
1706
|
+
onSelect: (event: {
|
|
1707
|
+
selected: nasl.core.Boolean;
|
|
1708
|
+
item: T;
|
|
1709
|
+
value: M extends true ? nasl.collection.List<V> : V;
|
|
1710
|
+
}) => any;
|
|
1711
|
+
onChange: (event: {
|
|
1712
|
+
item: T;
|
|
1713
|
+
value: M extends true ? nasl.collection.List<V> : V;
|
|
1714
|
+
}) => any;
|
|
1715
|
+
onBeforeLoad: (event: any) => any;
|
|
1716
|
+
onLoad: (event: any) => any;
|
|
1717
|
+
slotDefault: () => Array<VanCell>;
|
|
1718
|
+
slotItem: (current: Current<T>) => Array<ViewComponent>;
|
|
1719
|
+
slotPrev: () => Array<ViewComponent>;
|
|
1720
|
+
slotNext: () => Array<ViewComponent>;
|
|
1721
|
+
}
|
|
1722
|
+
}
|
|
1723
|
+
declare namespace nasl.ui {
|
|
1724
|
+
class VanPopupCombination extends ViewComponent {
|
|
1725
|
+
constructor(options?: Partial<VanPopupCombinationOptions>);
|
|
1726
|
+
open(): any;
|
|
1727
|
+
close(): any;
|
|
1728
|
+
toggle(opened?: nasl.core.Boolean): any;
|
|
1729
|
+
update(): any;
|
|
1730
|
+
scheduleUpdate(): any;
|
|
1731
|
+
}
|
|
1732
|
+
class VanPopupCombinationOptions extends ViewComponentOptions {
|
|
1733
|
+
private trigger;
|
|
1734
|
+
private offset;
|
|
1735
|
+
private followCursor;
|
|
1736
|
+
private mergeBorders;
|
|
1737
|
+
title: nasl.core.String;
|
|
1738
|
+
opened: nasl.core.Boolean;
|
|
1739
|
+
placement: 'top' | 'bottom' | 'left' | 'right';
|
|
1740
|
+
hideDelay: nasl.core.Integer;
|
|
1741
|
+
display: 'inline' | 'block';
|
|
1742
|
+
private ellipsis;
|
|
1743
|
+
disabled: nasl.core.Boolean;
|
|
1744
|
+
onBeforeOpen: (event: any) => any;
|
|
1745
|
+
onOpen: (event: any) => any;
|
|
1746
|
+
onBeforeClose: (event: any) => any;
|
|
1747
|
+
onClose: (event: any) => any;
|
|
1748
|
+
slotDefault: () => Array<ViewComponent>;
|
|
1749
|
+
slotReference: () => Array<ViewComponent>;
|
|
1750
|
+
}
|
|
1751
|
+
}
|