node-opcua-address-space 2.183.1 → 2.184.0
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/api/helpers/adjust_browse_direction.ts +1 -1
- package/api/helpers/argument_list.ts +9 -9
- package/api/helpers/coerce_enum_value.ts +1 -0
- package/api/helpers/dump_tools.ts +1 -1
- package/api/index.ts +2 -1
- package/api/interfaces/data_access/ua_multistate_discrete_ex.ts +1 -1
- package/api/interfaces/nodeset_loader_options.ts +17 -0
- package/api/loader/decode_xml_extension_object.ts +1 -1
- package/api/loader/ensure_datatype_extracted.ts +73 -37
- package/api/loader/generateAddressSpaceRaw.ts +32 -22
- package/api/loader/load_nodeset2.ts +2 -2
- package/api/loader/namespace_post_step.ts +1 -1
- package/api/loader/narrow_instance_datatypes.ts +22 -9
- package/api/loader/nodeset_image_codec.ts +26 -12
- package/api/loader/nodeset_record_applier.ts +1 -1
- package/api/loader/nodeset_xml_producer.ts +8 -6
- package/api/loader/parsers/extension_object_parser.ts +3 -3
- package/api/pseudo_session.ts +1 -1
- package/bin/{nodeset_equivalence.js → nodeset_equivalence.cjs} +1 -1
- package/bin/{opcua-nodeset-image.js → opcua-nodeset-image.cjs} +1 -1
- package/bin/{opcua-nodeset-live.js → opcua-nodeset-live.cjs} +2 -2
- package/dist/api/address_space_public.d.ts +1 -0
- package/dist/api/address_space_public.d.ts.map +1 -0
- package/dist/api/address_space_public.js +2 -5
- package/dist/api/address_space_public.js.map +1 -1
- package/dist/api/address_space_ts.d.ts +1 -0
- package/dist/api/address_space_ts.d.ts.map +1 -0
- package/dist/api/address_space_ts.js +2 -5
- package/dist/api/address_space_ts.js.map +1 -1
- package/dist/api/continuation_points/continuation_point_manager.d.ts +1 -0
- package/dist/api/continuation_points/continuation_point_manager.d.ts.map +1 -0
- package/dist/api/continuation_points/continuation_point_manager.js +13 -17
- package/dist/api/continuation_points/continuation_point_manager.js.map +1 -1
- package/dist/api/helpers/adjust_browse_direction.d.ts +1 -0
- package/dist/api/helpers/adjust_browse_direction.d.ts.map +1 -0
- package/dist/api/helpers/adjust_browse_direction.js +2 -5
- package/dist/api/helpers/adjust_browse_direction.js.map +1 -1
- package/dist/api/helpers/argument_list.d.ts +1 -0
- package/dist/api/helpers/argument_list.d.ts.map +1 -0
- package/dist/api/helpers/argument_list.js +61 -69
- package/dist/api/helpers/argument_list.js.map +1 -1
- package/dist/api/helpers/call_helpers.d.ts +1 -0
- package/dist/api/helpers/call_helpers.d.ts.map +1 -0
- package/dist/api/helpers/call_helpers.js +25 -28
- package/dist/api/helpers/call_helpers.js.map +1 -1
- package/dist/api/helpers/coerce_enum_value.d.ts +1 -0
- package/dist/api/helpers/coerce_enum_value.d.ts.map +1 -0
- package/dist/api/helpers/coerce_enum_value.js +15 -17
- package/dist/api/helpers/coerce_enum_value.js.map +1 -1
- package/dist/api/helpers/dump_tools.d.ts +1 -0
- package/dist/api/helpers/dump_tools.d.ts.map +1 -0
- package/dist/api/helpers/dump_tools.js +19 -29
- package/dist/api/helpers/dump_tools.js.map +1 -1
- package/dist/api/helpers/ensure_secure_access.d.ts +1 -0
- package/dist/api/helpers/ensure_secure_access.d.ts.map +1 -0
- package/dist/api/helpers/ensure_secure_access.js +24 -28
- package/dist/api/helpers/ensure_secure_access.js.map +1 -1
- package/dist/api/helpers/make_optionals_map.d.ts +1 -0
- package/dist/api/helpers/make_optionals_map.d.ts.map +1 -0
- package/dist/api/helpers/make_optionals_map.js +1 -4
- package/dist/api/helpers/make_optionals_map.js.map +1 -1
- package/dist/api/helpers/multiform_func.d.ts +1 -0
- package/dist/api/helpers/multiform_func.d.ts.map +1 -0
- package/dist/api/helpers/multiform_func.js +4 -8
- package/dist/api/helpers/multiform_func.js.map +1 -1
- package/dist/api/helpers/resolve_opaque_on_address_space.d.ts +1 -0
- package/dist/api/helpers/resolve_opaque_on_address_space.d.ts.map +1 -0
- package/dist/api/helpers/resolve_opaque_on_address_space.js +10 -13
- package/dist/api/helpers/resolve_opaque_on_address_space.js.map +1 -1
- package/dist/api/index.d.ts +3 -1
- package/dist/api/index.d.ts.map +1 -0
- package/dist/api/index.js +93 -218
- package/dist/api/index.js.map +1 -1
- package/dist/api/interfaces/alarms_and_conditions/condition_info_i.d.ts +1 -0
- package/dist/api/interfaces/alarms_and_conditions/condition_info_i.d.ts.map +1 -0
- package/dist/api/interfaces/alarms_and_conditions/condition_info_i.js +2 -5
- package/dist/api/interfaces/alarms_and_conditions/condition_info_i.js.map +1 -1
- package/dist/api/interfaces/alarms_and_conditions/condition_snapshot.d.ts +1 -0
- package/dist/api/interfaces/alarms_and_conditions/condition_snapshot.d.ts.map +1 -0
- package/dist/api/interfaces/alarms_and_conditions/condition_snapshot.js +1 -2
- package/dist/api/interfaces/alarms_and_conditions/deviation_stuff.d.ts +1 -0
- package/dist/api/interfaces/alarms_and_conditions/deviation_stuff.d.ts.map +1 -0
- package/dist/api/interfaces/alarms_and_conditions/deviation_stuff.js +1 -2
- package/dist/api/interfaces/alarms_and_conditions/install_setpoint_options.d.ts +1 -0
- package/dist/api/interfaces/alarms_and_conditions/install_setpoint_options.d.ts.map +1 -0
- package/dist/api/interfaces/alarms_and_conditions/install_setpoint_options.js +1 -2
- package/dist/api/interfaces/alarms_and_conditions/instantiate_alarm_condition_options.d.ts +1 -0
- package/dist/api/interfaces/alarms_and_conditions/instantiate_alarm_condition_options.d.ts.map +1 -0
- package/dist/api/interfaces/alarms_and_conditions/instantiate_alarm_condition_options.js +1 -2
- package/dist/api/interfaces/alarms_and_conditions/instantiate_condition_options.d.ts +1 -0
- package/dist/api/interfaces/alarms_and_conditions/instantiate_condition_options.d.ts.map +1 -0
- package/dist/api/interfaces/alarms_and_conditions/instantiate_condition_options.js +1 -2
- package/dist/api/interfaces/alarms_and_conditions/instantiate_exclusive_deviation_alarm_options.d.ts +1 -0
- package/dist/api/interfaces/alarms_and_conditions/instantiate_exclusive_deviation_alarm_options.d.ts.map +1 -0
- package/dist/api/interfaces/alarms_and_conditions/instantiate_exclusive_deviation_alarm_options.js +1 -2
- package/dist/api/interfaces/alarms_and_conditions/instantiate_exclusive_limit_alarm_options.d.ts +1 -0
- package/dist/api/interfaces/alarms_and_conditions/instantiate_exclusive_limit_alarm_options.d.ts.map +1 -0
- package/dist/api/interfaces/alarms_and_conditions/instantiate_exclusive_limit_alarm_options.js +1 -2
- package/dist/api/interfaces/alarms_and_conditions/instantiate_limit_alarm_options.d.ts +1 -0
- package/dist/api/interfaces/alarms_and_conditions/instantiate_limit_alarm_options.d.ts.map +1 -0
- package/dist/api/interfaces/alarms_and_conditions/instantiate_limit_alarm_options.js +1 -2
- package/dist/api/interfaces/alarms_and_conditions/instantiate_non_exclusive_deviation_alarm_options.d.ts +1 -0
- package/dist/api/interfaces/alarms_and_conditions/instantiate_non_exclusive_deviation_alarm_options.d.ts.map +1 -0
- package/dist/api/interfaces/alarms_and_conditions/instantiate_non_exclusive_deviation_alarm_options.js +1 -2
- package/dist/api/interfaces/alarms_and_conditions/instantiate_non_exclusive_limit_alarm_options.d.ts +1 -0
- package/dist/api/interfaces/alarms_and_conditions/instantiate_non_exclusive_limit_alarm_options.d.ts.map +1 -0
- package/dist/api/interfaces/alarms_and_conditions/instantiate_non_exclusive_limit_alarm_options.js +1 -2
- package/dist/api/interfaces/alarms_and_conditions/instantiate_off_normal_alarm_options.d.ts +1 -0
- package/dist/api/interfaces/alarms_and_conditions/instantiate_off_normal_alarm_options.d.ts.map +1 -0
- package/dist/api/interfaces/alarms_and_conditions/instantiate_off_normal_alarm_options.js +1 -2
- package/dist/api/interfaces/alarms_and_conditions/promote_to_alarm_options.d.ts +1 -0
- package/dist/api/interfaces/alarms_and_conditions/promote_to_alarm_options.d.ts.map +1 -0
- package/dist/api/interfaces/alarms_and_conditions/promote_to_alarm_options.js +1 -2
- package/dist/api/interfaces/alarms_and_conditions/ua_acknowledgeable_condition_ex.d.ts +1 -0
- package/dist/api/interfaces/alarms_and_conditions/ua_acknowledgeable_condition_ex.d.ts.map +1 -0
- package/dist/api/interfaces/alarms_and_conditions/ua_acknowledgeable_condition_ex.js +1 -2
- package/dist/api/interfaces/alarms_and_conditions/ua_alarm_condition_ex.d.ts +1 -0
- package/dist/api/interfaces/alarms_and_conditions/ua_alarm_condition_ex.d.ts.map +1 -0
- package/dist/api/interfaces/alarms_and_conditions/ua_alarm_condition_ex.js +1 -2
- package/dist/api/interfaces/alarms_and_conditions/ua_base_event_ex.d.ts +1 -0
- package/dist/api/interfaces/alarms_and_conditions/ua_base_event_ex.d.ts.map +1 -0
- package/dist/api/interfaces/alarms_and_conditions/ua_base_event_ex.js +1 -2
- package/dist/api/interfaces/alarms_and_conditions/ua_certificate_expiration_alarm_ex.d.ts +1 -0
- package/dist/api/interfaces/alarms_and_conditions/ua_certificate_expiration_alarm_ex.d.ts.map +1 -0
- package/dist/api/interfaces/alarms_and_conditions/ua_certificate_expiration_alarm_ex.js +1 -2
- package/dist/api/interfaces/alarms_and_conditions/ua_condition_ex.d.ts +1 -0
- package/dist/api/interfaces/alarms_and_conditions/ua_condition_ex.d.ts.map +1 -0
- package/dist/api/interfaces/alarms_and_conditions/ua_condition_ex.js +1 -2
- package/dist/api/interfaces/alarms_and_conditions/ua_discrete_alarm_ex.d.ts +1 -0
- package/dist/api/interfaces/alarms_and_conditions/ua_discrete_alarm_ex.d.ts.map +1 -0
- package/dist/api/interfaces/alarms_and_conditions/ua_discrete_alarm_ex.js +1 -2
- package/dist/api/interfaces/alarms_and_conditions/ua_exclusive_deviation_alarm_ex.d.ts +1 -0
- package/dist/api/interfaces/alarms_and_conditions/ua_exclusive_deviation_alarm_ex.d.ts.map +1 -0
- package/dist/api/interfaces/alarms_and_conditions/ua_exclusive_deviation_alarm_ex.js +1 -2
- package/dist/api/interfaces/alarms_and_conditions/ua_exclusive_limit_alarm_ex.d.ts +1 -0
- package/dist/api/interfaces/alarms_and_conditions/ua_exclusive_limit_alarm_ex.d.ts.map +1 -0
- package/dist/api/interfaces/alarms_and_conditions/ua_exclusive_limit_alarm_ex.js +1 -2
- package/dist/api/interfaces/alarms_and_conditions/ua_limit_alarm_ex.d.ts +1 -0
- package/dist/api/interfaces/alarms_and_conditions/ua_limit_alarm_ex.d.ts.map +1 -0
- package/dist/api/interfaces/alarms_and_conditions/ua_limit_alarm_ex.js +1 -2
- package/dist/api/interfaces/alarms_and_conditions/ua_non_exclusive_deviation_alarm_ex.d.ts +1 -0
- package/dist/api/interfaces/alarms_and_conditions/ua_non_exclusive_deviation_alarm_ex.d.ts.map +1 -0
- package/dist/api/interfaces/alarms_and_conditions/ua_non_exclusive_deviation_alarm_ex.js +1 -2
- package/dist/api/interfaces/alarms_and_conditions/ua_non_exclusive_limit_alarm_ex.d.ts +1 -0
- package/dist/api/interfaces/alarms_and_conditions/ua_non_exclusive_limit_alarm_ex.d.ts.map +1 -0
- package/dist/api/interfaces/alarms_and_conditions/ua_non_exclusive_limit_alarm_ex.js +1 -2
- package/dist/api/interfaces/data_access/ua_multistate_discrete_ex.d.ts +2 -1
- package/dist/api/interfaces/data_access/ua_multistate_discrete_ex.d.ts.map +1 -0
- package/dist/api/interfaces/data_access/ua_multistate_discrete_ex.js +1 -2
- package/dist/api/interfaces/data_access/ua_multistate_value_discrete_ex.d.ts +1 -0
- package/dist/api/interfaces/data_access/ua_multistate_value_discrete_ex.d.ts.map +1 -0
- package/dist/api/interfaces/data_access/ua_multistate_value_discrete_ex.js +1 -2
- package/dist/api/interfaces/data_access/ua_two_state_discrete_ex.d.ts +1 -0
- package/dist/api/interfaces/data_access/ua_two_state_discrete_ex.d.ts.map +1 -0
- package/dist/api/interfaces/data_access/ua_two_state_discrete_ex.js +1 -2
- package/dist/api/interfaces/data_access/ua_y_array_item_ex.d.ts +1 -0
- package/dist/api/interfaces/data_access/ua_y_array_item_ex.d.ts.map +1 -0
- package/dist/api/interfaces/data_access/ua_y_array_item_ex.js +1 -2
- package/dist/api/interfaces/extension_object_constructor.d.ts +1 -0
- package/dist/api/interfaces/extension_object_constructor.d.ts.map +1 -0
- package/dist/api/interfaces/extension_object_constructor.js +1 -2
- package/dist/api/interfaces/i_condition_variable_type_setter_options.d.ts +1 -0
- package/dist/api/interfaces/i_condition_variable_type_setter_options.d.ts.map +1 -0
- package/dist/api/interfaces/i_condition_variable_type_setter_options.js +1 -2
- package/dist/api/interfaces/i_set_state_options.d.ts +1 -0
- package/dist/api/interfaces/i_set_state_options.d.ts.map +1 -0
- package/dist/api/interfaces/i_set_state_options.js +1 -2
- package/dist/api/interfaces/nodeset_loader_options.d.ts +18 -0
- package/dist/api/interfaces/nodeset_loader_options.d.ts.map +1 -0
- package/dist/api/interfaces/nodeset_loader_options.js +1 -2
- package/dist/api/interfaces/state_machine/ua_exclusive_limit_state_machine_type_ex.d.ts +1 -0
- package/dist/api/interfaces/state_machine/ua_exclusive_limit_state_machine_type_ex.d.ts.map +1 -0
- package/dist/api/interfaces/state_machine/ua_exclusive_limit_state_machine_type_ex.js +1 -2
- package/dist/api/interfaces/state_machine/ua_finite_state_machine_type.d.ts +1 -0
- package/dist/api/interfaces/state_machine/ua_finite_state_machine_type.d.ts.map +1 -0
- package/dist/api/interfaces/state_machine/ua_finite_state_machine_type.js +1 -2
- package/dist/api/interfaces/state_machine/ua_program_state_machine_type.d.ts +1 -0
- package/dist/api/interfaces/state_machine/ua_program_state_machine_type.d.ts.map +1 -0
- package/dist/api/interfaces/state_machine/ua_program_state_machine_type.js +1 -2
- package/dist/api/interfaces/state_machine/ua_shelved_state_machine_ex.d.ts +1 -0
- package/dist/api/interfaces/state_machine/ua_shelved_state_machine_ex.d.ts.map +1 -0
- package/dist/api/interfaces/state_machine/ua_shelved_state_machine_ex.js +1 -2
- package/dist/api/interfaces/state_machine/ua_state_machine_type.d.ts +1 -0
- package/dist/api/interfaces/state_machine/ua_state_machine_type.d.ts.map +1 -0
- package/dist/api/interfaces/state_machine/ua_state_machine_type.js +1 -2
- package/dist/api/interfaces/state_machine/ua_state_machine_type.js.map +1 -1
- package/dist/api/interfaces/state_machine/ua_transition_ex.d.ts +1 -0
- package/dist/api/interfaces/state_machine/ua_transition_ex.d.ts.map +1 -0
- package/dist/api/interfaces/state_machine/ua_transition_ex.js +1 -2
- package/dist/api/interfaces/ua_subscription_diagnostics_variable_ex.d.ts +1 -0
- package/dist/api/interfaces/ua_subscription_diagnostics_variable_ex.d.ts.map +1 -0
- package/dist/api/interfaces/ua_subscription_diagnostics_variable_ex.js +1 -2
- package/dist/api/interfaces/ua_subscription_diagnostics_variable_ex.js.map +1 -1
- package/dist/api/loader/decode_xml_extension_object.d.ts +1 -0
- package/dist/api/loader/decode_xml_extension_object.d.ts.map +1 -0
- package/dist/api/loader/decode_xml_extension_object.js +13 -17
- package/dist/api/loader/decode_xml_extension_object.js.map +1 -1
- package/dist/api/loader/ensure_datatype_extracted.d.ts +1 -0
- package/dist/api/loader/ensure_datatype_extracted.d.ts.map +1 -0
- package/dist/api/loader/ensure_datatype_extracted.js +83 -52
- package/dist/api/loader/ensure_datatype_extracted.js.map +1 -1
- package/dist/api/loader/generateAddressSpaceRaw.d.ts +1 -0
- package/dist/api/loader/generateAddressSpaceRaw.d.ts.map +1 -0
- package/dist/api/loader/generateAddressSpaceRaw.js +76 -74
- package/dist/api/loader/generateAddressSpaceRaw.js.map +1 -1
- package/dist/api/loader/load_nodeset2.d.ts +1 -0
- package/dist/api/loader/load_nodeset2.d.ts.map +1 -0
- package/dist/api/loader/load_nodeset2.js +44 -51
- package/dist/api/loader/load_nodeset2.js.map +1 -1
- package/dist/api/loader/make_semver_compatible.d.ts +1 -0
- package/dist/api/loader/make_semver_compatible.d.ts.map +1 -0
- package/dist/api/loader/make_semver_compatible.js +1 -4
- package/dist/api/loader/make_semver_compatible.js.map +1 -1
- package/dist/api/loader/make_xml_extension_object_parser.d.ts +1 -0
- package/dist/api/loader/make_xml_extension_object_parser.d.ts.map +1 -0
- package/dist/api/loader/make_xml_extension_object_parser.js +37 -40
- package/dist/api/loader/make_xml_extension_object_parser.js.map +1 -1
- package/dist/api/loader/namespace_post_step.d.ts +1 -0
- package/dist/api/loader/namespace_post_step.d.ts.map +1 -0
- package/dist/api/loader/namespace_post_step.js +12 -17
- package/dist/api/loader/namespace_post_step.js.map +1 -1
- package/dist/api/loader/narrow_instance_datatypes.d.ts +1 -0
- package/dist/api/loader/narrow_instance_datatypes.d.ts.map +1 -0
- package/dist/api/loader/narrow_instance_datatypes.js +38 -28
- package/dist/api/loader/narrow_instance_datatypes.js.map +1 -1
- package/dist/api/loader/nodeset_builtin_formats.d.ts +1 -0
- package/dist/api/loader/nodeset_builtin_formats.d.ts.map +1 -0
- package/dist/api/loader/nodeset_builtin_formats.js +20 -25
- package/dist/api/loader/nodeset_builtin_formats.js.map +1 -1
- package/dist/api/loader/nodeset_format.d.ts +1 -0
- package/dist/api/loader/nodeset_format.d.ts.map +1 -0
- package/dist/api/loader/nodeset_format.js +4 -10
- package/dist/api/loader/nodeset_format.js.map +1 -1
- package/dist/api/loader/nodeset_image.d.ts +1 -0
- package/dist/api/loader/nodeset_image.d.ts.map +1 -0
- package/dist/api/loader/nodeset_image.js +38 -54
- package/dist/api/loader/nodeset_image.js.map +1 -1
- package/dist/api/loader/nodeset_image_codec.d.ts +1 -0
- package/dist/api/loader/nodeset_image_codec.d.ts.map +1 -0
- package/dist/api/loader/nodeset_image_codec.js +118 -116
- package/dist/api/loader/nodeset_image_codec.js.map +1 -1
- package/dist/api/loader/nodeset_image_store.d.ts +1 -0
- package/dist/api/loader/nodeset_image_store.d.ts.map +1 -0
- package/dist/api/loader/nodeset_image_store.js +5 -11
- package/dist/api/loader/nodeset_image_store.js.map +1 -1
- package/dist/api/loader/nodeset_record.d.ts +1 -0
- package/dist/api/loader/nodeset_record.d.ts.map +1 -0
- package/dist/api/loader/nodeset_record.js +3 -7
- package/dist/api/loader/nodeset_record.js.map +1 -1
- package/dist/api/loader/nodeset_record_applier.d.ts +1 -0
- package/dist/api/loader/nodeset_record_applier.d.ts.map +1 -0
- package/dist/api/loader/nodeset_record_applier.js +89 -97
- package/dist/api/loader/nodeset_record_applier.js.map +1 -1
- package/dist/api/loader/nodeset_records_to_xml.d.ts +1 -0
- package/dist/api/loader/nodeset_records_to_xml.d.ts.map +1 -0
- package/dist/api/loader/nodeset_records_to_xml.js +82 -88
- package/dist/api/loader/nodeset_records_to_xml.js.map +1 -1
- package/dist/api/loader/nodeset_source.d.ts +1 -0
- package/dist/api/loader/nodeset_source.d.ts.map +1 -0
- package/dist/api/loader/nodeset_source.js +14 -21
- package/dist/api/loader/nodeset_source.js.map +1 -1
- package/dist/api/loader/nodeset_source_helpers.d.ts +1 -0
- package/dist/api/loader/nodeset_source_helpers.d.ts.map +1 -0
- package/dist/api/loader/nodeset_source_helpers.js +2 -6
- package/dist/api/loader/nodeset_source_helpers.js.map +1 -1
- package/dist/api/loader/nodeset_to_image.d.ts +1 -0
- package/dist/api/loader/nodeset_to_image.d.ts.map +1 -0
- package/dist/api/loader/nodeset_to_image.js +12 -15
- package/dist/api/loader/nodeset_to_image.js.map +1 -1
- package/dist/api/loader/nodeset_xml_header.d.ts +1 -0
- package/dist/api/loader/nodeset_xml_header.d.ts.map +1 -0
- package/dist/api/loader/nodeset_xml_header.js +9 -14
- package/dist/api/loader/nodeset_xml_header.js.map +1 -1
- package/dist/api/loader/nodeset_xml_primitives.d.ts +1 -0
- package/dist/api/loader/nodeset_xml_primitives.d.ts.map +1 -0
- package/dist/api/loader/nodeset_xml_primitives.js +32 -53
- package/dist/api/loader/nodeset_xml_primitives.js.map +1 -1
- package/dist/api/loader/nodeset_xml_producer.d.ts +1 -0
- package/dist/api/loader/nodeset_xml_producer.d.ts.map +1 -0
- package/dist/api/loader/nodeset_xml_producer.js +49 -51
- package/dist/api/loader/nodeset_xml_producer.js.map +1 -1
- package/dist/api/loader/parsers/extension_object_parser.d.ts +1 -0
- package/dist/api/loader/parsers/extension_object_parser.d.ts.map +1 -0
- package/dist/api/loader/parsers/extension_object_parser.js +49 -57
- package/dist/api/loader/parsers/extension_object_parser.js.map +1 -1
- package/dist/api/loader/parsers/localized_text_parser.d.ts +1 -0
- package/dist/api/loader/parsers/localized_text_parser.d.ts.map +1 -0
- package/dist/api/loader/parsers/localized_text_parser.js +3 -6
- package/dist/api/loader/parsers/localized_text_parser.js.map +1 -1
- package/dist/api/loader/parsers/nodeid_parser.d.ts +1 -0
- package/dist/api/loader/parsers/nodeid_parser.d.ts.map +1 -0
- package/dist/api/loader/parsers/nodeid_parser.js +3 -7
- package/dist/api/loader/parsers/nodeid_parser.js.map +1 -1
- package/dist/api/loader/parsers/qualified_name_parser.d.ts +1 -0
- package/dist/api/loader/parsers/qualified_name_parser.d.ts.map +1 -0
- package/dist/api/loader/parsers/qualified_name_parser.js +5 -9
- package/dist/api/loader/parsers/qualified_name_parser.js.map +1 -1
- package/dist/api/loader/parsers/variant_parser.d.ts +1 -0
- package/dist/api/loader/parsers/variant_parser.d.ts.map +1 -0
- package/dist/api/loader/parsers/variant_parser.js +59 -63
- package/dist/api/loader/parsers/variant_parser.js.map +1 -1
- package/dist/api/loader/register_node_promoter.d.ts +1 -0
- package/dist/api/loader/register_node_promoter.d.ts.map +1 -0
- package/dist/api/loader/register_node_promoter.js +4 -7
- package/dist/api/loader/register_node_promoter.js.map +1 -1
- package/dist/api/namespace.d.ts +1 -0
- package/dist/api/namespace.d.ts.map +1 -0
- package/dist/api/namespace.js +1 -2
- package/dist/api/namespace_alarm_and_condition.d.ts +1 -0
- package/dist/api/namespace_alarm_and_condition.d.ts.map +1 -0
- package/dist/api/namespace_alarm_and_condition.js +1 -2
- package/dist/api/namespace_data_access.d.ts +1 -0
- package/dist/api/namespace_data_access.d.ts.map +1 -0
- package/dist/api/namespace_data_access.js +1 -2
- package/dist/api/namespace_machine_state.d.ts +1 -0
- package/dist/api/namespace_machine_state.d.ts.map +1 -0
- package/dist/api/namespace_machine_state.js +1 -2
- package/dist/api/namespace_of.d.ts +1 -0
- package/dist/api/namespace_of.d.ts.map +1 -0
- package/dist/api/namespace_of.js +1 -4
- package/dist/api/namespace_of.js.map +1 -1
- package/dist/api/pseudo_session.d.ts +1 -0
- package/dist/api/pseudo_session.d.ts.map +1 -0
- package/dist/api/pseudo_session.js +56 -62
- package/dist/api/pseudo_session.js.map +1 -1
- package/dist/api/session_context.d.ts +1 -0
- package/dist/api/session_context.d.ts.map +1 -0
- package/dist/api/session_context.js +60 -68
- package/dist/api/session_context.js.map +1 -1
- package/dist/api/set_namespace_meta_data.d.ts +1 -0
- package/dist/api/set_namespace_meta_data.d.ts.map +1 -0
- package/dist/api/set_namespace_meta_data.js +10 -13
- package/dist/api/set_namespace_meta_data.js.map +1 -1
- package/dist/api/ua_addin.d.ts +1 -0
- package/dist/api/ua_addin.d.ts.map +1 -0
- package/dist/api/ua_addin.js +9 -13
- package/dist/api/ua_addin.js.map +1 -1
- package/dist/api/ua_interface.d.ts +1 -0
- package/dist/api/ua_interface.d.ts.map +1 -0
- package/dist/api/ua_interface.js +5 -8
- package/dist/api/ua_interface.js.map +1 -1
- package/dist/api/ua_root_folder.d.ts +1 -0
- package/dist/api/ua_root_folder.d.ts.map +1 -0
- package/dist/api/ua_root_folder.js +1 -2
- package/dist/api/ua_two_state_variable_ex.d.ts +1 -0
- package/dist/api/ua_two_state_variable_ex.d.ts.map +1 -0
- package/dist/api/ua_two_state_variable_ex.js +1 -2
- package/dist/api/xml_writer.d.ts +1 -0
- package/dist/api/xml_writer.d.ts.map +1 -0
- package/dist/api/xml_writer.js +1 -2
- package/dist/impl/_instantiate_helpers.d.ts +1 -0
- package/dist/impl/_instantiate_helpers.d.ts.map +1 -0
- package/dist/impl/_instantiate_helpers.js +25 -31
- package/dist/impl/_instantiate_helpers.js.map +1 -1
- package/dist/impl/_mandatory_child_or_requested_optional_filter.d.ts +1 -0
- package/dist/impl/_mandatory_child_or_requested_optional_filter.d.ts.map +1 -0
- package/dist/impl/_mandatory_child_or_requested_optional_filter.js +16 -20
- package/dist/impl/_mandatory_child_or_requested_optional_filter.js.map +1 -1
- package/dist/impl/address_space.d.ts +40 -0
- package/dist/impl/address_space.d.ts.map +1 -0
- package/dist/impl/address_space.js +246 -189
- package/dist/impl/address_space.js.map +1 -1
- package/dist/impl/address_space_change_event_tools.d.ts +1 -0
- package/dist/impl/address_space_change_event_tools.d.ts.map +1 -0
- package/dist/impl/address_space_change_event_tools.js +31 -29
- package/dist/impl/address_space_change_event_tools.js.map +1 -1
- package/dist/impl/address_space_private.d.ts +2 -0
- package/dist/impl/address_space_private.d.ts.map +1 -0
- package/dist/impl/address_space_private.js +1 -2
- package/dist/impl/address_space_private.js.map +1 -1
- package/dist/impl/alarms_and_conditions/condition.d.ts +1 -0
- package/dist/impl/alarms_and_conditions/condition.d.ts.map +1 -0
- package/dist/impl/alarms_and_conditions/condition.js +1 -2
- package/dist/impl/alarms_and_conditions/condition.js.map +1 -1
- package/dist/impl/alarms_and_conditions/condition_info_impl.d.ts +1 -0
- package/dist/impl/alarms_and_conditions/condition_info_impl.d.ts.map +1 -0
- package/dist/impl/alarms_and_conditions/condition_info_impl.js +3 -7
- package/dist/impl/alarms_and_conditions/condition_info_impl.js.map +1 -1
- package/dist/impl/alarms_and_conditions/condition_snapshot_impl.d.ts +1 -0
- package/dist/impl/alarms_and_conditions/condition_snapshot_impl.d.ts.map +1 -0
- package/dist/impl/alarms_and_conditions/condition_snapshot_impl.js +77 -81
- package/dist/impl/alarms_and_conditions/condition_snapshot_impl.js.map +1 -1
- package/dist/impl/alarms_and_conditions/deviation_alarm_helper.d.ts +1 -0
- package/dist/impl/alarms_and_conditions/deviation_alarm_helper.d.ts.map +1 -0
- package/dist/impl/alarms_and_conditions/deviation_alarm_helper.js +14 -20
- package/dist/impl/alarms_and_conditions/deviation_alarm_helper.js.map +1 -1
- package/dist/impl/alarms_and_conditions/index.d.ts +1 -0
- package/dist/impl/alarms_and_conditions/index.d.ts.map +1 -0
- package/dist/impl/alarms_and_conditions/index.js +13 -29
- package/dist/impl/alarms_and_conditions/index.js.map +1 -1
- package/dist/impl/alarms_and_conditions/ua_acknowledgeable_condition_impl.d.ts +1 -0
- package/dist/impl/alarms_and_conditions/ua_acknowledgeable_condition_impl.d.ts.map +1 -0
- package/dist/impl/alarms_and_conditions/ua_acknowledgeable_condition_impl.js +60 -65
- package/dist/impl/alarms_and_conditions/ua_acknowledgeable_condition_impl.js.map +1 -1
- package/dist/impl/alarms_and_conditions/ua_alarm_condition_impl.d.ts +1 -0
- package/dist/impl/alarms_and_conditions/ua_alarm_condition_impl.d.ts.map +1 -0
- package/dist/impl/alarms_and_conditions/ua_alarm_condition_impl.js +53 -59
- package/dist/impl/alarms_and_conditions/ua_alarm_condition_impl.js.map +1 -1
- package/dist/impl/alarms_and_conditions/ua_base_event_impl.d.ts +1 -0
- package/dist/impl/alarms_and_conditions/ua_base_event_impl.d.ts.map +1 -0
- package/dist/impl/alarms_and_conditions/ua_base_event_impl.js +12 -16
- package/dist/impl/alarms_and_conditions/ua_base_event_impl.js.map +1 -1
- package/dist/impl/alarms_and_conditions/ua_certificate_expiration_alarm_impl.d.ts +1 -0
- package/dist/impl/alarms_and_conditions/ua_certificate_expiration_alarm_impl.d.ts.map +1 -0
- package/dist/impl/alarms_and_conditions/ua_certificate_expiration_alarm_impl.js +34 -39
- package/dist/impl/alarms_and_conditions/ua_certificate_expiration_alarm_impl.js.map +1 -1
- package/dist/impl/alarms_and_conditions/ua_condition_impl.d.ts +1 -0
- package/dist/impl/alarms_and_conditions/ua_condition_impl.d.ts.map +1 -0
- package/dist/impl/alarms_and_conditions/ua_condition_impl.js +140 -148
- package/dist/impl/alarms_and_conditions/ua_condition_impl.js.map +1 -1
- package/dist/impl/alarms_and_conditions/ua_discrete_alarm_impl.d.ts +1 -0
- package/dist/impl/alarms_and_conditions/ua_discrete_alarm_impl.d.ts.map +1 -0
- package/dist/impl/alarms_and_conditions/ua_discrete_alarm_impl.js +6 -10
- package/dist/impl/alarms_and_conditions/ua_discrete_alarm_impl.js.map +1 -1
- package/dist/impl/alarms_and_conditions/ua_exclusive_deviation_alarm_impl.d.ts +1 -0
- package/dist/impl/alarms_and_conditions/ua_exclusive_deviation_alarm_impl.d.ts.map +1 -0
- package/dist/impl/alarms_and_conditions/ua_exclusive_deviation_alarm_impl.js +18 -22
- package/dist/impl/alarms_and_conditions/ua_exclusive_deviation_alarm_impl.js.map +1 -1
- package/dist/impl/alarms_and_conditions/ua_exclusive_level_alarm_impl.d.ts +1 -0
- package/dist/impl/alarms_and_conditions/ua_exclusive_level_alarm_impl.d.ts.map +1 -0
- package/dist/impl/alarms_and_conditions/ua_exclusive_level_alarm_impl.js +3 -7
- package/dist/impl/alarms_and_conditions/ua_exclusive_level_alarm_impl.js.map +1 -1
- package/dist/impl/alarms_and_conditions/ua_exclusive_limit_alarm_impl.d.ts +1 -0
- package/dist/impl/alarms_and_conditions/ua_exclusive_limit_alarm_impl.d.ts.map +1 -0
- package/dist/impl/alarms_and_conditions/ua_exclusive_limit_alarm_impl.js +14 -18
- package/dist/impl/alarms_and_conditions/ua_exclusive_limit_alarm_impl.js.map +1 -1
- package/dist/impl/alarms_and_conditions/ua_exclusive_rate_of_change_alarm_impl.d.ts +1 -0
- package/dist/impl/alarms_and_conditions/ua_exclusive_rate_of_change_alarm_impl.d.ts.map +1 -0
- package/dist/impl/alarms_and_conditions/ua_exclusive_rate_of_change_alarm_impl.js +2 -6
- package/dist/impl/alarms_and_conditions/ua_exclusive_rate_of_change_alarm_impl.js.map +1 -1
- package/dist/impl/alarms_and_conditions/ua_limit_alarm_impl.d.ts +1 -0
- package/dist/impl/alarms_and_conditions/ua_limit_alarm_impl.d.ts.map +1 -0
- package/dist/impl/alarms_and_conditions/ua_limit_alarm_impl.js +35 -39
- package/dist/impl/alarms_and_conditions/ua_limit_alarm_impl.js.map +1 -1
- package/dist/impl/alarms_and_conditions/ua_non_exclusive_deviation_alarm_impl.d.ts +1 -0
- package/dist/impl/alarms_and_conditions/ua_non_exclusive_deviation_alarm_impl.d.ts.map +1 -0
- package/dist/impl/alarms_and_conditions/ua_non_exclusive_deviation_alarm_impl.js +17 -21
- package/dist/impl/alarms_and_conditions/ua_non_exclusive_deviation_alarm_impl.js.map +1 -1
- package/dist/impl/alarms_and_conditions/ua_non_exclusive_limit_alarm_impl.d.ts +1 -0
- package/dist/impl/alarms_and_conditions/ua_non_exclusive_limit_alarm_impl.d.ts.map +1 -0
- package/dist/impl/alarms_and_conditions/ua_non_exclusive_limit_alarm_impl.js +27 -31
- package/dist/impl/alarms_and_conditions/ua_non_exclusive_limit_alarm_impl.js.map +1 -1
- package/dist/impl/alarms_and_conditions/ua_off_normal_alarm_impl.d.ts +1 -0
- package/dist/impl/alarms_and_conditions/ua_off_normal_alarm_impl.d.ts.map +1 -0
- package/dist/impl/alarms_and_conditions/ua_off_normal_alarm_impl.js +18 -22
- package/dist/impl/alarms_and_conditions/ua_off_normal_alarm_impl.js.map +1 -1
- package/dist/impl/alarms_and_conditions/ua_system_off_normal_alarm_impl.d.ts +1 -0
- package/dist/impl/alarms_and_conditions/ua_system_off_normal_alarm_impl.d.ts.map +1 -0
- package/dist/impl/alarms_and_conditions/ua_system_off_normal_alarm_impl.js +3 -7
- package/dist/impl/alarms_and_conditions/ua_system_off_normal_alarm_impl.js.map +1 -1
- package/dist/impl/apply_condition_refresh.d.ts +1 -0
- package/dist/impl/apply_condition_refresh.d.ts.map +1 -0
- package/dist/impl/apply_condition_refresh.js +1 -4
- package/dist/impl/apply_condition_refresh.js.map +1 -1
- package/dist/impl/base_node_impl.d.ts +1 -0
- package/dist/impl/base_node_impl.d.ts.map +1 -0
- package/dist/impl/base_node_impl.js +279 -292
- package/dist/impl/base_node_impl.js.map +1 -1
- package/dist/impl/base_node_private.d.ts +1 -0
- package/dist/impl/base_node_private.d.ts.map +1 -0
- package/dist/impl/base_node_private.js +168 -199
- package/dist/impl/base_node_private.js.map +1 -1
- package/dist/impl/bulk_load_clock.d.ts +35 -0
- package/dist/impl/bulk_load_clock.d.ts.map +1 -0
- package/dist/impl/bulk_load_clock.js +58 -0
- package/dist/impl/bulk_load_clock.js.map +1 -0
- package/dist/impl/check_value_rank_compatibility.d.ts +1 -0
- package/dist/impl/check_value_rank_compatibility.d.ts.map +1 -0
- package/dist/impl/check_value_rank_compatibility.js +1 -4
- package/dist/impl/check_value_rank_compatibility.js.map +1 -1
- package/dist/impl/child_accessors.d.ts +1 -0
- package/dist/impl/child_accessors.d.ts.map +1 -0
- package/dist/impl/child_accessors.js +10 -20
- package/dist/impl/child_accessors.js.map +1 -1
- package/dist/impl/data_access/add_dataItem_stuff.d.ts +1 -0
- package/dist/impl/data_access/add_dataItem_stuff.d.ts.map +1 -0
- package/dist/impl/data_access/add_dataItem_stuff.js +6 -9
- package/dist/impl/data_access/add_dataItem_stuff.js.map +1 -1
- package/dist/impl/data_access/adjust_datavalue_status_code.d.ts +1 -0
- package/dist/impl/data_access/adjust_datavalue_status_code.d.ts.map +1 -0
- package/dist/impl/data_access/adjust_datavalue_status_code.js +9 -12
- package/dist/impl/data_access/adjust_datavalue_status_code.js.map +1 -1
- package/dist/impl/data_access/semantics_changed.d.ts +12 -0
- package/dist/impl/data_access/semantics_changed.d.ts.map +1 -0
- package/dist/impl/data_access/semantics_changed.js +44 -10
- package/dist/impl/data_access/semantics_changed.js.map +1 -1
- package/dist/impl/data_access/ua_multistate_discrete_impl.d.ts +2 -1
- package/dist/impl/data_access/ua_multistate_discrete_impl.d.ts.map +1 -0
- package/dist/impl/data_access/ua_multistate_discrete_impl.js +35 -41
- package/dist/impl/data_access/ua_multistate_discrete_impl.js.map +1 -1
- package/dist/impl/data_access/ua_multistate_value_discrete_impl.d.ts +1 -0
- package/dist/impl/data_access/ua_multistate_value_discrete_impl.d.ts.map +1 -0
- package/dist/impl/data_access/ua_multistate_value_discrete_impl.js +71 -78
- package/dist/impl/data_access/ua_multistate_value_discrete_impl.js.map +1 -1
- package/dist/impl/data_access/ua_two_state_discrete_impl.d.ts +1 -0
- package/dist/impl/data_access/ua_two_state_discrete_impl.d.ts.map +1 -0
- package/dist/impl/data_access/ua_two_state_discrete_impl.js +27 -36
- package/dist/impl/data_access/ua_two_state_discrete_impl.js.map +1 -1
- package/dist/impl/event_data.d.ts +1 -0
- package/dist/impl/event_data.d.ts.map +1 -0
- package/dist/impl/event_data.js +15 -19
- package/dist/impl/event_data.js.map +1 -1
- package/dist/impl/event_layout.d.ts +1 -0
- package/dist/impl/event_layout.d.ts.map +1 -0
- package/dist/impl/event_layout.js +12 -16
- package/dist/impl/event_layout.js.map +1 -1
- package/dist/impl/extension_object_array_node.d.ts +1 -0
- package/dist/impl/extension_object_array_node.d.ts.map +1 -0
- package/dist/impl/extension_object_array_node.js +47 -53
- package/dist/impl/extension_object_array_node.js.map +1 -1
- package/dist/impl/get_basic_datatype.d.ts +1 -0
- package/dist/impl/get_basic_datatype.d.ts.map +1 -0
- package/dist/impl/get_basic_datatype.js +6 -10
- package/dist/impl/get_basic_datatype.js.map +1 -1
- package/dist/impl/handle_hierarchy_parent.d.ts +1 -0
- package/dist/impl/handle_hierarchy_parent.d.ts.map +1 -0
- package/dist/impl/handle_hierarchy_parent.js +26 -30
- package/dist/impl/handle_hierarchy_parent.js.map +1 -1
- package/dist/impl/historical_access/address_space_historical_data_node.d.ts +1 -0
- package/dist/impl/historical_access/address_space_historical_data_node.d.ts.map +1 -0
- package/dist/impl/historical_access/address_space_historical_data_node.js +76 -84
- package/dist/impl/historical_access/address_space_historical_data_node.js.map +1 -1
- package/dist/impl/historical_access/read_processed_details_hook.d.ts +1 -0
- package/dist/impl/historical_access/read_processed_details_hook.d.ts.map +1 -0
- package/dist/impl/historical_access/read_processed_details_hook.js +1 -4
- package/dist/impl/historical_access/read_processed_details_hook.js.map +1 -1
- package/dist/impl/historizer_factory.d.ts +1 -0
- package/dist/impl/historizer_factory.d.ts.map +1 -0
- package/dist/impl/historizer_factory.js +1 -4
- package/dist/impl/historizer_factory.js.map +1 -1
- package/dist/impl/idx_iterator.d.ts +1 -0
- package/dist/impl/idx_iterator.d.ts.map +1 -0
- package/dist/impl/idx_iterator.js +1 -5
- package/dist/impl/idx_iterator.js.map +1 -1
- package/dist/impl/namespace_impl.d.ts +32 -0
- package/dist/impl/namespace_impl.d.ts.map +1 -0
- package/dist/impl/namespace_impl.js +418 -318
- package/dist/impl/namespace_impl.js.map +1 -1
- package/dist/impl/namespace_private.d.ts +3 -0
- package/dist/impl/namespace_private.d.ts.map +1 -0
- package/dist/impl/namespace_private.js +3 -6
- package/dist/impl/namespace_private.js.map +1 -1
- package/dist/impl/nodeid_manager.d.ts +11 -0
- package/dist/impl/nodeid_manager.d.ts.map +1 -0
- package/dist/impl/nodeid_manager.js +52 -44
- package/dist/impl/nodeid_manager.js.map +1 -1
- package/dist/impl/nodeset_tools/adjust_namespace_array.d.ts +1 -0
- package/dist/impl/nodeset_tools/adjust_namespace_array.d.ts.map +1 -0
- package/dist/impl/nodeset_tools/adjust_namespace_array.js +1 -4
- package/dist/impl/nodeset_tools/adjust_namespace_array.js.map +1 -1
- package/dist/impl/nodeset_tools/construct_namespace_dependency.d.ts +1 -0
- package/dist/impl/nodeset_tools/construct_namespace_dependency.d.ts.map +1 -0
- package/dist/impl/nodeset_tools/construct_namespace_dependency.js +28 -39
- package/dist/impl/nodeset_tools/construct_namespace_dependency.js.map +1 -1
- package/dist/impl/nodeset_tools/dump_to_bsd.d.ts +1 -0
- package/dist/impl/nodeset_tools/dump_to_bsd.d.ts.map +1 -0
- package/dist/impl/nodeset_tools/dump_to_bsd.js +14 -20
- package/dist/impl/nodeset_tools/dump_to_bsd.js.map +1 -1
- package/dist/impl/nodeset_tools/nodeset_to_records.d.ts +1 -0
- package/dist/impl/nodeset_tools/nodeset_to_records.d.ts.map +1 -0
- package/dist/impl/nodeset_tools/nodeset_to_records.js +125 -139
- package/dist/impl/nodeset_tools/nodeset_to_records.js.map +1 -1
- package/dist/impl/nodeset_tools/nodeset_to_xml.d.ts +1 -0
- package/dist/impl/nodeset_tools/nodeset_to_xml.d.ts.map +1 -0
- package/dist/impl/nodeset_tools/nodeset_to_xml.js +190 -202
- package/dist/impl/nodeset_tools/nodeset_to_xml.js.map +1 -1
- package/dist/impl/private_namespace.d.ts +1 -0
- package/dist/impl/private_namespace.d.ts.map +1 -0
- package/dist/impl/private_namespace.js +3 -8
- package/dist/impl/private_namespace.js.map +1 -1
- package/dist/impl/reference_impl.d.ts +1 -0
- package/dist/impl/reference_impl.d.ts.map +1 -0
- package/dist/impl/reference_impl.js +24 -37
- package/dist/impl/reference_impl.js.map +1 -1
- package/dist/impl/reference_type_version.d.ts +1 -0
- package/dist/impl/reference_type_version.d.ts.map +1 -0
- package/dist/impl/reference_type_version.js +2 -5
- package/dist/impl/reference_type_version.js.map +1 -1
- package/dist/impl/role_permissions.d.ts +1 -0
- package/dist/impl/role_permissions.d.ts.map +1 -0
- package/dist/impl/role_permissions.js +3 -6
- package/dist/impl/role_permissions.js.map +1 -1
- package/dist/impl/state_machine/finite_state_machine.d.ts +1 -0
- package/dist/impl/state_machine/finite_state_machine.d.ts.map +1 -0
- package/dist/impl/state_machine/finite_state_machine.js +123 -97
- package/dist/impl/state_machine/finite_state_machine.js.map +1 -1
- package/dist/impl/state_machine/ua_shelving_state_machine_ex.d.ts +1 -0
- package/dist/impl/state_machine/ua_shelving_state_machine_ex.d.ts.map +1 -0
- package/dist/impl/state_machine/ua_shelving_state_machine_ex.js +57 -62
- package/dist/impl/state_machine/ua_shelving_state_machine_ex.js.map +1 -1
- package/dist/impl/state_machine/ua_two_state_variable.d.ts +1 -0
- package/dist/impl/state_machine/ua_two_state_variable.d.ts.map +1 -0
- package/dist/impl/state_machine/ua_two_state_variable.js +56 -63
- package/dist/impl/state_machine/ua_two_state_variable.js.map +1 -1
- package/dist/impl/tool_isSubtypeOf.d.ts +1 -0
- package/dist/impl/tool_isSubtypeOf.d.ts.map +1 -0
- package/dist/impl/tool_isSubtypeOf.js +27 -34
- package/dist/impl/tool_isSubtypeOf.js.map +1 -1
- package/dist/impl/ua_condition_type.d.ts +1 -0
- package/dist/impl/ua_condition_type.d.ts.map +1 -0
- package/dist/impl/ua_condition_type.js +1 -2
- package/dist/impl/ua_data_type_impl.d.ts +1 -0
- package/dist/impl/ua_data_type_impl.d.ts.map +1 -0
- package/dist/impl/ua_data_type_impl.js +99 -83
- package/dist/impl/ua_data_type_impl.js.map +1 -1
- package/dist/impl/ua_method_impl.d.ts +3 -2
- package/dist/impl/ua_method_impl.d.ts.map +1 -0
- package/dist/impl/ua_method_impl.js +74 -78
- package/dist/impl/ua_method_impl.js.map +1 -1
- package/dist/impl/ua_object_impl.d.ts +1 -0
- package/dist/impl/ua_object_impl.d.ts.map +1 -0
- package/dist/impl/ua_object_impl.js +48 -51
- package/dist/impl/ua_object_impl.js.map +1 -1
- package/dist/impl/ua_object_type_impl.d.ts +1 -0
- package/dist/impl/ua_object_type_impl.d.ts.map +1 -0
- package/dist/impl/ua_object_type_impl.js +35 -39
- package/dist/impl/ua_object_type_impl.js.map +1 -1
- package/dist/impl/ua_reference_type_impl.d.ts +2 -1
- package/dist/impl/ua_reference_type_impl.d.ts.map +1 -0
- package/dist/impl/ua_reference_type_impl.js +41 -45
- package/dist/impl/ua_reference_type_impl.js.map +1 -1
- package/dist/impl/ua_variable_impl.d.ts +1 -0
- package/dist/impl/ua_variable_impl.d.ts.map +1 -0
- package/dist/impl/ua_variable_impl.js +373 -376
- package/dist/impl/ua_variable_impl.js.map +1 -1
- package/dist/impl/ua_variable_impl_ext_obj.d.ts +1 -0
- package/dist/impl/ua_variable_impl_ext_obj.d.ts.map +1 -0
- package/dist/impl/ua_variable_impl_ext_obj.js +79 -97
- package/dist/impl/ua_variable_impl_ext_obj.js.map +1 -1
- package/dist/impl/ua_variable_type_impl.d.ts +1 -0
- package/dist/impl/ua_variable_type_impl.d.ts.map +1 -0
- package/dist/impl/ua_variable_type_impl.js +77 -84
- package/dist/impl/ua_variable_type_impl.js.map +1 -1
- package/dist/impl/ua_view_impl.d.ts +1 -0
- package/dist/impl/ua_view_impl.d.ts.map +1 -0
- package/dist/impl/ua_view_impl.js +18 -22
- package/dist/impl/ua_view_impl.js.map +1 -1
- package/dist/impl/validate_data_type_correctness.d.ts +1 -0
- package/dist/impl/validate_data_type_correctness.d.ts.map +1 -0
- package/dist/impl/validate_data_type_correctness.js +24 -30
- package/dist/impl/validate_data_type_correctness.js.map +1 -1
- package/dist/tsconfig_base.tsbuildinfo +1 -1
- package/distHelpers/add_event_generator_object.d.ts +1 -0
- package/distHelpers/add_event_generator_object.d.ts.map +1 -0
- package/distHelpers/add_event_generator_object.js +8 -11
- package/distHelpers/add_event_generator_object.js.map +1 -1
- package/distHelpers/address_space_digest.d.ts +1 -0
- package/distHelpers/address_space_digest.d.ts.map +1 -0
- package/distHelpers/address_space_digest.js +1 -5
- package/distHelpers/address_space_digest.js.map +1 -1
- package/distHelpers/alarms_and_conditions_demo.d.ts +1 -0
- package/distHelpers/alarms_and_conditions_demo.d.ts.map +1 -0
- package/distHelpers/alarms_and_conditions_demo.js +8 -11
- package/distHelpers/alarms_and_conditions_demo.js.map +1 -1
- package/distHelpers/assertHasMatchingReference.d.ts +1 -0
- package/distHelpers/assertHasMatchingReference.d.ts.map +1 -0
- package/distHelpers/assertHasMatchingReference.js +6 -9
- package/distHelpers/assertHasMatchingReference.js.map +1 -1
- package/distHelpers/boiler_system.d.ts +1 -0
- package/distHelpers/boiler_system.d.ts.map +1 -0
- package/distHelpers/boiler_system.js +36 -40
- package/distHelpers/boiler_system.js.map +1 -1
- package/distHelpers/create_minimalist_address_space_nodeset.d.ts +1 -0
- package/distHelpers/create_minimalist_address_space_nodeset.d.ts.map +1 -0
- package/distHelpers/create_minimalist_address_space_nodeset.js +29 -35
- package/distHelpers/create_minimalist_address_space_nodeset.js.map +1 -1
- package/distHelpers/date_utils.d.ts +1 -0
- package/distHelpers/date_utils.d.ts.map +1 -0
- package/distHelpers/date_utils.js +1 -4
- package/distHelpers/date_utils.js.map +1 -1
- package/distHelpers/dump_statemachine.d.ts +1 -0
- package/distHelpers/dump_statemachine.d.ts.map +1 -0
- package/distHelpers/dump_statemachine.js +1 -2
- package/distHelpers/dump_statemachine.js.map +1 -1
- package/distHelpers/get_address_space_fixture.d.ts +1 -0
- package/distHelpers/get_address_space_fixture.d.ts.map +1 -0
- package/distHelpers/get_address_space_fixture.js +12 -18
- package/distHelpers/get_address_space_fixture.js.map +1 -1
- package/distHelpers/get_mini_address_space.d.ts +1 -0
- package/distHelpers/get_mini_address_space.d.ts.map +1 -0
- package/distHelpers/get_mini_address_space.js +12 -18
- package/distHelpers/get_mini_address_space.js.map +1 -1
- package/distHelpers/index.d.ts +1 -0
- package/distHelpers/index.d.ts.map +1 -0
- package/distHelpers/index.js +10 -26
- package/distHelpers/index.js.map +1 -1
- package/distHelpers/mock_session.d.ts +1 -0
- package/distHelpers/mock_session.d.ts.map +1 -0
- package/distHelpers/mock_session.js +11 -16
- package/distHelpers/mock_session.js.map +1 -1
- package/distNodeJS/address_space_digest.d.ts +1 -0
- package/distNodeJS/address_space_digest.d.ts.map +1 -0
- package/distNodeJS/address_space_digest.js +3 -6
- package/distNodeJS/address_space_digest.js.map +1 -1
- package/distNodeJS/generate_address_space.d.ts +1 -0
- package/distNodeJS/generate_address_space.d.ts.map +1 -0
- package/distNodeJS/generate_address_space.js +67 -97
- package/distNodeJS/generate_address_space.js.map +1 -1
- package/distNodeJS/index.d.ts +1 -0
- package/distNodeJS/index.d.ts.map +1 -0
- package/distNodeJS/index.js +3 -19
- package/distNodeJS/index.js.map +1 -1
- package/distNodeJS/nodeset_image_file_store.d.ts +1 -0
- package/distNodeJS/nodeset_image_file_store.d.ts.map +1 -0
- package/distNodeJS/nodeset_image_file_store.js +20 -28
- package/distNodeJS/nodeset_image_file_store.js.map +1 -1
- package/impl/_mandatory_child_or_requested_optional_filter.ts +3 -3
- package/impl/address_space.ts +75 -6
- package/impl/address_space_change_event_tools.ts +7 -0
- package/impl/address_space_private.ts +1 -0
- package/impl/alarms_and_conditions/condition_snapshot_impl.ts +1 -1
- package/impl/alarms_and_conditions/ua_acknowledgeable_condition_impl.ts +1 -1
- package/impl/alarms_and_conditions/ua_alarm_condition_impl.ts +1 -1
- package/impl/alarms_and_conditions/ua_condition_impl.ts +1 -1
- package/impl/bulk_load_clock.ts +65 -0
- package/impl/data_access/semantics_changed.ts +39 -1
- package/impl/data_access/ua_multistate_discrete_impl.ts +1 -1
- package/impl/extension_object_array_node.ts +5 -5
- package/impl/historical_access/address_space_historical_data_node.ts +2 -2
- package/impl/namespace_impl.ts +119 -2
- package/impl/namespace_private.ts +3 -0
- package/impl/nodeid_manager.ts +13 -0
- package/impl/nodeset_tools/construct_namespace_dependency.ts +4 -4
- package/impl/nodeset_tools/dump_to_bsd.ts +1 -1
- package/impl/nodeset_tools/nodeset_to_xml.ts +1 -1
- package/impl/state_machine/finite_state_machine.ts +56 -10
- package/impl/state_machine/ua_shelving_state_machine_ex.ts +1 -1
- package/impl/state_machine/ua_two_state_variable.ts +1 -1
- package/impl/tool_isSubtypeOf.ts +1 -1
- package/impl/ua_data_type_impl.ts +26 -5
- package/impl/ua_method_impl.ts +10 -6
- package/impl/ua_object_impl.ts +6 -2
- package/impl/ua_variable_impl.ts +15 -8
- package/impl/ua_variable_type_impl.ts +3 -3
- package/nodeJS.d.ts +1 -1
- package/nodeJS.js +1 -1
- package/package.json +42 -41
- package/source_nodejs/generate_address_space.ts +31 -14
- package/testHelpers.d.ts +1 -1
- package/testHelpers.js +1 -1
- /package/bin/{nodeset_tool_common.js → nodeset_tool_common.cjs} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"localized_text_parser.d.ts","sourceRoot":"","sources":["../../../../api/loader/parsers/localized_text_parser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,aAAa,EAAE,KAAK,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAC3G,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAEjE,MAAM,MAAM,yBAAyB,GAAG,qBAAqB,GAAG;IAC5D,aAAa,EAAE,oBAAoB,CAAC;IACpC,KAAK,EAAE,aAAa,GAAG,IAAI,CAAC;CAC/B,CAAC;AACF,KAAK,yBAAyB,GAAG;IAAE,MAAM,EAAE,yBAAyB,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAErF,eAAO,MAAM,oBAAoB;IAC7B,aAAa;QACT,IAAI,OAAO,yBAAyB;QAIpC,MAAM;YACF,MAAM;gBACF,MAAM,OAAO,yBAAyB;;YAK1C,IAAI;gBACA,MAAM,OAAO,yBAAyB;;;QAM9C,MAAM,OAAO,yBAAyB;;CAI7C,CAAC"}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.localizedText_parser = void 0;
|
|
4
|
-
const node_opcua_data_model_1 = require("node-opcua-data-model");
|
|
5
|
-
exports.localizedText_parser = {
|
|
1
|
+
import { coerceLocalizedText } from "node-opcua-data-model";
|
|
2
|
+
export const localizedText_parser = {
|
|
6
3
|
LocalizedText: {
|
|
7
4
|
init() {
|
|
8
5
|
this.localizedText = { locale: undefined, text: undefined };
|
|
@@ -23,7 +20,7 @@ exports.localizedText_parser = {
|
|
|
23
20
|
}
|
|
24
21
|
},
|
|
25
22
|
finish() {
|
|
26
|
-
this.value =
|
|
23
|
+
this.value = coerceLocalizedText(this.localizedText);
|
|
27
24
|
}
|
|
28
25
|
}
|
|
29
26
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"localized_text_parser.js","sourceRoot":"","sources":["../../../../api/loader/parsers/localized_text_parser.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"localized_text_parser.js","sourceRoot":"","sources":["../../../../api/loader/parsers/localized_text_parser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAiD,MAAM,uBAAuB,CAAC;AAS3G,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAChC,aAAa,EAAE;QACX,IAAI;YACA,IAAI,CAAC,aAAa,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,IA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AAO,qBAAqB;;;;CAMhD,CAAC"}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.makeNodeIdParser = void 0;
|
|
4
|
-
const node_opcua_nodeid_1 = require("node-opcua-nodeid");
|
|
5
|
-
const makeNodeIdParser = (_translateNodeId) => ({
|
|
1
|
+
import { resolveNodeId } from "node-opcua-nodeid";
|
|
2
|
+
export const makeNodeIdParser = (_translateNodeId) => ({
|
|
6
3
|
NodeId: {
|
|
7
4
|
init() {
|
|
8
5
|
this.nodeId = "";
|
|
@@ -10,11 +7,10 @@ const makeNodeIdParser = (_translateNodeId) => ({
|
|
|
10
7
|
parser: {
|
|
11
8
|
Identifier: {
|
|
12
9
|
finish() {
|
|
13
|
-
this.parent.nodeId = _translateNodeId(
|
|
10
|
+
this.parent.nodeId = _translateNodeId(resolveNodeId(this.text.trim()).toString());
|
|
14
11
|
}
|
|
15
12
|
}
|
|
16
13
|
}
|
|
17
14
|
}
|
|
18
15
|
});
|
|
19
|
-
exports.makeNodeIdParser = makeNodeIdParser;
|
|
20
16
|
//# sourceMappingURL=nodeid_parser.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nodeid_parser.js","sourceRoot":"","sources":["../../../../api/loader/parsers/nodeid_parser.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"nodeid_parser.js","sourceRoot":"","sources":["../../../../api/loader/parsers/nodeid_parser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAU/D,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,gBAA4C,EAAE,EAAE,CAAC,CAAC;IAC/E,MAAM,EAAE;QACJ,IAAI;YACA,IAAI,CAAC,MAAM,GAAG,EAAE,CAAC;QACrB,CAAC;QACD,MAAM,EAAE;YACJ,UAAU,EAAE;gBACR,MAAM;oBACF,IAAI,CAAC,MAAM,CAAC,MAAM,GAAG,gBAAgB,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC;gBACtF,CAAC;aACJ;SACJ;KACJ;CACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"qualified_name_parser.d.ts","sourceRoot":"","sources":["../../../../api/loader/parsers/qualified_name_parser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,aAAa,EAAE,KAAK,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAC3G,OAAO,EAAE,KAAK,MAAM,EAAiB,MAAM,mBAAmB,CAAC;AAC/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAEjE,MAAM,WAAW,qBAAsB,SAAQ,qBAAqB;IAChE,KAAK,EAAE,aAAa,GAAG,IAAI,CAAC;IAC5B,aAAa,EAAE,oBAAoB,CAAC;CACvC;AAED,MAAM,WAAW,qBAAqB;IAClC,MAAM,EAAE,qBAAqB,CAAC;IAC9B,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,uBAAuB,qBAAsB,CAAC,MAAM,EAAE,MAAM,KAAK,MAAM;IAChF,aAAa;QACT,IAAI,OAAO,qBAAqB;QAOhC,MAAM;YACF,IAAI;gBACA,MAAM,OAAO,qBAAqB;;YAItC,cAAc;gBACV,MAAM,OAAO,qBAAqB;;;QAO1C,MAAM,OAAO,qBAAqB;;CAIxC,CAAC"}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const node_opcua_data_model_1 = require("node-opcua-data-model");
|
|
5
|
-
const node_opcua_nodeid_1 = require("node-opcua-nodeid");
|
|
6
|
-
const makeQualifiedNameParser = (_translateNodeId) => ({
|
|
1
|
+
import { coerceQualifiedName } from "node-opcua-data-model";
|
|
2
|
+
import { resolveNodeId } from "node-opcua-nodeid";
|
|
3
|
+
export const makeQualifiedNameParser = (_translateNodeId) => ({
|
|
7
4
|
QualifiedName: {
|
|
8
5
|
init() {
|
|
9
6
|
this.qualifiedName = {
|
|
@@ -21,15 +18,14 @@ const makeQualifiedNameParser = (_translateNodeId) => ({
|
|
|
21
18
|
NamespaceIndex: {
|
|
22
19
|
finish() {
|
|
23
20
|
const ns = parseInt(this.text, 10);
|
|
24
|
-
const t = _translateNodeId(
|
|
21
|
+
const t = _translateNodeId(resolveNodeId(`ns=${ns};i=1`).toString());
|
|
25
22
|
this.parent.qualifiedName.namespaceIndex = t.namespace;
|
|
26
23
|
}
|
|
27
24
|
}
|
|
28
25
|
},
|
|
29
26
|
finish() {
|
|
30
|
-
this.value =
|
|
27
|
+
this.value = coerceQualifiedName(this.qualifiedName);
|
|
31
28
|
}
|
|
32
29
|
}
|
|
33
30
|
});
|
|
34
|
-
exports.makeQualifiedNameParser = makeQualifiedNameParser;
|
|
35
31
|
//# sourceMappingURL=qualified_name_parser.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"qualified_name_parser.js","sourceRoot":"","sources":["../../../../api/loader/parsers/qualified_name_parser.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"qualified_name_parser.js","sourceRoot":"","sources":["../../../../api/loader/parsers/qualified_name_parser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAiD,MAAM,uBAAuB,CAAC;AAC3G,OAAO,EAAe,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAa/D,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,gBAA4C,EAAE,EAAE,CAAC,CAAC;IACtF,aAAa,EAAE;QACX,IAAI;YACA,IAAI,CAAC,aAAa,GAAG;gBACjB,cAAc,EAAE,CAAC;gBACjB,IAAI,EAAE,IAAI;aACW,CAAC;YAC1B,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;QACtB,CAAC;QACD,MAAM,EAAE;YACJ,IAAI,EAAE;gBACF,MAAM;oBACF,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;gBACtD,CAAC;aACJ;YACD,cAAc,EAAE;gBACZ,MAAM;oBACF,MAAM,EAAE,GAAG,QAAQ,CAAC,IAAI,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;oBACnC,MAAM,CAAC,GAAG,gBAAgB,CAAC,aAAa,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC;oBACrE,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,cAAc,GAAG,CAAC,CAAC,SAAS,CAAC;gBAC3D,CAAC;aACJ;SACJ;QACD,MAAM;YACF,IAAI,CAAC,KAAK,GAAG,mBAAmB,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QACzD,CAAC;KACJ;CACJ,CAAC,CAAC"}
|
|
@@ -40,3 +40,4 @@ export declare function withoutXmlFragments(options: VariantOptions): VariantOpt
|
|
|
40
40
|
*/
|
|
41
41
|
export declare function makeVariantReader<T extends ReaderStateParserLike>(setValue: (self: T, data: VariantOptions) => void, translateNodeId: (nodeId: string) => NodeId): ReaderStateParserLike;
|
|
42
42
|
export {};
|
|
43
|
+
//# sourceMappingURL=variant_parser.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"variant_parser.d.ts","sourceRoot":"","sources":["../../../../api/loader/parsers/variant_parser.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,KAAK,MAAM,EAAkC,MAAM,mBAAmB,CAAC;AAChF,OAAO,EAAoB,KAAK,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAC3E,OAAO,KAAK,EAAgB,UAAU,EAAE,qBAAqB,EAA2B,MAAM,qBAAqB,CAAC;AACpH,OAAO,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAC;AAkDlE,UAAU,MAAM;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;CAC5B;AAED,MAAM,WAAW,aAAa,CAAC,CAAC,CAAE,SAAQ,MAAM;IAC5C,QAAQ,EAAE,CAAC,EAAE,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE;QACJ,CAAC,GAAG,EAAE,MAAM,GAAG,qBAAqB,GAAG;YAAE,KAAK,CAAC,EAAE,CAAC,CAAC;YAAC,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;SAAE,CAAC;KAClF,CAAC;CACL;AAiBD,qGAAqG;AACrG,MAAM,MAAM,yBAAyB,GAAG,eAAe,GAAG,0BAA0B,CAAC;AAErF,MAAM,WAAW,2BAA4B,SAAQ,aAAa,CAAC,yBAAyB,CAAC;IACzF,mBAAmB,EAAE,yBAAyB,EAAE,CAAC;IACjD,MAAM,EAAE;QACJ,eAAe,EAAE,UAAU,CAAC;KAC/B,CAAC;CACL;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,cAAc,GAAG,cAAc,CAY3E;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,CAAC,SAAS,qBAAqB,EAC7D,QAAQ,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,cAAc,KAAK,IAAI,EACjD,eAAe,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,MAAM,GAC5C,qBAAqB,CAqPvB"}
|
|
@@ -1,16 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
const extension_object_parser_js_1 = require("./extension_object_parser.js");
|
|
11
|
-
const localized_text_parser_js_1 = require("./localized_text_parser.js");
|
|
12
|
-
const nodeid_parser_js_1 = require("./nodeid_parser.js");
|
|
13
|
-
const qualified_name_parser_js_1 = require("./qualified_name_parser.js");
|
|
1
|
+
import { coerceBoolean, coerceInt64, coerceUInt64, DataType, isValidGuid } from "node-opcua-basic-types";
|
|
2
|
+
import { coerceLocalizedText, coerceQualifiedName } from "node-opcua-data-model";
|
|
3
|
+
import { resolveNodeId } from "node-opcua-nodeid";
|
|
4
|
+
import { VariantArrayType } from "node-opcua-variant";
|
|
5
|
+
import { XmlExtensionObjectFragment } from "../nodeset_record.js";
|
|
6
|
+
import { makeExtensionObjectInnerParser, makeExtensionObjectParser } from "./extension_object_parser.js";
|
|
7
|
+
import { localizedText_parser } from "./localized_text_parser.js";
|
|
8
|
+
import { makeNodeIdParser } from "./nodeid_parser.js";
|
|
9
|
+
import { makeQualifiedNameParser } from "./qualified_name_parser.js";
|
|
14
10
|
function BasicType_parser(dataType, parseFunc) {
|
|
15
11
|
const _parser = {};
|
|
16
12
|
const a = {
|
|
@@ -32,8 +28,8 @@ function ListOf(_setValue, dataType, parseFunc) {
|
|
|
32
28
|
parser: BasicType_parser(dataType, parseFunc),
|
|
33
29
|
finish() {
|
|
34
30
|
_setValue({
|
|
35
|
-
arrayType:
|
|
36
|
-
dataType:
|
|
31
|
+
arrayType: VariantArrayType.Array,
|
|
32
|
+
dataType: DataType[dataType],
|
|
37
33
|
value: this.listData
|
|
38
34
|
});
|
|
39
35
|
},
|
|
@@ -46,31 +42,31 @@ function parser2(_setValue, type, p) {
|
|
|
46
42
|
return {
|
|
47
43
|
finish() {
|
|
48
44
|
_setValue({
|
|
49
|
-
arrayType:
|
|
50
|
-
dataType:
|
|
45
|
+
arrayType: VariantArrayType.Scalar,
|
|
46
|
+
dataType: DataType[type],
|
|
51
47
|
value: p(this.text)
|
|
52
48
|
});
|
|
53
49
|
}
|
|
54
50
|
};
|
|
55
51
|
}
|
|
56
|
-
const parseUInt64 = (str) =>
|
|
52
|
+
const parseUInt64 = (str) => coerceUInt64(str);
|
|
57
53
|
/** an invalid date is left as one rather than as null: the document said something, and said it badly */
|
|
58
54
|
const parseDateTime = (str) => new Date(str);
|
|
59
|
-
const parseInt64 = (str) =>
|
|
55
|
+
const parseInt64 = (str) => coerceInt64(str);
|
|
60
56
|
/**
|
|
61
57
|
* an ExtensionObject value whose XML the reader could not decode holds a placeholder; a value
|
|
62
58
|
* used where only decoded objects can go (a Variant field of a structure) drops it, as before
|
|
63
59
|
*/
|
|
64
|
-
function withoutXmlFragments(options) {
|
|
65
|
-
if (options.dataType !==
|
|
60
|
+
export function withoutXmlFragments(options) {
|
|
61
|
+
if (options.dataType !== DataType.ExtensionObject) {
|
|
66
62
|
return options;
|
|
67
63
|
}
|
|
68
64
|
const value = options.value;
|
|
69
|
-
if (value instanceof
|
|
65
|
+
if (value instanceof XmlExtensionObjectFragment) {
|
|
70
66
|
return { ...options, value: null };
|
|
71
67
|
}
|
|
72
|
-
if (Array.isArray(value) && value.some((e) => e instanceof
|
|
73
|
-
return { ...options, value: value.map((e) => (e instanceof
|
|
68
|
+
if (Array.isArray(value) && value.some((e) => e instanceof XmlExtensionObjectFragment)) {
|
|
69
|
+
return { ...options, value: value.map((e) => (e instanceof XmlExtensionObjectFragment ? null : e)) };
|
|
74
70
|
}
|
|
75
71
|
return options;
|
|
76
72
|
}
|
|
@@ -80,7 +76,7 @@ function withoutXmlFragments(options) {
|
|
|
80
76
|
* on the spot is left in the value as an {@link XmlExtensionObjectFragment}, for the consumer of
|
|
81
77
|
* the record to decode once the data types are known
|
|
82
78
|
*/
|
|
83
|
-
function makeVariantReader(setValue, translateNodeId) {
|
|
79
|
+
export function makeVariantReader(setValue, translateNodeId) {
|
|
84
80
|
let self;
|
|
85
81
|
const setValue2 = (data) => {
|
|
86
82
|
setValue(self, data);
|
|
@@ -92,27 +88,27 @@ function makeVariantReader(setValue, translateNodeId) {
|
|
|
92
88
|
},
|
|
93
89
|
parser: {
|
|
94
90
|
QualifiedName: {
|
|
95
|
-
...
|
|
91
|
+
...makeQualifiedNameParser(translateNodeId).QualifiedName,
|
|
96
92
|
finish() {
|
|
97
93
|
setValue2({
|
|
98
|
-
dataType:
|
|
99
|
-
value:
|
|
94
|
+
dataType: DataType.QualifiedName,
|
|
95
|
+
value: coerceQualifiedName({ ...this.qualifiedName })
|
|
100
96
|
});
|
|
101
97
|
}
|
|
102
98
|
},
|
|
103
99
|
LocalizedText: {
|
|
104
|
-
...
|
|
100
|
+
...localizedText_parser.LocalizedText,
|
|
105
101
|
finish() {
|
|
106
102
|
setValue2({
|
|
107
|
-
dataType:
|
|
108
|
-
value:
|
|
103
|
+
dataType: DataType.LocalizedText,
|
|
104
|
+
value: coerceLocalizedText({ ...this.localizedText })
|
|
109
105
|
});
|
|
110
106
|
}
|
|
111
107
|
},
|
|
112
108
|
XmlElement: {
|
|
113
109
|
finish() {
|
|
114
110
|
setValue2({
|
|
115
|
-
dataType:
|
|
111
|
+
dataType: DataType.XmlElement,
|
|
116
112
|
value: this.text
|
|
117
113
|
});
|
|
118
114
|
}
|
|
@@ -120,7 +116,7 @@ function makeVariantReader(setValue, translateNodeId) {
|
|
|
120
116
|
String: {
|
|
121
117
|
finish() {
|
|
122
118
|
setValue2({
|
|
123
|
-
dataType:
|
|
119
|
+
dataType: DataType.String,
|
|
124
120
|
value: this.text
|
|
125
121
|
});
|
|
126
122
|
}
|
|
@@ -130,12 +126,12 @@ function makeVariantReader(setValue, translateNodeId) {
|
|
|
130
126
|
String: {
|
|
131
127
|
finish() {
|
|
132
128
|
const guid = this.text;
|
|
133
|
-
if (!
|
|
129
|
+
if (!isValidGuid(guid)) {
|
|
134
130
|
/* ?*/
|
|
135
131
|
}
|
|
136
132
|
setValue2({
|
|
137
|
-
dataType:
|
|
138
|
-
arrayType:
|
|
133
|
+
dataType: DataType.Guid,
|
|
134
|
+
arrayType: VariantArrayType.Scalar,
|
|
139
135
|
value: this.text
|
|
140
136
|
});
|
|
141
137
|
}
|
|
@@ -148,15 +144,15 @@ function makeVariantReader(setValue, translateNodeId) {
|
|
|
148
144
|
finish() {
|
|
149
145
|
const nodeId = this.text;
|
|
150
146
|
setValue2({
|
|
151
|
-
dataType:
|
|
152
|
-
arrayType:
|
|
153
|
-
value: translateNodeId(
|
|
147
|
+
dataType: DataType.NodeId,
|
|
148
|
+
arrayType: VariantArrayType.Scalar,
|
|
149
|
+
value: translateNodeId(resolveNodeId(nodeId).toString())
|
|
154
150
|
});
|
|
155
151
|
}
|
|
156
152
|
}
|
|
157
153
|
}
|
|
158
154
|
},
|
|
159
|
-
Boolean: parser2(setValue2, "Boolean",
|
|
155
|
+
Boolean: parser2(setValue2, "Boolean", coerceBoolean),
|
|
160
156
|
Byte: parser2(setValue2, "Byte", parseInt),
|
|
161
157
|
Int16: parser2(setValue2, "Int16", parseInt),
|
|
162
158
|
Int32: parser2(setValue2, "Int32", parseInt),
|
|
@@ -179,8 +175,8 @@ function makeVariantReader(setValue, translateNodeId) {
|
|
|
179
175
|
const base64text = this.text;
|
|
180
176
|
const byteString = Buffer.from(base64text, "base64");
|
|
181
177
|
setValue2({
|
|
182
|
-
arrayType:
|
|
183
|
-
dataType:
|
|
178
|
+
arrayType: VariantArrayType.Scalar,
|
|
179
|
+
dataType: DataType.ByteString,
|
|
184
180
|
value: byteString
|
|
185
181
|
});
|
|
186
182
|
}
|
|
@@ -188,7 +184,7 @@ function makeVariantReader(setValue, translateNodeId) {
|
|
|
188
184
|
Float: {
|
|
189
185
|
finish() {
|
|
190
186
|
setValue2({
|
|
191
|
-
dataType:
|
|
187
|
+
dataType: DataType.Float,
|
|
192
188
|
value: parseFloat(this.text)
|
|
193
189
|
});
|
|
194
190
|
}
|
|
@@ -196,36 +192,36 @@ function makeVariantReader(setValue, translateNodeId) {
|
|
|
196
192
|
Double: {
|
|
197
193
|
finish() {
|
|
198
194
|
setValue2({
|
|
199
|
-
dataType:
|
|
195
|
+
dataType: DataType.Double,
|
|
200
196
|
value: parseFloat(this.text)
|
|
201
197
|
});
|
|
202
198
|
}
|
|
203
199
|
},
|
|
204
|
-
ExtensionObject:
|
|
200
|
+
ExtensionObject: makeExtensionObjectInnerParser(translateNodeId, (extensionObject) => {
|
|
205
201
|
setValue2({
|
|
206
|
-
dataType:
|
|
202
|
+
dataType: DataType.ExtensionObject,
|
|
207
203
|
value: extensionObject
|
|
208
204
|
});
|
|
209
205
|
}, (xmlEncodingNodeId, bodyXML, _data) => {
|
|
210
206
|
setValue2({
|
|
211
|
-
dataType:
|
|
212
|
-
arrayType:
|
|
213
|
-
value: new
|
|
207
|
+
dataType: DataType.ExtensionObject,
|
|
208
|
+
arrayType: VariantArrayType.Scalar,
|
|
209
|
+
value: new XmlExtensionObjectFragment(xmlEncodingNodeId, bodyXML)
|
|
214
210
|
});
|
|
215
211
|
}),
|
|
216
212
|
ListOfExtensionObject: {
|
|
217
213
|
init() {
|
|
218
214
|
this.listExtensionObject = [];
|
|
219
215
|
},
|
|
220
|
-
parser:
|
|
216
|
+
parser: makeExtensionObjectParser(translateNodeId, (extensionObject, self) => {
|
|
221
217
|
self.listExtensionObject.push(extensionObject);
|
|
222
218
|
}, (xmlEncodingNodeId, bodyXML, self) => {
|
|
223
|
-
self.listExtensionObject.push(new
|
|
219
|
+
self.listExtensionObject.push(new XmlExtensionObjectFragment(xmlEncodingNodeId, bodyXML));
|
|
224
220
|
}),
|
|
225
221
|
finish() {
|
|
226
222
|
setValue2({
|
|
227
|
-
arrayType:
|
|
228
|
-
dataType:
|
|
223
|
+
arrayType: VariantArrayType.Array,
|
|
224
|
+
dataType: DataType.ExtensionObject,
|
|
229
225
|
value: this.listExtensionObject
|
|
230
226
|
});
|
|
231
227
|
this.listExtensionObject = [];
|
|
@@ -236,15 +232,15 @@ function makeVariantReader(setValue, translateNodeId) {
|
|
|
236
232
|
this.listData = [];
|
|
237
233
|
},
|
|
238
234
|
parser: {
|
|
239
|
-
...
|
|
235
|
+
...localizedText_parser
|
|
240
236
|
},
|
|
241
237
|
endElement() {
|
|
242
238
|
this.listData.push(this.parser.LocalizedText.value);
|
|
243
239
|
},
|
|
244
240
|
finish() {
|
|
245
241
|
setValue2({
|
|
246
|
-
arrayType:
|
|
247
|
-
dataType:
|
|
242
|
+
arrayType: VariantArrayType.Array,
|
|
243
|
+
dataType: DataType.LocalizedText,
|
|
248
244
|
value: this.listData
|
|
249
245
|
});
|
|
250
246
|
}
|
|
@@ -253,14 +249,14 @@ function makeVariantReader(setValue, translateNodeId) {
|
|
|
253
249
|
init() {
|
|
254
250
|
this.listData = [];
|
|
255
251
|
},
|
|
256
|
-
parser:
|
|
252
|
+
parser: makeQualifiedNameParser(translateNodeId),
|
|
257
253
|
endElement() {
|
|
258
254
|
this.listData.push(this.parser.QualifiedName.value);
|
|
259
255
|
},
|
|
260
256
|
finish() {
|
|
261
257
|
setValue2({
|
|
262
|
-
arrayType:
|
|
263
|
-
dataType:
|
|
258
|
+
arrayType: VariantArrayType.Array,
|
|
259
|
+
dataType: DataType.QualifiedName,
|
|
264
260
|
value: this.listData
|
|
265
261
|
});
|
|
266
262
|
}
|
|
@@ -269,19 +265,19 @@ function makeVariantReader(setValue, translateNodeId) {
|
|
|
269
265
|
init() {
|
|
270
266
|
this.listData = [];
|
|
271
267
|
},
|
|
272
|
-
parser:
|
|
268
|
+
parser: makeNodeIdParser(translateNodeId),
|
|
273
269
|
endElement(_elementName) {
|
|
274
270
|
this.listData.push(this.parser.NodeId.nodeId);
|
|
275
271
|
},
|
|
276
272
|
finish() {
|
|
277
273
|
setValue2({
|
|
278
|
-
arrayType:
|
|
279
|
-
dataType:
|
|
274
|
+
arrayType: VariantArrayType.Array,
|
|
275
|
+
dataType: DataType.NodeId,
|
|
280
276
|
value: this.listData
|
|
281
277
|
});
|
|
282
278
|
}
|
|
283
279
|
},
|
|
284
|
-
ListOfBoolean: ListOf(setValue2, "Boolean",
|
|
280
|
+
ListOfBoolean: ListOf(setValue2, "Boolean", coerceBoolean),
|
|
285
281
|
ListOfByte: ListOf(setValue2, "Byte", parseInt),
|
|
286
282
|
ListOfDouble: ListOf(setValue2, "Double", parseFloat),
|
|
287
283
|
ListOfFloat: ListOf(setValue2, "Float", parseFloat),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"variant_parser.js","sourceRoot":"","sources":["../../../../api/loader/parsers/variant_parser.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"variant_parser.js","sourceRoot":"","sources":["../../../../api/loader/parsers/variant_parser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,YAAY,EAAE,QAAQ,EAAc,WAAW,EAAe,MAAM,wBAAwB,CAAC;AAClI,OAAO,EACH,mBAAmB,EACnB,mBAAmB,EAGtB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAgC,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAChF,OAAO,EAAE,gBAAgB,EAAuB,MAAM,oBAAoB,CAAC;AAE3E,OAAO,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,EAAE,8BAA8B,EAAE,yBAAyB,EAAE,MAAM,8BAA8B,CAAC;AACzG,OAAO,EAAkC,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClG,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,uBAAuB,EAA8B,MAAM,4BAA4B,CAAC;AAOjG,SAAS,gBAAgB,CAAI,QAAgB,EAAE,SAA8D;IACzG,MAAM,OAAO,GAA0C,EAAE,CAAC;IAC1D,MAAM,CAAC,GAAG;QACN,IAAI,CAAuC,KAAa,EAAE,MAAqB,EAAE,OAAqB,EAAE,OAAiB;YACrH,IAAI,CAAC,KAAK,GAAG,SAAS,CAAC;QAC3B,CAAC;QACD,MAAM;YACF,IAAI,CAAC,KAAK,GAAG,SAAS,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;QACjD,CAAC;KACJ,CAAC;IACF,OAAO,CAAC,QAAQ,CAAC,GAAG,CAA0B,CAAC;IAC/C,OAAO,OAAqB,CAAC;AAC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S,EAAE,YAAY,EAAE,CAAC,KAAa,EAAE,EAAE,CAAC,KAAK,CAAC;SACtF;KACJ,CAAC;IACF,OAAO,MAA0C,CAAC;AACtD,CAAC"}
|
|
@@ -8,3 +8,4 @@ import { type Promoter } from "./namespace_post_step.js";
|
|
|
8
8
|
* or `VariableTypeIds` constant.
|
|
9
9
|
*/
|
|
10
10
|
export declare function registerNodePromoter(typeDefinitionNodeId: NodeId | number, promoter: Promoter, onInstanceOnly?: boolean): void;
|
|
11
|
+
//# sourceMappingURL=register_node_promoter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"register_node_promoter.d.ts","sourceRoot":"","sources":["../../../api/loader/register_node_promoter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAEhD,OAAO,EAAsB,KAAK,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAE7E;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,oBAAoB,EAAE,MAAM,GAAG,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,cAAc,UAAQ,GAAG,IAAI,CAE5H"}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.registerNodePromoter = registerNodePromoter;
|
|
4
|
-
const node_opcua_nodeid_1 = require("node-opcua-nodeid");
|
|
5
|
-
const namespace_post_step_js_1 = require("./namespace_post_step.js");
|
|
1
|
+
import { resolveNodeId } from "node-opcua-nodeid";
|
|
2
|
+
import { g_promotableObject } from "./namespace_post_step.js";
|
|
6
3
|
/**
|
|
7
4
|
* A promoter is not only for namespace 0. An application registers one for a type it defines
|
|
8
5
|
* itself, or for a companion-specification type (DI, ADI, Machinery...), and those types have a
|
|
@@ -10,7 +7,7 @@ const namespace_post_step_js_1 = require("./namespace_post_step.js");
|
|
|
10
7
|
* The numeric form stays because a namespace-0 type is naturally written as an `ObjectTypeIds`
|
|
11
8
|
* or `VariableTypeIds` constant.
|
|
12
9
|
*/
|
|
13
|
-
function registerNodePromoter(typeDefinitionNodeId, promoter, onInstanceOnly = false) {
|
|
14
|
-
|
|
10
|
+
export function registerNodePromoter(typeDefinitionNodeId, promoter, onInstanceOnly = false) {
|
|
11
|
+
g_promotableObject.set(resolveNodeId(typeDefinitionNodeId).toString(), { promoter, onInstanceOnly });
|
|
15
12
|
}
|
|
16
13
|
//# sourceMappingURL=register_node_promoter.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"register_node_promoter.js","sourceRoot":"","sources":["../../../api/loader/register_node_promoter.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"register_node_promoter.js","sourceRoot":"","sources":["../../../api/loader/register_node_promoter.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,kBAAkB,EAAiB,MAAM,0BAA0B,CAAC;AAE7E;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,oBAAqC,EAAE,QAAkB,EAAE,cAAc,GAAG,KAAK;IAClH,kBAAkB,CAAC,GAAG,CAAC,aAAa,CAAC,oBAAoB,CAAC,CAAC,QAAQ,EAAE,EAAE,EAAE,QAAQ,EAAE,cAAc,EAAE,CAAC,CAAC;AACzG,CAAC"}
|
package/dist/api/namespace.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"namespace.d.ts","sourceRoot":"","sources":["../../api/namespace.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,KAAK,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACpH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAEhE,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,oCAAoC,CAAC;AACtF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AACvE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAE3E,2FAA2F;AAC3F,MAAM,WAAW,sBAAsB;IACnC;;;OAGG;IACH,gBAAgB,CAAC,OAAO,CAAC,EAAE,uBAAuB,GAAG,QAAQ,CAAC,aAAa,CAAC,CAAC;IAC7E,6CAA6C;IAC7C,cAAc,CAAC,OAAO,CAAC,EAAE,uBAAuB,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;CAC1E;AAED,MAAM,WAAW,SACb,SAAQ,UAAU,EACd,2BAA2B,EAC3B,oBAAoB,EACpB,sBAAsB,EACtB,sBAAsB;CAAG"}
|
package/dist/api/namespace.js
CHANGED
|
@@ -31,3 +31,4 @@ export interface INamespaceAlarmAndCondition {
|
|
|
31
31
|
instantiateDiscreteAlarm(discreteAlarmType: UAEventType | NodeId | string, options: InstantiateAlarmConditionOptions, data?: Record<string, VariantOptions>): UADiscreteAlarmEx;
|
|
32
32
|
instantiateOffNormalAlarm(options: InstantiateOffNormalAlarmOptions, data?: Record<string, VariantOptions>): UAOffNormalAlarmEx;
|
|
33
33
|
}
|
|
34
|
+
//# sourceMappingURL=namespace_alarm_and_condition.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"namespace_alarm_and_condition.d.ts","sourceRoot":"","sources":["../../api/namespace_alarm_and_condition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2DAA2D,CAAC;AACpG,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,2EAA2E,CAAC;AAClI,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,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AAM,EAAE,cAAc,CAAC,GAAG,kBAAkB,CAAC;CACnI"}
|
|
@@ -65,3 +65,4 @@ export interface INamespaceDataAccess {
|
|
|
65
65
|
addMultiStateDiscrete<T, DT extends DataType>(options: AddMultiStateDiscreteOptions): UAMultiStateDiscreteEx<T, DT>;
|
|
66
66
|
addMultiStateValueDiscrete<T, DT extends DataType>(options: AddMultiStateValueDiscreteOptions): UAMultiStateValueDiscreteEx<T, DT>;
|
|
67
67
|
}
|
|
68
|
+
//# sourceMappingURL=namespace_data_access.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"namespace_data_access.d.ts","sourceRoot":"","sources":["../../api/namespace_data_access.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,8BAA8B,EAC9B,oBAAoB,EACpB,mBAAmB,EACnB,UAAU,EACV,cAAc,EACjB,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,KAAK,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACtE,OAAO,KAAK,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAC5E,OAAO,KAAK,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,KAAK,EACR,4BAA4B,EAC5B,iCAAiC,EACjC,0BAA0B,EAC1B,0BAA0B,EAC7B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uDAAuD,CAAC;AACpG,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,6DAA6D,CAAC;AAC/G,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sDAAsD,CAAC;AACjG,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAC;AACrF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAE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AEpG,aAAa,CAAC,EAAE,SAAS,QAAQ,CAAC,MAAM,GAAG,QAAQ,CAAC,KAAK,EAAE,OAAO,EAAE,oBAAoB,GAAG,cAAc,CAAC,EAAE,CAAC,CAAC;IAE9G,mBAAmB,CAAC,OAAO,EAAE,0BAA0B,GAAG,oBAAoB,CAAC;IAE/E,mBAAmB,CAAC,OAAO,EAAE,0BAA0B,GAAG,oBAAoB,CAAC;IAE/E,qBAAqB,CAAC,CAAC,EAAE,EAAE,SAAS,QAAQ,EAAE,OAAO,EAAE,4BAA4B,GAAG,sBAAsB,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IAEpH,0BAA0B,CAAC,CAAC,EAAE,EAAE,SAAS,QAAQ,EAC7C,OAAO,EAAE,iCAAiC,GAC3C,2BAA2B,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;CACzC"}
|
|
@@ -6,3 +6,4 @@ export interface INamespaceMachineState {
|
|
|
6
6
|
addState(component: UAObject | UAObjectType, stateName: QualifiedNameLike, stateNumber: number, isInitialState?: boolean): UAState;
|
|
7
7
|
addTransition(component: UAObject | UAObjectType, fromState: string, toState: string, transitionNumber: number, browseName?: QualifiedNameLike): UATransitionEx;
|
|
8
8
|
}
|
|
9
|
+
//# sourceMappingURL=namespace_machine_state.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"namespace_machine_state.d.ts","sourceRoot":"","sources":["../../api/namespace_machine_state.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAErD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAC;AACrF,MAAM,WAAW,sBAAsB;IACnC,QAAQ,CACJ,SAAS,EAAE,QAAQ,GAAG,YAAY,EAClC,SAAS,EAAE,iBAAiB,EAC5B,WAAW,EAAE,MAAM,EACnB,cAAc,CAAC,EAAE,OAAO,GACzB,OAAO,CAAC;IACX,aAAa,CACT,SAAS,EAAE,QAAQ,GAAG,YAAY,EAClC,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,EACxB,UAAU,CAAC,EAAE,iBAAiB,GAC/B,cAAc,CAAC;CACrB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"namespace_of.d.ts","sourceRoot":"","sources":["../../api/namespace_of.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAEhD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,QAAQ,GAAG,SAAS,CAIrD"}
|
package/dist/api/namespace_of.js
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.namespaceOf = namespaceOf;
|
|
4
1
|
/**
|
|
5
2
|
* The namespace a node belongs to, seen through the published {@link Namespace}.
|
|
6
3
|
*
|
|
@@ -21,7 +18,7 @@ exports.namespaceOf = namespaceOf;
|
|
|
21
18
|
* });
|
|
22
19
|
* ```
|
|
23
20
|
*/
|
|
24
|
-
function namespaceOf(node) {
|
|
21
|
+
export function namespaceOf(node) {
|
|
25
22
|
// every namespace in this address space is a NamespaceImpl, which satisfies Namespace;
|
|
26
23
|
// only the declaration BaseNode can reach is narrower
|
|
27
24
|
return node.namespace;
|