intelligent-system-design-language 0.3.26 → 0.3.27
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/_backgrounds.scss +17 -17
- package/out/_isdlStyles.scss +31 -0
- package/out/_vuetifyOverrides.scss +23 -1
- package/out/cli/components/_backgrounds.scss +17 -17
- package/out/cli/components/_isdlStyles.scss +31 -0
- package/out/cli/components/_vuetifyOverrides.scss +23 -1
- package/out/cli/components/css-generator.js +259 -0
- package/out/cli/components/css-generator.js.map +1 -1
- package/out/cli/components/datamodel-generator.js +8 -8
- package/out/cli/components/datamodel-generator.js.map +1 -1
- package/out/cli/components/init-hook-generator.js +11 -11
- package/out/cli/components/init-hook-generator.js.map +1 -1
- package/out/cli/components/language-generator.js +9 -1
- package/out/cli/components/language-generator.js.map +1 -1
- package/out/cli/components/method-generator.js +8 -7
- package/out/cli/components/method-generator.js.map +1 -1
- package/out/cli/components/utils.js +18 -12
- package/out/cli/components/utils.js.map +1 -1
- package/out/cli/components/vue/vue-action-component-generator.js +18 -9
- package/out/cli/components/vue/vue-action-component-generator.js.map +1 -1
- package/out/cli/components/vue/vue-generator.js +7 -7
- package/out/cli/components/vue/vue-generator.js.map +1 -1
- package/out/cli/components/vue/vue-prompt-generator.js +4 -4
- package/out/cli/components/vue/vue-prompt-generator.js.map +1 -1
- package/out/cli/components/vue/vue-sheet-application-generator.js +649 -544
- package/out/cli/components/vue/vue-sheet-application-generator.js.map +1 -1
- package/out/cli/generator.js +9 -3
- package/out/cli/generator.js.map +1 -1
- package/out/extension/main.cjs +2700 -807
- package/out/extension/main.cjs.map +3 -3
- package/out/extension/package.json +1 -1
- package/out/language/generated/ast.js +313 -8
- package/out/language/generated/ast.js.map +1 -1
- package/out/language/generated/grammar.js +2332 -763
- package/out/language/generated/grammar.js.map +1 -1
- package/out/language/intelligent-system-design-language-validator.js +87 -2
- package/out/language/intelligent-system-design-language-validator.js.map +1 -1
- package/out/language/main.cjs +2700 -807
- package/out/language/main.cjs.map +3 -3
- package/out/package.json +1 -1
- package/out/styles.scss +33 -4
- package/out/test/validating/theme.test.js +120 -0
- package/out/test/validating/theme.test.js.map +1 -0
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"displayName": "ISDL - Intelligent System Design Language",
|
|
4
4
|
"description": "Intelligent System Design Language support for Visual Studio Code",
|
|
5
5
|
"publisher": "IronMooseDevelopment",
|
|
6
|
-
"version": "0.3.
|
|
6
|
+
"version": "0.3.27",
|
|
7
7
|
"author": "Iron Moose Development",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
@@ -225,6 +225,14 @@ export const TargetAssignment = 'TargetAssignment';
|
|
|
225
225
|
export function isTargetAssignment(item) {
|
|
226
226
|
return reflection.isInstance(item, TargetAssignment);
|
|
227
227
|
}
|
|
228
|
+
export const ThemeBodyParam = 'ThemeBodyParam';
|
|
229
|
+
export function isThemeBodyParam(item) {
|
|
230
|
+
return reflection.isInstance(item, ThemeBodyParam);
|
|
231
|
+
}
|
|
232
|
+
export const ThemePaletteParam = 'ThemePaletteParam';
|
|
233
|
+
export function isThemePaletteParam(item) {
|
|
234
|
+
return reflection.isInstance(item, ThemePaletteParam);
|
|
235
|
+
}
|
|
228
236
|
export const TrackerParameter = 'TrackerParameter';
|
|
229
237
|
export function isTrackerParameter(item) {
|
|
230
238
|
return reflection.isInstance(item, TrackerParameter);
|
|
@@ -353,6 +361,10 @@ export const ConfigExpression = 'ConfigExpression';
|
|
|
353
361
|
export function isConfigExpression(item) {
|
|
354
362
|
return reflection.isInstance(item, ConfigExpression);
|
|
355
363
|
}
|
|
364
|
+
export const ConfigFlag = 'ConfigFlag';
|
|
365
|
+
export function isConfigFlag(item) {
|
|
366
|
+
return reflection.isInstance(item, ConfigFlag);
|
|
367
|
+
}
|
|
356
368
|
export const CritParam = 'CritParam';
|
|
357
369
|
export function isCritParam(item) {
|
|
358
370
|
return reflection.isInstance(item, CritParam);
|
|
@@ -989,6 +1001,94 @@ export const TargetTypeCheckExpression = 'TargetTypeCheckExpression';
|
|
|
989
1001
|
export function isTargetTypeCheckExpression(item) {
|
|
990
1002
|
return reflection.isInstance(item, TargetTypeCheckExpression);
|
|
991
1003
|
}
|
|
1004
|
+
export const Theme = 'Theme';
|
|
1005
|
+
export function isTheme(item) {
|
|
1006
|
+
return reflection.isInstance(item, Theme);
|
|
1007
|
+
}
|
|
1008
|
+
export const ThemeBackgroundParam = 'ThemeBackgroundParam';
|
|
1009
|
+
export function isThemeBackgroundParam(item) {
|
|
1010
|
+
return reflection.isInstance(item, ThemeBackgroundParam);
|
|
1011
|
+
}
|
|
1012
|
+
export const ThemeBorderGroup = 'ThemeBorderGroup';
|
|
1013
|
+
export function isThemeBorderGroup(item) {
|
|
1014
|
+
return reflection.isInstance(item, ThemeBorderGroup);
|
|
1015
|
+
}
|
|
1016
|
+
export const ThemeColorProp = 'ThemeColorProp';
|
|
1017
|
+
export function isThemeColorProp(item) {
|
|
1018
|
+
return reflection.isInstance(item, ThemeColorProp);
|
|
1019
|
+
}
|
|
1020
|
+
export const ThemeDisabledGroup = 'ThemeDisabledGroup';
|
|
1021
|
+
export function isThemeDisabledGroup(item) {
|
|
1022
|
+
return reflection.isInstance(item, ThemeDisabledGroup);
|
|
1023
|
+
}
|
|
1024
|
+
export const ThemeFamilyProp = 'ThemeFamilyProp';
|
|
1025
|
+
export function isThemeFamilyProp(item) {
|
|
1026
|
+
return reflection.isInstance(item, ThemeFamilyProp);
|
|
1027
|
+
}
|
|
1028
|
+
export const ThemeFieldParam = 'ThemeFieldParam';
|
|
1029
|
+
export function isThemeFieldParam(item) {
|
|
1030
|
+
return reflection.isInstance(item, ThemeFieldParam);
|
|
1031
|
+
}
|
|
1032
|
+
export const ThemeFontFaceProp = 'ThemeFontFaceProp';
|
|
1033
|
+
export function isThemeFontFaceProp(item) {
|
|
1034
|
+
return reflection.isInstance(item, ThemeFontFaceProp);
|
|
1035
|
+
}
|
|
1036
|
+
export const ThemeFontGroup = 'ThemeFontGroup';
|
|
1037
|
+
export function isThemeFontGroup(item) {
|
|
1038
|
+
return reflection.isInstance(item, ThemeFontGroup);
|
|
1039
|
+
}
|
|
1040
|
+
export const ThemeHeadingGroup = 'ThemeHeadingGroup';
|
|
1041
|
+
export function isThemeHeadingGroup(item) {
|
|
1042
|
+
return reflection.isInstance(item, ThemeHeadingGroup);
|
|
1043
|
+
}
|
|
1044
|
+
export const ThemeHeightGroup = 'ThemeHeightGroup';
|
|
1045
|
+
export function isThemeHeightGroup(item) {
|
|
1046
|
+
return reflection.isInstance(item, ThemeHeightGroup);
|
|
1047
|
+
}
|
|
1048
|
+
export const ThemeMaxProp = 'ThemeMaxProp';
|
|
1049
|
+
export function isThemeMaxProp(item) {
|
|
1050
|
+
return reflection.isInstance(item, ThemeMaxProp);
|
|
1051
|
+
}
|
|
1052
|
+
export const ThemeMinProp = 'ThemeMinProp';
|
|
1053
|
+
export function isThemeMinProp(item) {
|
|
1054
|
+
return reflection.isInstance(item, ThemeMinProp);
|
|
1055
|
+
}
|
|
1056
|
+
export const ThemePrimaryParam = 'ThemePrimaryParam';
|
|
1057
|
+
export function isThemePrimaryParam(item) {
|
|
1058
|
+
return reflection.isInstance(item, ThemePrimaryParam);
|
|
1059
|
+
}
|
|
1060
|
+
export const ThemeRadiusProp = 'ThemeRadiusProp';
|
|
1061
|
+
export function isThemeRadiusProp(item) {
|
|
1062
|
+
return reflection.isInstance(item, ThemeRadiusProp);
|
|
1063
|
+
}
|
|
1064
|
+
export const ThemeSecondaryParam = 'ThemeSecondaryParam';
|
|
1065
|
+
export function isThemeSecondaryParam(item) {
|
|
1066
|
+
return reflection.isInstance(item, ThemeSecondaryParam);
|
|
1067
|
+
}
|
|
1068
|
+
export const ThemeSizeProp = 'ThemeSizeProp';
|
|
1069
|
+
export function isThemeSizeProp(item) {
|
|
1070
|
+
return reflection.isInstance(item, ThemeSizeProp);
|
|
1071
|
+
}
|
|
1072
|
+
export const ThemeTertiaryParam = 'ThemeTertiaryParam';
|
|
1073
|
+
export function isThemeTertiaryParam(item) {
|
|
1074
|
+
return reflection.isInstance(item, ThemeTertiaryParam);
|
|
1075
|
+
}
|
|
1076
|
+
export const ThemeTextParam = 'ThemeTextParam';
|
|
1077
|
+
export function isThemeTextParam(item) {
|
|
1078
|
+
return reflection.isInstance(item, ThemeTextParam);
|
|
1079
|
+
}
|
|
1080
|
+
export const ThemeTransformProp = 'ThemeTransformProp';
|
|
1081
|
+
export function isThemeTransformProp(item) {
|
|
1082
|
+
return reflection.isInstance(item, ThemeTransformProp);
|
|
1083
|
+
}
|
|
1084
|
+
export const ThemeWidthGroup = 'ThemeWidthGroup';
|
|
1085
|
+
export function isThemeWidthGroup(item) {
|
|
1086
|
+
return reflection.isInstance(item, ThemeWidthGroup);
|
|
1087
|
+
}
|
|
1088
|
+
export const ThemeWidthProp = 'ThemeWidthProp';
|
|
1089
|
+
export function isThemeWidthProp(item) {
|
|
1090
|
+
return reflection.isInstance(item, ThemeWidthProp);
|
|
1091
|
+
}
|
|
992
1092
|
export const TimeExp = 'TimeExp';
|
|
993
1093
|
export function isTimeExp(item) {
|
|
994
1094
|
return reflection.isInstance(item, TimeExp);
|
|
@@ -1075,7 +1175,7 @@ export function isTargetAccess(item) {
|
|
|
1075
1175
|
}
|
|
1076
1176
|
export class IntelligentSystemDesignLanguageAstReflection extends AbstractAstReflection {
|
|
1077
1177
|
getAllTypes() {
|
|
1078
|
-
return ['Access', 'Action', 'ActionParam', 'Actor', 'ArrayExpression', 'Assignment', 'AttributeExp', 'AttributeFunctionParam', 'AttributeParamMod', 'AttributeParameter', 'AttributeRollParam', 'AttributeStyleParam', 'BackgroundParam', 'BasicFields', 'BinaryExpression', 'BooleanExp', 'BooleanParamValue', 'BooleanParameter', 'BooleanSetting', 'ChatBlock', 'ChatBlockExpression', 'ChatCard', 'ChoiceCustomProperty', 'ChoiceProperty', 'ChoiceStringValue', 'ClassExpression', 'ColorParam', 'Column', 'Combat', 'CombatMethods', 'CombatProperty', 'ComparisonExpression', 'ComplexFields', 'Config', 'ConfigExpression', 'CritParam', 'DamageBonusesField', 'DamageResistancesField', 'DamageRoll', 'DamageRollParam', 'DamageTrackExp', 'DamageTrackParams', 'DamageTrackTypesParam', 'DamageTypeChoiceField', 'DateExp', 'DateTimeExp', 'DateTimeFields', 'DiceField', 'DiceFields', 'DieChoicesParam', 'DieField', 'DieInitialParam', 'DieNoneParam', 'DieParams', 'DieValueParam', 'Document', 'DocumentChoiceExp', 'DocumentChoiceParms', 'DocumentChoicesExp', 'DocumentCreatableParam', 'DocumentDefaultParam', 'DocumentDescriptionParam', 'DocumentFields', 'DocumentParam', 'DocumentSvgParam', 'Each', 'EachAccess', 'ElseIf', 'Entry', 'Expr', 'Expression', 'ExpressionAssignment', 'FailureParam', 'FleetingAccess', 'FumbleParam', 'FunctionCall', 'FunctionDefinition', 'FunctionParam', 'GlobalParam', 'Group', 'HeightParam', 'HookHandler', 'HtmlExp', 'IconParam', 'IfStatement', 'ImageParam', 'IncrementDecrementAssignment', 'InitiativeProperty', 'InventoryColumnsParam', 'InventoryEmptySlotsParam', 'InventoryField', 'InventoryMoneyParam', 'InventoryParams', 'InventoryQuantityParam', 'InventoryRowsParam', 'InventorySlotSizeParam', 'InventorySlotsParam', 'InventorySortParam', 'InventorySumMaxParam', 'InventorySumMaxValues', 'InventorySumParam', 'InventorySumProperties', 'InventorySummaryParam', 'Item', 'ItemAccess', 'JS', 'Keyword', 'KeywordParam', 'Keywords', 'LabelParam', 'Layout', 'Literal', 'LocationParam', 'LogExpression', 'MacroExecute', 'MacroField', 'MathEmptyExpression', 'MathExpression', 'MathParamExpression', 'MathSingleExpression', 'MeasuredTemplateField', 'MethodBlock', 'MethodBlockExpression', 'MethodContainer', 'MethodParam', 'MoneyDenomination', 'MoneyDenominationParam', 'MoneyDenominationValueParam', 'MoneyDisplayParam', 'MoneyField', 'MoneyFormatParam', 'MoneyParameter', 'MoneyPrecisionParam', 'NegExpression', 'NumberExp', 'NumberFieldParams', 'NumberParamCalculator', 'NumberParamInitial', 'NumberParamMax', 'NumberParamMin', 'NumberParamValue', 'NumberParameter', 'NumberRange', 'NumberSetting', 'Page', 'PaperDollDocumentReference', 'PaperDollElement', 'PaperDollExp', 'PaperDollParameter', 'Parameter', 'ParentAccess', 'ParentAssignment', 'ParentExpressionAssignment', 'ParentIncrementDecrementAssignment', 'ParentPropertyRefChoice', 'ParentPropertyRefChoiceParam', 'ParentPropertyRefExp', 'ParentPropertyRefParams', 'ParentQuickModifyAssignment', 'ParentTypeCheckExpression', 'PinnedField', 'PlayAudio', 'PlayAudioFile', 'PlayAudioParams', 'PlayAudioVolume', 'PrimitiveExpression', 'Prompt', 'PromptInputAccess', 'PromptParams', 'Property', 'QuickModifyAssignment', 'Ref', 'ReferenceFields', 'ResourceExp', 'ResourceParameter', 'ReturnExpression', 'Roll', 'RollParam', 'RollParameter', 'RollPredicateArg', 'RollResultAccess', 'RollVisualizerField', 'RollVisualizerParameter', 'RollVisualizerValueParam', 'Row', 'Section', 'SegmentsParameter', 'SelfMethod', 'SelfPropertyRefChoice', 'SelfPropertyRefChoiceParam', 'SelfPropertyRefExp', 'SelfPropertyRefParams', 'SettingChoices', 'SettingField', 'SettingHint', 'SettingInitial', 'SettingParam', 'SettingScope', 'Settings', 'ShorthandComparisonExpression', 'SingleDocumentExp', 'SizeParam', 'StandardFieldParams', 'StatusParamWhen', 'StatusProperty', 'StatusPropertyParameter', 'StringChoice', 'StringChoiceField', 'StringChoiceSetting', 'StringChoicesField', 'StringChoicesParamChoices', 'StringChoicesParamInitial', 'StringChoicesParamMax', 'StringChoicesParameter', 'StringExp', 'StringExtendedChoice', 'StringParamChoices', 'StringParamValue', 'StringParameter', 'StringSetting', 'SuccessParam', 'SummaryParam', 'SystemSettingAccess', 'SystemSettingAssignment', 'TableField', 'TableFieldsParam', 'TableImageActionParam', 'TableImageParam', 'TableParams', 'TablePinnableParam', 'TableSearchableParam', 'TableSortableParam', 'TargetAccess', 'TargetAssignment', 'TargetExpressionAssignment', 'TargetIncrementDecrementAssignment', 'TargetParam', 'TargetQuickModifyAssignment', 'TargetTypeCheckExpression', 'TimeExp', 'TimeLimitParam', 'TrackerExp', 'TrackerParameter', 'TrackerStyleParameter', 'TypeParam', 'Update', 'UpdateParent', 'UpdateSelf', 'User', 'UserProperty', 'VariableAccess', 'VariableAssignment', 'VariableExpression', 'VariableExpressionAssignment', 'VariableIncrementDecrementAssignment', 'VariableQuickModifyAssignment', 'VisibilityParam', 'VisibilityValue', 'Wait', 'WhenExpressions', 'WhereParam', 'WidthParam', 'WipFields'];
|
|
1178
|
+
return ['Access', 'Action', 'ActionParam', 'Actor', 'ArrayExpression', 'Assignment', 'AttributeExp', 'AttributeFunctionParam', 'AttributeParamMod', 'AttributeParameter', 'AttributeRollParam', 'AttributeStyleParam', 'BackgroundParam', 'BasicFields', 'BinaryExpression', 'BooleanExp', 'BooleanParamValue', 'BooleanParameter', 'BooleanSetting', 'ChatBlock', 'ChatBlockExpression', 'ChatCard', 'ChoiceCustomProperty', 'ChoiceProperty', 'ChoiceStringValue', 'ClassExpression', 'ColorParam', 'Column', 'Combat', 'CombatMethods', 'CombatProperty', 'ComparisonExpression', 'ComplexFields', 'Config', 'ConfigExpression', 'ConfigFlag', 'CritParam', 'DamageBonusesField', 'DamageResistancesField', 'DamageRoll', 'DamageRollParam', 'DamageTrackExp', 'DamageTrackParams', 'DamageTrackTypesParam', 'DamageTypeChoiceField', 'DateExp', 'DateTimeExp', 'DateTimeFields', 'DiceField', 'DiceFields', 'DieChoicesParam', 'DieField', 'DieInitialParam', 'DieNoneParam', 'DieParams', 'DieValueParam', 'Document', 'DocumentChoiceExp', 'DocumentChoiceParms', 'DocumentChoicesExp', 'DocumentCreatableParam', 'DocumentDefaultParam', 'DocumentDescriptionParam', 'DocumentFields', 'DocumentParam', 'DocumentSvgParam', 'Each', 'EachAccess', 'ElseIf', 'Entry', 'Expr', 'Expression', 'ExpressionAssignment', 'FailureParam', 'FleetingAccess', 'FumbleParam', 'FunctionCall', 'FunctionDefinition', 'FunctionParam', 'GlobalParam', 'Group', 'HeightParam', 'HookHandler', 'HtmlExp', 'IconParam', 'IfStatement', 'ImageParam', 'IncrementDecrementAssignment', 'InitiativeProperty', 'InventoryColumnsParam', 'InventoryEmptySlotsParam', 'InventoryField', 'InventoryMoneyParam', 'InventoryParams', 'InventoryQuantityParam', 'InventoryRowsParam', 'InventorySlotSizeParam', 'InventorySlotsParam', 'InventorySortParam', 'InventorySumMaxParam', 'InventorySumMaxValues', 'InventorySumParam', 'InventorySumProperties', 'InventorySummaryParam', 'Item', 'ItemAccess', 'JS', 'Keyword', 'KeywordParam', 'Keywords', 'LabelParam', 'Layout', 'Literal', 'LocationParam', 'LogExpression', 'MacroExecute', 'MacroField', 'MathEmptyExpression', 'MathExpression', 'MathParamExpression', 'MathSingleExpression', 'MeasuredTemplateField', 'MethodBlock', 'MethodBlockExpression', 'MethodContainer', 'MethodParam', 'MoneyDenomination', 'MoneyDenominationParam', 'MoneyDenominationValueParam', 'MoneyDisplayParam', 'MoneyField', 'MoneyFormatParam', 'MoneyParameter', 'MoneyPrecisionParam', 'NegExpression', 'NumberExp', 'NumberFieldParams', 'NumberParamCalculator', 'NumberParamInitial', 'NumberParamMax', 'NumberParamMin', 'NumberParamValue', 'NumberParameter', 'NumberRange', 'NumberSetting', 'Page', 'PaperDollDocumentReference', 'PaperDollElement', 'PaperDollExp', 'PaperDollParameter', 'Parameter', 'ParentAccess', 'ParentAssignment', 'ParentExpressionAssignment', 'ParentIncrementDecrementAssignment', 'ParentPropertyRefChoice', 'ParentPropertyRefChoiceParam', 'ParentPropertyRefExp', 'ParentPropertyRefParams', 'ParentQuickModifyAssignment', 'ParentTypeCheckExpression', 'PinnedField', 'PlayAudio', 'PlayAudioFile', 'PlayAudioParams', 'PlayAudioVolume', 'PrimitiveExpression', 'Prompt', 'PromptInputAccess', 'PromptParams', 'Property', 'QuickModifyAssignment', 'Ref', 'ReferenceFields', 'ResourceExp', 'ResourceParameter', 'ReturnExpression', 'Roll', 'RollParam', 'RollParameter', 'RollPredicateArg', 'RollResultAccess', 'RollVisualizerField', 'RollVisualizerParameter', 'RollVisualizerValueParam', 'Row', 'Section', 'SegmentsParameter', 'SelfMethod', 'SelfPropertyRefChoice', 'SelfPropertyRefChoiceParam', 'SelfPropertyRefExp', 'SelfPropertyRefParams', 'SettingChoices', 'SettingField', 'SettingHint', 'SettingInitial', 'SettingParam', 'SettingScope', 'Settings', 'ShorthandComparisonExpression', 'SingleDocumentExp', 'SizeParam', 'StandardFieldParams', 'StatusParamWhen', 'StatusProperty', 'StatusPropertyParameter', 'StringChoice', 'StringChoiceField', 'StringChoiceSetting', 'StringChoicesField', 'StringChoicesParamChoices', 'StringChoicesParamInitial', 'StringChoicesParamMax', 'StringChoicesParameter', 'StringExp', 'StringExtendedChoice', 'StringParamChoices', 'StringParamValue', 'StringParameter', 'StringSetting', 'SuccessParam', 'SummaryParam', 'SystemSettingAccess', 'SystemSettingAssignment', 'TableField', 'TableFieldsParam', 'TableImageActionParam', 'TableImageParam', 'TableParams', 'TablePinnableParam', 'TableSearchableParam', 'TableSortableParam', 'TargetAccess', 'TargetAssignment', 'TargetExpressionAssignment', 'TargetIncrementDecrementAssignment', 'TargetParam', 'TargetQuickModifyAssignment', 'TargetTypeCheckExpression', 'Theme', 'ThemeBackgroundParam', 'ThemeBodyParam', 'ThemeBorderGroup', 'ThemeColorProp', 'ThemeDisabledGroup', 'ThemeFamilyProp', 'ThemeFieldParam', 'ThemeFontFaceProp', 'ThemeFontGroup', 'ThemeHeadingGroup', 'ThemeHeightGroup', 'ThemeMaxProp', 'ThemeMinProp', 'ThemePaletteParam', 'ThemePrimaryParam', 'ThemeRadiusProp', 'ThemeSecondaryParam', 'ThemeSizeProp', 'ThemeTertiaryParam', 'ThemeTextParam', 'ThemeTransformProp', 'ThemeWidthGroup', 'ThemeWidthProp', 'TimeExp', 'TimeLimitParam', 'TrackerExp', 'TrackerParameter', 'TrackerStyleParameter', 'TypeParam', 'Update', 'UpdateParent', 'UpdateSelf', 'User', 'UserProperty', 'VariableAccess', 'VariableAssignment', 'VariableExpression', 'VariableExpressionAssignment', 'VariableIncrementDecrementAssignment', 'VariableQuickModifyAssignment', 'VisibilityParam', 'VisibilityValue', 'Wait', 'WhenExpressions', 'WhereParam', 'WidthParam', 'WipFields'];
|
|
1079
1179
|
}
|
|
1080
1180
|
computeIsSubtype(subtype, supertype) {
|
|
1081
1181
|
switch (subtype) {
|
|
@@ -1404,6 +1504,26 @@ export class IntelligentSystemDesignLanguageAstReflection extends AbstractAstRef
|
|
|
1404
1504
|
case TargetQuickModifyAssignment: {
|
|
1405
1505
|
return this.isSubtype(TargetAssignment, supertype);
|
|
1406
1506
|
}
|
|
1507
|
+
case ThemeBackgroundParam:
|
|
1508
|
+
case ThemePrimaryParam:
|
|
1509
|
+
case ThemeSecondaryParam:
|
|
1510
|
+
case ThemeTertiaryParam:
|
|
1511
|
+
case ThemeTextParam: {
|
|
1512
|
+
return this.isSubtype(ThemePaletteParam, supertype);
|
|
1513
|
+
}
|
|
1514
|
+
case ThemeBorderGroup:
|
|
1515
|
+
case ThemeDisabledGroup:
|
|
1516
|
+
case ThemeFontGroup:
|
|
1517
|
+
case ThemeHeadingGroup:
|
|
1518
|
+
case ThemeHeightGroup:
|
|
1519
|
+
case ThemePaletteParam:
|
|
1520
|
+
case ThemeWidthGroup: {
|
|
1521
|
+
return this.isSubtype(ThemeBodyParam, supertype);
|
|
1522
|
+
}
|
|
1523
|
+
case ThemeFieldParam:
|
|
1524
|
+
case VisibilityParam: {
|
|
1525
|
+
return this.isSubtype(StandardFieldParams, supertype);
|
|
1526
|
+
}
|
|
1407
1527
|
case UpdateParent:
|
|
1408
1528
|
case UpdateSelf: {
|
|
1409
1529
|
return this.isSubtype(Update, supertype);
|
|
@@ -1419,9 +1539,6 @@ export class IntelligentSystemDesignLanguageAstReflection extends AbstractAstRef
|
|
|
1419
1539
|
case VariableQuickModifyAssignment: {
|
|
1420
1540
|
return this.isSubtype(VariableAssignment, supertype);
|
|
1421
1541
|
}
|
|
1422
|
-
case VisibilityParam: {
|
|
1423
|
-
return this.isSubtype(StandardFieldParams, supertype);
|
|
1424
|
-
}
|
|
1425
1542
|
case WhereParam: {
|
|
1426
1543
|
return this.isSubtype(DocumentChoiceParms, supertype) || this.isSubtype(InventoryParams, supertype) || this.isSubtype(TableParams, supertype);
|
|
1427
1544
|
}
|
|
@@ -1688,7 +1805,8 @@ export class IntelligentSystemDesignLanguageAstReflection extends AbstractAstRef
|
|
|
1688
1805
|
return {
|
|
1689
1806
|
name: 'Column',
|
|
1690
1807
|
properties: [
|
|
1691
|
-
{ name: 'body'
|
|
1808
|
+
{ name: 'body' },
|
|
1809
|
+
{ name: 'params', defaultValue: [] }
|
|
1692
1810
|
]
|
|
1693
1811
|
};
|
|
1694
1812
|
}
|
|
@@ -1736,6 +1854,15 @@ export class IntelligentSystemDesignLanguageAstReflection extends AbstractAstRef
|
|
|
1736
1854
|
]
|
|
1737
1855
|
};
|
|
1738
1856
|
}
|
|
1857
|
+
case 'ConfigFlag': {
|
|
1858
|
+
return {
|
|
1859
|
+
name: 'ConfigFlag',
|
|
1860
|
+
properties: [
|
|
1861
|
+
{ name: 'type' },
|
|
1862
|
+
{ name: 'value', defaultValue: false }
|
|
1863
|
+
]
|
|
1864
|
+
};
|
|
1865
|
+
}
|
|
1739
1866
|
case 'CritParam': {
|
|
1740
1867
|
return {
|
|
1741
1868
|
name: 'CritParam',
|
|
@@ -2769,7 +2896,8 @@ export class IntelligentSystemDesignLanguageAstReflection extends AbstractAstRef
|
|
|
2769
2896
|
return {
|
|
2770
2897
|
name: 'Row',
|
|
2771
2898
|
properties: [
|
|
2772
|
-
{ name: 'body'
|
|
2899
|
+
{ name: 'body' },
|
|
2900
|
+
{ name: 'params', defaultValue: [] }
|
|
2773
2901
|
]
|
|
2774
2902
|
};
|
|
2775
2903
|
}
|
|
@@ -2777,8 +2905,9 @@ export class IntelligentSystemDesignLanguageAstReflection extends AbstractAstRef
|
|
|
2777
2905
|
return {
|
|
2778
2906
|
name: 'Section',
|
|
2779
2907
|
properties: [
|
|
2780
|
-
{ name: 'body'
|
|
2781
|
-
{ name: 'name' }
|
|
2908
|
+
{ name: 'body' },
|
|
2909
|
+
{ name: 'name' },
|
|
2910
|
+
{ name: 'params', defaultValue: [] }
|
|
2782
2911
|
]
|
|
2783
2912
|
};
|
|
2784
2913
|
}
|
|
@@ -3156,6 +3285,182 @@ export class IntelligentSystemDesignLanguageAstReflection extends AbstractAstRef
|
|
|
3156
3285
|
]
|
|
3157
3286
|
};
|
|
3158
3287
|
}
|
|
3288
|
+
case 'Theme': {
|
|
3289
|
+
return {
|
|
3290
|
+
name: 'Theme',
|
|
3291
|
+
properties: [
|
|
3292
|
+
{ name: 'params', defaultValue: [] }
|
|
3293
|
+
]
|
|
3294
|
+
};
|
|
3295
|
+
}
|
|
3296
|
+
case 'ThemeBackgroundParam': {
|
|
3297
|
+
return {
|
|
3298
|
+
name: 'ThemeBackgroundParam',
|
|
3299
|
+
properties: [
|
|
3300
|
+
{ name: 'value' }
|
|
3301
|
+
]
|
|
3302
|
+
};
|
|
3303
|
+
}
|
|
3304
|
+
case 'ThemeBorderGroup': {
|
|
3305
|
+
return {
|
|
3306
|
+
name: 'ThemeBorderGroup',
|
|
3307
|
+
properties: [
|
|
3308
|
+
{ name: 'props' }
|
|
3309
|
+
]
|
|
3310
|
+
};
|
|
3311
|
+
}
|
|
3312
|
+
case 'ThemeColorProp': {
|
|
3313
|
+
return {
|
|
3314
|
+
name: 'ThemeColorProp',
|
|
3315
|
+
properties: [
|
|
3316
|
+
{ name: 'value' }
|
|
3317
|
+
]
|
|
3318
|
+
};
|
|
3319
|
+
}
|
|
3320
|
+
case 'ThemeDisabledGroup': {
|
|
3321
|
+
return {
|
|
3322
|
+
name: 'ThemeDisabledGroup',
|
|
3323
|
+
properties: [
|
|
3324
|
+
{ name: 'props' }
|
|
3325
|
+
]
|
|
3326
|
+
};
|
|
3327
|
+
}
|
|
3328
|
+
case 'ThemeFamilyProp': {
|
|
3329
|
+
return {
|
|
3330
|
+
name: 'ThemeFamilyProp',
|
|
3331
|
+
properties: [
|
|
3332
|
+
{ name: 'value' }
|
|
3333
|
+
]
|
|
3334
|
+
};
|
|
3335
|
+
}
|
|
3336
|
+
case 'ThemeFieldParam': {
|
|
3337
|
+
return {
|
|
3338
|
+
name: 'ThemeFieldParam',
|
|
3339
|
+
properties: [
|
|
3340
|
+
{ name: 'params', defaultValue: [] }
|
|
3341
|
+
]
|
|
3342
|
+
};
|
|
3343
|
+
}
|
|
3344
|
+
case 'ThemeFontFaceProp': {
|
|
3345
|
+
return {
|
|
3346
|
+
name: 'ThemeFontFaceProp',
|
|
3347
|
+
properties: [
|
|
3348
|
+
{ name: 'value' }
|
|
3349
|
+
]
|
|
3350
|
+
};
|
|
3351
|
+
}
|
|
3352
|
+
case 'ThemeFontGroup': {
|
|
3353
|
+
return {
|
|
3354
|
+
name: 'ThemeFontGroup',
|
|
3355
|
+
properties: [
|
|
3356
|
+
{ name: 'props' }
|
|
3357
|
+
]
|
|
3358
|
+
};
|
|
3359
|
+
}
|
|
3360
|
+
case 'ThemeHeadingGroup': {
|
|
3361
|
+
return {
|
|
3362
|
+
name: 'ThemeHeadingGroup',
|
|
3363
|
+
properties: [
|
|
3364
|
+
{ name: 'props' }
|
|
3365
|
+
]
|
|
3366
|
+
};
|
|
3367
|
+
}
|
|
3368
|
+
case 'ThemeHeightGroup': {
|
|
3369
|
+
return {
|
|
3370
|
+
name: 'ThemeHeightGroup',
|
|
3371
|
+
properties: [
|
|
3372
|
+
{ name: 'props' }
|
|
3373
|
+
]
|
|
3374
|
+
};
|
|
3375
|
+
}
|
|
3376
|
+
case 'ThemeMaxProp': {
|
|
3377
|
+
return {
|
|
3378
|
+
name: 'ThemeMaxProp',
|
|
3379
|
+
properties: [
|
|
3380
|
+
{ name: 'value' }
|
|
3381
|
+
]
|
|
3382
|
+
};
|
|
3383
|
+
}
|
|
3384
|
+
case 'ThemeMinProp': {
|
|
3385
|
+
return {
|
|
3386
|
+
name: 'ThemeMinProp',
|
|
3387
|
+
properties: [
|
|
3388
|
+
{ name: 'value' }
|
|
3389
|
+
]
|
|
3390
|
+
};
|
|
3391
|
+
}
|
|
3392
|
+
case 'ThemePrimaryParam': {
|
|
3393
|
+
return {
|
|
3394
|
+
name: 'ThemePrimaryParam',
|
|
3395
|
+
properties: [
|
|
3396
|
+
{ name: 'value' }
|
|
3397
|
+
]
|
|
3398
|
+
};
|
|
3399
|
+
}
|
|
3400
|
+
case 'ThemeRadiusProp': {
|
|
3401
|
+
return {
|
|
3402
|
+
name: 'ThemeRadiusProp',
|
|
3403
|
+
properties: [
|
|
3404
|
+
{ name: 'value' }
|
|
3405
|
+
]
|
|
3406
|
+
};
|
|
3407
|
+
}
|
|
3408
|
+
case 'ThemeSecondaryParam': {
|
|
3409
|
+
return {
|
|
3410
|
+
name: 'ThemeSecondaryParam',
|
|
3411
|
+
properties: [
|
|
3412
|
+
{ name: 'value' }
|
|
3413
|
+
]
|
|
3414
|
+
};
|
|
3415
|
+
}
|
|
3416
|
+
case 'ThemeSizeProp': {
|
|
3417
|
+
return {
|
|
3418
|
+
name: 'ThemeSizeProp',
|
|
3419
|
+
properties: [
|
|
3420
|
+
{ name: 'value' }
|
|
3421
|
+
]
|
|
3422
|
+
};
|
|
3423
|
+
}
|
|
3424
|
+
case 'ThemeTertiaryParam': {
|
|
3425
|
+
return {
|
|
3426
|
+
name: 'ThemeTertiaryParam',
|
|
3427
|
+
properties: [
|
|
3428
|
+
{ name: 'value' }
|
|
3429
|
+
]
|
|
3430
|
+
};
|
|
3431
|
+
}
|
|
3432
|
+
case 'ThemeTextParam': {
|
|
3433
|
+
return {
|
|
3434
|
+
name: 'ThemeTextParam',
|
|
3435
|
+
properties: [
|
|
3436
|
+
{ name: 'value' }
|
|
3437
|
+
]
|
|
3438
|
+
};
|
|
3439
|
+
}
|
|
3440
|
+
case 'ThemeTransformProp': {
|
|
3441
|
+
return {
|
|
3442
|
+
name: 'ThemeTransformProp',
|
|
3443
|
+
properties: [
|
|
3444
|
+
{ name: 'value' }
|
|
3445
|
+
]
|
|
3446
|
+
};
|
|
3447
|
+
}
|
|
3448
|
+
case 'ThemeWidthGroup': {
|
|
3449
|
+
return {
|
|
3450
|
+
name: 'ThemeWidthGroup',
|
|
3451
|
+
properties: [
|
|
3452
|
+
{ name: 'props' }
|
|
3453
|
+
]
|
|
3454
|
+
};
|
|
3455
|
+
}
|
|
3456
|
+
case 'ThemeWidthProp': {
|
|
3457
|
+
return {
|
|
3458
|
+
name: 'ThemeWidthProp',
|
|
3459
|
+
properties: [
|
|
3460
|
+
{ name: 'value' }
|
|
3461
|
+
]
|
|
3462
|
+
};
|
|
3463
|
+
}
|
|
3159
3464
|
case 'TimeExp': {
|
|
3160
3465
|
return {
|
|
3161
3466
|
name: 'TimeExp',
|