@enervance/insight-cim-model 0.0.12 → 0.0.14
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/dist/config/westnetz-integral7/integral7-load.config.js.map +1 -1
- package/dist/config/westnetz-neplan/neplan-load.config.js +6 -1
- package/dist/config/westnetz-neplan/neplan-load.config.js.map +1 -1
- package/dist/constants/cim-class-definition.js +19 -0
- package/dist/constants/cim-class-definition.js.map +1 -1
- package/dist/constants/cim-class-names.d.ts +10 -0
- package/dist/constants/cim-class-names.js +10 -0
- package/dist/constants/cim-class-names.js.map +1 -1
- package/dist/constants/init-data/ASSET_HEALTH_EVENTS.js +10 -0
- package/dist/constants/init-data/ASSET_HEALTH_EVENTS.js.map +1 -1
- package/dist/constants/init-data/PSR_TYPES.js +17 -0
- package/dist/constants/init-data/PSR_TYPES.js.map +1 -1
- package/dist/converter/cgmes-validator.d.ts +5 -0
- package/dist/converter/cgmes-validator.js +23 -0
- package/dist/converter/cgmes-validator.js.map +1 -0
- package/dist/converter/integral7/ConverterIntegral7.d.ts +26 -19
- package/dist/converter/integral7/ConverterIntegral7.js +595 -272
- package/dist/converter/integral7/ConverterIntegral7.js.map +1 -1
- package/dist/converter/integral7/model/integral/BaseClass.d.ts +1 -0
- package/dist/converter/integral7/model/integral/BaseClass.js.map +1 -1
- package/dist/converter/integral7/model/interfaces.d.ts +36 -0
- package/dist/converter/integral7/sql/integral.sql.d.ts +10 -0
- package/dist/converter/integral7/sql/integral.sql.js +25 -1
- package/dist/converter/integral7/sql/integral.sql.js.map +1 -1
- package/dist/converter/integral7/utils.d.ts +3 -0
- package/dist/converter/integral7/utils.js +81 -17
- package/dist/converter/integral7/utils.js.map +1 -1
- package/dist/etl-neplan/etl-neplan-csv.d.ts +37 -0
- package/dist/etl-neplan/etl-neplan-csv.js +243 -0
- package/dist/etl-neplan/etl-neplan-csv.js.map +1 -0
- package/dist/etl-neplan/etl-neplan-geo.d.ts +12 -0
- package/dist/etl-neplan/etl-neplan-geo.js +74 -0
- package/dist/etl-neplan/etl-neplan-geo.js.map +1 -0
- package/dist/etl-neplan/neplan-contingency-analysis.js +0 -20
- package/dist/etl-neplan/neplan-contingency-analysis.js.map +1 -1
- package/dist/index.d.ts +8 -0
- package/dist/index.js +16 -0
- package/dist/index.js.map +1 -1
- package/dist/interfaces/default-values-config.d.ts +171 -0
- package/dist/interfaces/default-values-config.js +3 -0
- package/dist/interfaces/default-values-config.js.map +1 -0
- package/dist/interfaces/model/common/ILocation.d.ts +15 -0
- package/dist/interfaces/model/common/ILocation.js +3 -0
- package/dist/interfaces/model/common/ILocation.js.map +1 -0
- package/dist/interfaces/model/core/IIdentifiedObject.d.ts +3 -0
- package/dist/interfaces/model/wires/IACLineSegment.d.ts +10 -0
- package/dist/interfaces/model/wires/IConductor.d.ts +2 -1
- package/dist/model/assets/Asset.d.ts +12 -5
- package/dist/model/assets/Asset.js +86 -21
- package/dist/model/assets/Asset.js.map +1 -1
- package/dist/model/assets/LifecycleDate.d.ts +1 -0
- package/dist/model/assets/LifecycleDate.js +9 -1
- package/dist/model/assets/LifecycleDate.js.map +1 -1
- package/dist/model/common/CoordinateSystem.d.ts +3 -1
- package/dist/model/common/CoordinateSystem.js +13 -1
- package/dist/model/common/CoordinateSystem.js.map +1 -1
- package/dist/model/common/Location.d.ts +5 -3
- package/dist/model/common/Location.js +17 -11
- package/dist/model/common/Location.js.map +1 -1
- package/dist/model/common/PositionPoint.d.ts +9 -3
- package/dist/model/common/PositionPoint.js +23 -1
- package/dist/model/common/PositionPoint.js.map +1 -1
- package/dist/model/common/Status.d.ts +2 -1
- package/dist/model/common/Status.js +9 -1
- package/dist/model/common/Status.js.map +1 -1
- package/dist/model/core/ACDCTerminal.d.ts +2 -0
- package/dist/model/core/ACDCTerminal.js +9 -1
- package/dist/model/core/ACDCTerminal.js.map +1 -1
- package/dist/model/core/BaseVoltage.js.map +1 -1
- package/dist/model/core/Bay.js.map +1 -1
- package/dist/model/core/GeographicalRegion.js.map +1 -1
- package/dist/model/core/IdentifiedObject.d.ts +3 -1
- package/dist/model/core/IdentifiedObject.js +42 -21
- package/dist/model/core/IdentifiedObject.js.map +1 -1
- package/dist/model/core/PowerSystemResource.js.map +1 -1
- package/dist/model/core/SubGeographicalRegion.js.map +1 -1
- package/dist/model/core/Substation.d.ts +1 -0
- package/dist/model/core/Substation.js +3 -2
- package/dist/model/core/Substation.js.map +1 -1
- package/dist/model/core/Terminal.d.ts +3 -1
- package/dist/model/core/Terminal.js +14 -14
- package/dist/model/core/Terminal.js.map +1 -1
- package/dist/model/core/VoltageLevel.js +4 -2
- package/dist/model/core/VoltageLevel.js.map +1 -1
- package/dist/model/dc/ACDCConverter.d.ts +3 -0
- package/dist/model/dc/ACDCConverter.js +56 -14
- package/dist/model/dc/ACDCConverter.js.map +1 -1
- package/dist/model/dc/ACDCConverterDCTerminal.js +2 -6
- package/dist/model/dc/ACDCConverterDCTerminal.js.map +1 -1
- package/dist/model/dc/CsConverter.d.ts +2 -0
- package/dist/model/dc/CsConverter.js +45 -17
- package/dist/model/dc/CsConverter.js.map +1 -1
- package/dist/model/dc/DCConverterUnit.d.ts +2 -0
- package/dist/model/dc/DCConverterUnit.js +13 -7
- package/dist/model/dc/DCConverterUnit.js.map +1 -1
- package/dist/model/dc/DCLine.js.map +1 -1
- package/dist/model/dc/DCLineSegment.js +4 -8
- package/dist/model/dc/DCLineSegment.js.map +1 -1
- package/dist/model/dc/VsConverter.d.ts +2 -0
- package/dist/model/dc/VsConverter.js +53 -5
- package/dist/model/dc/VsConverter.js.map +1 -1
- package/dist/model/equivalents/EquivalentBranch.d.ts +2 -0
- package/dist/model/equivalents/EquivalentBranch.js +63 -0
- package/dist/model/equivalents/EquivalentBranch.js.map +1 -1
- package/dist/model/extensions/amprion/wires/AMPRIONSeriesCompensator.js +0 -3
- package/dist/model/extensions/amprion/wires/AMPRIONSeriesCompensator.js.map +1 -1
- package/dist/model/extensions/enervance/wires/EVACLineSegment.d.ts +16 -0
- package/{src/model/wires/PetersenCoil.ts → dist/model/extensions/enervance/wires/EVACLineSegment.js} +43 -47
- package/dist/model/extensions/enervance/wires/EVACLineSegment.js.map +1 -0
- package/dist/model/extensions/enervance/wires/EVACLineSubSegment.d.ts +25 -0
- package/dist/model/extensions/enervance/wires/EVACLineSubSegment.js +126 -0
- package/dist/model/extensions/enervance/wires/EVACLineSubSegment.js.map +1 -0
- package/dist/model/extensions/neplan-westnetz/assets/WNFacility.js +4 -12
- package/dist/model/extensions/neplan-westnetz/assets/WNFacility.js.map +1 -1
- package/dist/model/extensions/neplan-westnetz/common/WNLocation.d.ts +18 -0
- package/dist/model/extensions/neplan-westnetz/common/WNLocation.js +82 -0
- package/dist/model/extensions/neplan-westnetz/common/WNLocation.js.map +1 -0
- package/dist/model/extensions/neplan-westnetz/core/WNConnectivityNode.d.ts +5 -0
- package/dist/model/extensions/neplan-westnetz/core/WNConnectivityNode.js +23 -0
- package/dist/model/extensions/neplan-westnetz/core/WNConnectivityNode.js.map +1 -1
- package/dist/model/generation/GeneratingUnit.d.ts +2 -0
- package/dist/model/generation/GeneratingUnit.js +23 -0
- package/dist/model/generation/GeneratingUnit.js.map +1 -1
- package/dist/model/generation/ThermalGeneratingUnit.js.map +1 -1
- package/dist/model/loadmodel/ConformLoad.d.ts +6 -1
- package/dist/model/loadmodel/ConformLoad.js +48 -3
- package/dist/model/loadmodel/ConformLoad.js.map +1 -1
- package/dist/model/loadmodel/ConformLoadGroup.d.ts +7 -0
- package/dist/model/loadmodel/ConformLoadGroup.js +48 -0
- package/dist/model/loadmodel/ConformLoadGroup.js.map +1 -0
- package/dist/model/loadmodel/EnergyArea.d.ts +3 -0
- package/dist/model/loadmodel/EnergyArea.js +8 -0
- package/dist/model/loadmodel/EnergyArea.js.map +1 -0
- package/dist/model/loadmodel/LoadArea.d.ts +10 -0
- package/dist/model/loadmodel/LoadArea.js +51 -0
- package/dist/model/loadmodel/LoadArea.js.map +1 -0
- package/dist/model/loadmodel/LoadGroup.d.ts +8 -0
- package/dist/model/loadmodel/LoadGroup.js +21 -0
- package/dist/model/loadmodel/LoadGroup.js.map +1 -0
- package/dist/model/loadmodel/SubLoadArea.d.ts +14 -0
- package/dist/model/loadmodel/SubLoadArea.js +63 -0
- package/dist/model/loadmodel/SubLoadArea.js.map +1 -0
- package/dist/model/model/Model.d.ts +40 -11
- package/dist/model/model/Model.js +100 -6
- package/dist/model/model/Model.js.map +1 -1
- package/dist/model/operationallimits/CurrentLimit.js.map +1 -1
- package/dist/model/operationallimits/OperationalLimitSet.js.map +1 -1
- package/dist/model/wires/ACLineSegment.d.ts +6 -2
- package/dist/model/wires/ACLineSegment.js +51 -44
- package/dist/model/wires/ACLineSegment.js.map +1 -1
- package/dist/model/wires/AsynchronousMachine.d.ts +2 -1
- package/dist/model/wires/AsynchronousMachine.js +34 -34
- package/dist/model/wires/AsynchronousMachine.js.map +1 -1
- package/dist/model/wires/BusbarSection.d.ts +2 -0
- package/dist/model/wires/BusbarSection.js +6 -0
- package/dist/model/wires/BusbarSection.js.map +1 -1
- package/dist/model/wires/Conductor.d.ts +4 -1
- package/dist/model/wires/Conductor.js +15 -6
- package/dist/model/wires/Conductor.js.map +1 -1
- package/dist/model/wires/EnergyConsumer.d.ts +6 -2
- package/dist/model/wires/EnergyConsumer.js +24 -3
- package/dist/model/wires/EnergyConsumer.js.map +1 -1
- package/dist/model/wires/EnergySource.d.ts +8 -4
- package/dist/model/wires/EnergySource.js +37 -21
- package/dist/model/wires/EnergySource.js.map +1 -1
- package/dist/model/wires/ExternalNetworkInjection.d.ts +2 -0
- package/dist/model/wires/ExternalNetworkInjection.js +81 -1
- package/dist/model/wires/ExternalNetworkInjection.js.map +1 -1
- package/dist/model/wires/Line.js.map +1 -1
- package/dist/model/wires/LinearShuntCompensator.d.ts +15 -0
- package/dist/model/wires/LinearShuntCompensator.js +96 -0
- package/dist/model/wires/LinearShuntCompensator.js.map +1 -0
- package/dist/model/wires/PowerTransformer.js +0 -3
- package/dist/model/wires/PowerTransformer.js.map +1 -1
- package/dist/model/wires/PowerTransformerEnd.js.map +1 -1
- package/dist/model/wires/RatioTapChanger.js.map +1 -1
- package/dist/model/wires/RatioTapChangerTable.js.map +1 -1
- package/dist/model/wires/RegulatingCondEq.d.ts +3 -0
- package/dist/model/wires/RegulatingCondEq.js +17 -6
- package/dist/model/wires/RegulatingCondEq.js.map +1 -1
- package/dist/model/wires/RegulatingControl.d.ts +2 -0
- package/dist/model/wires/RegulatingControl.js +43 -7
- package/dist/model/wires/RegulatingControl.js.map +1 -1
- package/dist/model/wires/RotatingMachine.d.ts +2 -0
- package/dist/model/wires/RotatingMachine.js +17 -0
- package/dist/model/wires/RotatingMachine.js.map +1 -1
- package/dist/model/wires/SeriesCompensator.d.ts +2 -1
- package/dist/model/wires/SeriesCompensator.js +42 -42
- package/dist/model/wires/SeriesCompensator.js.map +1 -1
- package/dist/model/wires/ShuntCompensator.d.ts +17 -0
- package/dist/model/wires/ShuntCompensator.js +50 -0
- package/dist/model/wires/ShuntCompensator.js.map +1 -0
- package/dist/model/wires/SynchronousMachine.d.ts +2 -0
- package/dist/model/wires/SynchronousMachine.js +70 -5
- package/dist/model/wires/SynchronousMachine.js.map +1 -1
- package/dist/model/wires/TapChangerControl.js.map +1 -1
- package/dist/util/utils.d.ts +8 -1
- package/dist/util/utils.js +13 -38
- package/dist/util/utils.js.map +1 -1
- package/dist/util/xml/xml.serializer.d.ts +3 -1
- package/dist/util/xml/xml.serializer.js +46 -45
- package/dist/util/xml/xml.serializer.js.map +1 -1
- package/package.json +4 -1
- package/.nycrc +0 -28
- package/jasmine/jasmine_all.json +0 -13
- package/jasmine/jasmine_fuseki_interface.json +0 -13
- package/jasmine/jasmine_fuseki_psdm.json +0 -13
- package/jasmine/jasmine_integral_7.json +0 -13
- package/jasmine/jasmine_psdm.json +0 -13
- package/src/config/lew-sincal/lew-sincal-load.config.ts +0 -58
- package/src/config/power-system-datamodel/psdm-load.config.ts +0 -57
- package/src/config/westnetz-integral7/integral7-load.config.ts +0 -53
- package/src/config/westnetz-neplan/callbacks/cb-connectivitynode.ts +0 -159
- package/src/config/westnetz-neplan/callbacks/cb-psr.ts +0 -30
- package/src/config/westnetz-neplan/callbacks/cb-wnenergyconsumer.ts +0 -70
- package/src/config/westnetz-neplan/neplan-load.config.ts +0 -131
- package/src/config/westnetz-neplan/property-handler-westenergy.config.ts +0 -52
- package/src/constants/cim-class-definition.ts +0 -169
- package/src/constants/cim-class-names.ts +0 -118
- package/src/constants/cim-constants.ts +0 -5
- package/src/constants/init-data/ASSET_HEALTH_EVENTS.ts +0 -45
- package/src/constants/init-data/ASSSET_OWNER.ts +0 -11
- package/src/constants/init-data/JENA_SPARQL.ts +0 -328
- package/src/constants/init-data/PSR_TYPES.ts +0 -75
- package/src/constants/init-data/xml/AssetHealtEvent.xml +0 -45
- package/src/constants/init-data/xml/AssetOwner.xml +0 -11
- package/src/constants/init-data/xml/PsrType.xml +0 -80
- package/src/constants/rdf-xml.ts +0 -52
- package/src/converter/PSDM/ConverterPowerSystemDataModel.ts +0 -546
- package/src/converter/PSDM/model/FixedFeedIn.ts +0 -28
- package/src/converter/PSDM/model/Line.ts +0 -39
- package/src/converter/PSDM/model/LineType.ts +0 -29
- package/src/converter/PSDM/model/Load.ts +0 -38
- package/src/converter/PSDM/model/Node.ts +0 -16
- package/src/converter/PSDM/model/TimeSeriesMapping.ts +0 -13
- package/src/converter/PSDM/model/Transformer.ts +0 -34
- package/src/converter/PSDM/model/TransformerType.ts +0 -49
- package/src/converter/PSDM/model/geo/Crs.ts +0 -4
- package/src/converter/PSDM/model/geo/GeoPosition.ts +0 -7
- package/src/converter/integral7/ConverterIntegral7.ts +0 -3916
- package/src/converter/integral7/config/db-config.ts +0 -13
- package/src/converter/integral7/config/generation-unit-fuel-types.ts +0 -51
- package/src/converter/integral7/config/integral-prefix.ts +0 -20
- package/src/converter/integral7/model/integral/BaseClass.ts +0 -28
- package/src/converter/integral7/model/integral/BaseClassNsg.ts +0 -21
- package/src/converter/integral7/model/integral/Hgueleitung.ts +0 -12
- package/src/converter/integral7/model/integral/KnotenSo.ts +0 -41
- package/src/converter/integral7/model/integral/KnotenSoNsg.ts +0 -24
- package/src/converter/integral7/model/integral/Kopfstation.ts +0 -46
- package/src/converter/integral7/model/integral/Leitung.ts +0 -73
- package/src/converter/integral7/model/integral/LeitungNsg.ts +0 -46
- package/src/converter/integral7/model/integral/Point.ts +0 -14
- package/src/converter/integral7/model/integral/Schaltanlage.ts +0 -151
- package/src/converter/integral7/model/integral/SchaltanlageNSG.ts +0 -30
- package/src/converter/integral7/model/integral/Schaltanlagenabschnitt.ts +0 -44
- package/src/converter/integral7/model/integral/SchaltanlagenabschnittNsg.ts +0 -27
- package/src/converter/integral7/model/integral/Schaltfeld.ts +0 -116
- package/src/converter/integral7/model/integral/SchaltfeldNsg.ts +0 -35
- package/src/converter/integral7/model/integral/Standort.ts +0 -53
- package/src/converter/integral7/model/integral/StandortNsg.ts +0 -24
- package/src/converter/integral7/model/integral/Trafo2w.ts +0 -22
- package/src/converter/integral7/model/integral/Trafo2wNsg.ts +0 -13
- package/src/converter/integral7/model/interfaces.ts +0 -450
- package/src/converter/integral7/sql/integral.sql.ts +0 -345
- package/src/converter/integral7/utils-schema.ts +0 -50
- package/src/converter/integral7/utils-trafo3w.ts +0 -321
- package/src/converter/integral7/utils.ts +0 -693
- package/src/etl-neplan/etl-neplan-contingency-analysis.ts +0 -188
- package/src/etl-neplan/etl-neplan-feederline.ts +0 -229
- package/src/etl-neplan/etl-neplan.ts +0 -344
- package/src/etl-neplan/neplan-contingency-analysis.ts +0 -571
- package/src/graph/Types.ts +0 -7
- package/src/graph/connections/connection.ts +0 -29
- package/src/graph/edges/edge.ts +0 -27
- package/src/graph/graph-interfaces.ts +0 -21
- package/src/graph/graph-util.ts +0 -158
- package/src/graph/graph.ts +0 -84
- package/src/graph/nodes/node.ts +0 -43
- package/src/index.ts +0 -307
- package/src/interfaces/model/assets/IAsset.ts +0 -5
- package/src/interfaces/model/assets/IAssetContainer.ts +0 -5
- package/src/interfaces/model/assets/IFacility.ts +0 -5
- package/src/interfaces/model/common/IDocument.ts +0 -5
- package/src/interfaces/model/core/IACDCTerminal.ts +0 -8
- package/src/interfaces/model/core/IBaseVoltage.ts +0 -7
- package/src/interfaces/model/core/IConductingEquipment.ts +0 -16
- package/src/interfaces/model/core/IConnectivityNode.ts +0 -27
- package/src/interfaces/model/core/IConnectivityNodeContainer.ts +0 -11
- package/src/interfaces/model/core/IEquipment.ts +0 -11
- package/src/interfaces/model/core/IEquipmentContainer.ts +0 -12
- package/src/interfaces/model/core/IFeeder.ts +0 -21
- package/src/interfaces/model/core/IIdentifiedObject.ts +0 -108
- package/src/interfaces/model/core/IPowerSystemResource.ts +0 -3
- package/src/interfaces/model/core/ISubstation.ts +0 -8
- package/src/interfaces/model/core/ITerminal.ts +0 -57
- package/src/interfaces/model/core/IVoltageLevel.ts +0 -14
- package/src/interfaces/model/diagram/IDiagram.ts +0 -21
- package/src/interfaces/model/diagram/IDiagramObject.ts +0 -21
- package/src/interfaces/model/diagram/IDiagramObjectPoint.ts +0 -16
- package/src/interfaces/model/domain/IActivePower.ts +0 -3
- package/src/interfaces/model/domain/IAngleDegrees.ts +0 -3
- package/src/interfaces/model/domain/IApparentPower.ts +0 -3
- package/src/interfaces/model/domain/ICurrentFlow.ts +0 -3
- package/src/interfaces/model/domain/IDataType.ts +0 -9
- package/src/interfaces/model/domain/IReactivePower.ts +0 -3
- package/src/interfaces/model/domain/IVoltage.ts +0 -3
- package/src/interfaces/model/domain/UnitMultiplier.ts +0 -13
- package/src/interfaces/model/domain/UnitSymbol.ts +0 -30
- package/src/interfaces/model/enums/EnumShapeInfo.ts +0 -5
- package/src/interfaces/model/faults/IFault.ts +0 -11
- package/src/interfaces/model/model/IModel.ts +0 -91
- package/src/interfaces/model/operations/IOutage.ts +0 -23
- package/src/interfaces/model/operations/ISwitchingAction.ts +0 -9
- package/src/interfaces/model/operations/ISwitchingPlan.ts +0 -26
- package/src/interfaces/model/statevariables/ISvPowerFlow.ts +0 -20
- package/src/interfaces/model/statevariables/ISvVoltage.ts +0 -16
- package/src/interfaces/model/topology/ITopologicalIsland.ts +0 -11
- package/src/interfaces/model/topology/ITopologicalNode.ts +0 -24
- package/src/interfaces/model/wires/IACLineSegment.ts +0 -4
- package/src/interfaces/model/wires/IBusbarSection.ts +0 -4
- package/src/interfaces/model/wires/ICompositeSwitch.ts +0 -6
- package/src/interfaces/model/wires/IConductor.ts +0 -6
- package/src/interfaces/model/wires/IConnector.ts +0 -5
- package/src/interfaces/model/wires/IDisconnector.ts +0 -4
- package/src/interfaces/model/wires/IEnergyConsumer.ts +0 -7
- package/src/interfaces/model/wires/IEnergySource.ts +0 -20
- package/src/interfaces/model/wires/IExternalNetworkInjection.ts +0 -34
- package/src/interfaces/model/wires/ILoadBreakSwitch.ts +0 -4
- package/src/interfaces/model/wires/IPowerTransformer.ts +0 -7
- package/src/interfaces/model/wires/IPowerTransformerEnd.ts +0 -10
- package/src/interfaces/model/wires/IProtectedSwitch.ts +0 -4
- package/src/interfaces/model/wires/IRegulatingCondEq.ts +0 -4
- package/src/interfaces/model/wires/ISwitch.ts +0 -11
- package/src/interfaces/model/wires/ITransformerEnd.ts +0 -14
- package/src/interfaces/observable/IObservable.ts +0 -6
- package/src/interfaces/observable/IObserver.ts +0 -3
- package/src/interfaces/persistence-interfaces.ts +0 -12
- package/src/interfaces/schema-settings/ShapeInfos.ts +0 -28
- package/src/model/assetinfo/AssetInfo.ts +0 -13
- package/src/model/assetinfo/CableInfo.ts +0 -8
- package/src/model/assetinfo/OverheadWireInfo.ts +0 -8
- package/src/model/assetinfo/PowerTransformer2WInfo.ts +0 -13
- package/src/model/assetinfo/PowerTransformer3WInfo.ts +0 -18
- package/src/model/assetinfo/PowerTransformerInfo.ts +0 -14
- package/src/model/assetinfo/TapChangerInfo.ts +0 -60
- package/src/model/assetinfo/TransformerEndInfo.ts +0 -38
- package/src/model/assetinfo/WireInfo.ts +0 -22
- package/src/model/assets/AggregateScore.ts +0 -9
- package/src/model/assets/AnalyticScore.ts +0 -41
- package/src/model/assets/Asset.ts +0 -164
- package/src/model/assets/AssetContainer.ts +0 -11
- package/src/model/assets/AssetDeployment.ts +0 -122
- package/src/model/assets/AssetHealthEvent.ts +0 -73
- package/src/model/assets/AssetOrganisationRole.ts +0 -51
- package/src/model/assets/AssetOwner.ts +0 -54
- package/src/model/assets/DeploymentDate.ts +0 -20
- package/src/model/assets/DeploymentStateKind.ts +0 -7
- package/src/model/assets/Facility.ts +0 -107
- package/src/model/assets/FacilityKind.ts +0 -9
- package/src/model/assets/HealthScore.ts +0 -59
- package/src/model/assets/LifecycleDate.ts +0 -17
- package/src/model/assets/RiskScore.ts +0 -7
- package/src/model/assets/TransformerApplicationKind.ts +0 -6
- package/src/model/common/ActivityRecord.ts +0 -93
- package/src/model/common/CoordinateSystem.ts +0 -81
- package/src/model/common/Document.ts +0 -9
- package/src/model/common/Location.ts +0 -237
- package/src/model/common/OrganisationRole.ts +0 -7
- package/src/model/common/PositionPoint.ts +0 -121
- package/src/model/common/Status.ts +0 -11
- package/src/model/core/ACDCTerminal.ts +0 -63
- package/src/model/core/BaseVoltage.ts +0 -129
- package/src/model/core/Bay.ts +0 -178
- package/src/model/core/ConductingEquipment.ts +0 -182
- package/src/model/core/ConnectivityNode.ts +0 -417
- package/src/model/core/ConnectivityNodeContainer.ts +0 -26
- package/src/model/core/Curve.ts +0 -55
- package/src/model/core/CurveData.ts +0 -74
- package/src/model/core/CurveStyle.ts +0 -4
- package/src/model/core/Equipment.ts +0 -184
- package/src/model/core/EquipmentContainer.ts +0 -40
- package/src/model/core/Feeder.ts +0 -186
- package/src/model/core/GeographicalRegion.ts +0 -34
- package/src/model/core/IdentifiedObject.ts +0 -393
- package/src/model/core/PSRType.ts +0 -164
- package/src/model/core/PhaseCode.ts +0 -23
- package/src/model/core/PowerSystemResource.ts +0 -109
- package/src/model/core/SubGeographicalRegion.ts +0 -58
- package/src/model/core/Substation.ts +0 -290
- package/src/model/core/Terminal.ts +0 -422
- package/src/model/core/VoltageLevel.ts +0 -192
- package/src/model/dc/ACDCConverter.ts +0 -66
- package/src/model/dc/ACDCConverterDCTerminal.ts +0 -64
- package/src/model/dc/CsConverter.ts +0 -68
- package/src/model/dc/CsOperatingModeKind.ts +0 -4
- package/src/model/dc/CsPpccControlKind.ts +0 -5
- package/src/model/dc/DCBaseTerminal.ts +0 -30
- package/src/model/dc/DCConductingEquipment.ts +0 -8
- package/src/model/dc/DCConverterOperatingModeKind.ts +0 -6
- package/src/model/dc/DCConverterUnit.ts +0 -60
- package/src/model/dc/DCEquipmentContainer.ts +0 -8
- package/src/model/dc/DCLine.ts +0 -56
- package/src/model/dc/DCLineSegment.ts +0 -81
- package/src/model/dc/DCNode.ts +0 -49
- package/src/model/dc/DCPolarityKind.ts +0 -5
- package/src/model/dc/DCTerminal.ts +0 -45
- package/src/model/dc/VsConverter.ts +0 -48
- package/src/model/dc/VsPpccControlKind.ts +0 -7
- package/src/model/dc/VsQpccControlKind.ts +0 -5
- package/src/model/diagram/Diagram.ts +0 -136
- package/src/model/diagram/DiagramObject.ts +0 -338
- package/src/model/diagram/DiagramObjectPoint.ts +0 -196
- package/src/model/diagram/DiagramStyle.ts +0 -32
- package/src/model/diagram/OrientationKind.ts +0 -4
- package/src/model/domain/ActivePower.ts +0 -14
- package/src/model/domain/AngleDegrees.ts +0 -14
- package/src/model/domain/ApparentPower.ts +0 -14
- package/src/model/domain/Capacitance.ts +0 -15
- package/src/model/domain/CapacitancePerLength.ts +0 -15
- package/src/model/domain/ConductancePerLength.ts +0 -14
- package/src/model/domain/CurrentFlow.ts +0 -14
- package/src/model/domain/Reactance.ts +0 -15
- package/src/model/domain/ReactancePerLength.ts +0 -14
- package/src/model/domain/ReactivePower.ts +0 -14
- package/src/model/domain/Resistance.ts +0 -14
- package/src/model/domain/ResistancePerLength.ts +0 -14
- package/src/model/domain/UnitMultiplier.ts +0 -13
- package/src/model/domain/UnitSymbol.ts +0 -30
- package/src/model/domain/Voltage.ts +0 -14
- package/src/model/equivalents/EquivalentBranch.ts +0 -203
- package/src/model/equivalents/EquivalentEquipment.ts +0 -8
- package/src/model/extensions/amprion/core/AMPRIONBay.ts +0 -106
- package/src/model/extensions/amprion/core/AMPRIONConnectivityNode.ts +0 -51
- package/src/model/extensions/amprion/model/AmprionModel.ts +0 -92
- package/src/model/extensions/amprion/project/AMPRIONConstructionProject.ts +0 -174
- package/src/model/extensions/amprion/project/AMPRIONConstructionProjectBundle.ts +0 -89
- package/src/model/extensions/amprion/project/AMPRIONConstructionProjectPlan.ts +0 -64
- package/src/model/extensions/amprion/project/AMPRIONErpProject.ts +0 -21
- package/src/model/extensions/amprion/project/AMPRIONErpProjectPhase.ts +0 -89
- package/src/model/extensions/amprion/project/AMPRIONErpProjectStructure.ts +0 -36
- package/src/model/extensions/amprion/project/AMPRIONProjectPriorityKind.ts +0 -5
- package/src/model/extensions/amprion/wires/AMPRIONSeriesCompensator.ts +0 -53
- package/src/model/extensions/enervance/assets/EVImportanceScore.ts +0 -58
- package/src/model/extensions/enervance/core/EVTerminal.ts +0 -63
- package/src/model/extensions/enervance/operations/EVTerminalAction.ts +0 -144
- package/src/model/extensions/neplan-westnetz/assets/WNFacility.ts +0 -121
- package/src/model/extensions/neplan-westnetz/core/WNConnectivityNode.ts +0 -344
- package/src/model/extensions/neplan-westnetz/core/WNFeeder.ts +0 -133
- package/src/model/extensions/neplan-westnetz/faults/WNFaultConnectivityNode.ts +0 -113
- package/src/model/extensions/neplan-westnetz/operations/WNOutage.ts +0 -111
- package/src/model/extensions/neplan-westnetz/wires/WNEnergyConsumer.ts +0 -451
- package/src/model/faults/EquipmentFault.ts +0 -9
- package/src/model/faults/Fault.ts +0 -41
- package/src/model/faults/LineFault.ts +0 -10
- package/src/model/generation/FossilFuel.ts +0 -53
- package/src/model/generation/FuelType.ts +0 -8
- package/src/model/generation/GeneratingUnit.ts +0 -157
- package/src/model/generation/GeneratorControlSource.ts +0 -6
- package/src/model/generation/HydroEnergyConversionKind.ts +0 -4
- package/src/model/generation/HydroGeneratingUnit.ts +0 -14
- package/src/model/generation/HydroPlantStorageKind.ts +0 -5
- package/src/model/generation/HydroPowerPlant.ts +0 -13
- package/src/model/generation/HydroPump.ts +0 -13
- package/src/model/generation/NuclearGeneratingUnit.ts +0 -8
- package/src/model/generation/SolarGeneratingUnit.ts +0 -8
- package/src/model/generation/ThermalGeneratingUnit.ts +0 -42
- package/src/model/generation/WindGenUnitKind.ts +0 -4
- package/src/model/generation/WindGeneratingUnit.ts +0 -84
- package/src/model/loadmodel/ConformLoad.ts +0 -34
- package/src/model/model/Model.ts +0 -1253
- package/src/model/operationallimits/CurrentLimit.ts +0 -92
- package/src/model/operationallimits/ENTSOEOperationalLimitType.ts +0 -5
- package/src/model/operationallimits/LimitTypeKind.ts +0 -9
- package/src/model/operationallimits/OperationalLimit.ts +0 -68
- package/src/model/operationallimits/OperationalLimitDirectionKind.ts +0 -5
- package/src/model/operationallimits/OperationalLimitSet.ts +0 -124
- package/src/model/operationallimits/OperationalLimitType.ts +0 -94
- package/src/model/operations/Outage.ts +0 -68
- package/src/model/operations/SwitchAction.ts +0 -121
- package/src/model/operations/SwitchActionKind.ts +0 -6
- package/src/model/operations/SwitchingAction.ts +0 -43
- package/src/model/operations/SwitchingPlan.ts +0 -141
- package/src/model/operations/UnplannedOutage.ts +0 -9
- package/src/model/statevariables/StateVariable.ts +0 -28
- package/src/model/statevariables/SvPowerFlow.ts +0 -75
- package/src/model/statevariables/SvStatus.ts +0 -51
- package/src/model/statevariables/SvTapStep.ts +0 -54
- package/src/model/statevariables/SvVoltage.ts +0 -74
- package/src/model/topology/TopologicalIsland.ts +0 -57
- package/src/model/topology/TopologicalNode.ts +0 -203
- package/src/model/wires/ACLineSegment.ts +0 -309
- package/src/model/wires/AsynchronousMachine.ts +0 -93
- package/src/model/wires/AsynchronousMachineKind.ts +0 -5
- package/src/model/wires/Breaker.ts +0 -82
- package/src/model/wires/BusbarSection.ts +0 -70
- package/src/model/wires/Clamp.ts +0 -33
- package/src/model/wires/CompositeSwitch.ts +0 -13
- package/src/model/wires/Conductor.ts +0 -55
- package/src/model/wires/Connector.ts +0 -16
- package/src/model/wires/Cut.ts +0 -7
- package/src/model/wires/Disconnector.ts +0 -120
- package/src/model/wires/EarthFaultCompensator.ts +0 -20
- package/src/model/wires/EnergyConsumer.ts +0 -255
- package/src/model/wires/EnergySource.ts +0 -337
- package/src/model/wires/ExternalNetworkInjection.ts +0 -276
- package/src/model/wires/Ground.ts +0 -40
- package/src/model/wires/GroundDisconnector.ts +0 -39
- package/src/model/wires/Jumper.ts +0 -8
- package/src/model/wires/Junction.ts +0 -57
- package/src/model/wires/Line.ts +0 -117
- package/src/model/wires/LoadBreakSwitch.ts +0 -107
- package/src/model/wires/PetersenCoilModeKind.ts +0 -5
- package/src/model/wires/Plant.ts +0 -12
- package/src/model/wires/PowerTransformer.ts +0 -231
- package/src/model/wires/PowerTransformerEnd.ts +0 -168
- package/src/model/wires/ProtectedSwitch.ts +0 -9
- package/src/model/wires/RatioTapChanger.ts +0 -96
- package/src/model/wires/RatioTapChangerTable.ts +0 -35
- package/src/model/wires/RatioTapChangerTablePoint.ts +0 -45
- package/src/model/wires/ReactiveCapabilityCurve.ts +0 -35
- package/src/model/wires/Recloser.ts +0 -32
- package/src/model/wires/RegulatingCondEq.ts +0 -67
- package/src/model/wires/RegulatingControl.ts +0 -217
- package/src/model/wires/RegulatingControlModeKind.ts +0 -11
- package/src/model/wires/RotatingMachine.ts +0 -172
- package/src/model/wires/SeriesCompensator.ts +0 -166
- package/src/model/wires/ShortCircuitRotorKind.ts +0 -6
- package/src/model/wires/Switch.ts +0 -230
- package/src/model/wires/SynchronousMachine.ts +0 -267
- package/src/model/wires/SynchronousMachineKind.ts +0 -9
- package/src/model/wires/SynchronousMachineOperatingMode.ts +0 -5
- package/src/model/wires/TapChanger.ts +0 -55
- package/src/model/wires/TapChangerControl.ts +0 -32
- package/src/model/wires/TapChangerTablePoint.ts +0 -41
- package/src/model/wires/TransformerControlMode.ts +0 -4
- package/src/model/wires/TransformerEnd.ts +0 -143
- package/src/model/wires/WindingConnection.ts +0 -9
- package/src/package.json +0 -16
- package/src/util/datatype-converter.ts +0 -48
- package/src/util/sparql/sparql-building-block.ts +0 -43
- package/src/util/sparql/sparql-utils.ts +0 -150
- package/src/util/util-create.ts +0 -148
- package/src/util/util-search.ts +0 -40
- package/src/util/util-topology.ts +0 -175
- package/src/util/utils.ts +0 -255
- package/src/util/xml/utils.parser.ts +0 -29
- package/src/util/xml/xml.parser.ts +0 -107
- package/src/util/xml/xml.serializer.ts +0 -245
- package/test/apache-jena-fuseki-interface/apache-jena-fuseki-neplan-1.tests.sp-ec.ts +0 -838
- package/test/apache-jena-fuseki-interface/apache-jena-fuseki-neplan-2.tests.sp-ec.ts +0 -216
- package/test/apache-jena-fuseki-interface/apache-jena-fuseki-neplan-katarina-ruhrau.tests.spec.ts +0 -223
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/LICENSE +0 -617
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/NOTICE +0 -216
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/README +0 -62
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/bin/s-delete +0 -725
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/bin/s-get +0 -725
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/bin/s-head +0 -725
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/bin/s-post +0 -725
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/bin/s-put +0 -725
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/bin/s-query +0 -725
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/bin/s-update +0 -725
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/bin/s-update-form +0 -725
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/bin/soh +0 -725
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/fuseki +0 -512
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/fuseki-backup +0 -34
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/fuseki-server +0 -95
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/fuseki-server.bat +0 -28
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/fuseki-server.jar +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/fuseki.service +0 -59
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/fuseki.war +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/config.ttl +0 -30
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/configuration/test.ttl +0 -50
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/shiro.ini +0 -38
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/GOSP.dat +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/GOSP.idn +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/GPOS.dat +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/GPOS.idn +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/GSPO.dat +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/GSPO.idn +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/OSP.dat +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/OSP.idn +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/OSPG.dat +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/OSPG.idn +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/POS.dat +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/POS.idn +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/POSG.dat +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/POSG.idn +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/SPO.dat +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/SPO.idn +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/SPOG.dat +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/SPOG.idn +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/journal.jrnl +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/node2id.dat +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/node2id.idn +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/nodes.dat +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/prefix2id.dat +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/prefix2id.idn +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/prefixIdx.dat +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/prefixIdx.idn +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/prefixes.dat +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/tdb.cfg +0 -32
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/templates/config-mem +0 -27
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/templates/config-service +0 -23
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/templates/config-tdb +0 -31
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/templates/config-tdb-dir +0 -30
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/templates/config-tdb-mem +0 -30
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/templates/config-tdb2 +0 -31
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/templates/config-tdb2-dir +0 -30
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/templates/config-tdb2-mem +0 -30
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/WEB-INF/web.xml +0 -332
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/admin-logs.html +0 -73
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/css/bootstrap-select.min.css +0 -7
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/css/bootstrap-theme.css.map +0 -1
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/css/bootstrap-theme.min.css +0 -7
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/css/bootstrap.css.map +0 -1
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/css/bootstrap.min.css +0 -7
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/css/codemirror.css +0 -301
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/css/codemirror.min.css +0 -1
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/css/font-awesome.min.css +0 -4
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/css/fui.css +0 -191
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/css/jquery.dataTables.css +0 -220
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/css/jquery.fileupload-noscript.css +0 -22
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/css/jquery.fileupload-ui-noscript.css +0 -17
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/css/jquery.fileupload-ui.css +0 -57
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/css/jquery.fileupload.css +0 -36
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/css/pivot.min.css +0 -1
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/css/qonsole.css +0 -172
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/css/yasqe.min.css +0 -1
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/css/yasr.min.css +0 -1
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/dataset.html +0 -247
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/documentation.html +0 -83
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/fonts/FontAwesome.otf +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/fonts/fontawesome-webfont.eot +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/fonts/fontawesome-webfont.svg +0 -504
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/fonts/fontawesome-webfont.ttf +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/fonts/fontawesome-webfont.woff +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/fonts/glyphicons-halflings-regular.eot +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/fonts/glyphicons-halflings-regular.svg +0 -229
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/fonts/glyphicons-halflings-regular.ttf +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/fonts/glyphicons-halflings-regular.woff +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/images/back_disabled.png +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/images/back_enabled.png +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/images/back_enabled_hover.png +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/images/favicon.ico +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/images/forward_disabled.png +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/images/forward_enabled.png +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/images/forward_enabled_hover.png +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/images/jena-logo-notext-small.png +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/images/sort_asc.png +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/images/sort_asc_disabled.png +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/images/sort_both.png +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/images/sort_desc.png +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/images/sort_desc_disabled.png +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/images/wait30.gif +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/index.html +0 -101
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/controllers/dataset-controller.js +0 -69
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/controllers/index-controller.js +0 -50
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/controllers/manage-controller.js +0 -39
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/controllers/query-controller.js +0 -72
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/controllers/upload-controller.js +0 -42
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/controllers/validation-controller.js +0 -38
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/fui.js +0 -33
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/main.dataset.js +0 -31
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/main.index.js +0 -24
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/main.manage.js +0 -27
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/main.validation.js +0 -24
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/models/dataset-stats.js +0 -102
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/models/dataset.js +0 -262
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/models/fuseki-server.js +0 -180
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/models/task.js +0 -105
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/models/validation-options.js +0 -85
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/qonsole-config.js +0 -27
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/services/ping-service.js +0 -54
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/services/validation-service.js +0 -98
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/templates/dataset-edit.tpl +0 -58
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/templates/dataset-info.tpl +0 -40
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/templates/dataset-management.tpl +0 -62
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/templates/dataset-selection-list.tpl +0 -22
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/templates/dataset-selector.tpl +0 -15
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/templates/dataset-simple-create.tpl +0 -85
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/templates/dataset-stats.tpl +0 -14
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/templates/file-upload.tpl +0 -46
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/templates/uploadable-file.tpl +0 -23
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/util/page-utils.js +0 -33
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/views/dataset-edit.js +0 -205
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/views/dataset-info.js +0 -76
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/views/dataset-management.js +0 -173
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/views/dataset-selection-list.js +0 -58
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/views/dataset-selector.js +0 -84
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/views/dataset-simple-create.js +0 -102
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/views/dataset-stats.js +0 -41
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/views/datasets-dropdown-list.js +0 -43
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/views/file-upload.js +0 -225
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/views/tabbed-view-manager.js +0 -63
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/views/uploadable-file.js +0 -39
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/views/validation-options.js +0 -54
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/common-config.js +0 -94
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/addon/fold/brace-fold.js +0 -105
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/addon/fold/comment-fold.js +0 -57
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/addon/fold/foldcode.js +0 -145
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/addon/fold/foldgutter.js +0 -134
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/addon/fold/xml-fold.js +0 -181
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/backbone-min.js +0 -2
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/backbone.js +0 -1581
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/backbone.marionette.js +0 -2385
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/bootstrap-select.min.js +0 -8
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/bootstrap.min.js +0 -6
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/html5shiv.js +0 -8
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/jquery-1.10.2.js +0 -9789
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/jquery-1.10.2.min.js +0 -6
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/jquery-ui.min.js +0 -7
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/jquery.dataTables.min.js +0 -157
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/jquery.fileupload.js +0 -1426
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/jquery.fileupload.local.js +0 -1428
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/jquery.form.js +0 -1278
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/jquery.iframe-transport.js +0 -214
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/jquery.ui.widget.js +0 -530
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/jquery.xdomainrequest.js +0 -90
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/lib/codemirror.js +0 -7638
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/mode/javascript/javascript.js +0 -683
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/mode/sparql/sparql.js +0 -160
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/mode/turtle/turtle.js +0 -160
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/mode/xml/xml.js +0 -384
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/pivot.js +0 -1363
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/pivot.min.js +0 -2
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/pivot.min.js.map +0 -1
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/plugins/text.js +0 -386
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/qonsole.js +0 -577
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/refresh.sh +0 -21
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/require.js +0 -2076
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/require.min.js +0 -36
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/respond.min.js +0 -6
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/sprintf-0.7-beta1.js +0 -183
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/underscore.js +0 -1276
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/yasqe.min.js +0 -9
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/yasqe.min.js.map +0 -1
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/yasr.min.js +0 -8
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/yasr.min.js.map +0 -1
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/manage.html +0 -110
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/services.html +0 -76
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/test/test-fuseki-config.ttl +0 -27
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/validate.html +0 -147
- package/test/apache-jena-fuseki-interface/data/json/PersistData.json +0 -111
- package/test/apache-jena-fuseki-interface/data/xml/AssetHealthEvent.xml +0 -45
- package/test/apache-jena-fuseki-interface/data/xml/AssetOwner.xml +0 -11
- package/test/apache-jena-fuseki-interface/data/xml/Outages.xml +0 -69
- package/test/apache-jena-fuseki-interface/data/xml/PsrType.xml +0 -80
- package/test/apache-jena-fuseki-interface/data/xml/finnentrop/Finnentrop_Rootnet_Area 1_EQ_V1.xml +0 -20867
- package/test/apache-jena-fuseki-interface/data/xml/finnentrop/Finnentrop_Rootnet_Area 1_SSH_V1.xml +0 -3784
- package/test/apache-jena-fuseki-interface/data/xml/neplan-eslohe/Eslohe_Rootnet_Area_1_EQ_V1.xml +0 -15755
- package/test/apache-jena-fuseki-interface/data/xml/neplan-eslohe/Eslohe_Rootnet_Area_1_EQ_V1_feeder_ext.xml +0 -54
- package/test/apache-jena-fuseki-interface/data/xml/neplan-eslohe/Eslohe_Rootnet_Area_1_SSH_V1.xml +0 -2796
- package/test/apache-jena-fuseki-interface/data/xml/ruhrau-katharina/Ruhrau_Katharina_Rootnet_Area 1_EQ_V1.xml +0 -42569
- package/test/apache-jena-fuseki-interface/data/xml/ruhrau-katharina/Ruhrau_Katharina_Rootnet_Area 1_SSH_V1.xml +0 -10108
- package/test/apache-jena-fuseki-interface/data/xml/ruhrau-katharina/Ruhrau_Katharina_Rootnet_Area 1_SV_V1.xml +0 -6234
- package/test/apache-jena-fuseki-interface/data/xml-rdf-data.xml +0 -84
- package/test/cim-xml-rdf-parser/cim-xml-rdf-parser.tests.spec.ts +0 -23
- package/test/cim-xml-rdf-parser/data/rdfxml_serialisation.xml +0 -192
- package/test/integral7-converter/integral7-converter.tests.spec.ts +0 -195
- package/test/power-system-data-model-converter/data/fixed_feed_in_input.csv +0 -72
- package/test/power-system-data-model-converter/data/line_input.csv +0 -1910
- package/test/power-system-data-model-converter/data/line_type_input.csv +0 -5
- package/test/power-system-data-model-converter/data/load_input.csv +0 -1829
- package/test/power-system-data-model-converter/data/node_input.csv +0 -2835
- package/test/power-system-data-model-converter/data/time_series_mapping.csv +0 -878
- package/test/power-system-data-model-converter/data/transformer_2_w_input.csv +0 -1047
- package/test/power-system-data-model-converter/data/transformer_2_w_type_input.csv +0 -5
- package/test/power-system-data-model-converter/power-system-data-model-converter.tests.spec.ts +0 -310
- package/tsconfig.json +0 -24
- package/webpack.config.js +0 -24
|
@@ -1,530 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* jQuery UI Widget 1.10.4+amd
|
|
3
|
-
* https://github.com/blueimp/jQuery-File-Upload
|
|
4
|
-
*
|
|
5
|
-
* Copyright 2014 jQuery Foundation and other contributors
|
|
6
|
-
* Released under the MIT license.
|
|
7
|
-
* http://jquery.org/license
|
|
8
|
-
*
|
|
9
|
-
* http://api.jqueryui.com/jQuery.widget/
|
|
10
|
-
*/
|
|
11
|
-
|
|
12
|
-
(function (factory) {
|
|
13
|
-
if (typeof define === "function" && define.amd) {
|
|
14
|
-
// Register as an anonymous AMD module:
|
|
15
|
-
define(["jquery"], factory);
|
|
16
|
-
} else {
|
|
17
|
-
// Browser globals:
|
|
18
|
-
factory(jQuery);
|
|
19
|
-
}
|
|
20
|
-
}(function( $, undefined ) {
|
|
21
|
-
|
|
22
|
-
var uuid = 0,
|
|
23
|
-
slice = Array.prototype.slice,
|
|
24
|
-
_cleanData = $.cleanData;
|
|
25
|
-
$.cleanData = function( elems ) {
|
|
26
|
-
for ( var i = 0, elem; (elem = elems[i]) != null; i++ ) {
|
|
27
|
-
try {
|
|
28
|
-
$( elem ).triggerHandler( "remove" );
|
|
29
|
-
// http://bugs.jquery.com/ticket/8235
|
|
30
|
-
} catch( e ) {}
|
|
31
|
-
}
|
|
32
|
-
_cleanData( elems );
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
$.widget = function( name, base, prototype ) {
|
|
36
|
-
var fullName, existingConstructor, constructor, basePrototype,
|
|
37
|
-
// proxiedPrototype allows the provided prototype to remain unmodified
|
|
38
|
-
// so that it can be used as a mixin for multiple widgets (#8876)
|
|
39
|
-
proxiedPrototype = {},
|
|
40
|
-
namespace = name.split( "." )[ 0 ];
|
|
41
|
-
|
|
42
|
-
name = name.split( "." )[ 1 ];
|
|
43
|
-
fullName = namespace + "-" + name;
|
|
44
|
-
|
|
45
|
-
if ( !prototype ) {
|
|
46
|
-
prototype = base;
|
|
47
|
-
base = $.Widget;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
// create selector for plugin
|
|
51
|
-
$.expr[ ":" ][ fullName.toLowerCase() ] = function( elem ) {
|
|
52
|
-
return !!$.data( elem, fullName );
|
|
53
|
-
};
|
|
54
|
-
|
|
55
|
-
$[ namespace ] = $[ namespace ] || {};
|
|
56
|
-
existingConstructor = $[ namespace ][ name ];
|
|
57
|
-
constructor = $[ namespace ][ name ] = function( options, element ) {
|
|
58
|
-
// allow instantiation without "new" keyword
|
|
59
|
-
if ( !this._createWidget ) {
|
|
60
|
-
return new constructor( options, element );
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
// allow instantiation without initializing for simple inheritance
|
|
64
|
-
// must use "new" keyword (the code above always passes args)
|
|
65
|
-
if ( arguments.length ) {
|
|
66
|
-
this._createWidget( options, element );
|
|
67
|
-
}
|
|
68
|
-
};
|
|
69
|
-
// extend with the existing constructor to carry over any static properties
|
|
70
|
-
$.extend( constructor, existingConstructor, {
|
|
71
|
-
version: prototype.version,
|
|
72
|
-
// copy the object used to create the prototype in case we need to
|
|
73
|
-
// redefine the widget later
|
|
74
|
-
_proto: $.extend( {}, prototype ),
|
|
75
|
-
// track widgets that inherit from this widget in case this widget is
|
|
76
|
-
// redefined after a widget inherits from it
|
|
77
|
-
_childConstructors: []
|
|
78
|
-
});
|
|
79
|
-
|
|
80
|
-
basePrototype = new base();
|
|
81
|
-
// we need to make the options hash a property directly on the new instance
|
|
82
|
-
// otherwise we'll modify the options hash on the prototype that we're
|
|
83
|
-
// inheriting from
|
|
84
|
-
basePrototype.options = $.widget.extend( {}, basePrototype.options );
|
|
85
|
-
$.each( prototype, function( prop, value ) {
|
|
86
|
-
if ( !$.isFunction( value ) ) {
|
|
87
|
-
proxiedPrototype[ prop ] = value;
|
|
88
|
-
return;
|
|
89
|
-
}
|
|
90
|
-
proxiedPrototype[ prop ] = (function() {
|
|
91
|
-
var _super = function() {
|
|
92
|
-
return base.prototype[ prop ].apply( this, arguments );
|
|
93
|
-
},
|
|
94
|
-
_superApply = function( args ) {
|
|
95
|
-
return base.prototype[ prop ].apply( this, args );
|
|
96
|
-
};
|
|
97
|
-
return function() {
|
|
98
|
-
var __super = this._super,
|
|
99
|
-
__superApply = this._superApply,
|
|
100
|
-
returnValue;
|
|
101
|
-
|
|
102
|
-
this._super = _super;
|
|
103
|
-
this._superApply = _superApply;
|
|
104
|
-
|
|
105
|
-
returnValue = value.apply( this, arguments );
|
|
106
|
-
|
|
107
|
-
this._super = __super;
|
|
108
|
-
this._superApply = __superApply;
|
|
109
|
-
|
|
110
|
-
return returnValue;
|
|
111
|
-
};
|
|
112
|
-
})();
|
|
113
|
-
});
|
|
114
|
-
constructor.prototype = $.widget.extend( basePrototype, {
|
|
115
|
-
// TODO: remove support for widgetEventPrefix
|
|
116
|
-
// always use the name + a colon as the prefix, e.g., draggable:start
|
|
117
|
-
// don't prefix for widgets that aren't DOM-based
|
|
118
|
-
widgetEventPrefix: existingConstructor ? (basePrototype.widgetEventPrefix || name) : name
|
|
119
|
-
}, proxiedPrototype, {
|
|
120
|
-
constructor: constructor,
|
|
121
|
-
namespace: namespace,
|
|
122
|
-
widgetName: name,
|
|
123
|
-
widgetFullName: fullName
|
|
124
|
-
});
|
|
125
|
-
|
|
126
|
-
// If this widget is being redefined then we need to find all widgets that
|
|
127
|
-
// are inheriting from it and redefine all of them so that they inherit from
|
|
128
|
-
// the new version of this widget. We're essentially trying to replace one
|
|
129
|
-
// level in the prototype chain.
|
|
130
|
-
if ( existingConstructor ) {
|
|
131
|
-
$.each( existingConstructor._childConstructors, function( i, child ) {
|
|
132
|
-
var childPrototype = child.prototype;
|
|
133
|
-
|
|
134
|
-
// redefine the child widget using the same prototype that was
|
|
135
|
-
// originally used, but inherit from the new version of the base
|
|
136
|
-
$.widget( childPrototype.namespace + "." + childPrototype.widgetName, constructor, child._proto );
|
|
137
|
-
});
|
|
138
|
-
// remove the list of existing child constructors from the old constructor
|
|
139
|
-
// so the old child constructors can be garbage collected
|
|
140
|
-
delete existingConstructor._childConstructors;
|
|
141
|
-
} else {
|
|
142
|
-
base._childConstructors.push( constructor );
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
$.widget.bridge( name, constructor );
|
|
146
|
-
};
|
|
147
|
-
|
|
148
|
-
$.widget.extend = function( target ) {
|
|
149
|
-
var input = slice.call( arguments, 1 ),
|
|
150
|
-
inputIndex = 0,
|
|
151
|
-
inputLength = input.length,
|
|
152
|
-
key,
|
|
153
|
-
value;
|
|
154
|
-
for ( ; inputIndex < inputLength; inputIndex++ ) {
|
|
155
|
-
for ( key in input[ inputIndex ] ) {
|
|
156
|
-
value = input[ inputIndex ][ key ];
|
|
157
|
-
if ( input[ inputIndex ].hasOwnProperty( key ) && value !== undefined ) {
|
|
158
|
-
// Clone objects
|
|
159
|
-
if ( $.isPlainObject( value ) ) {
|
|
160
|
-
target[ key ] = $.isPlainObject( target[ key ] ) ?
|
|
161
|
-
$.widget.extend( {}, target[ key ], value ) :
|
|
162
|
-
// Don't extend strings, arrays, etc. with objects
|
|
163
|
-
$.widget.extend( {}, value );
|
|
164
|
-
// Copy everything else by reference
|
|
165
|
-
} else {
|
|
166
|
-
target[ key ] = value;
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
return target;
|
|
172
|
-
};
|
|
173
|
-
|
|
174
|
-
$.widget.bridge = function( name, object ) {
|
|
175
|
-
var fullName = object.prototype.widgetFullName || name;
|
|
176
|
-
$.fn[ name ] = function( options ) {
|
|
177
|
-
var isMethodCall = typeof options === "string",
|
|
178
|
-
args = slice.call( arguments, 1 ),
|
|
179
|
-
returnValue = this;
|
|
180
|
-
|
|
181
|
-
// allow multiple hashes to be passed on init
|
|
182
|
-
options = !isMethodCall && args.length ?
|
|
183
|
-
$.widget.extend.apply( null, [ options ].concat(args) ) :
|
|
184
|
-
options;
|
|
185
|
-
|
|
186
|
-
if ( isMethodCall ) {
|
|
187
|
-
this.each(function() {
|
|
188
|
-
var methodValue,
|
|
189
|
-
instance = $.data( this, fullName );
|
|
190
|
-
if ( !instance ) {
|
|
191
|
-
return $.error( "cannot call methods on " + name + " prior to initialization; " +
|
|
192
|
-
"attempted to call method '" + options + "'" );
|
|
193
|
-
}
|
|
194
|
-
if ( !$.isFunction( instance[options] ) || options.charAt( 0 ) === "_" ) {
|
|
195
|
-
return $.error( "no such method '" + options + "' for " + name + " widget instance" );
|
|
196
|
-
}
|
|
197
|
-
methodValue = instance[ options ].apply( instance, args );
|
|
198
|
-
if ( methodValue !== instance && methodValue !== undefined ) {
|
|
199
|
-
returnValue = methodValue && methodValue.jquery ?
|
|
200
|
-
returnValue.pushStack( methodValue.get() ) :
|
|
201
|
-
methodValue;
|
|
202
|
-
return false;
|
|
203
|
-
}
|
|
204
|
-
});
|
|
205
|
-
} else {
|
|
206
|
-
this.each(function() {
|
|
207
|
-
var instance = $.data( this, fullName );
|
|
208
|
-
if ( instance ) {
|
|
209
|
-
instance.option( options || {} )._init();
|
|
210
|
-
} else {
|
|
211
|
-
$.data( this, fullName, new object( options, this ) );
|
|
212
|
-
}
|
|
213
|
-
});
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
return returnValue;
|
|
217
|
-
};
|
|
218
|
-
};
|
|
219
|
-
|
|
220
|
-
$.Widget = function( /* options, element */ ) {};
|
|
221
|
-
$.Widget._childConstructors = [];
|
|
222
|
-
|
|
223
|
-
$.Widget.prototype = {
|
|
224
|
-
widgetName: "widget",
|
|
225
|
-
widgetEventPrefix: "",
|
|
226
|
-
defaultElement: "<div>",
|
|
227
|
-
options: {
|
|
228
|
-
disabled: false,
|
|
229
|
-
|
|
230
|
-
// callbacks
|
|
231
|
-
create: null
|
|
232
|
-
},
|
|
233
|
-
_createWidget: function( options, element ) {
|
|
234
|
-
element = $( element || this.defaultElement || this )[ 0 ];
|
|
235
|
-
this.element = $( element );
|
|
236
|
-
this.uuid = uuid++;
|
|
237
|
-
this.eventNamespace = "." + this.widgetName + this.uuid;
|
|
238
|
-
this.options = $.widget.extend( {},
|
|
239
|
-
this.options,
|
|
240
|
-
this._getCreateOptions(),
|
|
241
|
-
options );
|
|
242
|
-
|
|
243
|
-
this.bindings = $();
|
|
244
|
-
this.hoverable = $();
|
|
245
|
-
this.focusable = $();
|
|
246
|
-
|
|
247
|
-
if ( element !== this ) {
|
|
248
|
-
$.data( element, this.widgetFullName, this );
|
|
249
|
-
this._on( true, this.element, {
|
|
250
|
-
remove: function( event ) {
|
|
251
|
-
if ( event.target === element ) {
|
|
252
|
-
this.destroy();
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
});
|
|
256
|
-
this.document = $( element.style ?
|
|
257
|
-
// element within the document
|
|
258
|
-
element.ownerDocument :
|
|
259
|
-
// element is window or document
|
|
260
|
-
element.document || element );
|
|
261
|
-
this.window = $( this.document[0].defaultView || this.document[0].parentWindow );
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
this._create();
|
|
265
|
-
this._trigger( "create", null, this._getCreateEventData() );
|
|
266
|
-
this._init();
|
|
267
|
-
},
|
|
268
|
-
_getCreateOptions: $.noop,
|
|
269
|
-
_getCreateEventData: $.noop,
|
|
270
|
-
_create: $.noop,
|
|
271
|
-
_init: $.noop,
|
|
272
|
-
|
|
273
|
-
destroy: function() {
|
|
274
|
-
this._destroy();
|
|
275
|
-
// we can probably remove the unbind calls in 2.0
|
|
276
|
-
// all event bindings should go through this._on()
|
|
277
|
-
this.element
|
|
278
|
-
.unbind( this.eventNamespace )
|
|
279
|
-
// 1.9 BC for #7810
|
|
280
|
-
// TODO remove dual storage
|
|
281
|
-
.removeData( this.widgetName )
|
|
282
|
-
.removeData( this.widgetFullName )
|
|
283
|
-
// support: jquery <1.6.3
|
|
284
|
-
// http://bugs.jquery.com/ticket/9413
|
|
285
|
-
.removeData( $.camelCase( this.widgetFullName ) );
|
|
286
|
-
this.widget()
|
|
287
|
-
.unbind( this.eventNamespace )
|
|
288
|
-
.removeAttr( "aria-disabled" )
|
|
289
|
-
.removeClass(
|
|
290
|
-
this.widgetFullName + "-disabled " +
|
|
291
|
-
"ui-state-disabled" );
|
|
292
|
-
|
|
293
|
-
// clean up events and states
|
|
294
|
-
this.bindings.unbind( this.eventNamespace );
|
|
295
|
-
this.hoverable.removeClass( "ui-state-hover" );
|
|
296
|
-
this.focusable.removeClass( "ui-state-focus" );
|
|
297
|
-
},
|
|
298
|
-
_destroy: $.noop,
|
|
299
|
-
|
|
300
|
-
widget: function() {
|
|
301
|
-
return this.element;
|
|
302
|
-
},
|
|
303
|
-
|
|
304
|
-
option: function( key, value ) {
|
|
305
|
-
var options = key,
|
|
306
|
-
parts,
|
|
307
|
-
curOption,
|
|
308
|
-
i;
|
|
309
|
-
|
|
310
|
-
if ( arguments.length === 0 ) {
|
|
311
|
-
// don't return a reference to the internal hash
|
|
312
|
-
return $.widget.extend( {}, this.options );
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
if ( typeof key === "string" ) {
|
|
316
|
-
// handle nested keys, e.g., "foo.bar" => { foo: { bar: ___ } }
|
|
317
|
-
options = {};
|
|
318
|
-
parts = key.split( "." );
|
|
319
|
-
key = parts.shift();
|
|
320
|
-
if ( parts.length ) {
|
|
321
|
-
curOption = options[ key ] = $.widget.extend( {}, this.options[ key ] );
|
|
322
|
-
for ( i = 0; i < parts.length - 1; i++ ) {
|
|
323
|
-
curOption[ parts[ i ] ] = curOption[ parts[ i ] ] || {};
|
|
324
|
-
curOption = curOption[ parts[ i ] ];
|
|
325
|
-
}
|
|
326
|
-
key = parts.pop();
|
|
327
|
-
if ( arguments.length === 1 ) {
|
|
328
|
-
return curOption[ key ] === undefined ? null : curOption[ key ];
|
|
329
|
-
}
|
|
330
|
-
curOption[ key ] = value;
|
|
331
|
-
} else {
|
|
332
|
-
if ( arguments.length === 1 ) {
|
|
333
|
-
return this.options[ key ] === undefined ? null : this.options[ key ];
|
|
334
|
-
}
|
|
335
|
-
options[ key ] = value;
|
|
336
|
-
}
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
this._setOptions( options );
|
|
340
|
-
|
|
341
|
-
return this;
|
|
342
|
-
},
|
|
343
|
-
_setOptions: function( options ) {
|
|
344
|
-
var key;
|
|
345
|
-
|
|
346
|
-
for ( key in options ) {
|
|
347
|
-
this._setOption( key, options[ key ] );
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
return this;
|
|
351
|
-
},
|
|
352
|
-
_setOption: function( key, value ) {
|
|
353
|
-
this.options[ key ] = value;
|
|
354
|
-
|
|
355
|
-
if ( key === "disabled" ) {
|
|
356
|
-
this.widget()
|
|
357
|
-
.toggleClass( this.widgetFullName + "-disabled ui-state-disabled", !!value )
|
|
358
|
-
.attr( "aria-disabled", value );
|
|
359
|
-
this.hoverable.removeClass( "ui-state-hover" );
|
|
360
|
-
this.focusable.removeClass( "ui-state-focus" );
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
return this;
|
|
364
|
-
},
|
|
365
|
-
|
|
366
|
-
enable: function() {
|
|
367
|
-
return this._setOption( "disabled", false );
|
|
368
|
-
},
|
|
369
|
-
disable: function() {
|
|
370
|
-
return this._setOption( "disabled", true );
|
|
371
|
-
},
|
|
372
|
-
|
|
373
|
-
_on: function( suppressDisabledCheck, element, handlers ) {
|
|
374
|
-
var delegateElement,
|
|
375
|
-
instance = this;
|
|
376
|
-
|
|
377
|
-
// no suppressDisabledCheck flag, shuffle arguments
|
|
378
|
-
if ( typeof suppressDisabledCheck !== "boolean" ) {
|
|
379
|
-
handlers = element;
|
|
380
|
-
element = suppressDisabledCheck;
|
|
381
|
-
suppressDisabledCheck = false;
|
|
382
|
-
}
|
|
383
|
-
|
|
384
|
-
// no element argument, shuffle and use this.element
|
|
385
|
-
if ( !handlers ) {
|
|
386
|
-
handlers = element;
|
|
387
|
-
element = this.element;
|
|
388
|
-
delegateElement = this.widget();
|
|
389
|
-
} else {
|
|
390
|
-
// accept selectors, DOM elements
|
|
391
|
-
element = delegateElement = $( element );
|
|
392
|
-
this.bindings = this.bindings.add( element );
|
|
393
|
-
}
|
|
394
|
-
|
|
395
|
-
$.each( handlers, function( event, handler ) {
|
|
396
|
-
function handlerProxy() {
|
|
397
|
-
// allow widgets to customize the disabled handling
|
|
398
|
-
// - disabled as an array instead of boolean
|
|
399
|
-
// - disabled class as method for disabling individual parts
|
|
400
|
-
if ( !suppressDisabledCheck &&
|
|
401
|
-
( instance.options.disabled === true ||
|
|
402
|
-
$( this ).hasClass( "ui-state-disabled" ) ) ) {
|
|
403
|
-
return;
|
|
404
|
-
}
|
|
405
|
-
return ( typeof handler === "string" ? instance[ handler ] : handler )
|
|
406
|
-
.apply( instance, arguments );
|
|
407
|
-
}
|
|
408
|
-
|
|
409
|
-
// copy the guid so direct unbinding works
|
|
410
|
-
if ( typeof handler !== "string" ) {
|
|
411
|
-
handlerProxy.guid = handler.guid =
|
|
412
|
-
handler.guid || handlerProxy.guid || $.guid++;
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
var match = event.match( /^(\w+)\s*(.*)$/ ),
|
|
416
|
-
eventName = match[1] + instance.eventNamespace,
|
|
417
|
-
selector = match[2];
|
|
418
|
-
if ( selector ) {
|
|
419
|
-
delegateElement.delegate( selector, eventName, handlerProxy );
|
|
420
|
-
} else {
|
|
421
|
-
element.bind( eventName, handlerProxy );
|
|
422
|
-
}
|
|
423
|
-
});
|
|
424
|
-
},
|
|
425
|
-
|
|
426
|
-
_off: function( element, eventName ) {
|
|
427
|
-
eventName = (eventName || "").split( " " ).join( this.eventNamespace + " " ) + this.eventNamespace;
|
|
428
|
-
element.unbind( eventName ).undelegate( eventName );
|
|
429
|
-
},
|
|
430
|
-
|
|
431
|
-
_delay: function( handler, delay ) {
|
|
432
|
-
function handlerProxy() {
|
|
433
|
-
return ( typeof handler === "string" ? instance[ handler ] : handler )
|
|
434
|
-
.apply( instance, arguments );
|
|
435
|
-
}
|
|
436
|
-
var instance = this;
|
|
437
|
-
return setTimeout( handlerProxy, delay || 0 );
|
|
438
|
-
},
|
|
439
|
-
|
|
440
|
-
_hoverable: function( element ) {
|
|
441
|
-
this.hoverable = this.hoverable.add( element );
|
|
442
|
-
this._on( element, {
|
|
443
|
-
mouseenter: function( event ) {
|
|
444
|
-
$( event.currentTarget ).addClass( "ui-state-hover" );
|
|
445
|
-
},
|
|
446
|
-
mouseleave: function( event ) {
|
|
447
|
-
$( event.currentTarget ).removeClass( "ui-state-hover" );
|
|
448
|
-
}
|
|
449
|
-
});
|
|
450
|
-
},
|
|
451
|
-
|
|
452
|
-
_focusable: function( element ) {
|
|
453
|
-
this.focusable = this.focusable.add( element );
|
|
454
|
-
this._on( element, {
|
|
455
|
-
focusin: function( event ) {
|
|
456
|
-
$( event.currentTarget ).addClass( "ui-state-focus" );
|
|
457
|
-
},
|
|
458
|
-
focusout: function( event ) {
|
|
459
|
-
$( event.currentTarget ).removeClass( "ui-state-focus" );
|
|
460
|
-
}
|
|
461
|
-
});
|
|
462
|
-
},
|
|
463
|
-
|
|
464
|
-
_trigger: function( type, event, data ) {
|
|
465
|
-
var prop, orig,
|
|
466
|
-
callback = this.options[ type ];
|
|
467
|
-
|
|
468
|
-
data = data || {};
|
|
469
|
-
event = $.Event( event );
|
|
470
|
-
event.type = ( type === this.widgetEventPrefix ?
|
|
471
|
-
type :
|
|
472
|
-
this.widgetEventPrefix + type ).toLowerCase();
|
|
473
|
-
// the original event may come from any element
|
|
474
|
-
// so we need to reset the target on the new event
|
|
475
|
-
event.target = this.element[ 0 ];
|
|
476
|
-
|
|
477
|
-
// copy original event properties over to the new event
|
|
478
|
-
orig = event.originalEvent;
|
|
479
|
-
if ( orig ) {
|
|
480
|
-
for ( prop in orig ) {
|
|
481
|
-
if ( !( prop in event ) ) {
|
|
482
|
-
event[ prop ] = orig[ prop ];
|
|
483
|
-
}
|
|
484
|
-
}
|
|
485
|
-
}
|
|
486
|
-
|
|
487
|
-
this.element.trigger( event, data );
|
|
488
|
-
return !( $.isFunction( callback ) &&
|
|
489
|
-
callback.apply( this.element[0], [ event ].concat( data ) ) === false ||
|
|
490
|
-
event.isDefaultPrevented() );
|
|
491
|
-
}
|
|
492
|
-
};
|
|
493
|
-
|
|
494
|
-
$.each( { show: "fadeIn", hide: "fadeOut" }, function( method, defaultEffect ) {
|
|
495
|
-
$.Widget.prototype[ "_" + method ] = function( element, options, callback ) {
|
|
496
|
-
if ( typeof options === "string" ) {
|
|
497
|
-
options = { effect: options };
|
|
498
|
-
}
|
|
499
|
-
var hasOptions,
|
|
500
|
-
effectName = !options ?
|
|
501
|
-
method :
|
|
502
|
-
options === true || typeof options === "number" ?
|
|
503
|
-
defaultEffect :
|
|
504
|
-
options.effect || defaultEffect;
|
|
505
|
-
options = options || {};
|
|
506
|
-
if ( typeof options === "number" ) {
|
|
507
|
-
options = { duration: options };
|
|
508
|
-
}
|
|
509
|
-
hasOptions = !$.isEmptyObject( options );
|
|
510
|
-
options.complete = callback;
|
|
511
|
-
if ( options.delay ) {
|
|
512
|
-
element.delay( options.delay );
|
|
513
|
-
}
|
|
514
|
-
if ( hasOptions && $.effects && $.effects.effect[ effectName ] ) {
|
|
515
|
-
element[ method ]( options );
|
|
516
|
-
} else if ( effectName !== method && element[ effectName ] ) {
|
|
517
|
-
element[ effectName ]( options.duration, options.easing, callback );
|
|
518
|
-
} else {
|
|
519
|
-
element.queue(function( next ) {
|
|
520
|
-
$( this )[ method ]();
|
|
521
|
-
if ( callback ) {
|
|
522
|
-
callback.call( element[ 0 ] );
|
|
523
|
-
}
|
|
524
|
-
next();
|
|
525
|
-
});
|
|
526
|
-
}
|
|
527
|
-
};
|
|
528
|
-
});
|
|
529
|
-
|
|
530
|
-
}));
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
// jQuery.XDomainRequest.js
|
|
2
|
-
// Author: Jason Moon - @JSONMOON
|
|
3
|
-
// IE8+
|
|
4
|
-
if (!jQuery.support.cors && jQuery.ajaxTransport && window.XDomainRequest) {
|
|
5
|
-
var httpRegEx = /^https?:\/\//i;
|
|
6
|
-
var getOrPostRegEx = /^get|post$/i;
|
|
7
|
-
var sameSchemeRegEx = new RegExp('^'+location.protocol, 'i');
|
|
8
|
-
var htmlRegEx = /text\/html/i;
|
|
9
|
-
var jsonRegEx = /\/json/i;
|
|
10
|
-
var xmlRegEx = /\/xml/i;
|
|
11
|
-
|
|
12
|
-
// ajaxTransport exists in jQuery 1.5+
|
|
13
|
-
jQuery.ajaxTransport('text html xml json', function(options, userOptions, jqXHR){
|
|
14
|
-
// XDomainRequests must be: asynchronous, GET or POST methods, HTTP or HTTPS protocol, and same scheme as calling page
|
|
15
|
-
if (options.crossDomain && options.async && getOrPostRegEx.test(options.type) && httpRegEx.test(options.url) && sameSchemeRegEx.test(options.url)) {
|
|
16
|
-
var xdr = null;
|
|
17
|
-
var userType = (userOptions.dataType||'').toLowerCase();
|
|
18
|
-
return {
|
|
19
|
-
send: function(headers, complete){
|
|
20
|
-
xdr = new XDomainRequest();
|
|
21
|
-
if (/^\d+$/.test(userOptions.timeout)) {
|
|
22
|
-
xdr.timeout = userOptions.timeout;
|
|
23
|
-
}
|
|
24
|
-
xdr.ontimeout = function(){
|
|
25
|
-
complete(500, 'timeout');
|
|
26
|
-
};
|
|
27
|
-
xdr.onload = function(){
|
|
28
|
-
var allResponseHeaders = 'Content-Length: ' + xdr.responseText.length + '\r\nContent-Type: ' + xdr.contentType;
|
|
29
|
-
var status = {
|
|
30
|
-
code: 200,
|
|
31
|
-
message: 'success'
|
|
32
|
-
};
|
|
33
|
-
var responses = {
|
|
34
|
-
text: xdr.responseText
|
|
35
|
-
};
|
|
36
|
-
try {
|
|
37
|
-
if (userType === 'html' || htmlRegEx.test(xdr.contentType)) {
|
|
38
|
-
responses.html = xdr.responseText;
|
|
39
|
-
} else if (userType === 'json' || (userType !== 'text' && jsonRegEx.test(xdr.contentType))) {
|
|
40
|
-
try {
|
|
41
|
-
responses.json = jQuery.parseJSON(xdr.responseText);
|
|
42
|
-
} catch(e) {
|
|
43
|
-
status.code = 500;
|
|
44
|
-
status.message = 'parseerror';
|
|
45
|
-
//throw 'Invalid JSON: ' + xdr.responseText;
|
|
46
|
-
}
|
|
47
|
-
} else if (userType === 'xml' || (userType !== 'text' && xmlRegEx.test(xdr.contentType))) {
|
|
48
|
-
var doc = new ActiveXObject('Microsoft.XMLDOM');
|
|
49
|
-
doc.async = false;
|
|
50
|
-
try {
|
|
51
|
-
doc.loadXML(xdr.responseText);
|
|
52
|
-
} catch(e) {
|
|
53
|
-
doc = undefined;
|
|
54
|
-
}
|
|
55
|
-
if (!doc || !doc.documentElement || doc.getElementsByTagName('parsererror').length) {
|
|
56
|
-
status.code = 500;
|
|
57
|
-
status.message = 'parseerror';
|
|
58
|
-
throw 'Invalid XML: ' + xdr.responseText;
|
|
59
|
-
}
|
|
60
|
-
responses.xml = doc;
|
|
61
|
-
}
|
|
62
|
-
} catch(parseMessage) {
|
|
63
|
-
throw parseMessage;
|
|
64
|
-
} finally {
|
|
65
|
-
complete(status.code, status.message, responses, allResponseHeaders);
|
|
66
|
-
}
|
|
67
|
-
};
|
|
68
|
-
// set an empty handler for 'onprogress' so requests don't get aborted
|
|
69
|
-
xdr.onprogress = function(){};
|
|
70
|
-
xdr.onerror = function(){
|
|
71
|
-
complete(500, 'error', {
|
|
72
|
-
text: xdr.responseText
|
|
73
|
-
});
|
|
74
|
-
};
|
|
75
|
-
var postData = '';
|
|
76
|
-
if (userOptions.data) {
|
|
77
|
-
postData = (jQuery.type(userOptions.data) === 'string') ? userOptions.data : jQuery.param(userOptions.data);
|
|
78
|
-
}
|
|
79
|
-
xdr.open(options.type, options.url);
|
|
80
|
-
xdr.send(postData);
|
|
81
|
-
},
|
|
82
|
-
abort: function(){
|
|
83
|
-
if (xdr) {
|
|
84
|
-
xdr.abort();
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
};
|
|
88
|
-
}
|
|
89
|
-
});
|
|
90
|
-
}
|