@operato/scene-scichart 7.0.5 → 7.1.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/CHANGELOG.md +19 -0
- package/db.sqlite +0 -0
- package/dist/charts/axis-synchronizer.d.ts +10 -0
- package/dist/charts/axis-synchronizer.js +32 -0
- package/dist/charts/axis-synchronizer.js.map +1 -0
- package/dist/charts/ox-scichart-multiple.d.ts +40 -0
- package/dist/charts/ox-scichart-multiple.js +272 -0
- package/dist/charts/ox-scichart-multiple.js.map +1 -0
- package/dist/charts/ox-scichart.d.ts +1 -1
- package/dist/charts/ox-scichart.js.map +1 -1
- package/dist/charts/scichart-builder.d.ts +10 -1
- package/dist/charts/scichart-builder.js +154 -12
- package/dist/charts/scichart-builder.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/scichart-multiple-timeseries.d.ts +14 -0
- package/dist/scichart-multiple-timeseries.js +60 -0
- package/dist/scichart-multiple-timeseries.js.map +1 -0
- package/dist/scichart-timeseries.d.ts +2 -11
- package/dist/scichart-timeseries.js +2 -42
- package/dist/scichart-timeseries.js.map +1 -1
- package/dist/templates/index.d.ts +2 -19
- package/dist/templates/index.js +2 -1
- package/dist/templates/index.js.map +1 -1
- package/dist/templates/scichart-multiple-timeseries.d.ts +53 -0
- package/dist/templates/scichart-multiple-timeseries.js +81 -0
- package/dist/templates/scichart-multiple-timeseries.js.map +1 -0
- package/dist/templates/scichart-timeseries.d.ts +2 -19
- package/dist/templates/scichart-timeseries.js +2 -19
- package/dist/templates/scichart-timeseries.js.map +1 -1
- package/helps/scene/component/scichart-multiple-timeseries.md +23 -0
- package/helps/scene/component/scichart-timeseries.md +18 -0
- package/icons/scichart-multiple-timeseries.png +0 -0
- package/logs/.08636eb59927f12972f6774f5947c8507b3564c2-audit.json +9 -9
- package/logs/.5e5d741d8b7784a2fbad65eedc0fd46946aaf6f2-audit.json +24 -9
- package/logs/{application-2024-07-08-22.log → application-2024-07-28-03.log} +9 -9
- package/logs/{application-2024-07-08-23.log → application-2024-07-28-17.log} +140 -43
- package/logs/{application-2024-07-09-15.log → application-2024-07-28-18.log} +18 -18
- package/logs/connections-2024-07-23-14.log +50 -0
- package/logs/connections-2024-07-25-23.log +50 -0
- package/logs/connections-2024-07-26-18.log +50 -0
- package/logs/connections-2024-07-28-03.log +50 -0
- package/logs/connections-2024-07-28-17.log +200 -0
- package/logs/connections-2024-07-28-18.log +100 -0
- package/package.json +2 -2
- package/schema.graphql +211 -0
- package/src/charts/axis-synchronizer.ts +37 -0
- package/src/charts/ox-scichart-multiple.ts +334 -0
- package/src/charts/ox-scichart.ts +1 -1
- package/src/charts/scichart-builder.ts +197 -11
- package/src/index.ts +1 -0
- package/src/scichart-multiple-timeseries.ts +74 -0
- package/src/scichart-timeseries.ts +3 -54
- package/src/templates/index.ts +2 -1
- package/src/templates/scichart-multiple-timeseries.ts +87 -0
- package/src/templates/scichart-timeseries.ts +2 -19
- package/things-scene.config.js +0 -2
- package/translations/en.json +3 -1
- package/translations/ja.json +3 -1
- package/translations/ko.json +3 -1
- package/translations/ms.json +3 -1
- package/translations/zh.json +3 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/cache/translations/system/en.json +0 -1
- package/cache/translations/system/ko.json +0 -1
- package/logs/connections-2024-07-08-22.log +0 -50
- package/logs/connections-2024-07-08-23.log +0 -100
- package/logs/connections-2024-07-09-15.log +0 -100
package/schema.graphql
CHANGED
@@ -1598,6 +1598,9 @@ type Mutation {
|
|
1598
1598
|
"""To create new ApprovalLine for current user"""
|
1599
1599
|
createMyApprovalLine(approvalLine: NewApprovalLine!): ApprovalLine!
|
1600
1600
|
|
1601
|
+
"""To create my new PagePreference"""
|
1602
|
+
createMyPagePreference(pagePreference: NewPagePreference!): PagePreference!
|
1603
|
+
|
1601
1604
|
"""To create new Notification"""
|
1602
1605
|
createNotification(notification: NewNotification!): Notification!
|
1603
1606
|
|
@@ -1639,6 +1642,9 @@ type Mutation {
|
|
1639
1642
|
|
1640
1643
|
"""To create new user"""
|
1641
1644
|
createUser(user: NewUser!): User!
|
1645
|
+
|
1646
|
+
"""To create new UserPreference"""
|
1647
|
+
createUserPreference(preference: NewUserPreference!): UserPreference!
|
1642
1648
|
deleteAppBinding(id: String!): Boolean!
|
1643
1649
|
|
1644
1650
|
"""To delete appliance"""
|
@@ -1779,6 +1785,12 @@ type Mutation {
|
|
1779
1785
|
"""To delete multiple ApprovalLines for current user"""
|
1780
1786
|
deleteMyApprovalLines(ids: [String!]!): Boolean!
|
1781
1787
|
|
1788
|
+
"""To delete my PagePreference"""
|
1789
|
+
deleteMyPagePreference(element: String!, page: String!): Boolean!
|
1790
|
+
|
1791
|
+
"""To delete my preference"""
|
1792
|
+
deleteMyUserPreference(element: String!, key: String!): Boolean!
|
1793
|
+
|
1782
1794
|
"""To delete Notification"""
|
1783
1795
|
deleteNotification(id: String!): Boolean!
|
1784
1796
|
|
@@ -1797,6 +1809,12 @@ type Mutation {
|
|
1797
1809
|
"""To delete multiple Oauth2Clients"""
|
1798
1810
|
deleteOauth2Clients(ids: [String!]!): Boolean!
|
1799
1811
|
|
1812
|
+
"""To delete PagePreference"""
|
1813
|
+
deletePagePreference(id: String!): Boolean!
|
1814
|
+
|
1815
|
+
"""To delete multiple PagePreferences"""
|
1816
|
+
deletePagePreferences(ids: [String!]!): Boolean!
|
1817
|
+
|
1800
1818
|
"""To delete multiple partnerSettings"""
|
1801
1819
|
deletePartnerSettings(ids: [String!]!): Boolean!
|
1802
1820
|
|
@@ -1860,6 +1878,12 @@ type Mutation {
|
|
1860
1878
|
"""To delete a user"""
|
1861
1879
|
deleteUser(email: EmailAddress!): Boolean!
|
1862
1880
|
|
1881
|
+
"""To delete UserPreference"""
|
1882
|
+
deleteUserPreference(id: String!): Boolean!
|
1883
|
+
|
1884
|
+
"""To delete multiple UserPreferences"""
|
1885
|
+
deleteUserPreferences(ids: [String!]!): Boolean!
|
1886
|
+
|
1863
1887
|
"""To delete some users"""
|
1864
1888
|
deleteUsers(emails: [String!]!): Boolean!
|
1865
1889
|
|
@@ -2177,6 +2201,12 @@ type Mutation {
|
|
2177
2201
|
"""To modify ApprovalLine information for current user"""
|
2178
2202
|
updateMyApprovalLine(id: String!, patch: ApprovalLinePatch!): ApprovalLine!
|
2179
2203
|
|
2204
|
+
"""To create or update my PagePreference"""
|
2205
|
+
updateMyPagePreference(element: String!, page: String!, preference: Object!): PagePreference!
|
2206
|
+
|
2207
|
+
"""To create or update my preference"""
|
2208
|
+
updateMyUserPreference(key: String!, preference: Object!): UserPreference!
|
2209
|
+
|
2180
2210
|
"""To modify Notification information"""
|
2181
2211
|
updateNotification(id: String!, patch: NotificationPatch!): Notification!
|
2182
2212
|
|
@@ -2231,6 +2261,9 @@ type Mutation {
|
|
2231
2261
|
"""To modify user information"""
|
2232
2262
|
updateUser(email: EmailAddress!, patch: UserPatch!): User!
|
2233
2263
|
|
2264
|
+
"""To modify UserPreference information"""
|
2265
|
+
updateUserPreference(id: String!, patch: UserPreferencePatch!): UserPreference!
|
2266
|
+
|
2234
2267
|
"""To update roles for a user"""
|
2235
2268
|
updateUserRoles(availableRoles: [ObjectRef!]!, selectedRoles: [ObjectRef!]!, userId: String!): User!
|
2236
2269
|
}
|
@@ -2630,6 +2663,13 @@ input NewOauth2Client {
|
|
2630
2663
|
webhook: String
|
2631
2664
|
}
|
2632
2665
|
|
2666
|
+
input NewPagePreference {
|
2667
|
+
element: String
|
2668
|
+
page: String
|
2669
|
+
preference: Object!
|
2670
|
+
user: ObjectRef!
|
2671
|
+
}
|
2672
|
+
|
2633
2673
|
input NewPayloadLog {
|
2634
2674
|
description: String
|
2635
2675
|
name: String!
|
@@ -2691,12 +2731,34 @@ input NewSetting {
|
|
2691
2731
|
}
|
2692
2732
|
|
2693
2733
|
input NewStateRegister {
|
2734
|
+
"""Description of the state register"""
|
2694
2735
|
description: String
|
2736
|
+
|
2737
|
+
"""Group name for the state register"""
|
2738
|
+
group: String
|
2739
|
+
|
2740
|
+
"""Name of the state register"""
|
2695
2741
|
name: String!
|
2742
|
+
|
2743
|
+
"""Number of decimal places if the state is a number type"""
|
2744
|
+
place: String
|
2745
|
+
|
2746
|
+
"""
|
2747
|
+
Reference to an external entity or data, used as a flexible foreign key
|
2748
|
+
"""
|
2696
2749
|
refBy: String
|
2750
|
+
|
2751
|
+
"""Current state value"""
|
2697
2752
|
state: Object
|
2753
|
+
|
2754
|
+
"""Time to live for the state value in seconds"""
|
2698
2755
|
ttl: Int
|
2756
|
+
|
2757
|
+
"""Type of the state"""
|
2699
2758
|
type: String
|
2759
|
+
|
2760
|
+
"""Unit of the state value"""
|
2761
|
+
unit: String
|
2700
2762
|
}
|
2701
2763
|
|
2702
2764
|
input NewTerminology {
|
@@ -2733,6 +2795,12 @@ input NewUserByDomainWizardInput {
|
|
2733
2795
|
roles: [NewRole!]!
|
2734
2796
|
}
|
2735
2797
|
|
2798
|
+
input NewUserPreference {
|
2799
|
+
key: String!
|
2800
|
+
preference: Object!
|
2801
|
+
user: ObjectRef!
|
2802
|
+
}
|
2803
|
+
|
2736
2804
|
"""Entity for Notification"""
|
2737
2805
|
type Notification {
|
2738
2806
|
body: String
|
@@ -2956,6 +3024,25 @@ enum OrgMemberTargetType {
|
|
2956
3024
|
Role
|
2957
3025
|
}
|
2958
3026
|
|
3027
|
+
"""Entity for PagePreference"""
|
3028
|
+
type PagePreference {
|
3029
|
+
createdAt: DateTimeISO
|
3030
|
+
creator: User
|
3031
|
+
domain: Domain!
|
3032
|
+
element: String
|
3033
|
+
id: ID!
|
3034
|
+
page: String
|
3035
|
+
preference: Object
|
3036
|
+
updatedAt: DateTimeISO
|
3037
|
+
updater: User
|
3038
|
+
user: User!
|
3039
|
+
}
|
3040
|
+
|
3041
|
+
type PagePreferenceList {
|
3042
|
+
items: [PagePreference!]!
|
3043
|
+
total: Int!
|
3044
|
+
}
|
3045
|
+
|
2959
3046
|
input Pagination {
|
2960
3047
|
limit: Int
|
2961
3048
|
page: Int
|
@@ -3439,9 +3526,24 @@ type Query {
|
|
3439
3526
|
"""To fetch my notifications"""
|
3440
3527
|
myNotifications(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): NotificationList!
|
3441
3528
|
|
3529
|
+
"""To fetch a User's own PagePreference"""
|
3530
|
+
myPageAllPreferences(page: String!): [PagePreference!]
|
3531
|
+
|
3532
|
+
"""To fetch a User's own PagePreference"""
|
3533
|
+
myPagePreference(element: String!, page: String!): PagePreference
|
3534
|
+
|
3535
|
+
"""To fetch multiple PagePreferences"""
|
3536
|
+
myPagePreferences(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): PagePreferenceList!
|
3537
|
+
|
3442
3538
|
"""To fetch roles of current user"""
|
3443
3539
|
myRoles: [Role!]!
|
3444
3540
|
|
3541
|
+
"""To fetch a User's own UserPreference"""
|
3542
|
+
myUserPreference(element: String!, key: String!): UserPreference
|
3543
|
+
|
3544
|
+
"""To fetch multiple UserPreferences"""
|
3545
|
+
myUserPreferences(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): UserPreferenceList!
|
3546
|
+
|
3445
3547
|
"""To fetch a Notification"""
|
3446
3548
|
notification(id: String!): Notification
|
3447
3549
|
|
@@ -3460,6 +3562,9 @@ type Query {
|
|
3460
3562
|
"""To fetch multiple Oauth2Clients"""
|
3461
3563
|
oauth2Clients(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): Oauth2ClientList!
|
3462
3564
|
|
3565
|
+
"""To fetch a PagePreference"""
|
3566
|
+
pagePreference(id: String!): PagePreference
|
3567
|
+
|
3463
3568
|
"""To fetch specific domain's CommonCodes by given name"""
|
3464
3569
|
partnerCommonCode(name: String!, partnerDomainId: String!): CommonCode!
|
3465
3570
|
|
@@ -3485,6 +3590,9 @@ type Query {
|
|
3485
3590
|
"""To fetch multiple PlayGroups"""
|
3486
3591
|
playGroups(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): PlayGroupList!
|
3487
3592
|
|
3593
|
+
"""To fetch a UserPreference"""
|
3594
|
+
preference(id: String!): UserPreference
|
3595
|
+
|
3488
3596
|
"""To fetch a PrinterDevice"""
|
3489
3597
|
printerDevice(id: String!): PrinterDevice!
|
3490
3598
|
|
@@ -3769,36 +3877,113 @@ input Sorting {
|
|
3769
3877
|
|
3770
3878
|
"""Entity for StateRegister"""
|
3771
3879
|
type StateRegister {
|
3880
|
+
"""Creation time of the state register"""
|
3772
3881
|
createdAt: DateTimeISO
|
3882
|
+
|
3883
|
+
"""User who created the state register"""
|
3773
3884
|
creator: User
|
3885
|
+
|
3886
|
+
"""ID of the user who created the state register"""
|
3887
|
+
creatorId: String
|
3888
|
+
|
3889
|
+
"""Description of the state register"""
|
3774
3890
|
description: String
|
3891
|
+
|
3892
|
+
"""Associated domain for the state register"""
|
3775
3893
|
domain: Domain!
|
3894
|
+
|
3895
|
+
"""ID of the associated domain"""
|
3896
|
+
domainId: String!
|
3897
|
+
|
3898
|
+
"""Group name for the state register"""
|
3899
|
+
group: String
|
3776
3900
|
id: ID!
|
3901
|
+
|
3902
|
+
"""Name of the state register"""
|
3777
3903
|
name: String
|
3904
|
+
|
3905
|
+
"""Number of decimal places if the state is a number type"""
|
3906
|
+
place: String
|
3907
|
+
|
3908
|
+
"""
|
3909
|
+
Reference to an external entity or data, used as a flexible foreign key
|
3910
|
+
"""
|
3778
3911
|
refBy: String
|
3912
|
+
|
3913
|
+
"""Current state value"""
|
3779
3914
|
state: Object
|
3915
|
+
|
3916
|
+
"""Time to live for the state value in seconds"""
|
3780
3917
|
ttl: Int
|
3918
|
+
|
3919
|
+
"""Type of the state"""
|
3781
3920
|
type: String
|
3921
|
+
|
3922
|
+
"""Unit of the state value"""
|
3923
|
+
unit: String
|
3924
|
+
|
3925
|
+
"""Last update time of the state register"""
|
3782
3926
|
updatedAt: DateTimeISO
|
3927
|
+
|
3928
|
+
"""User who last updated the state register"""
|
3783
3929
|
updater: User
|
3930
|
+
|
3931
|
+
"""ID of the user who last updated the state register"""
|
3932
|
+
updaterId: String
|
3933
|
+
|
3934
|
+
"""User who wrote the state"""
|
3784
3935
|
writer: User
|
3936
|
+
|
3937
|
+
"""ID of the user who wrote the state"""
|
3938
|
+
writerId: String
|
3939
|
+
|
3940
|
+
"""Time when the state was recorded"""
|
3785
3941
|
wroteAt: DateTimeISO
|
3786
3942
|
}
|
3787
3943
|
|
3788
3944
|
type StateRegisterList {
|
3945
|
+
"""List of state registers"""
|
3789
3946
|
items: [StateRegister!]!
|
3947
|
+
|
3948
|
+
"""Total number of state registers"""
|
3790
3949
|
total: Int!
|
3791
3950
|
}
|
3792
3951
|
|
3793
3952
|
input StateRegisterPatch {
|
3953
|
+
"""Flag indicating create/update operations"""
|
3794
3954
|
cuFlag: String
|
3955
|
+
|
3956
|
+
"""Description of the state register"""
|
3795
3957
|
description: String
|
3958
|
+
|
3959
|
+
"""Group name for the state register"""
|
3960
|
+
group: String
|
3961
|
+
|
3962
|
+
"""ID of the state register"""
|
3796
3963
|
id: ID
|
3964
|
+
|
3965
|
+
"""Name of the state register"""
|
3797
3966
|
name: String
|
3967
|
+
|
3968
|
+
"""Number of decimal places if the state is a number type"""
|
3969
|
+
place: String
|
3970
|
+
|
3971
|
+
"""
|
3972
|
+
Reference to an external entity or data, used as a flexible foreign key
|
3973
|
+
"""
|
3798
3974
|
refBy: String
|
3975
|
+
|
3976
|
+
"""Current state value"""
|
3799
3977
|
state: Object
|
3978
|
+
|
3979
|
+
"""Time to live for the state value in seconds"""
|
3800
3980
|
ttl: Int
|
3981
|
+
|
3982
|
+
"""Type of the state"""
|
3801
3983
|
type: String
|
3984
|
+
|
3985
|
+
"""Unit of the state value"""
|
3986
|
+
unit: String
|
3802
3987
|
}
|
3803
3988
|
|
3804
3989
|
type Step {
|
@@ -3975,6 +4160,32 @@ input UserPatch {
|
|
3975
4160
|
userType: String
|
3976
4161
|
}
|
3977
4162
|
|
4163
|
+
"""Entity for UserPreference"""
|
4164
|
+
type UserPreference {
|
4165
|
+
createdAt: DateTimeISO
|
4166
|
+
creator: User
|
4167
|
+
domain: Domain
|
4168
|
+
id: ID!
|
4169
|
+
key: String
|
4170
|
+
preference: Object
|
4171
|
+
updatedAt: DateTimeISO
|
4172
|
+
updater: User
|
4173
|
+
user: User!
|
4174
|
+
}
|
4175
|
+
|
4176
|
+
type UserPreferenceList {
|
4177
|
+
items: [UserPreference!]!
|
4178
|
+
total: Int!
|
4179
|
+
}
|
4180
|
+
|
4181
|
+
input UserPreferencePatch {
|
4182
|
+
cuFlag: String
|
4183
|
+
id: ID
|
4184
|
+
key: String!
|
4185
|
+
preference: Object!
|
4186
|
+
user: ObjectRef!
|
4187
|
+
}
|
4188
|
+
|
3978
4189
|
type UserRole {
|
3979
4190
|
assigned: Boolean
|
3980
4191
|
description: String
|
@@ -0,0 +1,37 @@
|
|
1
|
+
import { AxisBase2D, EventHandler, NumberRange, VisibleRangeChangedArgs } from 'scichart'
|
2
|
+
|
3
|
+
export class AxisSynchroniser {
|
4
|
+
public visibleRange: NumberRange
|
5
|
+
private axes: AxisBase2D[] = []
|
6
|
+
public visibleRangeChanged: EventHandler<VisibleRangeChangedArgs> = new EventHandler<VisibleRangeChangedArgs>()
|
7
|
+
|
8
|
+
public constructor(initialRange: NumberRange, axes?: AxisBase2D[]) {
|
9
|
+
this.visibleRange = initialRange
|
10
|
+
this.publishChange = this.publishChange.bind(this)
|
11
|
+
if (axes) {
|
12
|
+
axes.forEach(a => this.addAxis(a))
|
13
|
+
}
|
14
|
+
}
|
15
|
+
|
16
|
+
public publishChange(data?: VisibleRangeChangedArgs) {
|
17
|
+
this.visibleRange = data!.visibleRange
|
18
|
+
this.axes.forEach(a => (a.visibleRange = this.visibleRange))
|
19
|
+
this.visibleRangeChanged.raiseEvent(data)
|
20
|
+
}
|
21
|
+
|
22
|
+
public addAxis(axis: AxisBase2D) {
|
23
|
+
if (!this.axes.includes(axis)) {
|
24
|
+
this.axes.push(axis)
|
25
|
+
axis.visibleRange = this.visibleRange
|
26
|
+
axis.visibleRangeChanged.subscribe(this.publishChange)
|
27
|
+
}
|
28
|
+
}
|
29
|
+
|
30
|
+
public removeAxis(axis: AxisBase2D) {
|
31
|
+
const index = this.axes.findIndex(a => a === axis)
|
32
|
+
if (index >= 0) {
|
33
|
+
this.axes.splice(index, 1)
|
34
|
+
axis.visibleRangeChanged.unsubscribe(this.publishChange)
|
35
|
+
}
|
36
|
+
}
|
37
|
+
}
|