From 2be353720a1d3e4f2418a00303ce4aa7ef3d14bd Mon Sep 17 00:00:00 2001 From: Michael Carenzo Date: Tue, 6 Jun 2023 04:37:44 -0400 Subject: [PATCH] CTI Authoring Tool v0.1.3 --- src/cti_authoring_tool/CHANGELOG.md | 11 + src/cti_authoring_tool/package-lock.json | 4 +- src/cti_authoring_tool/package.json | 2 +- src/cti_authoring_tool/src/App.vue | 20 +- .../src/assets/configuration/app.config.ts | 6 +- .../configuration/plugins/ImportCSVPlugin.ts | 52 +++ .../plugins/ReportNumberPlugin.ts | 4 +- .../configuration/properties/Activity.ts | 2 +- .../configuration/properties/Artifact.ts | 2 +- .../configuration/properties/Assessment.ts | 3 +- .../configuration/properties/Attribution.ts | 2 +- .../configuration/properties/Control.ts | 2 +- .../configuration/properties/Criticality.ts | 3 +- .../configuration/properties/CveCvssScore.ts | 2 +- .../configuration/properties/CveNumber.ts | 2 +- .../properties/CvePatchApplied.ts | 2 +- .../properties/CvePatchAvailable.ts | 2 +- .../properties/CveRemediation.ts | 2 +- .../assets/configuration/properties/Cves.ts | 7 +- .../configuration/properties/DateOfReport.ts | 2 +- .../configuration/properties/DateReported.ts | 2 +- .../assets/configuration/properties/Defend.ts | 2 +- .../properties/ExecutiveSummary.ts | 3 +- .../configuration/properties/FirstObserved.ts | 2 +- .../properties/IndicatorAnalysis.ts | 3 +- .../properties/Infrastructure.ts | 2 +- .../properties/IntelligenceRequirement.ts | 2 +- .../properties/IntelligenceRequirements.ts | 23 ++ .../properties/InternalTelemetry.ts | 2 +- .../properties/InternalTelemetryTable.ts | 23 ++ .../properties/IocAssociatedFileHash.ts | 2 +- .../properties/IocMalwareDescription.ts | 2 +- .../properties/IocMalwareHash.ts | 2 +- .../properties/IocMalwareHashType.ts | 2 +- .../properties/IocMalwareName.ts | 2 +- .../properties/IocMalwareSandbox.ts | 2 +- .../configuration/properties/IocsMalware.ts | 9 +- .../configuration/properties/IocsNetwork.ts | 7 +- .../properties/KeyIntelligenceGaps.ts | 5 +- .../configuration/properties/KeyPoints.ts | 3 +- .../configuration/properties/LastObserved.ts | 2 +- .../properties/LocationGranular.ts | 2 +- .../properties/LocationRegion.ts | 2 +- .../properties/MitreAttackTable.ts | 7 +- .../properties/MitreAttackTableSimple.ts | 6 +- .../properties/NetworkIntrusionPhase.ts | 2 +- .../configuration/properties/Outlook.ts | 3 +- .../configuration/properties/Procedure.ts | 2 +- .../properties/ReportCitations.ts | 7 +- .../configuration/properties/ReportNumber.ts | 5 +- .../configuration/properties/ReportTitle.ts | 3 +- .../assets/configuration/properties/Sector.ts | 2 +- .../configuration/properties/Sensitivity.ts | 5 +- .../properties/SignatureDescription.ts | 2 +- .../configuration/properties/Signatures.ts | 7 +- .../configuration/properties/SubTechnique.ts | 2 +- .../properties/SystemArtifacts.ts | 7 +- .../configuration/properties/SystemDetails.ts | 2 +- .../assets/configuration/properties/Tactic.ts | 2 +- .../configuration/properties/Technique.ts | 2 +- .../properties/ThreatActorAliases.ts | 2 +- .../properties/ThreatActorAttribution.ts | 3 +- .../properties/ThreatActorAttributions.ts | 6 +- .../properties/ThreatActorInfrastructure.ts | 3 +- .../properties/ThreatActorMotivation.ts | 2 +- .../properties/ThreatActorName.ts | 2 +- .../properties/ThreatActorSummary.ts | 3 +- .../properties/ThreatActorVictims.ts | 3 +- .../properties/ThreatActorsTtp.ts | 3 +- .../configuration/properties/Timeline.ts | 7 +- .../properties/TimelineEndDate.ts | 4 +- .../properties/TimelineStartDate.ts | 4 +- .../configuration/properties/Timestamp.ts | 2 +- .../properties/TrafficLightProtocol.ts | 3 +- .../configuration/properties/VictimName.ts | 2 +- .../configuration/properties/Victims.ts | 7 +- .../sections/AssessmentSection.ts | 1 + .../sections/CampaignMetadataSection.ts | 23 +- .../sections/DataSourcesSection.ts | 19 +- .../sections/ExecutiveSummarySection.ts | 1 + .../configuration/sections/GeneralSection.ts | 2 +- .../sections/IndicatorAnalysisSection.ts | 1 + .../IntelligenceRequirementsSection.ts | 17 +- .../IntrusionAnalysisMetadataSection.ts | 9 +- .../configuration/sections/IocsSection.ts | 1 + .../sections/KeyIntelligenceGapsSection.ts | 1 + .../sections/KeyPointsSection.ts | 1 + .../sections/MitreAttackTableIaSection.ts | 4 +- .../sections/MitreAttackTableSection.ts | 1 + .../configuration/sections/OutlookSection.ts | 1 + .../sections/SignaturesSection.ts | 1 + .../sections/ThreatActorMetadataSection.ts | 21 +- .../sections/ThreatActorSummarySection.ts | 1 + .../configuration/sections/TimelineSection.ts | 1 + .../configuration/sections/VictimsSection.ts | 1 + .../configuration/templates/Campaign.ts | 5 +- .../configuration/templates/Executive.ts | 5 +- .../templates/IntrusionAnalysis.ts | 5 +- .../templates/ThreatActorProfile.ts | 5 +- .../src/assets/scripts/AppConfiguration.ts | 321 --------------- .../scripts/Application/AppConfiguration.ts | 13 + .../scripts/{ => Application}/AppSettings.ts | 0 .../src/assets/scripts/Application/Command.ts | 8 + .../{ => Application}/Commands/AppCommand.ts | 0 .../ApplicationSettings.ts | 17 + .../ApplicationSettings}/LoadSettings.ts | 2 +- .../Commands/ApplicationSettings/index.ts | 1 + .../Commands/FileManagement/FileManagement.ts | 111 +++++ .../Commands/FileManagement/LoadPage.ts | 40 ++ .../FileManagement}/SavePageToDevice.ts | 20 +- .../FileManagement/SwitchActivePage.ts} | 8 +- .../Commands/FileManagement/UnloadPage.ts} | 8 +- .../Commands/FileManagement/index.ts | 1 + .../Commands/PageElement/PageElement.ts | 30 ++ .../Commands/PageElement}/RedoPageCommand.ts | 2 +- .../Commands/PageElement}/UndoPageCommand.ts | 2 +- .../Application/Commands/PageElement/index.ts | 1 + .../DeselectAtomicProperty.ts} | 8 +- .../PropertyElement}/DestroyProperty.ts | 4 +- .../PropertyElement/InvokePropertyAction.ts | 39 ++ .../PropertyElement}/MountProperty.ts | 5 +- .../PropertyElement/PropertyElement.ts | 66 +++ .../PropertyElement/SelectAtomicProperty.ts} | 8 +- .../Commands/PropertyElement/index.ts | 1 + .../SectionElement/DestroySection.ts} | 10 +- .../Commands/SectionElement/MountSection.ts} | 10 +- .../Commands/SectionElement/SectionElement.ts | 28 ++ .../Commands/SectionElement/index.ts | 1 + .../Commands/ViewManagement}/OpenHyperlink.ts | 2 - .../ViewManagement}/SwitchToFullscreen.ts | 0 .../Commands/ViewManagement/ViewManagement.ts | 23 ++ .../Commands/ViewManagement/index.ts | 1 + .../scripts/Application/Commands/index.ts | 7 + .../{ => Application}/ContextMenuTypes.ts | 0 .../scripts/Commands/AppCommands/LoadFile.ts | 101 ----- .../scripts/Commands/AppCommands/index.ts | 15 - .../src/assets/scripts/Commands/Command.ts | 8 - .../scripts/Commands/PageCommands/index.ts | 19 - .../scripts/Page/Events/EventEmitter.ts | 80 ++++ .../src/assets/scripts/Page/IPagesSection.ts | 98 ----- .../src/assets/scripts/Page/Page.ts | 193 ++++++--- .../src/assets/scripts/Page/PageAccessor.ts | 16 + .../src/assets/scripts/Page/PageAssembler.ts | 152 +++++++ .../src/assets/scripts/Page/PageElement.ts | 53 +++ .../src/assets/scripts/Page/PageParameters.ts | 13 + .../src/assets/scripts/Page/PageSection.ts | 252 ------------ .../src/assets/scripts/Page/Plugins/Plugin.ts | 6 + .../Page/Plugins/PluginConfiguration.ts | 9 + .../scripts/Page/Plugins/PluginInstance.ts | 6 + .../scripts/Page/Plugins/PluginManager.ts | 70 ++++ .../scripts/Page/Plugins/PluginModule.ts | 3 + .../src/assets/scripts/Page/Plugins/index.ts | 4 + .../Page/Property/AtomicProperty/Alignment.ts | 111 +++++ .../Property/AtomicProperty/AtomicProperty.ts | 101 +++-- .../AtomicProperty/AtomicPropertyMetric.ts | 13 + .../AtomicPropertyParameters.ts | 16 + .../AtomicProperty/IAtomicProperty.ts | 76 ---- .../Page/Property/AtomicProperty/index.ts | 3 + .../BasicTableProperty/BasicTableProperty.ts | 97 +++-- .../BasicTablePropertyLayout.ts | 8 + .../BasicTablePropertyParameters.ts | 17 + .../BasicTableProperty/IBasicTableProperty.ts | 17 - .../Page/Property/BasicTableProperty/index.ts | 2 + .../ComplexTableProperty.ts | 158 +++---- .../ComplexTablePropertyLayout.ts | 18 + .../ComplexTablePropertyParameters.ts | 27 ++ .../IComplexTableProperty.ts | 92 ----- .../Property/ComplexTableProperty/index.ts | 4 + .../Property/DateTimeProperty/DateProperty.ts | 68 ++++ .../DateTimeProperty/DateTimeProperty.ts | 182 ++++++--- .../DateTimeProperty/IDateTimeProperty.ts | 85 ---- .../Property/DateTimeProperty/TimeProperty.ts | 68 ++++ .../Page/Property/DateTimeProperty/index.ts | 3 + .../Property/EnumProperty/EnumProperty.ts | 207 +++++++--- .../EnumProperty/EnumPropertyParameters.ts | 11 + .../Property/EnumProperty/IEnumProperty.ts | 90 ---- .../Page/Property/EnumProperty/index.ts | 2 + .../assets/scripts/Page/Property/IProperty.ts | 113 ----- .../Property/NumberProperty/FloatProperty.ts | 93 +++++ .../NumberProperty/INumberProperty.ts | 95 ----- .../NumberProperty/IntegerProperty.ts | 93 +++++ .../Property/NumberProperty/NumberProperty.ts | 144 +++---- .../NumberPropertyParameters.ts | 15 + .../Page/Property/NumberProperty/index.ts | 4 + .../assets/scripts/Page/Property/Property.ts | 278 +++++-------- .../scripts/Page/Property/PropertyAccessor.ts | 26 ++ .../scripts/Page/Property/PropertyAction.ts | 17 + .../Page/Property/PropertyAssembler.ts | 160 ++++++++ .../Page/Property/PropertyParameters.ts | 33 ++ .../StringProperty/IStringProperty.ts | 90 ---- .../Property/StringProperty/StringProperty.ts | 170 +++++--- .../Page/Property/StringProperty/index.ts | 1 + .../TabularProperty/ITabularProperty.ts | 201 --------- ...lePropertyState.ts => TableColumnState.ts} | 2 +- .../TabularProperty/TabularProperty.ts | 385 ++++++++++++------ .../TabularPropertyAccessor.ts | 18 + .../TabularPropertyAssembler.ts | 62 +++ .../Page/Property/TabularProperty/index.ts | 5 + .../src/assets/scripts/Page/Property/index.ts | 38 +- .../assets/scripts/Page/Section/Section.ts | 202 +++++++++ .../scripts/Page/Section/SectionAccessor.ts | 32 ++ .../scripts/Page/Section/SectionAssembler.ts | 228 +++++++++++ .../scripts/Page/Section/SectionLayout.ts | 13 + .../scripts/Page/Section/SectionParameters.ts | 35 ++ .../src/assets/scripts/Page/Section/index.ts | 3 + .../src/assets/scripts/Page/index.ts | 8 + .../{ => PageEditor}/Commands/PageCommand.ts | 0 .../CollapseComplexTablePropertyRow.ts} | 10 +- .../Property/ComplexTable/ComplexTable.ts | 7 + .../Commands/Property/DateTime/DateTime.ts | 27 ++ .../Property/DateTime/SetDateTimeProperty.ts} | 12 +- .../PageEditor/Commands/Property/Enum/Enum.ts | 27 ++ .../Property/Enum/SetEnumProperty.ts} | 12 +- .../Commands/Property/Number/Number.ts | 27 ++ .../Property/Number/SetNumberProperty.ts} | 12 +- .../Property/String/SetStringProperty.ts} | 12 +- .../Commands/Property/String/String.ts | 27 ++ .../Tabular/CreateTabularPropertyRow.ts} | 9 +- .../Tabular/DeleteTabularPropertyRow.ts} | 13 +- .../Tabular/MoveTabularPropertyRow.ts} | 12 +- .../Tabular/ReorderTabularProperty.ts} | 12 +- .../Commands/Property/Tabular/Tabular.ts | 60 +++ .../PageEditor/Commands/Property/index.ts | 6 + .../scripts/PageEditor/Commands/index.ts | 2 + .../{Page => PageEditor}/PageEditor.ts | 107 ++++- .../PageExporter/Nodes/AtomicNode.ts | 32 ++ .../PageExporter/Nodes/ExportNode.ts | 20 + .../PageEditor/PageExporter/Nodes/MapNode.ts | 8 + .../PageExporter/Nodes/ObjectArrayNode.ts | 46 +++ .../PageExporter/Nodes/ObjectMapNode.ts | 26 ++ .../PageEditor/PageExporter/Nodes/Value.ts | 1 + .../PageEditor/PageExporter/Nodes/index.ts | 6 + .../PageEditor/PageExporter/PageExporter.ts | 141 +++++++ .../scripts/PageEditor/PageExporter/index.ts | 1 + .../PageEditor/PageImporter/PageImporter.ts | 381 +++++++++++++++++ .../PageImporter/Templates/PageTemplate.ts | 10 + .../Templates/PropertyTemplate.ts | 104 +++++ .../PageImporter/Templates/PropertyType.ts | 11 + .../PageImporter/Templates/SectionTemplate.ts | 7 + .../PageImporter/Templates/index.ts | 4 + .../scripts/PageEditor/PageImporter/index.ts | 2 + .../src/assets/scripts/PageEditor/index.ts | 2 + .../assets/scripts/{ => Utilities}/Browser.ts | 0 .../src/assets/scripts/Utilities/Crypto.ts | 30 +- .../src/assets/scripts/Utilities/Events.ts | 2 +- .../scripts/{ => Utilities}/HotkeyObserver.ts | 4 +- .../src/assets/scripts/Utilities/Json.ts | 21 + .../src/assets/scripts/Utilities/index.ts | 1 + .../src/components/Containers/HotkeyBox.vue | 2 +- .../Controls/ContextMenuListing.vue | 2 +- .../Controls/Fields/BasicTableField.vue | 49 +-- .../Controls/Fields/ComplexTableField.vue | 24 +- .../Controls/Fields/DateTimeField.vue | 44 +- .../components/Controls/Fields/EnumField.vue | 24 +- .../components/Controls/Fields/FieldGrid.vue | 38 +- .../Controls/Fields/NumberField.vue | 26 +- .../Controls/Fields/OptionsList.vue | 2 +- .../Controls/Fields/TabularField.vue | 59 ++- .../components/Controls/Fields/TextField.vue | 24 +- .../src/components/Controls/FileSelect.vue | 4 +- .../src/components/Controls/PageEditor.vue | 4 +- .../components/Controls/PageEditorSection.vue | 19 +- .../src/components/Controls/TitleBar.vue | 2 +- .../src/components/Elements/AppHotkeyBox.vue | 4 +- .../src/components/Elements/AppTitleBar.vue | 4 +- src/cti_authoring_tool/src/main.ts | 7 +- .../src/store/StoreTypes.ts | 4 +- .../src/store/Stores/ApplicationStore.ts | 8 +- .../src/store/Stores/ContextMenuStore.ts | 26 +- .../src/store/Stores/HotkeyStore.ts | 37 +- 270 files changed, 5199 insertions(+), 2891 deletions(-) create mode 100644 src/cti_authoring_tool/src/assets/configuration/plugins/ImportCSVPlugin.ts create mode 100644 src/cti_authoring_tool/src/assets/configuration/properties/IntelligenceRequirements.ts create mode 100644 src/cti_authoring_tool/src/assets/configuration/properties/InternalTelemetryTable.ts delete mode 100644 src/cti_authoring_tool/src/assets/scripts/AppConfiguration.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/Application/AppConfiguration.ts rename src/cti_authoring_tool/src/assets/scripts/{ => Application}/AppSettings.ts (100%) create mode 100644 src/cti_authoring_tool/src/assets/scripts/Application/Command.ts rename src/cti_authoring_tool/src/assets/scripts/{ => Application}/Commands/AppCommand.ts (100%) create mode 100644 src/cti_authoring_tool/src/assets/scripts/Application/Commands/ApplicationSettings/ApplicationSettings.ts rename src/cti_authoring_tool/src/assets/scripts/{Commands/AppCommands => Application/Commands/ApplicationSettings}/LoadSettings.ts (91%) create mode 100644 src/cti_authoring_tool/src/assets/scripts/Application/Commands/ApplicationSettings/index.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/Application/Commands/FileManagement/FileManagement.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/Application/Commands/FileManagement/LoadPage.ts rename src/cti_authoring_tool/src/assets/scripts/{Commands/AppCommands => Application/Commands/FileManagement}/SavePageToDevice.ts (66%) rename src/cti_authoring_tool/src/assets/scripts/{Commands/AppCommands/SwitchActiveFile.ts => Application/Commands/FileManagement/SwitchActivePage.ts} (80%) rename src/cti_authoring_tool/src/assets/scripts/{Commands/AppCommands/UnloadFile.ts => Application/Commands/FileManagement/UnloadPage.ts} (87%) create mode 100644 src/cti_authoring_tool/src/assets/scripts/Application/Commands/FileManagement/index.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/Application/Commands/PageElement/PageElement.ts rename src/cti_authoring_tool/src/assets/scripts/{Commands/AppCommands => Application/Commands/PageElement}/RedoPageCommand.ts (93%) rename src/cti_authoring_tool/src/assets/scripts/{Commands/AppCommands => Application/Commands/PageElement}/UndoPageCommand.ts (93%) create mode 100644 src/cti_authoring_tool/src/assets/scripts/Application/Commands/PageElement/index.ts rename src/cti_authoring_tool/src/assets/scripts/{Commands/AppCommands/DeselectProperty.ts => Application/Commands/PropertyElement/DeselectAtomicProperty.ts} (65%) rename src/cti_authoring_tool/src/assets/scripts/{Commands/AppCommands => Application/Commands/PropertyElement}/DestroyProperty.ts (83%) create mode 100644 src/cti_authoring_tool/src/assets/scripts/Application/Commands/PropertyElement/InvokePropertyAction.ts rename src/cti_authoring_tool/src/assets/scripts/{Commands/AppCommands => Application/Commands/PropertyElement}/MountProperty.ts (86%) create mode 100644 src/cti_authoring_tool/src/assets/scripts/Application/Commands/PropertyElement/PropertyElement.ts rename src/cti_authoring_tool/src/assets/scripts/{Commands/AppCommands/SelectProperty.ts => Application/Commands/PropertyElement/SelectAtomicProperty.ts} (65%) create mode 100644 src/cti_authoring_tool/src/assets/scripts/Application/Commands/PropertyElement/index.ts rename src/cti_authoring_tool/src/assets/scripts/{Commands/AppCommands/DestroyPageSection.ts => Application/Commands/SectionElement/DestroySection.ts} (61%) rename src/cti_authoring_tool/src/assets/scripts/{Commands/AppCommands/MountPageSection.ts => Application/Commands/SectionElement/MountSection.ts} (67%) create mode 100644 src/cti_authoring_tool/src/assets/scripts/Application/Commands/SectionElement/SectionElement.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/Application/Commands/SectionElement/index.ts rename src/cti_authoring_tool/src/assets/scripts/{Commands/AppCommands => Application/Commands/ViewManagement}/OpenHyperlink.ts (90%) rename src/cti_authoring_tool/src/assets/scripts/{Commands/AppCommands => Application/Commands/ViewManagement}/SwitchToFullscreen.ts (100%) create mode 100644 src/cti_authoring_tool/src/assets/scripts/Application/Commands/ViewManagement/ViewManagement.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/Application/Commands/ViewManagement/index.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/Application/Commands/index.ts rename src/cti_authoring_tool/src/assets/scripts/{ => Application}/ContextMenuTypes.ts (100%) delete mode 100644 src/cti_authoring_tool/src/assets/scripts/Commands/AppCommands/LoadFile.ts delete mode 100644 src/cti_authoring_tool/src/assets/scripts/Commands/AppCommands/index.ts delete mode 100644 src/cti_authoring_tool/src/assets/scripts/Commands/Command.ts delete mode 100644 src/cti_authoring_tool/src/assets/scripts/Commands/PageCommands/index.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/Events/EventEmitter.ts delete mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/IPagesSection.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/PageAccessor.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/PageAssembler.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/PageElement.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/PageParameters.ts delete mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/PageSection.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/Plugins/Plugin.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/Plugins/PluginConfiguration.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/Plugins/PluginInstance.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/Plugins/PluginManager.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/Plugins/PluginModule.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/Plugins/index.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/Property/AtomicProperty/Alignment.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/Property/AtomicProperty/AtomicPropertyMetric.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/Property/AtomicProperty/AtomicPropertyParameters.ts delete mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/Property/AtomicProperty/IAtomicProperty.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/Property/AtomicProperty/index.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/Property/BasicTableProperty/BasicTablePropertyLayout.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/Property/BasicTableProperty/BasicTablePropertyParameters.ts delete mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/Property/BasicTableProperty/IBasicTableProperty.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/Property/BasicTableProperty/index.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/Property/ComplexTableProperty/ComplexTablePropertyLayout.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/Property/ComplexTableProperty/ComplexTablePropertyParameters.ts delete mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/Property/ComplexTableProperty/IComplexTableProperty.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/Property/ComplexTableProperty/index.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/Property/DateTimeProperty/DateProperty.ts delete mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/Property/DateTimeProperty/IDateTimeProperty.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/Property/DateTimeProperty/TimeProperty.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/Property/DateTimeProperty/index.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/Property/EnumProperty/EnumPropertyParameters.ts delete mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/Property/EnumProperty/IEnumProperty.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/Property/EnumProperty/index.ts delete mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/Property/IProperty.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/Property/NumberProperty/FloatProperty.ts delete mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/Property/NumberProperty/INumberProperty.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/Property/NumberProperty/IntegerProperty.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/Property/NumberProperty/NumberPropertyParameters.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/Property/NumberProperty/index.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/Property/PropertyAccessor.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/Property/PropertyAction.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/Property/PropertyAssembler.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/Property/PropertyParameters.ts delete mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/Property/StringProperty/IStringProperty.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/Property/StringProperty/index.ts delete mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/Property/TabularProperty/ITabularProperty.ts rename src/cti_authoring_tool/src/assets/scripts/Page/Property/TabularProperty/{TablePropertyState.ts => TableColumnState.ts} (91%) create mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/Property/TabularProperty/TabularPropertyAccessor.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/Property/TabularProperty/TabularPropertyAssembler.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/Property/TabularProperty/index.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/Section/Section.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/Section/SectionAccessor.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/Section/SectionAssembler.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/Section/SectionLayout.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/Section/SectionParameters.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/Section/index.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/Page/index.ts rename src/cti_authoring_tool/src/assets/scripts/{ => PageEditor}/Commands/PageCommand.ts (100%) rename src/cti_authoring_tool/src/assets/scripts/{Commands/PageCommands/ComplexTablePropertySetRowCollapse.ts => PageEditor/Commands/Property/ComplexTable/CollapseComplexTablePropertyRow.ts} (82%) create mode 100644 src/cti_authoring_tool/src/assets/scripts/PageEditor/Commands/Property/ComplexTable/ComplexTable.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/PageEditor/Commands/Property/DateTime/DateTime.ts rename src/cti_authoring_tool/src/assets/scripts/{Commands/PageCommands/DateTimePropertySet.ts => PageEditor/Commands/Property/DateTime/SetDateTimeProperty.ts} (74%) create mode 100644 src/cti_authoring_tool/src/assets/scripts/PageEditor/Commands/Property/Enum/Enum.ts rename src/cti_authoring_tool/src/assets/scripts/{Commands/PageCommands/EnumPropertySet.ts => PageEditor/Commands/Property/Enum/SetEnumProperty.ts} (75%) create mode 100644 src/cti_authoring_tool/src/assets/scripts/PageEditor/Commands/Property/Number/Number.ts rename src/cti_authoring_tool/src/assets/scripts/{Commands/PageCommands/NumberPropertySet.ts => PageEditor/Commands/Property/Number/SetNumberProperty.ts} (75%) rename src/cti_authoring_tool/src/assets/scripts/{Commands/PageCommands/StringPropertySet.ts => PageEditor/Commands/Property/String/SetStringProperty.ts} (75%) create mode 100644 src/cti_authoring_tool/src/assets/scripts/PageEditor/Commands/Property/String/String.ts rename src/cti_authoring_tool/src/assets/scripts/{Commands/PageCommands/TabularPropertyCreateRow.ts => PageEditor/Commands/Property/Tabular/CreateTabularPropertyRow.ts} (73%) rename src/cti_authoring_tool/src/assets/scripts/{Commands/PageCommands/TabularPropertyDeleteRow.ts => PageEditor/Commands/Property/Tabular/DeleteTabularPropertyRow.ts} (73%) rename src/cti_authoring_tool/src/assets/scripts/{Commands/PageCommands/TabularPropertyMoveRow.ts => PageEditor/Commands/Property/Tabular/MoveTabularPropertyRow.ts} (76%) rename src/cti_authoring_tool/src/assets/scripts/{Commands/PageCommands/TabularPropertyReorder.ts => PageEditor/Commands/Property/Tabular/ReorderTabularProperty.ts} (79%) create mode 100644 src/cti_authoring_tool/src/assets/scripts/PageEditor/Commands/Property/Tabular/Tabular.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/PageEditor/Commands/Property/index.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/PageEditor/Commands/index.ts rename src/cti_authoring_tool/src/assets/scripts/{Page => PageEditor}/PageEditor.ts (54%) create mode 100644 src/cti_authoring_tool/src/assets/scripts/PageEditor/PageExporter/Nodes/AtomicNode.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/PageEditor/PageExporter/Nodes/ExportNode.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/PageEditor/PageExporter/Nodes/MapNode.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/PageEditor/PageExporter/Nodes/ObjectArrayNode.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/PageEditor/PageExporter/Nodes/ObjectMapNode.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/PageEditor/PageExporter/Nodes/Value.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/PageEditor/PageExporter/Nodes/index.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/PageEditor/PageExporter/PageExporter.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/PageEditor/PageExporter/index.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/PageEditor/PageImporter/PageImporter.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/PageEditor/PageImporter/Templates/PageTemplate.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/PageEditor/PageImporter/Templates/PropertyTemplate.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/PageEditor/PageImporter/Templates/PropertyType.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/PageEditor/PageImporter/Templates/SectionTemplate.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/PageEditor/PageImporter/Templates/index.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/PageEditor/PageImporter/index.ts create mode 100644 src/cti_authoring_tool/src/assets/scripts/PageEditor/index.ts rename src/cti_authoring_tool/src/assets/scripts/{ => Utilities}/Browser.ts (100%) rename src/cti_authoring_tool/src/assets/scripts/{ => Utilities}/HotkeyObserver.ts (97%) create mode 100644 src/cti_authoring_tool/src/assets/scripts/Utilities/Json.ts diff --git a/src/cti_authoring_tool/CHANGELOG.md b/src/cti_authoring_tool/CHANGELOG.md index 3023a5d..9d5db58 100644 --- a/src/cti_authoring_tool/CHANGELOG.md +++ b/src/cti_authoring_tool/CHANGELOG.md @@ -2,6 +2,17 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +### [0.1.3](///compare/v0.1.2...v0.1.3) (2023-06-06) + + +### Features + +* add file save/open functionality 3a4bdc8 +* add redesigned Page library 9dc899b +* add redesigned Page Management library 7bc0821 +* restructure and expand Web Utilities library b8a66fa +* restructure core application library 9c6f877 + ### [0.1.2](///compare/v0.1.1...v0.1.2) (2023-04-10) diff --git a/src/cti_authoring_tool/package-lock.json b/src/cti_authoring_tool/package-lock.json index 0464698..8ba21dd 100644 --- a/src/cti_authoring_tool/package-lock.json +++ b/src/cti_authoring_tool/package-lock.json @@ -1,12 +1,12 @@ { "name": "cti-authoring-tool", - "version": "0.1.2", + "version": "0.1.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "cti-authoring-tool", - "version": "0.1.2", + "version": "0.1.3", "dependencies": { "vue": "^3.2.41", "vuex": "^4.0.0-0" diff --git a/src/cti_authoring_tool/package.json b/src/cti_authoring_tool/package.json index c023b58..0c9e73b 100644 --- a/src/cti_authoring_tool/package.json +++ b/src/cti_authoring_tool/package.json @@ -1,6 +1,6 @@ { "name": "cti-authoring-tool", - "version": "0.1.2", + "version": "0.1.3", "private": true, "scripts": { "serve": "vue-cli-service serve", diff --git a/src/cti_authoring_tool/src/App.vue b/src/cti_authoring_tool/src/App.vue index 14aca98..e54c3c9 100644 --- a/src/cti_authoring_tool/src/App.vue +++ b/src/cti_authoring_tool/src/App.vue @@ -1,10 +1,10 @@ diff --git a/src/cti_authoring_tool/src/components/Controls/Fields/EnumField.vue b/src/cti_authoring_tool/src/components/Controls/Fields/EnumField.vue index a38968b..b04b086 100644 --- a/src/cti_authoring_tool/src/components/Controls/Fields/EnumField.vue +++ b/src/cti_authoring_tool/src/components/Controls/Fields/EnumField.vue @@ -41,11 +41,10 @@ diff --git a/src/cti_authoring_tool/src/components/Controls/Fields/OptionsList.vue b/src/cti_authoring_tool/src/components/Controls/Fields/OptionsList.vue index d528c60..db81e04 100644 --- a/src/cti_authoring_tool/src/components/Controls/Fields/OptionsList.vue +++ b/src/cti_authoring_tool/src/components/Controls/Fields/OptionsList.vue @@ -24,7 +24,7 @@ diff --git a/src/cti_authoring_tool/src/components/Controls/PageEditorSection.vue b/src/cti_authoring_tool/src/components/Controls/PageEditorSection.vue index c8ee039..f0ca256 100644 --- a/src/cti_authoring_tool/src/components/Controls/PageEditorSection.vue +++ b/src/cti_authoring_tool/src/components/Controls/PageEditorSection.vue @@ -1,6 +1,6 @@