@oicl/openbridge-webcomponents 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- package/custom-elements.json +348 -348
- package/fix-generated.cjs +18 -6
- package/package.json +1 -1
package/custom-elements.json
CHANGED
@@ -37081,181 +37081,6 @@
|
|
37081
37081
|
}
|
37082
37082
|
]
|
37083
37083
|
},
|
37084
|
-
{
|
37085
|
-
"kind": "javascript-module",
|
37086
|
-
"path": "src/components/alert-topbar-element/alert-topbar-element.ts",
|
37087
|
-
"declarations": [
|
37088
|
-
{
|
37089
|
-
"kind": "class",
|
37090
|
-
"description": "Element that displays the alert in topbar\nUse the element in the alerts slot in topbar",
|
37091
|
-
"name": "ObcAlertTopbarElement",
|
37092
|
-
"slots": [
|
37093
|
-
{
|
37094
|
-
"description": "The message to display in the alert element of type `obc-notification-message-item`",
|
37095
|
-
"name": ""
|
37096
|
-
}
|
37097
|
-
],
|
37098
|
-
"members": [
|
37099
|
-
{
|
37100
|
-
"kind": "field",
|
37101
|
-
"name": "nAlerts",
|
37102
|
-
"type": {
|
37103
|
-
"text": "number"
|
37104
|
-
},
|
37105
|
-
"default": "0",
|
37106
|
-
"attribute": "n-alerts"
|
37107
|
-
},
|
37108
|
-
{
|
37109
|
-
"kind": "field",
|
37110
|
-
"name": "alertType",
|
37111
|
-
"type": {
|
37112
|
-
"text": "AlertType"
|
37113
|
-
},
|
37114
|
-
"attribute": "alert-type"
|
37115
|
-
},
|
37116
|
-
{
|
37117
|
-
"kind": "field",
|
37118
|
-
"name": "showAck",
|
37119
|
-
"type": {
|
37120
|
-
"text": "boolean"
|
37121
|
-
},
|
37122
|
-
"default": "false",
|
37123
|
-
"attribute": "show-ack"
|
37124
|
-
},
|
37125
|
-
{
|
37126
|
-
"kind": "field",
|
37127
|
-
"name": "alertMuted",
|
37128
|
-
"type": {
|
37129
|
-
"text": "boolean"
|
37130
|
-
},
|
37131
|
-
"default": "false",
|
37132
|
-
"attribute": "alert-muted"
|
37133
|
-
},
|
37134
|
-
{
|
37135
|
-
"kind": "field",
|
37136
|
-
"name": "minimized",
|
37137
|
-
"type": {
|
37138
|
-
"text": "boolean"
|
37139
|
-
},
|
37140
|
-
"default": "false",
|
37141
|
-
"attribute": "minimized"
|
37142
|
-
},
|
37143
|
-
{
|
37144
|
-
"kind": "field",
|
37145
|
-
"name": "maxWidth",
|
37146
|
-
"type": {
|
37147
|
-
"text": "number"
|
37148
|
-
},
|
37149
|
-
"default": "480",
|
37150
|
-
"attribute": "max-width"
|
37151
|
-
}
|
37152
|
-
],
|
37153
|
-
"events": [
|
37154
|
-
{
|
37155
|
-
"name": "muteclick",
|
37156
|
-
"type": {
|
37157
|
-
"text": "CustomEvent"
|
37158
|
-
},
|
37159
|
-
"description": "Fired when the mute button is clicked"
|
37160
|
-
},
|
37161
|
-
{
|
37162
|
-
"name": "messageclick",
|
37163
|
-
"type": {
|
37164
|
-
"text": "CustomEvent"
|
37165
|
-
},
|
37166
|
-
"description": "Fired when the message is clicked"
|
37167
|
-
},
|
37168
|
-
{
|
37169
|
-
"name": "ackclick",
|
37170
|
-
"type": {
|
37171
|
-
"text": "CustomEvent"
|
37172
|
-
},
|
37173
|
-
"description": "Fired when the ack button is clicked"
|
37174
|
-
},
|
37175
|
-
{
|
37176
|
-
"name": "alertclick",
|
37177
|
-
"type": {
|
37178
|
-
"text": "CustomEvent"
|
37179
|
-
},
|
37180
|
-
"description": "Fired when the alert button is clicked"
|
37181
|
-
}
|
37182
|
-
],
|
37183
|
-
"attributes": [
|
37184
|
-
{
|
37185
|
-
"name": "n-alerts",
|
37186
|
-
"type": {
|
37187
|
-
"text": "number"
|
37188
|
-
},
|
37189
|
-
"default": "0",
|
37190
|
-
"fieldName": "nAlerts"
|
37191
|
-
},
|
37192
|
-
{
|
37193
|
-
"name": "alert-type",
|
37194
|
-
"type": {
|
37195
|
-
"text": "AlertType"
|
37196
|
-
},
|
37197
|
-
"fieldName": "alertType"
|
37198
|
-
},
|
37199
|
-
{
|
37200
|
-
"name": "show-ack",
|
37201
|
-
"type": {
|
37202
|
-
"text": "boolean"
|
37203
|
-
},
|
37204
|
-
"default": "false",
|
37205
|
-
"fieldName": "showAck"
|
37206
|
-
},
|
37207
|
-
{
|
37208
|
-
"name": "alert-muted",
|
37209
|
-
"type": {
|
37210
|
-
"text": "boolean"
|
37211
|
-
},
|
37212
|
-
"default": "false",
|
37213
|
-
"fieldName": "alertMuted"
|
37214
|
-
},
|
37215
|
-
{
|
37216
|
-
"name": "minimized",
|
37217
|
-
"type": {
|
37218
|
-
"text": "boolean"
|
37219
|
-
},
|
37220
|
-
"default": "false",
|
37221
|
-
"fieldName": "minimized"
|
37222
|
-
},
|
37223
|
-
{
|
37224
|
-
"name": "max-width",
|
37225
|
-
"type": {
|
37226
|
-
"text": "number"
|
37227
|
-
},
|
37228
|
-
"default": "480",
|
37229
|
-
"fieldName": "maxWidth"
|
37230
|
-
}
|
37231
|
-
],
|
37232
|
-
"superclass": {
|
37233
|
-
"name": "LitElement",
|
37234
|
-
"package": "lit"
|
37235
|
-
},
|
37236
|
-
"tagName": "obc-alert-topbar-element",
|
37237
|
-
"customElement": true
|
37238
|
-
}
|
37239
|
-
],
|
37240
|
-
"exports": [
|
37241
|
-
{
|
37242
|
-
"kind": "js",
|
37243
|
-
"name": "ObcAlertTopbarElement",
|
37244
|
-
"declaration": {
|
37245
|
-
"name": "ObcAlertTopbarElement",
|
37246
|
-
"module": "src/components/alert-topbar-element/alert-topbar-element.ts"
|
37247
|
-
}
|
37248
|
-
},
|
37249
|
-
{
|
37250
|
-
"kind": "custom-element-definition",
|
37251
|
-
"name": "obc-alert-topbar-element",
|
37252
|
-
"declaration": {
|
37253
|
-
"name": "ObcAlertTopbarElement",
|
37254
|
-
"module": "src/components/alert-topbar-element/alert-topbar-element.ts"
|
37255
|
-
}
|
37256
|
-
}
|
37257
|
-
]
|
37258
|
-
},
|
37259
37084
|
{
|
37260
37085
|
"kind": "javascript-module",
|
37261
37086
|
"path": "src/components/alert-menu/alert-menu.ts",
|
@@ -37478,6 +37303,181 @@
|
|
37478
37303
|
}
|
37479
37304
|
]
|
37480
37305
|
},
|
37306
|
+
{
|
37307
|
+
"kind": "javascript-module",
|
37308
|
+
"path": "src/components/alert-topbar-element/alert-topbar-element.ts",
|
37309
|
+
"declarations": [
|
37310
|
+
{
|
37311
|
+
"kind": "class",
|
37312
|
+
"description": "Element that displays the alert in topbar\nUse the element in the alerts slot in topbar",
|
37313
|
+
"name": "ObcAlertTopbarElement",
|
37314
|
+
"slots": [
|
37315
|
+
{
|
37316
|
+
"description": "The message to display in the alert element of type `obc-notification-message-item`",
|
37317
|
+
"name": ""
|
37318
|
+
}
|
37319
|
+
],
|
37320
|
+
"members": [
|
37321
|
+
{
|
37322
|
+
"kind": "field",
|
37323
|
+
"name": "nAlerts",
|
37324
|
+
"type": {
|
37325
|
+
"text": "number"
|
37326
|
+
},
|
37327
|
+
"default": "0",
|
37328
|
+
"attribute": "n-alerts"
|
37329
|
+
},
|
37330
|
+
{
|
37331
|
+
"kind": "field",
|
37332
|
+
"name": "alertType",
|
37333
|
+
"type": {
|
37334
|
+
"text": "AlertType"
|
37335
|
+
},
|
37336
|
+
"attribute": "alert-type"
|
37337
|
+
},
|
37338
|
+
{
|
37339
|
+
"kind": "field",
|
37340
|
+
"name": "showAck",
|
37341
|
+
"type": {
|
37342
|
+
"text": "boolean"
|
37343
|
+
},
|
37344
|
+
"default": "false",
|
37345
|
+
"attribute": "show-ack"
|
37346
|
+
},
|
37347
|
+
{
|
37348
|
+
"kind": "field",
|
37349
|
+
"name": "alertMuted",
|
37350
|
+
"type": {
|
37351
|
+
"text": "boolean"
|
37352
|
+
},
|
37353
|
+
"default": "false",
|
37354
|
+
"attribute": "alert-muted"
|
37355
|
+
},
|
37356
|
+
{
|
37357
|
+
"kind": "field",
|
37358
|
+
"name": "minimized",
|
37359
|
+
"type": {
|
37360
|
+
"text": "boolean"
|
37361
|
+
},
|
37362
|
+
"default": "false",
|
37363
|
+
"attribute": "minimized"
|
37364
|
+
},
|
37365
|
+
{
|
37366
|
+
"kind": "field",
|
37367
|
+
"name": "maxWidth",
|
37368
|
+
"type": {
|
37369
|
+
"text": "number"
|
37370
|
+
},
|
37371
|
+
"default": "480",
|
37372
|
+
"attribute": "max-width"
|
37373
|
+
}
|
37374
|
+
],
|
37375
|
+
"events": [
|
37376
|
+
{
|
37377
|
+
"name": "muteclick",
|
37378
|
+
"type": {
|
37379
|
+
"text": "CustomEvent"
|
37380
|
+
},
|
37381
|
+
"description": "Fired when the mute button is clicked"
|
37382
|
+
},
|
37383
|
+
{
|
37384
|
+
"name": "messageclick",
|
37385
|
+
"type": {
|
37386
|
+
"text": "CustomEvent"
|
37387
|
+
},
|
37388
|
+
"description": "Fired when the message is clicked"
|
37389
|
+
},
|
37390
|
+
{
|
37391
|
+
"name": "ackclick",
|
37392
|
+
"type": {
|
37393
|
+
"text": "CustomEvent"
|
37394
|
+
},
|
37395
|
+
"description": "Fired when the ack button is clicked"
|
37396
|
+
},
|
37397
|
+
{
|
37398
|
+
"name": "alertclick",
|
37399
|
+
"type": {
|
37400
|
+
"text": "CustomEvent"
|
37401
|
+
},
|
37402
|
+
"description": "Fired when the alert button is clicked"
|
37403
|
+
}
|
37404
|
+
],
|
37405
|
+
"attributes": [
|
37406
|
+
{
|
37407
|
+
"name": "n-alerts",
|
37408
|
+
"type": {
|
37409
|
+
"text": "number"
|
37410
|
+
},
|
37411
|
+
"default": "0",
|
37412
|
+
"fieldName": "nAlerts"
|
37413
|
+
},
|
37414
|
+
{
|
37415
|
+
"name": "alert-type",
|
37416
|
+
"type": {
|
37417
|
+
"text": "AlertType"
|
37418
|
+
},
|
37419
|
+
"fieldName": "alertType"
|
37420
|
+
},
|
37421
|
+
{
|
37422
|
+
"name": "show-ack",
|
37423
|
+
"type": {
|
37424
|
+
"text": "boolean"
|
37425
|
+
},
|
37426
|
+
"default": "false",
|
37427
|
+
"fieldName": "showAck"
|
37428
|
+
},
|
37429
|
+
{
|
37430
|
+
"name": "alert-muted",
|
37431
|
+
"type": {
|
37432
|
+
"text": "boolean"
|
37433
|
+
},
|
37434
|
+
"default": "false",
|
37435
|
+
"fieldName": "alertMuted"
|
37436
|
+
},
|
37437
|
+
{
|
37438
|
+
"name": "minimized",
|
37439
|
+
"type": {
|
37440
|
+
"text": "boolean"
|
37441
|
+
},
|
37442
|
+
"default": "false",
|
37443
|
+
"fieldName": "minimized"
|
37444
|
+
},
|
37445
|
+
{
|
37446
|
+
"name": "max-width",
|
37447
|
+
"type": {
|
37448
|
+
"text": "number"
|
37449
|
+
},
|
37450
|
+
"default": "480",
|
37451
|
+
"fieldName": "maxWidth"
|
37452
|
+
}
|
37453
|
+
],
|
37454
|
+
"superclass": {
|
37455
|
+
"name": "LitElement",
|
37456
|
+
"package": "lit"
|
37457
|
+
},
|
37458
|
+
"tagName": "obc-alert-topbar-element",
|
37459
|
+
"customElement": true
|
37460
|
+
}
|
37461
|
+
],
|
37462
|
+
"exports": [
|
37463
|
+
{
|
37464
|
+
"kind": "js",
|
37465
|
+
"name": "ObcAlertTopbarElement",
|
37466
|
+
"declaration": {
|
37467
|
+
"name": "ObcAlertTopbarElement",
|
37468
|
+
"module": "src/components/alert-topbar-element/alert-topbar-element.ts"
|
37469
|
+
}
|
37470
|
+
},
|
37471
|
+
{
|
37472
|
+
"kind": "custom-element-definition",
|
37473
|
+
"name": "obc-alert-topbar-element",
|
37474
|
+
"declaration": {
|
37475
|
+
"name": "ObcAlertTopbarElement",
|
37476
|
+
"module": "src/components/alert-topbar-element/alert-topbar-element.ts"
|
37477
|
+
}
|
37478
|
+
}
|
37479
|
+
]
|
37480
|
+
},
|
37481
37481
|
{
|
37482
37482
|
"kind": "javascript-module",
|
37483
37483
|
"path": "src/components/app-button/app-button.ts",
|
@@ -37975,163 +37975,37 @@
|
|
37975
37975
|
"fieldName": "checked"
|
37976
37976
|
},
|
37977
37977
|
{
|
37978
|
-
"name": "disabled",
|
37979
|
-
"type": {
|
37980
|
-
"text": "boolean"
|
37981
|
-
},
|
37982
|
-
"default": "false",
|
37983
|
-
"fieldName": "disabled"
|
37984
|
-
}
|
37985
|
-
],
|
37986
|
-
"superclass": {
|
37987
|
-
"name": "LitElement",
|
37988
|
-
"package": "lit"
|
37989
|
-
},
|
37990
|
-
"tagName": "obc-button",
|
37991
|
-
"customElement": true
|
37992
|
-
}
|
37993
|
-
],
|
37994
|
-
"exports": [
|
37995
|
-
{
|
37996
|
-
"kind": "js",
|
37997
|
-
"name": "ObcButton",
|
37998
|
-
"declaration": {
|
37999
|
-
"name": "ObcButton",
|
38000
|
-
"module": "src/components/button/button.ts"
|
38001
|
-
}
|
38002
|
-
},
|
38003
|
-
{
|
38004
|
-
"kind": "custom-element-definition",
|
38005
|
-
"name": "obc-button",
|
38006
|
-
"declaration": {
|
38007
|
-
"name": "ObcButton",
|
38008
|
-
"module": "src/components/button/button.ts"
|
38009
|
-
}
|
38010
|
-
}
|
38011
|
-
]
|
38012
|
-
},
|
38013
|
-
{
|
38014
|
-
"kind": "javascript-module",
|
38015
|
-
"path": "src/components/clock/clock.ts",
|
38016
|
-
"declarations": [
|
38017
|
-
{
|
38018
|
-
"kind": "class",
|
38019
|
-
"description": "",
|
38020
|
-
"name": "ObcClock",
|
38021
|
-
"members": [
|
38022
|
-
{
|
38023
|
-
"kind": "field",
|
38024
|
-
"name": "date",
|
38025
|
-
"type": {
|
38026
|
-
"text": "string"
|
38027
|
-
},
|
38028
|
-
"default": "'2021-01-01T11:11:11.111Z'",
|
38029
|
-
"attribute": "date"
|
38030
|
-
},
|
38031
|
-
{
|
38032
|
-
"kind": "field",
|
38033
|
-
"name": "showDate",
|
38034
|
-
"type": {
|
38035
|
-
"text": "boolean"
|
38036
|
-
},
|
38037
|
-
"default": "false",
|
38038
|
-
"attribute": "show-date"
|
38039
|
-
},
|
38040
|
-
{
|
38041
|
-
"kind": "field",
|
38042
|
-
"name": "blinkOnlyBreakpointPx",
|
38043
|
-
"type": {
|
38044
|
-
"text": "number"
|
38045
|
-
},
|
38046
|
-
"default": "0",
|
38047
|
-
"attribute": "blink-only-breakpoint-px"
|
38048
|
-
}
|
38049
|
-
],
|
38050
|
-
"attributes": [
|
38051
|
-
{
|
38052
|
-
"name": "date",
|
38053
|
-
"type": {
|
38054
|
-
"text": "string"
|
38055
|
-
},
|
38056
|
-
"default": "'2021-01-01T11:11:11.111Z'",
|
38057
|
-
"fieldName": "date"
|
38058
|
-
},
|
38059
|
-
{
|
38060
|
-
"name": "show-date",
|
38061
|
-
"type": {
|
38062
|
-
"text": "boolean"
|
38063
|
-
},
|
38064
|
-
"default": "false",
|
38065
|
-
"fieldName": "showDate"
|
38066
|
-
},
|
38067
|
-
{
|
38068
|
-
"name": "blink-only-breakpoint-px",
|
37978
|
+
"name": "disabled",
|
38069
37979
|
"type": {
|
38070
|
-
"text": "
|
37980
|
+
"text": "boolean"
|
38071
37981
|
},
|
38072
|
-
"default": "
|
38073
|
-
"fieldName": "
|
37982
|
+
"default": "false",
|
37983
|
+
"fieldName": "disabled"
|
38074
37984
|
}
|
38075
37985
|
],
|
38076
37986
|
"superclass": {
|
38077
37987
|
"name": "LitElement",
|
38078
37988
|
"package": "lit"
|
38079
37989
|
},
|
38080
|
-
"tagName": "obc-
|
38081
|
-
"customElement": true
|
38082
|
-
}
|
38083
|
-
],
|
38084
|
-
"exports": [
|
38085
|
-
{
|
38086
|
-
"kind": "js",
|
38087
|
-
"name": "ObcClock",
|
38088
|
-
"declaration": {
|
38089
|
-
"name": "ObcClock",
|
38090
|
-
"module": "src/components/clock/clock.ts"
|
38091
|
-
}
|
38092
|
-
},
|
38093
|
-
{
|
38094
|
-
"kind": "custom-element-definition",
|
38095
|
-
"name": "obc-clock",
|
38096
|
-
"declaration": {
|
38097
|
-
"name": "ObcClock",
|
38098
|
-
"module": "src/components/clock/clock.ts"
|
38099
|
-
}
|
38100
|
-
}
|
38101
|
-
]
|
38102
|
-
},
|
38103
|
-
{
|
38104
|
-
"kind": "javascript-module",
|
38105
|
-
"path": "src/components/divider/divider.ts",
|
38106
|
-
"declarations": [
|
38107
|
-
{
|
38108
|
-
"kind": "class",
|
38109
|
-
"description": "",
|
38110
|
-
"name": "ObcDivider",
|
38111
|
-
"members": [],
|
38112
|
-
"superclass": {
|
38113
|
-
"name": "LitElement",
|
38114
|
-
"package": "lit"
|
38115
|
-
},
|
38116
|
-
"tagName": "obc-divider",
|
37990
|
+
"tagName": "obc-button",
|
38117
37991
|
"customElement": true
|
38118
37992
|
}
|
38119
37993
|
],
|
38120
37994
|
"exports": [
|
38121
37995
|
{
|
38122
37996
|
"kind": "js",
|
38123
|
-
"name": "
|
37997
|
+
"name": "ObcButton",
|
38124
37998
|
"declaration": {
|
38125
|
-
"name": "
|
38126
|
-
"module": "src/components/
|
37999
|
+
"name": "ObcButton",
|
38000
|
+
"module": "src/components/button/button.ts"
|
38127
38001
|
}
|
38128
38002
|
},
|
38129
38003
|
{
|
38130
38004
|
"kind": "custom-element-definition",
|
38131
|
-
"name": "obc-
|
38005
|
+
"name": "obc-button",
|
38132
38006
|
"declaration": {
|
38133
|
-
"name": "
|
38134
|
-
"module": "src/components/
|
38007
|
+
"name": "ObcButton",
|
38008
|
+
"module": "src/components/button/button.ts"
|
38135
38009
|
}
|
38136
38010
|
}
|
38137
38011
|
]
|
@@ -38243,6 +38117,96 @@
|
|
38243
38117
|
}
|
38244
38118
|
]
|
38245
38119
|
},
|
38120
|
+
{
|
38121
|
+
"kind": "javascript-module",
|
38122
|
+
"path": "src/components/clock/clock.ts",
|
38123
|
+
"declarations": [
|
38124
|
+
{
|
38125
|
+
"kind": "class",
|
38126
|
+
"description": "",
|
38127
|
+
"name": "ObcClock",
|
38128
|
+
"members": [
|
38129
|
+
{
|
38130
|
+
"kind": "field",
|
38131
|
+
"name": "date",
|
38132
|
+
"type": {
|
38133
|
+
"text": "string"
|
38134
|
+
},
|
38135
|
+
"default": "'2021-01-01T11:11:11.111Z'",
|
38136
|
+
"attribute": "date"
|
38137
|
+
},
|
38138
|
+
{
|
38139
|
+
"kind": "field",
|
38140
|
+
"name": "showDate",
|
38141
|
+
"type": {
|
38142
|
+
"text": "boolean"
|
38143
|
+
},
|
38144
|
+
"default": "false",
|
38145
|
+
"attribute": "show-date"
|
38146
|
+
},
|
38147
|
+
{
|
38148
|
+
"kind": "field",
|
38149
|
+
"name": "blinkOnlyBreakpointPx",
|
38150
|
+
"type": {
|
38151
|
+
"text": "number"
|
38152
|
+
},
|
38153
|
+
"default": "0",
|
38154
|
+
"attribute": "blink-only-breakpoint-px"
|
38155
|
+
}
|
38156
|
+
],
|
38157
|
+
"attributes": [
|
38158
|
+
{
|
38159
|
+
"name": "date",
|
38160
|
+
"type": {
|
38161
|
+
"text": "string"
|
38162
|
+
},
|
38163
|
+
"default": "'2021-01-01T11:11:11.111Z'",
|
38164
|
+
"fieldName": "date"
|
38165
|
+
},
|
38166
|
+
{
|
38167
|
+
"name": "show-date",
|
38168
|
+
"type": {
|
38169
|
+
"text": "boolean"
|
38170
|
+
},
|
38171
|
+
"default": "false",
|
38172
|
+
"fieldName": "showDate"
|
38173
|
+
},
|
38174
|
+
{
|
38175
|
+
"name": "blink-only-breakpoint-px",
|
38176
|
+
"type": {
|
38177
|
+
"text": "number"
|
38178
|
+
},
|
38179
|
+
"default": "0",
|
38180
|
+
"fieldName": "blinkOnlyBreakpointPx"
|
38181
|
+
}
|
38182
|
+
],
|
38183
|
+
"superclass": {
|
38184
|
+
"name": "LitElement",
|
38185
|
+
"package": "lit"
|
38186
|
+
},
|
38187
|
+
"tagName": "obc-clock",
|
38188
|
+
"customElement": true
|
38189
|
+
}
|
38190
|
+
],
|
38191
|
+
"exports": [
|
38192
|
+
{
|
38193
|
+
"kind": "js",
|
38194
|
+
"name": "ObcClock",
|
38195
|
+
"declaration": {
|
38196
|
+
"name": "ObcClock",
|
38197
|
+
"module": "src/components/clock/clock.ts"
|
38198
|
+
}
|
38199
|
+
},
|
38200
|
+
{
|
38201
|
+
"kind": "custom-element-definition",
|
38202
|
+
"name": "obc-clock",
|
38203
|
+
"declaration": {
|
38204
|
+
"name": "ObcClock",
|
38205
|
+
"module": "src/components/clock/clock.ts"
|
38206
|
+
}
|
38207
|
+
}
|
38208
|
+
]
|
38209
|
+
},
|
38246
38210
|
{
|
38247
38211
|
"kind": "javascript-module",
|
38248
38212
|
"path": "src/components/icon-button/icon-button.ts",
|
@@ -38384,6 +38348,78 @@
|
|
38384
38348
|
}
|
38385
38349
|
]
|
38386
38350
|
},
|
38351
|
+
{
|
38352
|
+
"kind": "javascript-module",
|
38353
|
+
"path": "src/components/divider/divider.ts",
|
38354
|
+
"declarations": [
|
38355
|
+
{
|
38356
|
+
"kind": "class",
|
38357
|
+
"description": "",
|
38358
|
+
"name": "ObcDivider",
|
38359
|
+
"members": [],
|
38360
|
+
"superclass": {
|
38361
|
+
"name": "LitElement",
|
38362
|
+
"package": "lit"
|
38363
|
+
},
|
38364
|
+
"tagName": "obc-divider",
|
38365
|
+
"customElement": true
|
38366
|
+
}
|
38367
|
+
],
|
38368
|
+
"exports": [
|
38369
|
+
{
|
38370
|
+
"kind": "js",
|
38371
|
+
"name": "ObcDivider",
|
38372
|
+
"declaration": {
|
38373
|
+
"name": "ObcDivider",
|
38374
|
+
"module": "src/components/divider/divider.ts"
|
38375
|
+
}
|
38376
|
+
},
|
38377
|
+
{
|
38378
|
+
"kind": "custom-element-definition",
|
38379
|
+
"name": "obc-divider",
|
38380
|
+
"declaration": {
|
38381
|
+
"name": "ObcDivider",
|
38382
|
+
"module": "src/components/divider/divider.ts"
|
38383
|
+
}
|
38384
|
+
}
|
38385
|
+
]
|
38386
|
+
},
|
38387
|
+
{
|
38388
|
+
"kind": "javascript-module",
|
38389
|
+
"path": "src/components/context-menu/context-menu.ts",
|
38390
|
+
"declarations": [
|
38391
|
+
{
|
38392
|
+
"kind": "class",
|
38393
|
+
"description": "",
|
38394
|
+
"name": "ObcContextMenu",
|
38395
|
+
"members": [],
|
38396
|
+
"superclass": {
|
38397
|
+
"name": "LitElement",
|
38398
|
+
"package": "lit"
|
38399
|
+
},
|
38400
|
+
"tagName": "obc-context-menu",
|
38401
|
+
"customElement": true
|
38402
|
+
}
|
38403
|
+
],
|
38404
|
+
"exports": [
|
38405
|
+
{
|
38406
|
+
"kind": "js",
|
38407
|
+
"name": "ObcContextMenu",
|
38408
|
+
"declaration": {
|
38409
|
+
"name": "ObcContextMenu",
|
38410
|
+
"module": "src/components/context-menu/context-menu.ts"
|
38411
|
+
}
|
38412
|
+
},
|
38413
|
+
{
|
38414
|
+
"kind": "custom-element-definition",
|
38415
|
+
"name": "obc-context-menu",
|
38416
|
+
"declaration": {
|
38417
|
+
"name": "ObcContextMenu",
|
38418
|
+
"module": "src/components/context-menu/context-menu.ts"
|
38419
|
+
}
|
38420
|
+
}
|
38421
|
+
]
|
38422
|
+
},
|
38387
38423
|
{
|
38388
38424
|
"kind": "javascript-module",
|
38389
38425
|
"path": "src/components/input/input.ts",
|
@@ -38515,42 +38551,6 @@
|
|
38515
38551
|
}
|
38516
38552
|
]
|
38517
38553
|
},
|
38518
|
-
{
|
38519
|
-
"kind": "javascript-module",
|
38520
|
-
"path": "src/components/context-menu/context-menu.ts",
|
38521
|
-
"declarations": [
|
38522
|
-
{
|
38523
|
-
"kind": "class",
|
38524
|
-
"description": "",
|
38525
|
-
"name": "ObcContextMenu",
|
38526
|
-
"members": [],
|
38527
|
-
"superclass": {
|
38528
|
-
"name": "LitElement",
|
38529
|
-
"package": "lit"
|
38530
|
-
},
|
38531
|
-
"tagName": "obc-context-menu",
|
38532
|
-
"customElement": true
|
38533
|
-
}
|
38534
|
-
],
|
38535
|
-
"exports": [
|
38536
|
-
{
|
38537
|
-
"kind": "js",
|
38538
|
-
"name": "ObcContextMenu",
|
38539
|
-
"declaration": {
|
38540
|
-
"name": "ObcContextMenu",
|
38541
|
-
"module": "src/components/context-menu/context-menu.ts"
|
38542
|
-
}
|
38543
|
-
},
|
38544
|
-
{
|
38545
|
-
"kind": "custom-element-definition",
|
38546
|
-
"name": "obc-context-menu",
|
38547
|
-
"declaration": {
|
38548
|
-
"name": "ObcContextMenu",
|
38549
|
-
"module": "src/components/context-menu/context-menu.ts"
|
38550
|
-
}
|
38551
|
-
}
|
38552
|
-
]
|
38553
|
-
},
|
38554
38554
|
{
|
38555
38555
|
"kind": "javascript-module",
|
38556
38556
|
"path": "src/components/navigation-item/navigation-item.ts",
|
package/fix-generated.cjs
CHANGED
@@ -17,9 +17,9 @@ function addRepositoryToPackageJsonVue() {
|
|
17
17
|
const packageJson = require('../openbridge-webcomponents-vue/package.json');
|
18
18
|
packageJson.repository = {
|
19
19
|
type: 'git',
|
20
|
-
url: 'https://github.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents.git',
|
21
|
-
directory:
|
22
|
-
}
|
20
|
+
url: 'git+https://github.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents.git',
|
21
|
+
directory: 'packages/openbridge-webcomponents-vue',
|
22
|
+
};
|
23
23
|
fs.writeFileSync(
|
24
24
|
'../openbridge-webcomponents-vue/package.json',
|
25
25
|
JSON.stringify(packageJson, null, 2)
|
@@ -30,9 +30,20 @@ function addRepositoryToPackageJsonReact() {
|
|
30
30
|
const packageJson = require('../openbridge-webcomponents-react/package.json');
|
31
31
|
packageJson.repository = {
|
32
32
|
type: 'git',
|
33
|
-
url: 'https://github.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents.git',
|
34
|
-
directory:
|
35
|
-
}
|
33
|
+
url: 'git+https://github.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents.git',
|
34
|
+
directory: 'packages/openbridge-webcomponents-react',
|
35
|
+
};
|
36
|
+
fs.writeFileSync(
|
37
|
+
'../openbridge-webcomponents-react/package.json',
|
38
|
+
JSON.stringify(packageJson, null, 2)
|
39
|
+
);
|
40
|
+
}
|
41
|
+
|
42
|
+
function fixFilePathInPackageJsonReact() {
|
43
|
+
const packageJson = require('../openbridge-webcomponents-react/package.json');
|
44
|
+
packageJson.files = packageJson.files.map((file) => {
|
45
|
+
return file.replace('dist/', '');
|
46
|
+
});
|
36
47
|
fs.writeFileSync(
|
37
48
|
'../openbridge-webcomponents-react/package.json',
|
38
49
|
JSON.stringify(packageJson, null, 2)
|
@@ -42,3 +53,4 @@ function addRepositoryToPackageJsonReact() {
|
|
42
53
|
fixIndexFiles();
|
43
54
|
addRepositoryToPackageJsonVue();
|
44
55
|
addRepositoryToPackageJsonReact();
|
56
|
+
fixFilePathInPackageJsonReact();
|