@openremote/or-dashboard-builder 1.6.0-snapshot.20250516214447 → 1.6.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.
@@ -2044,287 +2044,227 @@
2044
2044
  },
2045
2045
  {
2046
2046
  "kind": "javascript-module",
2047
- "path": "src/service/dashboard-service.ts",
2047
+ "path": "src/controls/dashboard-refresh-controls.ts",
2048
2048
  "declarations": [
2049
+ {
2050
+ "kind": "function",
2051
+ "name": "intervalToMillis",
2052
+ "return": {
2053
+ "type": {
2054
+ "text": "number | undefined"
2055
+ }
2056
+ },
2057
+ "parameters": [
2058
+ {
2059
+ "name": "interval",
2060
+ "type": {
2061
+ "text": "DashboardRefreshInterval"
2062
+ }
2063
+ }
2064
+ ]
2065
+ },
2049
2066
  {
2050
2067
  "kind": "class",
2051
2068
  "description": "",
2052
- "name": "DashboardService",
2069
+ "name": "IntervalSelectEvent",
2053
2070
  "members": [
2054
2071
  {
2055
- "kind": "method",
2056
- "name": "create",
2072
+ "kind": "field",
2073
+ "name": "NAME",
2074
+ "type": {
2075
+ "text": "string"
2076
+ },
2057
2077
  "privacy": "public",
2058
2078
  "static": true,
2059
- "return": {
2060
- "type": {
2061
- "text": "Promise<Dashboard>"
2062
- }
2079
+ "readonly": true,
2080
+ "default": "\"interval-select\""
2081
+ }
2082
+ ],
2083
+ "superclass": {
2084
+ "name": "CustomEvent",
2085
+ "module": "src/controls/dashboard-refresh-controls.ts"
2086
+ }
2087
+ },
2088
+ {
2089
+ "kind": "class",
2090
+ "description": "",
2091
+ "name": "DashboardRefreshControls",
2092
+ "members": [
2093
+ {
2094
+ "kind": "field",
2095
+ "name": "interval",
2096
+ "type": {
2097
+ "text": "DashboardRefreshInterval"
2063
2098
  },
2064
- "parameters": [
2065
- {
2066
- "name": "dashboard",
2067
- "optional": true,
2068
- "type": {
2069
- "text": "Dashboard"
2070
- }
2071
- },
2072
- {
2073
- "name": "size",
2074
- "default": "DashboardSizeOption.DESKTOP",
2075
- "type": {
2076
- "text": "DashboardSizeOption"
2077
- }
2078
- },
2079
- {
2080
- "name": "realm",
2081
- "default": "manager.displayRealm",
2082
- "type": {
2083
- "text": "string"
2084
- }
2085
- },
2086
- {
2087
- "name": "post",
2088
- "default": "true"
2089
- }
2090
- ]
2099
+ "privacy": "protected"
2100
+ },
2101
+ {
2102
+ "kind": "field",
2103
+ "name": "readonly",
2104
+ "type": {
2105
+ "text": "boolean"
2106
+ },
2107
+ "privacy": "protected",
2108
+ "default": "true"
2109
+ },
2110
+ {
2111
+ "kind": "field",
2112
+ "name": "intervalOptions",
2113
+ "type": {
2114
+ "text": "array"
2115
+ },
2116
+ "privacy": "protected",
2117
+ "default": "[DashboardRefreshInterval.OFF, DashboardRefreshInterval.ONE_MIN, DashboardRefreshInterval.FIVE_MIN, DashboardRefreshInterval.QUARTER, DashboardRefreshInterval.ONE_HOUR]"
2091
2118
  },
2092
2119
  {
2093
2120
  "kind": "method",
2094
- "name": "delete",
2095
- "privacy": "public",
2096
- "static": true,
2121
+ "name": "willUpdate",
2122
+ "privacy": "protected",
2097
2123
  "parameters": [
2098
2124
  {
2099
- "name": "id",
2100
- "type": {
2101
- "text": "string"
2102
- }
2103
- },
2104
- {
2105
- "name": "realm",
2106
- "default": "manager.displayRealm",
2125
+ "name": "changedProps",
2107
2126
  "type": {
2108
- "text": "string"
2127
+ "text": "PropertyValues"
2109
2128
  }
2110
2129
  }
2111
2130
  ]
2112
2131
  },
2113
2132
  {
2114
2133
  "kind": "method",
2115
- "name": "getDefaultColumns",
2116
- "privacy": "private",
2117
- "static": true,
2134
+ "name": "render",
2135
+ "privacy": "protected",
2118
2136
  "return": {
2119
2137
  "type": {
2120
- "text": "number"
2121
- }
2122
- },
2123
- "parameters": [
2124
- {
2125
- "name": "preset",
2126
- "type": {
2127
- "text": "DashboardSizeOption"
2128
- }
2138
+ "text": "TemplateResult"
2129
2139
  }
2130
- ]
2140
+ }
2131
2141
  },
2132
2142
  {
2133
2143
  "kind": "method",
2134
- "name": "getDefaultDisplayName",
2135
- "privacy": "private",
2136
- "static": true,
2137
- "return": {
2138
- "type": {
2139
- "text": "string"
2140
- }
2141
- },
2144
+ "name": "onIntervalSelect",
2145
+ "privacy": "protected",
2142
2146
  "parameters": [
2143
2147
  {
2144
- "name": "preset",
2148
+ "name": "stringOptions",
2145
2149
  "type": {
2146
- "text": "DashboardSizeOption"
2150
+ "text": "string[]"
2151
+ }
2152
+ },
2153
+ {
2154
+ "name": "value",
2155
+ "type": {
2156
+ "text": "string"
2147
2157
  }
2148
2158
  }
2149
2159
  ]
2150
2160
  },
2151
2161
  {
2152
2162
  "kind": "method",
2153
- "name": "getDefaultScreenPresets",
2154
- "privacy": "private",
2155
- "static": true,
2163
+ "name": "getIntervalString",
2164
+ "privacy": "protected",
2156
2165
  "return": {
2157
2166
  "type": {
2158
- "text": "DashboardScreenPreset[]"
2167
+ "text": "string"
2159
2168
  }
2160
2169
  },
2161
2170
  "parameters": [
2162
2171
  {
2163
- "name": "preset",
2172
+ "name": "interval",
2164
2173
  "type": {
2165
- "text": "DashboardSizeOption"
2174
+ "text": "DashboardRefreshInterval"
2166
2175
  }
2167
2176
  }
2168
2177
  ]
2169
2178
  },
2170
2179
  {
2171
2180
  "kind": "method",
2172
- "name": "getDefaultMaxScreenWidth",
2173
- "privacy": "private",
2174
- "static": true,
2181
+ "name": "getRefreshOptions",
2182
+ "privacy": "protected",
2175
2183
  "return": {
2176
2184
  "type": {
2177
- "text": "number"
2178
- }
2179
- },
2180
- "parameters": [
2181
- {
2182
- "name": "preset",
2183
- "type": {
2184
- "text": "DashboardSizeOption"
2185
- }
2185
+ "text": "string[]"
2186
2186
  }
2187
- ]
2187
+ }
2188
2188
  }
2189
- ]
2189
+ ],
2190
+ "events": [
2191
+ {
2192
+ "type": {
2193
+ "text": "IntervalSelectEvent"
2194
+ }
2195
+ }
2196
+ ],
2197
+ "superclass": {
2198
+ "name": "LitElement",
2199
+ "package": "lit"
2200
+ },
2201
+ "customElement": true
2190
2202
  }
2191
2203
  ],
2192
2204
  "exports": [
2193
2205
  {
2194
2206
  "kind": "js",
2195
- "name": "DashboardService",
2207
+ "name": "intervalToMillis",
2196
2208
  "declaration": {
2197
- "name": "DashboardService",
2198
- "module": "src/service/dashboard-service.ts"
2209
+ "name": "intervalToMillis",
2210
+ "module": "src/controls/dashboard-refresh-controls.ts"
2211
+ }
2212
+ },
2213
+ {
2214
+ "kind": "js",
2215
+ "name": "IntervalSelectEvent",
2216
+ "declaration": {
2217
+ "name": "IntervalSelectEvent",
2218
+ "module": "src/controls/dashboard-refresh-controls.ts"
2219
+ }
2220
+ },
2221
+ {
2222
+ "kind": "js",
2223
+ "name": "DashboardRefreshControls",
2224
+ "declaration": {
2225
+ "name": "DashboardRefreshControls",
2226
+ "module": "src/controls/dashboard-refresh-controls.ts"
2199
2227
  }
2200
2228
  }
2201
2229
  ]
2202
2230
  },
2203
2231
  {
2204
2232
  "kind": "javascript-module",
2205
- "path": "src/service/widget-service.ts",
2233
+ "path": "src/panels/assettypes-panel.ts",
2206
2234
  "declarations": [
2207
2235
  {
2208
2236
  "kind": "class",
2209
2237
  "description": "",
2210
- "name": "WidgetService",
2238
+ "name": "AssetTypeSelectEvent",
2211
2239
  "members": [
2212
2240
  {
2213
- "kind": "method",
2214
- "name": "getManifest",
2241
+ "kind": "field",
2242
+ "name": "NAME",
2243
+ "type": {
2244
+ "text": "string"
2245
+ },
2215
2246
  "privacy": "public",
2216
2247
  "static": true,
2217
- "parameters": [
2218
- {
2219
- "name": "widgetTypeId",
2220
- "type": {
2221
- "text": "string"
2222
- }
2223
- }
2224
- ]
2225
- },
2248
+ "readonly": true,
2249
+ "default": "\"assettype-select\""
2250
+ }
2251
+ ],
2252
+ "superclass": {
2253
+ "name": "CustomEvent",
2254
+ "module": "src/panels/assettypes-panel.ts"
2255
+ }
2256
+ },
2257
+ {
2258
+ "kind": "class",
2259
+ "description": "",
2260
+ "name": "AssetAllOfTypeSwitchEvent",
2261
+ "members": [
2226
2262
  {
2227
- "kind": "method",
2228
- "name": "placeNew",
2229
- "privacy": "public",
2230
- "static": true,
2231
- "return": {
2232
- "type": {
2233
- "text": "Promise<DashboardWidget>"
2234
- }
2235
- },
2236
- "parameters": [
2237
- {
2238
- "name": "widgetTypeId",
2239
- "type": {
2240
- "text": "string"
2241
- }
2242
- },
2243
- {
2244
- "name": "x",
2245
- "type": {
2246
- "text": "number"
2247
- }
2248
- },
2249
- {
2250
- "name": "y",
2251
- "type": {
2252
- "text": "number"
2253
- }
2254
- }
2255
- ]
2256
- },
2257
- {
2258
- "kind": "method",
2259
- "name": "correctToConfigSpec",
2260
- "privacy": "public",
2261
- "static": true,
2262
- "parameters": [
2263
- {
2264
- "name": "manifest",
2265
- "type": {
2266
- "text": "WidgetManifest"
2267
- }
2268
- },
2269
- {
2270
- "name": "widgetConfig",
2271
- "type": {
2272
- "text": "WidgetConfig"
2273
- }
2274
- }
2275
- ]
2276
- }
2277
- ]
2278
- }
2279
- ],
2280
- "exports": [
2281
- {
2282
- "kind": "js",
2283
- "name": "WidgetService",
2284
- "declaration": {
2285
- "name": "WidgetService",
2286
- "module": "src/service/widget-service.ts"
2287
- }
2288
- }
2289
- ]
2290
- },
2291
- {
2292
- "kind": "javascript-module",
2293
- "path": "src/panels/assettypes-panel.ts",
2294
- "declarations": [
2295
- {
2296
- "kind": "class",
2297
- "description": "",
2298
- "name": "AssetTypeSelectEvent",
2299
- "members": [
2300
- {
2301
- "kind": "field",
2302
- "name": "NAME",
2303
- "type": {
2304
- "text": "string"
2305
- },
2306
- "privacy": "public",
2307
- "static": true,
2308
- "readonly": true,
2309
- "default": "\"assettype-select\""
2310
- }
2311
- ],
2312
- "superclass": {
2313
- "name": "CustomEvent",
2314
- "module": "src/panels/assettypes-panel.ts"
2315
- }
2316
- },
2317
- {
2318
- "kind": "class",
2319
- "description": "",
2320
- "name": "AssetAllOfTypeSwitchEvent",
2321
- "members": [
2322
- {
2323
- "kind": "field",
2324
- "name": "NAME",
2325
- "type": {
2326
- "text": "string"
2327
- },
2263
+ "kind": "field",
2264
+ "name": "NAME",
2265
+ "type": {
2266
+ "text": "string"
2267
+ },
2328
2268
  "privacy": "public",
2329
2269
  "static": true,
2330
2270
  "readonly": true,
@@ -3148,77 +3088,323 @@
3148
3088
  "privacy": "protected",
3149
3089
  "parameters": [
3150
3090
  {
3151
- "name": "threshold",
3091
+ "name": "threshold",
3092
+ "type": {
3093
+ "text": "[any, string]"
3094
+ }
3095
+ }
3096
+ ]
3097
+ },
3098
+ {
3099
+ "kind": "method",
3100
+ "name": "addThreshold",
3101
+ "privacy": "protected",
3102
+ "parameters": [
3103
+ {
3104
+ "name": "threshold",
3105
+ "type": {
3106
+ "text": "[any, string]"
3107
+ }
3108
+ }
3109
+ ]
3110
+ },
3111
+ {
3112
+ "kind": "method",
3113
+ "name": "addNewThreshold",
3114
+ "privacy": "protected"
3115
+ }
3116
+ ],
3117
+ "events": [
3118
+ {
3119
+ "type": {
3120
+ "text": "ThresholdChangeEvent"
3121
+ }
3122
+ }
3123
+ ],
3124
+ "superclass": {
3125
+ "name": "LitElement",
3126
+ "package": "lit"
3127
+ },
3128
+ "customElement": true
3129
+ }
3130
+ ],
3131
+ "exports": [
3132
+ {
3133
+ "kind": "js",
3134
+ "name": "ThresholdChangeEvent",
3135
+ "declaration": {
3136
+ "name": "ThresholdChangeEvent",
3137
+ "module": "src/panels/thresholds-panel.ts"
3138
+ }
3139
+ },
3140
+ {
3141
+ "kind": "js",
3142
+ "name": "TextColorsChangeEvent",
3143
+ "declaration": {
3144
+ "name": "TextColorsChangeEvent",
3145
+ "module": "src/panels/thresholds-panel.ts"
3146
+ }
3147
+ },
3148
+ {
3149
+ "kind": "js",
3150
+ "name": "BoolColorsChangeEvent",
3151
+ "declaration": {
3152
+ "name": "BoolColorsChangeEvent",
3153
+ "module": "src/panels/thresholds-panel.ts"
3154
+ }
3155
+ },
3156
+ {
3157
+ "kind": "js",
3158
+ "name": "ThresholdsPanel",
3159
+ "declaration": {
3160
+ "name": "ThresholdsPanel",
3161
+ "module": "src/panels/thresholds-panel.ts"
3162
+ }
3163
+ }
3164
+ ]
3165
+ },
3166
+ {
3167
+ "kind": "javascript-module",
3168
+ "path": "src/service/dashboard-service.ts",
3169
+ "declarations": [
3170
+ {
3171
+ "kind": "class",
3172
+ "description": "",
3173
+ "name": "DashboardService",
3174
+ "members": [
3175
+ {
3176
+ "kind": "method",
3177
+ "name": "create",
3178
+ "privacy": "public",
3179
+ "static": true,
3180
+ "return": {
3181
+ "type": {
3182
+ "text": "Promise<Dashboard>"
3183
+ }
3184
+ },
3185
+ "parameters": [
3186
+ {
3187
+ "name": "dashboard",
3188
+ "optional": true,
3189
+ "type": {
3190
+ "text": "Dashboard"
3191
+ }
3192
+ },
3193
+ {
3194
+ "name": "size",
3195
+ "default": "DashboardSizeOption.DESKTOP",
3196
+ "type": {
3197
+ "text": "DashboardSizeOption"
3198
+ }
3199
+ },
3200
+ {
3201
+ "name": "realm",
3202
+ "default": "manager.displayRealm",
3203
+ "type": {
3204
+ "text": "string"
3205
+ }
3206
+ },
3207
+ {
3208
+ "name": "post",
3209
+ "default": "true"
3210
+ }
3211
+ ]
3212
+ },
3213
+ {
3214
+ "kind": "method",
3215
+ "name": "delete",
3216
+ "privacy": "public",
3217
+ "static": true,
3218
+ "parameters": [
3219
+ {
3220
+ "name": "id",
3221
+ "type": {
3222
+ "text": "string"
3223
+ }
3224
+ },
3225
+ {
3226
+ "name": "realm",
3227
+ "default": "manager.displayRealm",
3228
+ "type": {
3229
+ "text": "string"
3230
+ }
3231
+ }
3232
+ ]
3233
+ },
3234
+ {
3235
+ "kind": "method",
3236
+ "name": "getDefaultColumns",
3237
+ "privacy": "private",
3238
+ "static": true,
3239
+ "return": {
3240
+ "type": {
3241
+ "text": "number"
3242
+ }
3243
+ },
3244
+ "parameters": [
3245
+ {
3246
+ "name": "preset",
3247
+ "type": {
3248
+ "text": "DashboardSizeOption"
3249
+ }
3250
+ }
3251
+ ]
3252
+ },
3253
+ {
3254
+ "kind": "method",
3255
+ "name": "getDefaultDisplayName",
3256
+ "privacy": "private",
3257
+ "static": true,
3258
+ "return": {
3259
+ "type": {
3260
+ "text": "string"
3261
+ }
3262
+ },
3263
+ "parameters": [
3264
+ {
3265
+ "name": "preset",
3266
+ "type": {
3267
+ "text": "DashboardSizeOption"
3268
+ }
3269
+ }
3270
+ ]
3271
+ },
3272
+ {
3273
+ "kind": "method",
3274
+ "name": "getDefaultScreenPresets",
3275
+ "privacy": "private",
3276
+ "static": true,
3277
+ "return": {
3278
+ "type": {
3279
+ "text": "DashboardScreenPreset[]"
3280
+ }
3281
+ },
3282
+ "parameters": [
3283
+ {
3284
+ "name": "preset",
3285
+ "type": {
3286
+ "text": "DashboardSizeOption"
3287
+ }
3288
+ }
3289
+ ]
3290
+ },
3291
+ {
3292
+ "kind": "method",
3293
+ "name": "getDefaultMaxScreenWidth",
3294
+ "privacy": "private",
3295
+ "static": true,
3296
+ "return": {
3297
+ "type": {
3298
+ "text": "number"
3299
+ }
3300
+ },
3301
+ "parameters": [
3302
+ {
3303
+ "name": "preset",
3304
+ "type": {
3305
+ "text": "DashboardSizeOption"
3306
+ }
3307
+ }
3308
+ ]
3309
+ }
3310
+ ]
3311
+ }
3312
+ ],
3313
+ "exports": [
3314
+ {
3315
+ "kind": "js",
3316
+ "name": "DashboardService",
3317
+ "declaration": {
3318
+ "name": "DashboardService",
3319
+ "module": "src/service/dashboard-service.ts"
3320
+ }
3321
+ }
3322
+ ]
3323
+ },
3324
+ {
3325
+ "kind": "javascript-module",
3326
+ "path": "src/service/widget-service.ts",
3327
+ "declarations": [
3328
+ {
3329
+ "kind": "class",
3330
+ "description": "",
3331
+ "name": "WidgetService",
3332
+ "members": [
3333
+ {
3334
+ "kind": "method",
3335
+ "name": "getManifest",
3336
+ "privacy": "public",
3337
+ "static": true,
3338
+ "parameters": [
3339
+ {
3340
+ "name": "widgetTypeId",
3341
+ "type": {
3342
+ "text": "string"
3343
+ }
3344
+ }
3345
+ ]
3346
+ },
3347
+ {
3348
+ "kind": "method",
3349
+ "name": "placeNew",
3350
+ "privacy": "public",
3351
+ "static": true,
3352
+ "return": {
3353
+ "type": {
3354
+ "text": "Promise<DashboardWidget>"
3355
+ }
3356
+ },
3357
+ "parameters": [
3358
+ {
3359
+ "name": "widgetTypeId",
3360
+ "type": {
3361
+ "text": "string"
3362
+ }
3363
+ },
3364
+ {
3365
+ "name": "x",
3366
+ "type": {
3367
+ "text": "number"
3368
+ }
3369
+ },
3370
+ {
3371
+ "name": "y",
3152
3372
  "type": {
3153
- "text": "[any, string]"
3373
+ "text": "number"
3154
3374
  }
3155
3375
  }
3156
3376
  ]
3157
3377
  },
3158
3378
  {
3159
3379
  "kind": "method",
3160
- "name": "addThreshold",
3161
- "privacy": "protected",
3380
+ "name": "correctToConfigSpec",
3381
+ "privacy": "public",
3382
+ "static": true,
3162
3383
  "parameters": [
3163
3384
  {
3164
- "name": "threshold",
3385
+ "name": "manifest",
3165
3386
  "type": {
3166
- "text": "[any, string]"
3387
+ "text": "WidgetManifest"
3388
+ }
3389
+ },
3390
+ {
3391
+ "name": "widgetConfig",
3392
+ "type": {
3393
+ "text": "WidgetConfig"
3167
3394
  }
3168
3395
  }
3169
3396
  ]
3170
- },
3171
- {
3172
- "kind": "method",
3173
- "name": "addNewThreshold",
3174
- "privacy": "protected"
3175
- }
3176
- ],
3177
- "events": [
3178
- {
3179
- "type": {
3180
- "text": "ThresholdChangeEvent"
3181
- }
3182
3397
  }
3183
- ],
3184
- "superclass": {
3185
- "name": "LitElement",
3186
- "package": "lit"
3187
- },
3188
- "customElement": true
3398
+ ]
3189
3399
  }
3190
3400
  ],
3191
3401
  "exports": [
3192
3402
  {
3193
3403
  "kind": "js",
3194
- "name": "ThresholdChangeEvent",
3195
- "declaration": {
3196
- "name": "ThresholdChangeEvent",
3197
- "module": "src/panels/thresholds-panel.ts"
3198
- }
3199
- },
3200
- {
3201
- "kind": "js",
3202
- "name": "TextColorsChangeEvent",
3203
- "declaration": {
3204
- "name": "TextColorsChangeEvent",
3205
- "module": "src/panels/thresholds-panel.ts"
3206
- }
3207
- },
3208
- {
3209
- "kind": "js",
3210
- "name": "BoolColorsChangeEvent",
3211
- "declaration": {
3212
- "name": "BoolColorsChangeEvent",
3213
- "module": "src/panels/thresholds-panel.ts"
3214
- }
3215
- },
3216
- {
3217
- "kind": "js",
3218
- "name": "ThresholdsPanel",
3404
+ "name": "WidgetService",
3219
3405
  "declaration": {
3220
- "name": "ThresholdsPanel",
3221
- "module": "src/panels/thresholds-panel.ts"
3406
+ "name": "WidgetService",
3407
+ "module": "src/service/widget-service.ts"
3222
3408
  }
3223
3409
  }
3224
3410
  ]
@@ -5643,192 +5829,6 @@
5643
5829
  }
5644
5830
  ]
5645
5831
  },
5646
- {
5647
- "kind": "javascript-module",
5648
- "path": "src/controls/dashboard-refresh-controls.ts",
5649
- "declarations": [
5650
- {
5651
- "kind": "function",
5652
- "name": "intervalToMillis",
5653
- "return": {
5654
- "type": {
5655
- "text": "number | undefined"
5656
- }
5657
- },
5658
- "parameters": [
5659
- {
5660
- "name": "interval",
5661
- "type": {
5662
- "text": "DashboardRefreshInterval"
5663
- }
5664
- }
5665
- ]
5666
- },
5667
- {
5668
- "kind": "class",
5669
- "description": "",
5670
- "name": "IntervalSelectEvent",
5671
- "members": [
5672
- {
5673
- "kind": "field",
5674
- "name": "NAME",
5675
- "type": {
5676
- "text": "string"
5677
- },
5678
- "privacy": "public",
5679
- "static": true,
5680
- "readonly": true,
5681
- "default": "\"interval-select\""
5682
- }
5683
- ],
5684
- "superclass": {
5685
- "name": "CustomEvent",
5686
- "module": "src/controls/dashboard-refresh-controls.ts"
5687
- }
5688
- },
5689
- {
5690
- "kind": "class",
5691
- "description": "",
5692
- "name": "DashboardRefreshControls",
5693
- "members": [
5694
- {
5695
- "kind": "field",
5696
- "name": "interval",
5697
- "type": {
5698
- "text": "DashboardRefreshInterval"
5699
- },
5700
- "privacy": "protected"
5701
- },
5702
- {
5703
- "kind": "field",
5704
- "name": "readonly",
5705
- "type": {
5706
- "text": "boolean"
5707
- },
5708
- "privacy": "protected",
5709
- "default": "true"
5710
- },
5711
- {
5712
- "kind": "field",
5713
- "name": "intervalOptions",
5714
- "type": {
5715
- "text": "array"
5716
- },
5717
- "privacy": "protected",
5718
- "default": "[DashboardRefreshInterval.OFF, DashboardRefreshInterval.ONE_MIN, DashboardRefreshInterval.FIVE_MIN, DashboardRefreshInterval.QUARTER, DashboardRefreshInterval.ONE_HOUR]"
5719
- },
5720
- {
5721
- "kind": "method",
5722
- "name": "willUpdate",
5723
- "privacy": "protected",
5724
- "parameters": [
5725
- {
5726
- "name": "changedProps",
5727
- "type": {
5728
- "text": "PropertyValues"
5729
- }
5730
- }
5731
- ]
5732
- },
5733
- {
5734
- "kind": "method",
5735
- "name": "render",
5736
- "privacy": "protected",
5737
- "return": {
5738
- "type": {
5739
- "text": "TemplateResult"
5740
- }
5741
- }
5742
- },
5743
- {
5744
- "kind": "method",
5745
- "name": "onIntervalSelect",
5746
- "privacy": "protected",
5747
- "parameters": [
5748
- {
5749
- "name": "stringOptions",
5750
- "type": {
5751
- "text": "string[]"
5752
- }
5753
- },
5754
- {
5755
- "name": "value",
5756
- "type": {
5757
- "text": "string"
5758
- }
5759
- }
5760
- ]
5761
- },
5762
- {
5763
- "kind": "method",
5764
- "name": "getIntervalString",
5765
- "privacy": "protected",
5766
- "return": {
5767
- "type": {
5768
- "text": "string"
5769
- }
5770
- },
5771
- "parameters": [
5772
- {
5773
- "name": "interval",
5774
- "type": {
5775
- "text": "DashboardRefreshInterval"
5776
- }
5777
- }
5778
- ]
5779
- },
5780
- {
5781
- "kind": "method",
5782
- "name": "getRefreshOptions",
5783
- "privacy": "protected",
5784
- "return": {
5785
- "type": {
5786
- "text": "string[]"
5787
- }
5788
- }
5789
- }
5790
- ],
5791
- "events": [
5792
- {
5793
- "type": {
5794
- "text": "IntervalSelectEvent"
5795
- }
5796
- }
5797
- ],
5798
- "superclass": {
5799
- "name": "LitElement",
5800
- "package": "lit"
5801
- },
5802
- "customElement": true
5803
- }
5804
- ],
5805
- "exports": [
5806
- {
5807
- "kind": "js",
5808
- "name": "intervalToMillis",
5809
- "declaration": {
5810
- "name": "intervalToMillis",
5811
- "module": "src/controls/dashboard-refresh-controls.ts"
5812
- }
5813
- },
5814
- {
5815
- "kind": "js",
5816
- "name": "IntervalSelectEvent",
5817
- "declaration": {
5818
- "name": "IntervalSelectEvent",
5819
- "module": "src/controls/dashboard-refresh-controls.ts"
5820
- }
5821
- },
5822
- {
5823
- "kind": "js",
5824
- "name": "DashboardRefreshControls",
5825
- "declaration": {
5826
- "name": "DashboardRefreshControls",
5827
- "module": "src/controls/dashboard-refresh-controls.ts"
5828
- }
5829
- }
5830
- ]
5831
- },
5832
5832
  {
5833
5833
  "kind": "javascript-module",
5834
5834
  "path": "src/util/or-asset-widget.ts",