@flexem/fc-gui 3.0.0-alpha.1 → 3.0.0-alpha.100
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/CHANGELOG.md +452 -0
- package/bundles/@flexem/fc-gui.umd.js +60678 -85216
- package/bundles/@flexem/fc-gui.umd.js.map +1 -1
- package/bundles/@flexem/fc-gui.umd.min.js +5 -70
- package/bundles/@flexem/fc-gui.umd.min.js.map +1 -1
- package/communication/index.metadata.json +1 -0
- package/communication/variable/index.metadata.json +1 -0
- package/communication/variable/variable-communicator.d.ts +3 -2
- package/communication/variable/variable-communicator.metadata.json +1 -0
- package/communication/variable/variable-definition.metadata.json +1 -0
- package/communication/variable/variable-state-enum.metadata.json +1 -0
- package/communication/variable/variable-state.metadata.json +1 -0
- package/communication/variable/variable-value.metadata.json +1 -0
- package/config/alarm/alarm.store.d.ts +6 -0
- package/config/alarm/alarm.store.js +0 -0
- package/config/alarm/alarm.store.metadata.json +1 -0
- package/config/alarm/get-alarms-args.d.ts +9 -0
- package/config/alarm/get-alarms-args.js +9 -0
- package/config/alarm/get-alarms-args.metadata.json +1 -0
- package/config/alarm/index.d.ts +2 -0
- package/config/alarm/index.js +1 -0
- package/config/alarm/index.metadata.json +1 -0
- package/config/config-store.d.ts +2 -0
- package/config/config-store.metadata.json +1 -0
- package/config/graph/graph-result.metadata.json +1 -0
- package/config/graph/graph-store.metadata.json +1 -0
- package/config/graph/graph-type.metadata.json +1 -0
- package/config/graph/graph.metadata.json +1 -0
- package/config/history-data/get-history-data-args.metadata.json +1 -0
- package/config/history-data/historical-curve.time-range.metadata.json +1 -0
- package/config/history-data/history-data-value.metadata.json +1 -0
- package/config/history-data/history-data.model.metadata.json +1 -0
- package/config/history-data/history-data.store.metadata.json +1 -0
- package/config/history-data/index.metadata.json +1 -0
- package/config/image/image-store.metadata.json +1 -0
- package/config/index.d.ts +1 -0
- package/config/index.js +1 -0
- package/config/index.metadata.json +1 -0
- package/config/variable/get-variable-name-args.metadata.json +1 -0
- package/config/variable/index.metadata.json +1 -0
- package/config/variable/variable-store.metadata.json +1 -0
- package/config/view/view-store.metadata.json +1 -0
- package/config/view/view.model.metadata.json +1 -0
- package/core/index.metadata.json +1 -0
- package/core/stringifying-map.metadata.json +1 -0
- package/core/stringifying-set.metadata.json +1 -0
- package/elements/air-quality/air-quality-element.d.ts +31 -0
- package/elements/air-quality/air-quality-element.js +194 -0
- package/elements/air-quality/air-quality-element.metadata.json +1 -0
- package/elements/alarm/alarm-element.d.ts +44 -0
- package/elements/alarm/alarm-element.js +386 -0
- package/elements/alarm/alarm-element.metadata.json +1 -0
- package/elements/bar-graph-element.d.ts +8 -2
- package/elements/bar-graph-element.js +72 -6
- package/elements/bar-graph-element.metadata.json +1 -0
- package/elements/base/base-element.d.ts +2 -1
- package/elements/base/base-element.js +2 -1
- package/elements/base/base-element.metadata.json +1 -0
- package/elements/base/conditional-control-element.d.ts +1 -1
- package/elements/base/conditional-control-element.js +3 -3
- package/elements/base/conditional-control-element.metadata.json +1 -0
- package/elements/base/conditional-display-element.d.ts +1 -1
- package/elements/base/conditional-display-element.js +4 -4
- package/elements/base/conditional-display-element.metadata.json +1 -0
- package/elements/base/conditional-dynamic-display-element.d.ts +1 -1
- package/elements/base/conditional-dynamic-display-element.js +3 -3
- package/elements/base/conditional-dynamic-display-element.metadata.json +1 -0
- package/elements/base/conditional-enable-element.d.ts +1 -1
- package/elements/base/conditional-enable-element.js +4 -4
- package/elements/base/conditional-enable-element.metadata.json +1 -0
- package/elements/base/index.metadata.json +1 -0
- package/elements/base/readable-element.d.ts +7 -2
- package/elements/base/readable-element.js +33 -4
- package/elements/base/readable-element.metadata.json +1 -0
- package/elements/base/state-control-element.d.ts +1 -1
- package/elements/base/state-control-element.js +2 -2
- package/elements/base/state-control-element.metadata.json +1 -0
- package/elements/character-display/character-display-element.d.ts +2 -2
- package/elements/character-display/character-display-element.js +2 -2
- package/elements/character-display/character-display-element.metadata.json +1 -0
- package/elements/datetime-display/datetime-display-element.d.ts +1 -1
- package/elements/datetime-display/datetime-display-element.js +2 -2
- package/elements/datetime-display/datetime-display-element.metadata.json +1 -0
- package/elements/historical-curve/historical-curve-element-status.metadata.json +1 -0
- package/elements/historical-curve/historical-curve.element.d.ts +4 -1
- package/elements/historical-curve/historical-curve.element.js +202 -20
- package/elements/historical-curve/historical-curve.element.metadata.json +1 -0
- package/elements/historical-curve/historical-curve.element.option.metadata.json +1 -0
- package/elements/historical-curve/historical-curve.time-period.metadata.json +1 -0
- package/elements/main-element.d.ts +3 -2
- package/elements/main-element.js +48 -26
- package/elements/main-element.metadata.json +1 -0
- package/elements/meter-element.d.ts +8 -2
- package/elements/meter-element.js +78 -9
- package/elements/meter-element.metadata.json +1 -0
- package/elements/numerical-display/numerical-display-element.d.ts +10 -3
- package/elements/numerical-display/numerical-display-element.js +66 -13
- package/elements/numerical-display/numerical-display-element.metadata.json +1 -0
- package/elements/per-view-variable-communicator.d.ts +4 -2
- package/elements/per-view-variable-communicator.js +12 -4
- package/elements/per-view-variable-communicator.metadata.json +1 -0
- package/elements/pipe/pipe-element.d.ts +1 -1
- package/elements/pipe/pipe-element.js +2 -2
- package/elements/pipe/pipe-element.metadata.json +1 -0
- package/elements/ring-graph/ring-graph-element.d.ts +11 -2
- package/elements/ring-graph/ring-graph-element.js +108 -5
- package/elements/ring-graph/ring-graph-element.metadata.json +1 -0
- package/elements/shared/graph/graph-state-element.js +0 -3
- package/elements/shared/graph/graph-state-element.metadata.json +1 -0
- package/elements/shared/math-utils.metadata.json +1 -0
- package/elements/shared/text/text-element.js +13 -2
- package/elements/shared/text/text-element.metadata.json +1 -0
- package/elements/shared/text/text-state-element.js +1 -1
- package/elements/shared/text/text-state-element.metadata.json +1 -0
- package/elements/shared/text/text-state.model.metadata.json +1 -0
- package/elements/shared/text/text-utils.metadata.json +1 -0
- package/elements/static-elements/hyperlink-element.d.ts +1 -1
- package/elements/static-elements/hyperlink-element.js +2 -2
- package/elements/static-elements/hyperlink-element.metadata.json +1 -0
- package/elements/static-elements/image-element.d.ts +1 -1
- package/elements/static-elements/image-element.js +2 -2
- package/elements/static-elements/image-element.metadata.json +1 -0
- package/elements/static-elements/text-element.d.ts +1 -1
- package/elements/static-elements/text-element.js +2 -2
- package/elements/static-elements/text-element.metadata.json +1 -0
- package/elements/switch-indicator-light/bit-indicator-light-operator.d.ts +1 -1
- package/elements/switch-indicator-light/bit-indicator-light-operator.js +4 -4
- package/elements/switch-indicator-light/bit-indicator-light-operator.metadata.json +1 -0
- package/elements/switch-indicator-light/bit-switch-operator.d.ts +3 -1
- package/elements/switch-indicator-light/bit-switch-operator.js +22 -2
- package/elements/switch-indicator-light/bit-switch-operator.metadata.json +1 -0
- package/elements/switch-indicator-light/current-stateId-value.metadata.json +1 -0
- package/elements/switch-indicator-light/indicator-light-operator.d.ts +1 -1
- package/elements/switch-indicator-light/indicator-light-operator.metadata.json +1 -0
- package/elements/switch-indicator-light/switch-indicator-light-element.d.ts +10 -2
- package/elements/switch-indicator-light/switch-indicator-light-element.js +98 -28
- package/elements/switch-indicator-light/switch-indicator-light-element.metadata.json +1 -0
- package/elements/switch-indicator-light/switch-operator.d.ts +1 -0
- package/elements/switch-indicator-light/switch-operator.metadata.json +1 -0
- package/elements/switch-indicator-light/word-indicator-light-operator.d.ts +1 -1
- package/elements/switch-indicator-light/word-indicator-light-operator.js +5 -5
- package/elements/switch-indicator-light/word-indicator-light-operator.metadata.json +1 -0
- package/elements/switch-indicator-light/word-switch-operator.d.ts +3 -1
- package/elements/switch-indicator-light/word-switch-operator.js +9 -2
- package/elements/switch-indicator-light/word-switch-operator.metadata.json +1 -0
- package/elements/table/table-element.d.ts +1 -1
- package/elements/table/table-element.js +2 -2
- package/elements/table/table-element.metadata.json +1 -0
- package/elements/vector-graphics/ellipse-element.d.ts +1 -1
- package/elements/vector-graphics/ellipse-element.js +2 -2
- package/elements/vector-graphics/ellipse-element.metadata.json +1 -0
- package/elements/vector-graphics/poly-line-element.d.ts +1 -1
- package/elements/vector-graphics/poly-line-element.js +2 -2
- package/elements/vector-graphics/poly-line-element.metadata.json +1 -0
- package/elements/vector-graphics/polygon-element.d.ts +1 -1
- package/elements/vector-graphics/polygon-element.js +2 -2
- package/elements/vector-graphics/polygon-element.metadata.json +1 -0
- package/elements/vector-graphics/rectangle-element.d.ts +1 -1
- package/elements/vector-graphics/rectangle-element.js +2 -2
- package/elements/vector-graphics/rectangle-element.metadata.json +1 -0
- package/elements/vector-graphics/sector-element.d.ts +1 -1
- package/elements/vector-graphics/sector-element.js +2 -2
- package/elements/vector-graphics/sector-element.metadata.json +1 -0
- package/elements/vector-graphics/straight-line-element.d.ts +1 -1
- package/elements/vector-graphics/straight-line-element.js +2 -2
- package/elements/vector-graphics/straight-line-element.metadata.json +1 -0
- package/elements/video/video-element.d.ts +5 -1
- package/elements/video/video-element.js +76 -22
- package/elements/video/video-element.metadata.json +1 -0
- package/elements/view-operation/view-operation.element.d.ts +2 -2
- package/elements/view-operation/view-operation.element.js +10 -2
- package/elements/view-operation/view-operation.element.metadata.json +1 -0
- package/elements/weather/weater-element.d.ts +1 -1
- package/elements/weather/weater-element.js +2 -3
- package/elements/weather/weater-element.metadata.json +1 -0
- package/gui/gui-context.d.ts +2 -1
- package/gui/gui-context.metadata.json +1 -0
- package/gui/gui-host.d.ts +2 -2
- package/gui/gui-host.js +1 -1
- package/gui/gui-host.metadata.json +1 -0
- package/gui/gui-view.d.ts +2 -1
- package/gui/gui-view.js +3 -2
- package/gui/gui-view.metadata.json +1 -0
- package/gui/gui.component.d.ts +4 -4
- package/gui/gui.component.js +64 -35
- package/gui/gui.component.metadata.json +1 -0
- package/gui/interfaces/gui-options.metadata.json +1 -0
- package/gui.module.d.ts +0 -14
- package/gui.module.js +52 -73
- package/gui.module.metadata.json +1 -0
- package/localization/index.metadata.json +1 -0
- package/localization/localization.service.d.ts +7 -0
- package/localization/localization.service.js +8 -1
- package/localization/localization.service.metadata.json +1 -0
- package/localization/localization.service.zh_CN.js +8 -1
- package/localization/localization.service.zh_CN.metadata.json +1 -0
- package/logger/console-logger.service.metadata.json +1 -0
- package/logger/index.metadata.json +1 -0
- package/logger/logger.service.metadata.json +1 -0
- package/modal/alert/alert-modal.component.d.ts +0 -3
- package/modal/alert/alert-modal.component.js +24 -36
- package/modal/alert/alert-modal.component.metadata.json +1 -0
- package/modal/confirm-operation/confirm-operation-modal.component.d.ts +0 -3
- package/modal/confirm-operation/confirm-operation-modal.component.js +24 -46
- package/modal/confirm-operation/confirm-operation-modal.component.metadata.json +1 -0
- package/modal/verify-password/verify-password-modal.component.d.ts +0 -3
- package/modal/verify-password/verify-password-modal.component.js +24 -73
- package/modal/verify-password/verify-password-modal.component.metadata.json +1 -0
- package/modal/write-character/write-character-modal-args.metadata.json +1 -0
- package/modal/write-character/write-character-modal.component.d.ts +0 -3
- package/modal/write-character/write-character-modal.component.js +29 -89
- package/modal/write-character/write-character-modal.component.metadata.json +1 -0
- package/modal/write-value/write-value-modal-args.d.ts +5 -1
- package/modal/write-value/write-value-modal-args.js +4 -1
- package/modal/write-value/write-value-modal-args.metadata.json +1 -0
- package/modal/write-value/write-value-modal.component.d.ts +10 -10
- package/modal/write-value/write-value-modal.component.html +9 -4
- package/modal/write-value/write-value-modal.component.js +93 -113
- package/modal/write-value/write-value-modal.component.metadata.json +1 -0
- package/modal/write-value/write-value-model-result.metadata.json +1 -0
- package/model/air-quality/air-quality-info.d.ts +23 -0
- package/model/air-quality/air-quality-info.js +4 -0
- package/model/air-quality/air-quality-info.metadata.json +1 -0
- package/model/air-quality/air-quality.model.d.ts +7 -0
- package/model/air-quality/air-quality.model.js +0 -0
- package/model/air-quality/air-quality.model.metadata.json +1 -0
- package/model/alarm/alarm.model.d.ts +13 -0
- package/model/alarm/alarm.model.js +0 -0
- package/model/alarm/alarm.model.metadata.json +1 -0
- package/model/bar-graph/FontStyleData.metadata.json +1 -0
- package/model/bar-graph/bar-graph-direction.metadata.json +1 -0
- package/model/bar-graph/bar-graph.d.ts +4 -0
- package/model/bar-graph/bar-graph.metadata.json +1 -0
- package/model/base/base-element-model.metadata.json +1 -0
- package/model/base/conditional-control-model.metadata.json +1 -0
- package/model/base/conditional-display-model.metadata.json +1 -0
- package/model/base/conditional-dynamic-display-model.metadata.json +1 -0
- package/model/base/conditional-enable-model.metadata.json +1 -0
- package/model/base/font-setting-model.metadata.json +1 -0
- package/model/base/index.metadata.json +1 -0
- package/model/base/readable-model.d.ts +4 -0
- package/model/base/readable-model.metadata.json +1 -0
- package/model/base/security-model.metadata.json +1 -0
- package/model/character-display/character-display.metadata.json +1 -0
- package/model/datetime-display/date-format-type.metadata.json +1 -0
- package/model/datetime-display/datetime-display-settings.metadata.json +1 -0
- package/model/datetime-display/datetime-display.metadata.json +1 -0
- package/model/datetime-display/datetime-separator-type.metadata.json +1 -0
- package/model/datetime-display/time-format-type.metadata.json +1 -0
- package/model/historical-curve/curve-type.metadata.json +1 -0
- package/model/historical-curve/historical-curve-axis-settings.d.ts +10 -0
- package/model/historical-curve/historical-curve-axis-settings.js +5 -0
- package/model/historical-curve/historical-curve-axis-settings.metadata.json +1 -0
- package/model/historical-curve/historical-curve-chanel.model.d.ts +8 -0
- package/model/historical-curve/historical-curve-chanel.model.metadata.json +1 -0
- package/model/historical-curve/historical-curve.data-settings.metadata.json +1 -0
- package/model/historical-curve/historical-curve.display-settings.metadata.json +1 -0
- package/model/historical-curve/historical-curve.model.metadata.json +1 -0
- package/model/historical-curve/index.metadata.json +1 -0
- package/model/hyperlink/hyperlink.model.metadata.json +1 -0
- package/model/image/image-fill-type.metadata.json +1 -0
- package/model/image/image.metadata.json +1 -0
- package/model/index.metadata.json +1 -0
- package/model/meter/meter.d.ts +4 -0
- package/model/meter/meter.metadata.json +1 -0
- package/model/numerical-display/index.metadata.json +1 -0
- package/model/numerical-display/numerical-display.d.ts +2 -0
- package/model/numerical-display/numerical-display.metadata.json +1 -0
- package/model/numerical-display/numerical-operation-settings.metadata.json +1 -0
- package/model/numerical-display/numerical-operation-type.metadata.json +1 -0
- package/model/numerical-display/numerical-operation.metadata.json +1 -0
- package/model/numerical-display/proportional-conversion.metadata.json +1 -0
- package/model/numerical-display/type-settings.metadata.json +1 -0
- package/model/numerical-display/zoom.metadata.json +1 -0
- package/model/pipe/flow-direction-type.metadata.json +1 -0
- package/model/pipe/index.metadata.json +1 -0
- package/model/pipe/pipe.metadata.json +1 -0
- package/model/poly-line/poly-line-model.metadata.json +1 -0
- package/model/polygon/polygon-model.metadata.json +1 -0
- package/model/ring-graph/ring-graph.model.d.ts +8 -0
- package/model/ring-graph/ring-graph.model.metadata.json +1 -0
- package/model/settings/background/view-background-fill-type.metadata.json +1 -0
- package/model/settings/background/view-background.model.metadata.json +1 -0
- package/model/settings/index.metadata.json +1 -0
- package/model/settings/popup/view-popup-backdrop-type.metadata.json +1 -0
- package/model/settings/popup/view-popup-location-type.metadata.json +1 -0
- package/model/settings/popup/view-popup-setting.model.metadata.json +1 -0
- package/model/settings/view-settings.model.metadata.json +1 -0
- package/model/shared/alarm/alarm-range.model.metadata.json +1 -0
- package/model/shared/arc.model.metadata.json +1 -0
- package/model/shared/binary.metadata.json +1 -0
- package/model/shared/condition/bit-condition-item-observer.d.ts +1 -1
- package/model/shared/condition/bit-condition-item-observer.js +4 -4
- package/model/shared/condition/bit-condition-item-observer.metadata.json +1 -0
- package/model/shared/condition/bit-condition-logic.metadata.json +1 -0
- package/model/shared/condition/bit-condition-model.metadata.json +1 -0
- package/model/shared/condition/bit-condition.metadata.json +1 -0
- package/model/shared/condition/condition-control-result-value.metadata.json +1 -0
- package/model/shared/condition/condition-helper.metadata.json +1 -0
- package/model/shared/condition/condition-item-model.metadata.json +1 -0
- package/model/shared/condition/condition-item-observer.metadata.json +1 -0
- package/model/shared/condition/condition-items-observer.metadata.json +1 -0
- package/model/shared/condition/condition-items-result-observer.d.ts +1 -1
- package/model/shared/condition/condition-items-result-observer.js +22 -12
- package/model/shared/condition/condition-items-result-observer.metadata.json +1 -0
- package/model/shared/condition/condition-model.metadata.json +1 -0
- package/model/shared/condition/condition-type.metadata.json +1 -0
- package/model/shared/condition/convert-condition-model.d.ts +5 -0
- package/model/shared/condition/convert-condition-model.js +0 -0
- package/model/shared/condition/convert-condition-model.metadata.json +1 -0
- package/model/shared/condition/index.metadata.json +1 -0
- package/model/shared/condition/relation-condition-result-state.metadata.json +1 -0
- package/model/shared/condition/relation-condition-result.d.ts +2 -1
- package/model/shared/condition/relation-condition-result.js +2 -1
- package/model/shared/condition/relation-condition-result.metadata.json +1 -0
- package/model/shared/condition/relation-type.metadata.json +1 -0
- package/model/shared/condition/relational-operator.metadata.json +1 -0
- package/model/shared/condition/variable-value-logic-model.metadata.json +1 -0
- package/model/shared/condition/variable-value-type.metadata.json +1 -0
- package/model/shared/condition/word-condition-item-observer.d.ts +1 -1
- package/model/shared/condition/word-condition-item-observer.js +11 -11
- package/model/shared/condition/word-condition-item-observer.metadata.json +1 -0
- package/model/shared/condition/word-condition-model.metadata.json +1 -0
- package/model/shared/condition/word-condition.metadata.json +1 -0
- package/model/shared/data-type/display-data-type.metadata.json +1 -0
- package/model/shared/data-type/fbox-data-type.metadata.json +1 -0
- package/model/shared/data-type/fcloud-data-Type.metadata.json +1 -0
- package/model/shared/dynamic-display/dynamic-behavior-type.metadata.json +1 -0
- package/model/shared/dynamic-display/dynamic-display-behavior-model.metadata.json +1 -0
- package/model/shared/dynamic-display/dynamic-display-model.metadata.json +1 -0
- package/model/shared/dynamic-display/dynamic-display-result-model.metadata.json +1 -0
- package/model/shared/dynamic-display/dynamic-display.d.ts +1 -1
- package/model/shared/dynamic-display/dynamic-display.js +4 -4
- package/model/shared/dynamic-display/dynamic-display.metadata.json +1 -0
- package/model/shared/graph/custom-style.metadata.json +1 -0
- package/model/shared/graph/graph-setting.metadata.json +1 -0
- package/model/shared/index.metadata.json +1 -0
- package/model/shared/point.model.metadata.json +1 -0
- package/model/shared/rotation/rotation-behavior-model.metadata.json +1 -0
- package/model/shared/rotation/rotation-behavior.d.ts +1 -1
- package/model/shared/rotation/rotation-behavior.js +2 -2
- package/model/shared/rotation/rotation-behavior.metadata.json +1 -0
- package/model/shared/rotation/rotation-direction-type.metadata.json +1 -0
- package/model/shared/rotation/rotation-model.metadata.json +1 -0
- package/model/shared/rotation/rotation-observer-model.metadata.json +1 -0
- package/model/shared/rotation/rotation-observer.d.ts +2 -1
- package/model/shared/rotation/rotation-observer.js +3 -2
- package/model/shared/rotation/rotation-observer.metadata.json +1 -0
- package/model/shared/scale/scale-mark.model.metadata.json +1 -0
- package/model/shared/scale/scale-model.metadata.json +1 -0
- package/model/shared/size.model.metadata.json +1 -0
- package/model/shared/state/index.metadata.json +1 -0
- package/model/shared/state/state.metadata.json +1 -0
- package/model/shared/text/font.metadata.json +1 -0
- package/model/shared/text/index.metadata.json +1 -0
- package/model/shared/text/text.metadata.json +1 -0
- package/model/shared/translation/translation-behavior-model.metadata.json +1 -0
- package/model/shared/translation/translation-behavior.d.ts +1 -1
- package/model/shared/translation/translation-behavior.js +3 -3
- package/model/shared/translation/translation-behavior.metadata.json +1 -0
- package/model/shared/translation/translation-direction-type.metadata.json +1 -0
- package/model/shared/translation/translation-model.metadata.json +1 -0
- package/model/shared/translation/translation-observer-model.metadata.json +1 -0
- package/model/shared/translation/translation-observer.d.ts +1 -1
- package/model/shared/translation/translation-observer.js +2 -2
- package/model/shared/translation/translation-observer.metadata.json +1 -0
- package/model/shared/variable/variable-identifier.model.metadata.json +1 -0
- package/model/shared/variable/variable-name.model.metadata.json +1 -0
- package/model/straight-line/straight-line-model.metadata.json +1 -0
- package/model/switch-indicator-light/bit-indicator-light-settings.metadata.json +1 -0
- package/model/switch-indicator-light/bit-switch-operation.d.ts +2 -1
- package/model/switch-indicator-light/bit-switch-operation.js +1 -0
- package/model/switch-indicator-light/bit-switch-operation.metadata.json +1 -0
- package/model/switch-indicator-light/bit-switch-settings.metadata.json +1 -0
- package/model/switch-indicator-light/fault-flicker.metadata.json +1 -0
- package/model/switch-indicator-light/flicker.metadata.json +1 -0
- package/model/switch-indicator-light/index.metadata.json +1 -0
- package/model/switch-indicator-light/indicator-light-fault-flicker.metadata.json +1 -0
- package/model/switch-indicator-light/indicator-light-settings.metadata.json +1 -0
- package/model/switch-indicator-light/indicator-light-type.metadata.json +1 -0
- package/model/switch-indicator-light/switch-indicator-light.metadata.json +1 -0
- package/model/switch-indicator-light/switch-indicator-state.metadata.json +1 -0
- package/model/switch-indicator-light/switch-settings.metadata.json +1 -0
- package/model/switch-indicator-light/switch-type.metadata.json +1 -0
- package/model/switch-indicator-light/word-indicator-light-settings.metadata.json +1 -0
- package/model/switch-indicator-light/word-switch-operation.metadata.json +1 -0
- package/model/switch-indicator-light/word-switch-settings.metadata.json +1 -0
- package/model/table/table-model.metadata.json +1 -0
- package/model/text/text.model.metadata.json +1 -0
- package/model/video/video.model.metadata.json +1 -0
- package/model/view-operation/index.metadata.json +1 -0
- package/model/view-operation/view-operation-element.model.metadata.json +1 -0
- package/model/view-operation/view-operation-type.metadata.json +1 -0
- package/model/weather/weather-info.metadata.json +1 -0
- package/model/weather/weather.model.metadata.json +1 -0
- package/package.json +1 -1
- package/public_api.metadata.json +1 -0
- package/remote/communication/variable/remote-variable-communicator.d.ts +7 -2
- package/remote/communication/variable/remote-variable-communicator.js +38 -9
- package/remote/communication/variable/remote-variable-communicator.metadata.json +1 -0
- package/remote/communication/variable/remote-variable-protocol.d.ts +5 -2
- package/remote/communication/variable/remote-variable-protocol.metadata.json +1 -0
- package/remote/config/graph/get-released-graph-state-result.metadata.json +1 -0
- package/remote/config/graph/get-released-graph-states.metadata.json +1 -0
- package/remote/config/graph/graph-state-key.metadata.json +1 -0
- package/remote/config/graph/graph-state-result.metadata.json +1 -0
- package/remote/config/graph/graph-state.metadata.json +1 -0
- package/remote/config/graph/remote-graph-protocol.metadata.json +1 -0
- package/remote/config/graph/remote-graph-store.metadata.json +1 -0
- package/remote/config/image/remote-image-protocol.metadata.json +1 -0
- package/remote/config/image/remote-image-store.metadata.json +1 -0
- package/remote/config/view/remote-view-protocol.metadata.json +1 -0
- package/remote/config/view/remote-view-store.metadata.json +1 -0
- package/remote/config/view/view-result.metadata.json +1 -0
- package/remote/index.metadata.json +1 -0
- package/security/index.metadata.json +1 -0
- package/security/security-checker.metadata.json +1 -0
- package/service/index.d.ts +1 -0
- package/service/index.metadata.json +1 -0
- package/service/operation-record/create-operation-record-args.metadata.json +1 -0
- package/service/operation-record/index.metadata.json +1 -0
- package/service/operation-record/operation-record.service.metadata.json +1 -0
- package/service/operation-record/variable-option.model.metadata.json +1 -0
- package/service/permission-checker.metadata.json +1 -0
- package/service/released-variable/index.d.ts +1 -0
- package/service/released-variable/index.js +0 -0
- package/service/released-variable/index.metadata.json +1 -0
- package/service/released-variable/released-variable.service.d.ts +4 -0
- package/service/released-variable/released-variable.service.js +0 -0
- package/service/released-variable/released-variable.service.metadata.json +1 -0
- package/service/video/index.metadata.json +1 -0
- package/service/video/video-url.metadata.json +1 -0
- package/service/video/video.service.metadata.json +1 -0
- package/service/weather.service.d.ts +1 -0
- package/service/weather.service.metadata.json +1 -0
- package/settings/display-mode.metadata.json +1 -0
- package/settings/global-settings.d.ts +0 -3
- package/settings/global-settings.js +12 -8
- package/settings/global-settings.metadata.json +1 -0
- package/settings/index.metadata.json +1 -0
- package/settings/view-resize-mode.metadata.json +1 -0
- package/shared/config-is-empty-error.metadata.json +1 -0
- package/shared/disposable.metadata.json +1 -0
- package/shared/graph-extended-style.metadata.json +1 -0
- package/shared/gui-consts.d.ts +2 -0
- package/shared/gui-consts.js +2 -0
- package/shared/gui-consts.metadata.json +1 -0
- package/shared/index.metadata.json +1 -0
- package/shared/operation-helper.metadata.json +1 -0
- package/utils/access-permission.metadata.json +1 -0
- package/utils/access-permission.service.d.ts +0 -3
- package/utils/access-permission.service.js +12 -8
- package/utils/access-permission.service.metadata.json +1 -0
- package/utils/auto-focus.directive.d.ts +0 -3
- package/utils/auto-focus.directive.js +18 -11
- package/utils/auto-focus.directive.metadata.json +1 -0
- package/utils/bs-modal-drag.directive.d.ts +0 -3
- package/utils/bs-modal-drag.directive.js +18 -11
- package/utils/bs-modal-drag.directive.metadata.json +1 -0
- package/utils/data-type/data-type.service.d.ts +4 -10
- package/utils/data-type/data-type.service.js +46 -27
- package/utils/data-type/data-type.service.metadata.json +1 -0
- package/utils/data-type/fbox-data-type.service.d.ts +0 -3
- package/utils/data-type/fbox-data-type.service.js +60 -11
- package/utils/data-type/fbox-data-type.service.metadata.json +1 -0
- package/utils/data-type/fcloud-data-type.service.d.ts +0 -3
- package/utils/data-type/fcloud-data-type.service.js +20 -11
- package/utils/data-type/fcloud-data-type.service.metadata.json +1 -0
- package/utils/fraction-digit.service.d.ts +0 -3
- package/utils/fraction-digit.service.js +12 -8
- package/utils/fraction-digit.service.metadata.json +1 -0
- package/utils/graph-util.metadata.json +1 -0
- package/utils/guid.metadata.json +1 -0
- package/utils/index.metadata.json +1 -0
- package/utils/numerical-operation-type.metadata.json +1 -0
- package/utils/numerical-operation.service.d.ts +0 -3
- package/utils/numerical-operation.service.js +18 -11
- package/utils/numerical-operation.service.metadata.json +1 -0
- package/utils/variable-util.metadata.json +1 -0
- package/view/popup-view.service.metadata.json +1 -0
- package/view/view.service.d.ts +0 -3
- package/view/view.service.js +16 -8
- package/view/view.service.metadata.json +1 -0
- package/gui/scripts/config.js +0 -6
- package/gui/scripts/require.js +0 -2145
- package/libs/nvd3/build/nv.d3.min.js +0 -13
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"__symbolic":"module","version":4,"metadata":{"GuiConsts":{"__symbolic":"class","statics":{"components":{"imageKey":"Image","numericalDisplayKey":"NumericalDisplay","textKey":"Text","hyperlinkKey":"Hyperlink","meterKey":"Meter","pipeKey":"Pipe","switchIndicatorLightKey":"SwitchIndicatorLight","barGraphKey":"BarGraph","toggleViewKey":"ToggleView","characterKey":"Character","straightLineKey":"StraightLine","polyLineKey":"PolyLine","rectangleKey":"Rectangle","sectorkey":"Sector","ellipseKey":"Ellipse","datetimeDisplayKey":"DatetimeDisplay","historicalCurveKey":"HistoricalCurve","ringGraphKey":"RingGraph","viewOperationElement":"ViewOperation","polygonKey":"Polygon","videokey":"Video","tableKey":"Table","weatherKey":"Weather","airQualityKey":"AirQualityIndex","alarmKey":"Alarm"}}}}}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"__symbolic":"module","version":4,"metadata":{},"exports":[{"from":"./disposable","export":["Disposable"]},{"from":"./config-is-empty-error","export":["ConfigIsEmptyError"]},{"from":"./operation-helper","export":["OperationHelper"]},{"from":"./gui-consts","export":["GuiConsts"]},{"from":"./graph-extended-style","export":["GraphExtendedStyle"]}]}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"__symbolic":"module","version":4,"metadata":{"OperationHelper":{"__symbolic":"class"}}}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"__symbolic":"module","version":4,"metadata":{"AccessPermission":{"Write":2,"ReadOnly":4,"ReadWrite":6}}}]
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { AccessPermission } from './access-permission';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
2
|
export declare class AccessPermissionService {
|
|
4
3
|
getAccessPermissions(): {
|
|
5
4
|
key: AccessPermission;
|
|
@@ -9,6 +8,4 @@ export declare class AccessPermissionService {
|
|
|
9
8
|
isReadWrite(privilege: any): boolean;
|
|
10
9
|
canRead(privilege: any): boolean;
|
|
11
10
|
canWrite(privilege: any): boolean;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDef<AccessPermissionService, never>;
|
|
13
|
-
static ɵprov: i0.ɵɵInjectableDef<AccessPermissionService>;
|
|
14
11
|
}
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
1
7
|
import { Injectable } from '@angular/core';
|
|
2
8
|
import { AccessPermission } from './access-permission';
|
|
3
|
-
|
|
4
|
-
export class AccessPermissionService {
|
|
9
|
+
let AccessPermissionService = class AccessPermissionService {
|
|
5
10
|
getAccessPermissions() {
|
|
6
11
|
return [{ key: AccessPermission.ReadOnly, value: 'ReadOnly' }, { key: AccessPermission.ReadWrite, value: 'ReadWrite' }];
|
|
7
12
|
}
|
|
@@ -18,9 +23,8 @@ export class AccessPermissionService {
|
|
|
18
23
|
canWrite(privilege) {
|
|
19
24
|
return privilege === AccessPermission.ReadWrite || privilege === AccessPermission.Write;
|
|
20
25
|
}
|
|
21
|
-
}
|
|
22
|
-
AccessPermissionService
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}], null, null); })();
|
|
26
|
+
};
|
|
27
|
+
AccessPermissionService = __decorate([
|
|
28
|
+
Injectable()
|
|
29
|
+
], AccessPermissionService);
|
|
30
|
+
export { AccessPermissionService };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"__symbolic":"module","version":4,"metadata":{"AccessPermissionService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":3,"character":1}}],"members":{"getAccessPermissions":[{"__symbolic":"method"}],"isReadOnly":[{"__symbolic":"method"}],"isReadWrite":[{"__symbolic":"method"}],"canRead":[{"__symbolic":"method"}],"canWrite":[{"__symbolic":"method"}]}}}}]
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import { ElementRef, AfterViewInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
2
|
export declare class AutoFocusDirective implements AfterViewInit {
|
|
4
3
|
private _element;
|
|
5
4
|
constructor(_element: ElementRef);
|
|
6
5
|
ngAfterViewInit(): void;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDef<AutoFocusDirective, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDefWithMeta<AutoFocusDirective, "[autoFocus]", never, {}, {}, never>;
|
|
9
6
|
}
|
|
@@ -1,6 +1,14 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
1
10
|
import { Directive, ElementRef } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
export class AutoFocusDirective {
|
|
11
|
+
let AutoFocusDirective = class AutoFocusDirective {
|
|
4
12
|
constructor(_element) {
|
|
5
13
|
this._element = _element;
|
|
6
14
|
}
|
|
@@ -9,12 +17,11 @@ export class AutoFocusDirective {
|
|
|
9
17
|
$(this._element.nativeElement).focus();
|
|
10
18
|
}, 100);
|
|
11
19
|
}
|
|
12
|
-
}
|
|
13
|
-
AutoFocusDirective
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}], function () { return [{ type: i0.ElementRef }]; }, null); })();
|
|
20
|
+
};
|
|
21
|
+
AutoFocusDirective = __decorate([
|
|
22
|
+
Directive({
|
|
23
|
+
selector: '[autoFocus]'
|
|
24
|
+
}),
|
|
25
|
+
__metadata("design:paramtypes", [ElementRef])
|
|
26
|
+
], AutoFocusDirective);
|
|
27
|
+
export { AutoFocusDirective };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"__symbolic":"module","version":4,"metadata":{"AutoFocusDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":2,"character":1},"arguments":[{"selector":"[autoFocus]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":7,"character":34}]}],"ngAfterViewInit":[{"__symbolic":"method"}]}}}}]
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { ElementRef, AfterViewInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
2
|
export declare class BsModalDragDirective implements AfterViewInit {
|
|
4
3
|
private readonly _element;
|
|
5
4
|
constructor(_element: ElementRef);
|
|
6
5
|
ngAfterViewInit(): void;
|
|
7
6
|
private setDrag;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDef<BsModalDragDirective, never>;
|
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDefWithMeta<BsModalDragDirective, "[bs-modal-drag]", never, {}, {}, never>;
|
|
10
7
|
}
|
|
@@ -1,6 +1,14 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
1
10
|
import { Directive, ElementRef } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
export class BsModalDragDirective {
|
|
11
|
+
let BsModalDragDirective = class BsModalDragDirective {
|
|
4
12
|
constructor(_element) {
|
|
5
13
|
this._element = _element;
|
|
6
14
|
}
|
|
@@ -20,12 +28,11 @@ export class BsModalDragDirective {
|
|
|
20
28
|
scroll: false
|
|
21
29
|
});
|
|
22
30
|
}
|
|
23
|
-
}
|
|
24
|
-
BsModalDragDirective
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
}], function () { return [{ type: i0.ElementRef }]; }, null); })();
|
|
31
|
+
};
|
|
32
|
+
BsModalDragDirective = __decorate([
|
|
33
|
+
Directive({
|
|
34
|
+
selector: '[bs-modal-drag]'
|
|
35
|
+
}),
|
|
36
|
+
__metadata("design:paramtypes", [ElementRef])
|
|
37
|
+
], BsModalDragDirective);
|
|
38
|
+
export { BsModalDragDirective };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"__symbolic":"module","version":4,"metadata":{"BsModalDragDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":2,"character":1},"arguments":[{"selector":"[bs-modal-drag]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":7,"character":43}]}],"ngAfterViewInit":[{"__symbolic":"method"}],"setDrag":[{"__symbolic":"method"}]}}}}]
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { FCloudDataTypeService } from './fcloud-data-type.service';
|
|
2
2
|
import { FBoxDataTypeService } from './fbox-data-type.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
3
|
export declare class DataTypeService {
|
|
5
4
|
private fcloudDataTypeService;
|
|
6
5
|
private fboxDataTypeService;
|
|
@@ -13,10 +12,9 @@ export declare class DataTypeService {
|
|
|
13
12
|
isFloat(version: number, id: number): boolean;
|
|
14
13
|
/**
|
|
15
14
|
* 获取数据型号最大长度
|
|
16
|
-
* @param
|
|
17
|
-
* @param id
|
|
15
|
+
* @param id fbox数据类型
|
|
18
16
|
*/
|
|
19
|
-
getValueMaxLength(version: number,
|
|
17
|
+
getValueMaxLength(version: number, dataType: number, fBoxDataType: number): number;
|
|
20
18
|
/**
|
|
21
19
|
* 是否支持小数位
|
|
22
20
|
* @param version
|
|
@@ -44,20 +42,16 @@ export declare class DataTypeService {
|
|
|
44
42
|
formatToDecimal(version: number, value: any, id: number): any;
|
|
45
43
|
/**
|
|
46
44
|
* 获取数据型号最小值
|
|
47
|
-
* @param version
|
|
48
45
|
* @param id
|
|
49
46
|
* @param? integerDigits
|
|
50
47
|
* @param? fractionDigits
|
|
51
48
|
*/
|
|
52
|
-
getMinValue(version: number,
|
|
49
|
+
getMinValue(version: number, dataType: number, fBoxDataType: number, integerDigits?: number, fractionDigits?: number): number;
|
|
53
50
|
/**
|
|
54
51
|
* 获取数据型号最大值
|
|
55
|
-
* @param version
|
|
56
52
|
* @param id
|
|
57
53
|
* @param? integerDigits
|
|
58
54
|
* @param? fractionDigits
|
|
59
55
|
*/
|
|
60
|
-
getMaxValue(version: number,
|
|
61
|
-
static ɵfac: i0.ɵɵFactoryDef<DataTypeService, never>;
|
|
62
|
-
static ɵprov: i0.ɵɵInjectableDef<DataTypeService>;
|
|
56
|
+
getMaxValue(version: number, dataType: number, fBoxDataType: number, integerDigits?: number, fractionDigits?: number): number;
|
|
63
57
|
}
|
|
@@ -1,11 +1,17 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
1
10
|
import { Injectable } from '@angular/core';
|
|
2
|
-
import { isNil } from 'lodash';
|
|
11
|
+
import { isNil, isNumber } from 'lodash';
|
|
3
12
|
import { FCloudDataTypeService } from './fcloud-data-type.service';
|
|
4
13
|
import { FBoxDataTypeService } from './fbox-data-type.service';
|
|
5
|
-
|
|
6
|
-
import * as i1 from "./fcloud-data-type.service";
|
|
7
|
-
import * as i2 from "./fbox-data-type.service";
|
|
8
|
-
export class DataTypeService {
|
|
14
|
+
let DataTypeService = class DataTypeService {
|
|
9
15
|
constructor(fcloudDataTypeService, fboxDataTypeService) {
|
|
10
16
|
this.fcloudDataTypeService = fcloudDataTypeService;
|
|
11
17
|
this.fboxDataTypeService = fboxDataTypeService;
|
|
@@ -48,14 +54,18 @@ export class DataTypeService {
|
|
|
48
54
|
}
|
|
49
55
|
/**
|
|
50
56
|
* 获取数据型号最大长度
|
|
51
|
-
* @param
|
|
52
|
-
* @param id
|
|
57
|
+
* @param id fbox数据类型
|
|
53
58
|
*/
|
|
54
|
-
getValueMaxLength(version,
|
|
55
|
-
if (
|
|
56
|
-
return this.
|
|
59
|
+
getValueMaxLength(version, dataType, fBoxDataType) {
|
|
60
|
+
if (isNumber(fBoxDataType)) {
|
|
61
|
+
return this.fboxDataTypeService.getValueMaxLength(fBoxDataType);
|
|
62
|
+
}
|
|
63
|
+
else {
|
|
64
|
+
if (!isNil(version) && version > 4) {
|
|
65
|
+
return this.fcloudDataTypeService.getValueMaxLength(dataType);
|
|
66
|
+
}
|
|
67
|
+
return this.fboxDataTypeService.getValueMaxLength(dataType);
|
|
57
68
|
}
|
|
58
|
-
return this.fboxDataTypeService.getValueMaxLength(id);
|
|
59
69
|
}
|
|
60
70
|
/**
|
|
61
71
|
* 是否支持小数位
|
|
@@ -104,33 +114,42 @@ export class DataTypeService {
|
|
|
104
114
|
}
|
|
105
115
|
/**
|
|
106
116
|
* 获取数据型号最小值
|
|
107
|
-
* @param version
|
|
108
117
|
* @param id
|
|
109
118
|
* @param? integerDigits
|
|
110
119
|
* @param? fractionDigits
|
|
111
120
|
*/
|
|
112
|
-
getMinValue(version,
|
|
113
|
-
if (
|
|
114
|
-
return this.
|
|
121
|
+
getMinValue(version, dataType, fBoxDataType, integerDigits, fractionDigits) {
|
|
122
|
+
if (isNumber(fBoxDataType)) {
|
|
123
|
+
return this.fboxDataTypeService.getMinValue(fBoxDataType, integerDigits, fractionDigits);
|
|
124
|
+
}
|
|
125
|
+
else {
|
|
126
|
+
if (!isNil(version) && version > 4) {
|
|
127
|
+
return this.fcloudDataTypeService.getMinValue(dataType);
|
|
128
|
+
}
|
|
129
|
+
return this.fboxDataTypeService.getMinValue(dataType);
|
|
115
130
|
}
|
|
116
|
-
return this.fboxDataTypeService.getMinValue(id, integerDigits, fractionDigits);
|
|
117
131
|
}
|
|
118
132
|
/**
|
|
119
133
|
* 获取数据型号最大值
|
|
120
|
-
* @param version
|
|
121
134
|
* @param id
|
|
122
135
|
* @param? integerDigits
|
|
123
136
|
* @param? fractionDigits
|
|
124
137
|
*/
|
|
125
|
-
getMaxValue(version,
|
|
126
|
-
if (
|
|
127
|
-
return this.
|
|
138
|
+
getMaxValue(version, dataType, fBoxDataType, integerDigits, fractionDigits) {
|
|
139
|
+
if (isNumber(fBoxDataType)) {
|
|
140
|
+
return this.fboxDataTypeService.getMaxValue(fBoxDataType, integerDigits, fractionDigits);
|
|
141
|
+
}
|
|
142
|
+
else {
|
|
143
|
+
if (!isNil(version) && version > 4) {
|
|
144
|
+
return this.fcloudDataTypeService.getMaxValue(dataType);
|
|
145
|
+
}
|
|
146
|
+
return this.fboxDataTypeService.getMaxValue(dataType);
|
|
128
147
|
}
|
|
129
|
-
return this.fboxDataTypeService.getMaxValue(id, integerDigits, fractionDigits);
|
|
130
148
|
}
|
|
131
|
-
}
|
|
132
|
-
DataTypeService
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
149
|
+
};
|
|
150
|
+
DataTypeService = __decorate([
|
|
151
|
+
Injectable(),
|
|
152
|
+
__metadata("design:paramtypes", [FCloudDataTypeService,
|
|
153
|
+
FBoxDataTypeService])
|
|
154
|
+
], DataTypeService);
|
|
155
|
+
export { DataTypeService };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"__symbolic":"module","version":4,"metadata":{"DataTypeService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":5,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./fcloud-data-type.service","name":"FCloudDataTypeService","line":9,"character":39},{"__symbolic":"reference","module":"./fbox-data-type.service","name":"FBoxDataTypeService","line":10,"character":37}]}],"getValueType":[{"__symbolic":"method"}],"getValuePattern":[{"__symbolic":"method"}],"isHexType":[{"__symbolic":"method"}],"isBinaryType":[{"__symbolic":"method"}],"isHexOrBinaryType":[{"__symbolic":"method"}],"isFloat":[{"__symbolic":"method"}],"getValueMaxLength":[{"__symbolic":"method"}],"isSupportFractionDigit":[{"__symbolic":"method"}],"isSignedType":[{"__symbolic":"method"}],"isSupportNumericalOperation":[{"__symbolic":"method"}],"formatToDecimal":[{"__symbolic":"method"}],"getMinValue":[{"__symbolic":"method"}],"getMaxValue":[{"__symbolic":"method"}]}}}}]
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Localization } from '../../localization';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
2
|
export declare class FBoxDataTypeService {
|
|
4
3
|
private localization;
|
|
5
4
|
defaultIntegerDigits: number;
|
|
@@ -52,6 +51,4 @@ export declare class FBoxDataTypeService {
|
|
|
52
51
|
*/
|
|
53
52
|
getMaxValue(id: number, integerDigits?: number, fractionDigits?: number): number;
|
|
54
53
|
getFillNine(num: number): string;
|
|
55
|
-
static ɵfac: i0.ɵɵFactoryDef<FBoxDataTypeService, never>;
|
|
56
|
-
static ɵprov: i0.ɵɵInjectableDef<FBoxDataTypeService>;
|
|
57
54
|
}
|
|
@@ -1,7 +1,18 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
11
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
|
12
|
+
};
|
|
1
13
|
import { Injectable, Inject } from '@angular/core';
|
|
2
14
|
import { LOCALIZATION } from '../../localization';
|
|
3
|
-
|
|
4
|
-
export class FBoxDataTypeService {
|
|
15
|
+
let FBoxDataTypeService = class FBoxDataTypeService {
|
|
5
16
|
constructor(localization) {
|
|
6
17
|
this.localization = localization;
|
|
7
18
|
this.defaultIntegerDigits = 4;
|
|
@@ -98,6 +109,16 @@ export class FBoxDataTypeService {
|
|
|
98
109
|
return 8;
|
|
99
110
|
case 15: // Binary32
|
|
100
111
|
return 32;
|
|
112
|
+
case 21: // UInt64
|
|
113
|
+
return 16;
|
|
114
|
+
case 22: // Int64
|
|
115
|
+
return 16;
|
|
116
|
+
case 23: // Bcd64
|
|
117
|
+
return 16;
|
|
118
|
+
case 24: // Hex64
|
|
119
|
+
return 8;
|
|
120
|
+
case 25: // Binary64
|
|
121
|
+
return 32;
|
|
101
122
|
default:
|
|
102
123
|
return 0;
|
|
103
124
|
}
|
|
@@ -154,6 +175,12 @@ export class FBoxDataTypeService {
|
|
|
154
175
|
case 13: // Bcd32
|
|
155
176
|
case 14: // Hex32
|
|
156
177
|
case 15: // Binary32
|
|
178
|
+
case 21: // UInt64
|
|
179
|
+
case 23: // Bcd64
|
|
180
|
+
case 14: // Hex32
|
|
181
|
+
case 15: // Binary32
|
|
182
|
+
case 24: // Hex64
|
|
183
|
+
case 25: // Binary64
|
|
157
184
|
minValue = 0;
|
|
158
185
|
break;
|
|
159
186
|
case 2: // Int16
|
|
@@ -165,6 +192,13 @@ export class FBoxDataTypeService {
|
|
|
165
192
|
case 16: // Single
|
|
166
193
|
minValue = -1000000000;
|
|
167
194
|
break;
|
|
195
|
+
case 22: // Int64
|
|
196
|
+
// minValue = -9223372036854775808;
|
|
197
|
+
minValue = Number.MIN_SAFE_INTEGER;
|
|
198
|
+
break;
|
|
199
|
+
case 26: // Double
|
|
200
|
+
minValue = -Number.MAX_VALUE;
|
|
201
|
+
break;
|
|
168
202
|
}
|
|
169
203
|
if (integerDigits) {
|
|
170
204
|
let digitsLength = integerDigits;
|
|
@@ -216,6 +250,23 @@ export class FBoxDataTypeService {
|
|
|
216
250
|
case 16: // Single
|
|
217
251
|
maxValue = 1000000000;
|
|
218
252
|
break;
|
|
253
|
+
case 21: // UInt64
|
|
254
|
+
case 24: // Hex64
|
|
255
|
+
case 25: // Binary64
|
|
256
|
+
// maxValue = 18446744073709551615;
|
|
257
|
+
maxValue = Number.MAX_SAFE_INTEGER;
|
|
258
|
+
break;
|
|
259
|
+
case 22: // Int64
|
|
260
|
+
// maxValue = 9223372036854775807;
|
|
261
|
+
maxValue = Number.MAX_SAFE_INTEGER;
|
|
262
|
+
break;
|
|
263
|
+
case 23: // Bcd64
|
|
264
|
+
// maxValue = 9999999999999999;
|
|
265
|
+
maxValue = Number.MAX_SAFE_INTEGER;
|
|
266
|
+
break;
|
|
267
|
+
case 26: // Double
|
|
268
|
+
maxValue = Number.MAX_VALUE;
|
|
269
|
+
break;
|
|
219
270
|
}
|
|
220
271
|
if (integerDigits) {
|
|
221
272
|
let digitsLength = integerDigits;
|
|
@@ -240,12 +291,10 @@ export class FBoxDataTypeService {
|
|
|
240
291
|
}
|
|
241
292
|
return text;
|
|
242
293
|
}
|
|
243
|
-
}
|
|
244
|
-
FBoxDataTypeService
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
args: [LOCALIZATION]
|
|
251
|
-
}] }]; }, null); })();
|
|
294
|
+
};
|
|
295
|
+
FBoxDataTypeService = __decorate([
|
|
296
|
+
Injectable(),
|
|
297
|
+
__param(0, Inject(LOCALIZATION)),
|
|
298
|
+
__metadata("design:paramtypes", [Object])
|
|
299
|
+
], FBoxDataTypeService);
|
|
300
|
+
export { FBoxDataTypeService };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"__symbolic":"module","version":4,"metadata":{"FBoxDataTypeService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":3,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":9,"character":17},"arguments":[{"__symbolic":"reference","module":"../../localization","name":"LOCALIZATION","line":9,"character":24}]}]],"parameters":[{"__symbolic":"reference","module":"../../localization","name":"Localization","line":9,"character":60}]}],"getValueType":[{"__symbolic":"method"}],"getValuePattern":[{"__symbolic":"method"}],"isHexType":[{"__symbolic":"method"}],"isBinaryType":[{"__symbolic":"method"}],"isHexOrBinaryType":[{"__symbolic":"method"}],"isFloat":[{"__symbolic":"method"}],"getValueMaxLength":[{"__symbolic":"method"}],"isSupportFractionDigit":[{"__symbolic":"method"}],"isSignedType":[{"__symbolic":"method"}],"isSupportNumericalOperation":[{"__symbolic":"method"}],"formatToDecimal":[{"__symbolic":"method"}],"getMinValue":[{"__symbolic":"method"}],"getMaxValue":[{"__symbolic":"method"}],"getFillNine":[{"__symbolic":"method"}]}}}}]
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Localization } from '../../localization';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
2
|
export declare class FCloudDataTypeService {
|
|
4
3
|
private localization;
|
|
5
4
|
defaultIntegerDigits: number;
|
|
@@ -53,6 +52,4 @@ export declare class FCloudDataTypeService {
|
|
|
53
52
|
*/
|
|
54
53
|
getMaxValue(id: number, integerDigits?: number, fractionDigits?: number): number;
|
|
55
54
|
getFillNine(num: number): string;
|
|
56
|
-
static ɵfac: i0.ɵɵFactoryDef<FCloudDataTypeService, never>;
|
|
57
|
-
static ɵprov: i0.ɵɵInjectableDef<FCloudDataTypeService>;
|
|
58
55
|
}
|
|
@@ -1,8 +1,19 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
11
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
|
12
|
+
};
|
|
1
13
|
import { Injectable, Inject } from '@angular/core';
|
|
2
14
|
import { LOCALIZATION } from '../../localization';
|
|
3
15
|
import { FCloudDataType } from '../../model/shared/data-type/fcloud-data-Type';
|
|
4
|
-
|
|
5
|
-
export class FCloudDataTypeService {
|
|
16
|
+
let FCloudDataTypeService = class FCloudDataTypeService {
|
|
6
17
|
constructor(localization) {
|
|
7
18
|
this.localization = localization;
|
|
8
19
|
this.defaultIntegerDigits = 4;
|
|
@@ -183,12 +194,10 @@ export class FCloudDataTypeService {
|
|
|
183
194
|
}
|
|
184
195
|
return text;
|
|
185
196
|
}
|
|
186
|
-
}
|
|
187
|
-
FCloudDataTypeService
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
args: [LOCALIZATION]
|
|
194
|
-
}] }]; }, null); })();
|
|
197
|
+
};
|
|
198
|
+
FCloudDataTypeService = __decorate([
|
|
199
|
+
Injectable(),
|
|
200
|
+
__param(0, Inject(LOCALIZATION)),
|
|
201
|
+
__metadata("design:paramtypes", [Object])
|
|
202
|
+
], FCloudDataTypeService);
|
|
203
|
+
export { FCloudDataTypeService };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"__symbolic":"module","version":4,"metadata":{"FCloudDataTypeService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":4,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":11,"character":17},"arguments":[{"__symbolic":"reference","module":"../../localization","name":"LOCALIZATION","line":11,"character":24}]}]],"parameters":[{"__symbolic":"reference","module":"../../localization","name":"Localization","line":11,"character":60}]}],"getValueType":[{"__symbolic":"method"}],"getValuePattern":[{"__symbolic":"method"}],"isHexType":[{"__symbolic":"method"}],"isBinaryType":[{"__symbolic":"method"}],"isHexOrBinaryType":[{"__symbolic":"method"}],"isFloat":[{"__symbolic":"method"}],"getValueMaxLength":[{"__symbolic":"method"}],"isSupportFractionDigit":[{"__symbolic":"method"}],"isSignedType":[{"__symbolic":"method"}],"isSupportNumericalOperation":[{"__symbolic":"method"}],"formatToDecimal":[{"__symbolic":"method"}],"getMinValue":[{"__symbolic":"method"}],"getMaxValue":[{"__symbolic":"method"}],"getFillNine":[{"__symbolic":"method"}]}}}}]
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
1
|
export declare class FractionDigitService {
|
|
3
2
|
private readonly zeroText;
|
|
4
3
|
/**
|
|
@@ -39,6 +38,4 @@ export declare class FractionDigitService {
|
|
|
39
38
|
* @param fractionDigits 指定的小数位
|
|
40
39
|
*/
|
|
41
40
|
roundingToFixedFractionDigits(number: any, fractionDigits: number): string;
|
|
42
|
-
static ɵfac: i0.ɵɵFactoryDef<FractionDigitService, never>;
|
|
43
|
-
static ɵprov: i0.ɵɵInjectableDef<FractionDigitService>;
|
|
44
41
|
}
|
|
@@ -1,6 +1,11 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
1
7
|
import { Injectable } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
export class FractionDigitService {
|
|
8
|
+
let FractionDigitService = class FractionDigitService {
|
|
4
9
|
constructor() {
|
|
5
10
|
this.zeroText = '0';
|
|
6
11
|
}
|
|
@@ -121,9 +126,8 @@ export class FractionDigitService {
|
|
|
121
126
|
}
|
|
122
127
|
return Number(number).toFixed(fractionDigits);
|
|
123
128
|
}
|
|
124
|
-
}
|
|
125
|
-
FractionDigitService
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
}], null, null); })();
|
|
129
|
+
};
|
|
130
|
+
FractionDigitService = __decorate([
|
|
131
|
+
Injectable()
|
|
132
|
+
], FractionDigitService);
|
|
133
|
+
export { FractionDigitService };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"__symbolic":"module","version":4,"metadata":{"FractionDigitService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":2,"character":1}}],"members":{"padLeft":[{"__symbolic":"method"}],"padRight":[{"__symbolic":"method"}],"movePointLeft":[{"__symbolic":"method"}],"movePointRight":[{"__symbolic":"method"}],"movePoint":[{"__symbolic":"method"}],"roundingToFixedFractionDigits":[{"__symbolic":"method"}]}}}}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"__symbolic":"module","version":4,"metadata":{"GraphUtil":{"__symbolic":"class"}}}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"__symbolic":"module","version":4,"metadata":{"Guid":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"}]}],"toString":[{"__symbolic":"method"}]}}}}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"__symbolic":"module","version":4,"metadata":{},"exports":[{"from":"./access-permission.service","export":["AccessPermissionService"]},{"from":"./graph-util","export":["GraphUtil"]},{"from":"./data-type/fbox-data-type.service","export":["FBoxDataTypeService"]},{"from":"./data-type/fcloud-data-type.service","export":["FCloudDataTypeService"]},{"from":"./data-type/data-type.service","export":["DataTypeService"]},{"from":"./fraction-digit.service","export":["FractionDigitService"]},{"from":"./numerical-operation.service","export":["NumericalOperationService"]}]}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"__symbolic":"module","version":4,"metadata":{"NumericalOperationType":{"ProportionalConversion":2,"Zoom":4}}}]
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { NumericalOperation } from '../model/numerical-display/numerical-operation';
|
|
2
2
|
import { DataTypeService } from './data-type/data-type.service';
|
|
3
3
|
import { NumericalDisplay } from '../model';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class NumericalOperationService {
|
|
6
5
|
private readonly dataTypeService;
|
|
7
6
|
constructor(dataTypeService: DataTypeService);
|
|
@@ -15,6 +14,4 @@ export declare class NumericalOperationService {
|
|
|
15
14
|
num: number;
|
|
16
15
|
};
|
|
17
16
|
isInteger(obj: any): boolean;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDef<NumericalOperationService, never>;
|
|
19
|
-
static ɵprov: i0.ɵɵInjectableDef<NumericalOperationService>;
|
|
20
17
|
}
|