@operato/scene-tab 1.2.66 → 1.2.82

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/src/tab-button.ts CHANGED
@@ -7,17 +7,13 @@ import Tab from './tab'
7
7
 
8
8
  export default class TabButton extends RectPath(Component) {
9
9
  get index() {
10
- return this.model.index
10
+ return (this.parent as Tab).indexOf(this)
11
11
  }
12
12
 
13
13
  get activated() {
14
14
  return (this.parent as Tab).activeIndex === this.index
15
15
  }
16
16
 
17
- removed(parent: Tab) {
18
- this.dispose()
19
- }
20
-
21
17
  private _fillStyle?: string
22
18
  private _fontColor?: string
23
19
  private _strokeStyle?: string
@@ -25,15 +21,8 @@ export default class TabButton extends RectPath(Component) {
25
21
 
26
22
  prerender(context: CanvasRenderingContext2D) {
27
23
  super.prerender(context)
28
- let { fillStyle, activeFillStyle, activeLineColor, activeLineWidth, fontColor, activeFontColor } = this.state
29
24
 
30
- // backup style
31
- if (!this.hasOwnProperty('_fillStyle')) {
32
- this._fillStyle = fillStyle
33
- }
34
- if (!this.hasOwnProperty('_fontColor')) {
35
- this._fontColor = fontColor
36
- }
25
+ let { activeFillStyle, activeLineColor, activeLineWidth, activeFontColor } = this.state
37
26
 
38
27
  if (this.activated) {
39
28
  this.model.fillStyle = activeFillStyle
@@ -51,7 +40,6 @@ export default class TabButton extends RectPath(Component) {
51
40
  render(context: CanvasRenderingContext2D) {
52
41
  var { left = 0, top = 0, width, height } = this.bounds
53
42
 
54
- // 컨테이너의 바운드를 표현한다.(컨테이너의 기본 그리기 기능)
55
43
  context.beginPath()
56
44
 
57
45
  context.rect(left, top, width, height)
@@ -60,37 +48,23 @@ export default class TabButton extends RectPath(Component) {
60
48
  this.drawStroke(context)
61
49
  }
62
50
 
63
- postrender(context: CanvasRenderingContext2D) {
64
- super.postrender(context)
65
-
66
- // restore style
67
- this.model.fillStyle = this._fillStyle
68
- this.model.fontColor = this._fontColor
69
- this.model.strokeStyle = this._strokeStyle
70
- this.model.lineWidth = this._lineWidth
71
-
72
- delete this._fillStyle
73
- delete this._fontColor
74
- delete this._strokeStyle
75
- delete this._lineWidth
76
- }
77
-
78
51
  onclick(e: MouseEvent) {
79
52
  ;(this.parent as Tab).activeIndex = this.index
80
53
  this.parent.invalidate()
81
54
  }
82
55
 
83
- onchange(after: State) {
84
- if (after.hasOwnProperty('fillStyle')) this._fillStyle = after.fillStyle
85
-
86
- if (after.hasOwnProperty('fontColor')) this._fontColor = after.fontColor
56
+ setStylesFromParent(style: State) {
57
+ if ('fillStyle' in style) this._fillStyle = style.fillStyle
58
+ if ('fontColor' in style) this._fontColor = style.fontColor
59
+ if ('strokeStyle' in style) this._strokeStyle = style.strokeStyle
60
+ if ('lineWidth' in style) this._lineWidth = style.lineWidth
87
61
 
88
- if (after.hasOwnProperty('strokeStyle')) this._fontColor = after.fontColor
89
-
90
- if (after.hasOwnProperty('lineWidth')) this._fontColor = after.fontColor
62
+ this.set(style)
63
+ }
91
64
 
92
- if (after.hasOwnProperty('text')) {
93
- ;(this.parent as Tab).reference.getAt(this.index).setState('text', after.text)
65
+ onchange(after: State) {
66
+ if ('text' in after) {
67
+ ;(this.parent as Tab).reference?.getAt(this.index).setState('text', after.text)
94
68
  }
95
69
 
96
70
  this.invalidate()
@@ -59,11 +59,11 @@ export default class TabContainer extends Container {
59
59
  }
60
60
 
61
61
  get activeCard(): TabCard {
62
- return this.components[this.getState('layoutConfig').activeIndex] as TabCard
62
+ return this.components[this.getState('layoutConfig').activeIndex || 0] as TabCard
63
63
  }
64
64
 
65
65
  get activeIndex() {
66
- return this.getState('activeIndex')
66
+ return this.getState('activeIndex') || 0
67
67
  }
68
68
 
69
69
  set activeIndex(activeIndex: number) {
@@ -73,7 +73,11 @@ export default class TabContainer extends Container {
73
73
  ready() {
74
74
  super.ready()
75
75
 
76
- if (this.components.length == 0) this.addCard()
76
+ if (this.components.length == 0) {
77
+ this.addCard()
78
+ }
79
+
80
+ this.data = this.state.activeIndex
77
81
  }
78
82
 
79
83
  postrender(context: CanvasRenderingContext2D) {
@@ -138,6 +142,8 @@ export default class TabContainer extends Container {
138
142
  ...this.layoutConfig,
139
143
  activeIndex: after.activeIndex
140
144
  }
145
+
146
+ this.data = after.activeIndex
141
147
  }
142
148
  }
143
149
 
package/src/tab.ts CHANGED
@@ -11,6 +11,7 @@ import {
11
11
  State,
12
12
  Style
13
13
  } from '@hatiolab/things-scene'
14
+ import TabButton from './tab-button'
14
15
 
15
16
  const HANDLE_WIDTH = 25
16
17
  const HANDLE_HEIGHT = 25
@@ -69,7 +70,9 @@ const NATURE: ComponentNature = {
69
70
  name: 'activeLineWidth',
70
71
  property: 'activeLineWidth'
71
72
  }
72
- ]
73
+ ],
74
+ 'value-property': 'activeIndex',
75
+ help: 'scene/component/tab'
73
76
  }
74
77
 
75
78
  export default class Tab extends Container {
@@ -87,7 +90,6 @@ export default class Tab extends Container {
87
90
  return NATURE
88
91
  }
89
92
 
90
- // 컴포넌트를 임의로 추가 및 삭제할 수 있는 지를 지정하는 속성임.
91
93
  get focusible() {
92
94
  return false
93
95
  }
@@ -100,19 +102,12 @@ export default class Tab extends Container {
100
102
 
101
103
  if (!this._reference) {
102
104
  this._reference = this.root.findById(reference)
103
- if (this._reference) this._reference.on('change', this.onRefChanged, this)
105
+ // this._reference?.on('change', this.onRefChanged, this)
104
106
  }
105
107
 
106
108
  return this._reference
107
109
  }
108
110
 
109
- get labelHeight() {
110
- var components = this.reference.components.length
111
- var { height } = this.state
112
-
113
- return (components > 0 && height / components) || height
114
- }
115
-
116
111
  get activeIndex() {
117
112
  return this.getState('activeIndex')
118
113
  }
@@ -120,7 +115,7 @@ export default class Tab extends Container {
120
115
  private _reference: any
121
116
 
122
117
  set reference(reference) {
123
- if (this.reference) this.reference.off('change', this.onRefChanged, this)
118
+ // this.reference?.off('change', this.onRefChanged, this)
124
119
 
125
120
  this._reference = null
126
121
  this.model.reference = reference
@@ -133,14 +128,25 @@ export default class Tab extends Container {
133
128
  }
134
129
  }
135
130
 
131
+ ready() {
132
+ super.ready()
133
+
134
+ this.data = this.state?.activeIndex || 0
135
+
136
+ this.setTabButtonsStyle(this.state)
137
+ }
138
+
136
139
  render(context: CanvasRenderingContext2D) {
137
140
  super.render(context)
138
141
 
139
142
  if (this.reference) {
140
- if (this.size() !== this.reference.size()) this.rebuildTabButtons()
143
+ if (this.size() !== this.reference.size()) {
144
+ this.rebuildTabButtons()
145
+ }
141
146
  } else {
142
147
  // TODO reference 가 잘못되거나 안되어있다는 경고 의미로 뭔가 그려라..
143
148
  var componentsLength = this.components.length
149
+
144
150
  for (var i = componentsLength - 1; i >= 0; i--) {
145
151
  var tabBtn = this.components[i]
146
152
  this.removeComponent(tabBtn)
@@ -149,9 +155,13 @@ export default class Tab extends Container {
149
155
  }
150
156
 
151
157
  contains(x: number, y: number) {
152
- if (!this.app.isEditMode) return super.contains(x, y)
158
+ if (!this.app.isEditMode) {
159
+ return super.contains(x, y)
160
+ }
153
161
 
154
- if (super.contains(x, y)) return true
162
+ if (super.contains(x, y)) {
163
+ return true
164
+ }
155
165
 
156
166
  var { left, top, width } = this.bounds
157
167
 
@@ -167,17 +177,14 @@ export default class Tab extends Container {
167
177
  )
168
178
  }
169
179
 
170
- dispose() {
171
- if (this.reference) this.reference.off('change', this.onRefChanged, this)
180
+ // dispose() {
181
+ // this.reference?.off('change', this.onRefChanged, this)
172
182
 
173
- super.dispose()
174
- }
183
+ // super.dispose()
184
+ // }
175
185
 
176
186
  rebuildTabButtons() {
177
187
  var {
178
- tabIndex = 0,
179
- left,
180
- top,
181
188
  width,
182
189
  height,
183
190
  fillStyle,
@@ -199,7 +206,6 @@ export default class Tab extends Container {
199
206
  let children = []
200
207
 
201
208
  let components = reference.components
202
- let label_height = this.labelHeight
203
209
 
204
210
  let componentsLength = this.components.length
205
211
 
@@ -224,8 +230,8 @@ export default class Tab extends Container {
224
230
  activeFillStyle: activeFillStyle,
225
231
  activeLineColor: activeLineColor,
226
232
  activeLineWidth: activeLineWidth,
227
- fontColor: fontColor,
228
233
  activeFontColor: activeFontColor || fontColor,
234
+ fontColor: fontColor,
229
235
  fontFamily: fontFamily,
230
236
  fontSize: fontSize,
231
237
  lineHeight: lineHeight,
@@ -249,69 +255,44 @@ export default class Tab extends Container {
249
255
  }
250
256
 
251
257
  setTabButtonsStyle(style: Style) {
252
- // var {
253
- // fillStyle,
254
- // activeFillStyle,
255
- // fontColor,
256
- // activeFontColor,
257
- // strokeStyle,
258
- // lineWidth = 0,
259
- // fontFamily,
260
- // fontSize,
261
- // lineHeight,
262
- // italic,
263
- // bold
264
- // } = style
258
+ const toCopy = {} as any
259
+
260
+ if ('fillStyle' in style) toCopy.fillStyle = style.fillStyle
261
+ if ('fontColor' in style) toCopy.fontColor = style.fontColor
262
+ if ('strokeStyle' in style) toCopy.strokeStyle = style.strokeStyle
263
+ if ('lineWidth' in style) toCopy.lineWidth = style.lineWidth
264
+
265
+ if ('activeFillStyle' in style) toCopy.activeFillStyle = style.activeFillStyle
266
+ if ('activeFontColor' in style) toCopy.activeFontColor = style.activeFontColor
267
+ if ('activeLineWidth' in style) toCopy.activeLineWidth = style.activeLineWidth
268
+ if ('activeLineColor' in style) toCopy.activeLineColor = style.activeLineColor
265
269
 
266
270
  var children = this.components
267
271
 
268
272
  for (var i in children) {
269
273
  var tabBtn = children[i]
270
- tabBtn.set(style)
271
- // tabBtn.set({
272
- // fillStyle: fillStyle,
273
- // activeFillStyle: activeFillStyle,
274
- // fontColor: fontColor,
275
- // activeFontColor: activeFontColor,
276
- // strokeStyle: strokeStyle,
277
- // lineWidth: lineWidth,
278
- // fontFamily: fontFamily,
279
- // fontSize: fontSize,
280
- // lineHeight: lineHeight,
281
- // italic: italic,
282
- // bold: bold
283
- // })
274
+ ;(tabBtn as TabButton).setStylesFromParent(toCopy)
284
275
  }
285
276
  }
286
277
 
287
- // reference가 변했을 (tab에 변화를 주기위해)
288
- onRefChanged(after: any, before: any, hint: any) {
289
- // let sourceIndex = hint.deliverer.indexOf(hint.origin)
290
- // if(this.components[sourceIndex]) {
291
- // this.components[sourceIndex].set(after)
292
- // this.invalidate()
293
- // }
294
- }
278
+ // onRefChanged(after: any, before: any, hint: any) {
279
+ // let sourceIndex = hint.deliverer.indexOf(hint.origin)
280
+ // if (this.components[sourceIndex]) {
281
+ // this.components[sourceIndex].set(after)
282
+ // this.invalidate()
283
+ // }
284
+ // }
295
285
 
296
286
  onchange(after: State, before: State) {
297
- if (after.hasOwnProperty('reference')) {
287
+ if ('reference' in after) {
298
288
  this.reference = after.reference
299
289
  this.invalidate()
300
290
  }
301
291
 
302
- // if(after.hasOwnProperty("activeFillStyle")
303
- // || after.hasOwnProperty("activeFontColor")
304
- // || after.hasOwnProperty("fillStyle")
305
- // || after.hasOwnProperty("fontColor")
306
- // || after.hasOwnProperty("strokeStyle")
307
- // || after.hasOwnProperty("lineWidth")
308
- // || after.hasOwnProperty("fontFamily")
309
- // || after.hasOwnProperty("fontSize")
310
- // || after.hasOwnProperty("lineHeight")
311
- // || after.hasOwnProperty("italic")
312
- // || after.hasOwnProperty("bold")) {
313
- //
314
- // }
292
+ if ('activeIndex' in after) {
293
+ this.data = after.activeIndex
294
+ }
295
+
315
296
  this.setTabButtonsStyle(after)
316
297
  }
317
298
  }
package/tsconfig.json CHANGED
@@ -16,6 +16,7 @@
16
16
  "rootDir": "src",
17
17
  "declaration": true,
18
18
  "incremental": true,
19
+ "skipLibCheck": true,
19
20
  "types": []
20
21
  },
21
22
  "include": ["**/*.ts", "*.d.ts"]
@@ -1 +1 @@
1
- {"program":{"fileNames":["../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../node_modules/tslib/tslib.d.ts","../../node_modules/@hatiolab/things-scene/things-scene.d.ts","./src/tab-container.ts","./src/tab-card.ts","./src/tab.ts","./src/tab-button.ts","./src/index.ts","./src/templates/tab-container.ts","./src/templates/tab.ts","./src/templates/index.ts"],"fileInfos":[{"version":"2ac9cdcfb8f8875c18d14ec5796a8b029c426f73ad6dc3ffb580c228b58d1c44","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","dc48272d7c333ccf58034c0026162576b7d50ea0e69c3b9292f803fc20720fd5","9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7",{"version":"0075fa5ceda385bcdf3488e37786b5a33be730e8bc4aa3cf1e78c63891752ce8","affectsGlobalScope":true},{"version":"f296963760430fb65b4e5d91f0ed770a91c6e77455bacf8fa23a1501654ede0e","affectsGlobalScope":true},{"version":"09226e53d1cfda217317074a97724da3e71e2c545e18774484b61562afc53cd2","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"8b41361862022eb72fcc8a7f34680ac842aca802cf4bc1f915e8c620c9ce4331","affectsGlobalScope":true},{"version":"f7bd636ae3a4623c503359ada74510c4005df5b36de7f23e1db8a5c543fd176b","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"0c20f4d2358eb679e4ae8a4432bdd96c857a2960fd6800b21ec4008ec59d60ea","affectsGlobalScope":true},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true},{"version":"82d0d8e269b9eeac02c3bd1c9e884e85d483fcb2cd168bccd6bc54df663da031","affectsGlobalScope":true},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true},{"version":"b8deab98702588840be73d67f02412a2d45a417a3c097b2e96f7f3a42ac483d1","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"376d554d042fb409cb55b5cbaf0b2b4b7e669619493c5d18d5fa8bd67273f82a","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"c4138a3dd7cd6cf1f363ca0f905554e8d81b45844feea17786cdf1626cb8ea06","affectsGlobalScope":true},{"version":"6ff3e2452b055d8f0ec026511c6582b55d935675af67cdb67dd1dc671e8065df","affectsGlobalScope":true},{"version":"03de17b810f426a2f47396b0b99b53a82c1b60e9cba7a7edda47f9bb077882f4","affectsGlobalScope":true},{"version":"8184c6ddf48f0c98429326b428478ecc6143c27f79b79e85740f17e6feb090f1","affectsGlobalScope":true},{"version":"261c4d2cf86ac5a89ad3fb3fafed74cbb6f2f7c1d139b0540933df567d64a6ca","affectsGlobalScope":true},{"version":"6af1425e9973f4924fca986636ac19a0cf9909a7e0d9d3009c349e6244e957b6","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"15a630d6817718a2ddd7088c4f83e4673fde19fa992d2eae2cf51132a302a5d3","affectsGlobalScope":true},{"version":"f35a831e4f0fe3b3697f4a0fe0e3caa7624c92b78afbecaf142c0f93abfaf379","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"7a1971efcba559ea9002ada4c4e3c925004fb67a755300d53b5edf9399354900","f32044e28142d7080c318268058e6a3de42be0252512491d2fc9bf0fa07c3e65",{"version":"4571a00fec3b083008be5189a7d356ddfcaeb71f9ed2651e69903c474bcc0eb1","signature":"4272b1b18af2ee717d5ee74400c801837c5a9ac2509d792c177827fd6d7c563a"},{"version":"61b8b1a87df8810b18d96e5540ce18140708b6ff9bcd6e0a41da5b01834dd77f","signature":"903336d4b0a83371879de11f43ac82d819d200198638bc27d1c5324575863569"},{"version":"fe3953a45a23cee8345a033fc6a499bac5c8ad2401f5911644522b786fe39ed4","signature":"1dbd2a0757a18779697c35a3dbafec993a92552eefc0f65dc68637cf370188c6"},{"version":"43764e902042ce56678cfdf9b932aae1e51d50c1c68fa2c536f20882b0f0cd9b","signature":"1e29443446bc89c0d939030c3c55e8476a81f64da3fa633f108370bb9ef56f39"},{"version":"0f300668d702080921c78d3c4edd493925de582dce2a50c0993ac4b8c62bb7d4","signature":"88132cd35f670e57b6d85e802f4453aff313270908886369da0561fbc599c354"},{"version":"b668e19c84a1d923f78e4def083d7eb2cb0cc7b834d38e130be5a60f33d2a41f","signature":"ce7354820bf2fb9fad3221a704dbede20b61e9f30f384128b3be81f685c63a08"},{"version":"9958af937b59735fadadb4cac852bdde6aea78bfcf803deecc2f63a2f3127918","signature":"b21130ee402d2f055d24259958864b717e89897989b3663d6fe8fafbf692dd7f"},{"version":"66603f5a0bd2d7052120523791e8edb77078229aaf5314522886798ce92151bb","signature":"05890472fb38b7b901355c9294924f1da43644a9150fe916eab7b020d77aadb6"}],"root":[[38,45]],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"esModuleInterop":false,"experimentalDecorators":true,"importHelpers":true,"inlineSources":true,"module":99,"noEmitOnError":true,"outDir":"./dist","rootDir":"./src","sourceMap":true,"strict":true,"target":5},"fileIdsList":[[36,38,39,40,41],[36,37,40],[36,37,38],[36,37,39],[36,37],[36,43,44],[36],[38,39,40,41],[37,40],[37],[37,39]],"referencedMap":[[42,1],[41,2],[39,3],[38,4],[40,5],[45,6],[43,7],[44,7]],"exportedModulesMap":[[42,8],[41,9],[39,10],[38,11],[40,10]],"semanticDiagnosticsPerFile":[37,36,34,35,7,9,8,2,10,11,12,13,14,15,16,17,3,4,18,22,19,20,21,23,24,25,5,26,27,28,29,6,33,30,31,32,1,42,41,39,38,40,45,43,44]},"version":"5.2.2"}
1
+ {"program":{"fileNames":["../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../node_modules/tslib/tslib.d.ts","../../node_modules/@hatiolab/things-scene/things-scene.d.ts","./src/tab-container.ts","./src/tab-card.ts","./src/tab-button.ts","./src/tab.ts","./src/index.ts","./src/templates/tab-container.ts","./src/templates/tab.ts","./src/templates/index.ts"],"fileInfos":[{"version":"2ac9cdcfb8f8875c18d14ec5796a8b029c426f73ad6dc3ffb580c228b58d1c44","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","dc48272d7c333ccf58034c0026162576b7d50ea0e69c3b9292f803fc20720fd5","9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7",{"version":"0075fa5ceda385bcdf3488e37786b5a33be730e8bc4aa3cf1e78c63891752ce8","affectsGlobalScope":true},{"version":"f296963760430fb65b4e5d91f0ed770a91c6e77455bacf8fa23a1501654ede0e","affectsGlobalScope":true},{"version":"09226e53d1cfda217317074a97724da3e71e2c545e18774484b61562afc53cd2","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"8b41361862022eb72fcc8a7f34680ac842aca802cf4bc1f915e8c620c9ce4331","affectsGlobalScope":true},{"version":"f7bd636ae3a4623c503359ada74510c4005df5b36de7f23e1db8a5c543fd176b","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"0c20f4d2358eb679e4ae8a4432bdd96c857a2960fd6800b21ec4008ec59d60ea","affectsGlobalScope":true},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true},{"version":"82d0d8e269b9eeac02c3bd1c9e884e85d483fcb2cd168bccd6bc54df663da031","affectsGlobalScope":true},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true},{"version":"b8deab98702588840be73d67f02412a2d45a417a3c097b2e96f7f3a42ac483d1","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"376d554d042fb409cb55b5cbaf0b2b4b7e669619493c5d18d5fa8bd67273f82a","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"c4138a3dd7cd6cf1f363ca0f905554e8d81b45844feea17786cdf1626cb8ea06","affectsGlobalScope":true},{"version":"6ff3e2452b055d8f0ec026511c6582b55d935675af67cdb67dd1dc671e8065df","affectsGlobalScope":true},{"version":"03de17b810f426a2f47396b0b99b53a82c1b60e9cba7a7edda47f9bb077882f4","affectsGlobalScope":true},{"version":"8184c6ddf48f0c98429326b428478ecc6143c27f79b79e85740f17e6feb090f1","affectsGlobalScope":true},{"version":"261c4d2cf86ac5a89ad3fb3fafed74cbb6f2f7c1d139b0540933df567d64a6ca","affectsGlobalScope":true},{"version":"6af1425e9973f4924fca986636ac19a0cf9909a7e0d9d3009c349e6244e957b6","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"15a630d6817718a2ddd7088c4f83e4673fde19fa992d2eae2cf51132a302a5d3","affectsGlobalScope":true},{"version":"f35a831e4f0fe3b3697f4a0fe0e3caa7624c92b78afbecaf142c0f93abfaf379","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"7a1971efcba559ea9002ada4c4e3c925004fb67a755300d53b5edf9399354900","7a32eb197b39b1829c1e0490e89203a439c1a363991af2475c08b2fc53acf8da",{"version":"43157af160186026ab64fb0b618b19e8fcfe5427e9f72b93b7e86266707e8a14","signature":"4272b1b18af2ee717d5ee74400c801837c5a9ac2509d792c177827fd6d7c563a"},{"version":"61b8b1a87df8810b18d96e5540ce18140708b6ff9bcd6e0a41da5b01834dd77f","signature":"903336d4b0a83371879de11f43ac82d819d200198638bc27d1c5324575863569"},{"version":"068cb3bf28e623cc10c030b3530b36fe8f62cfe835e537d819a2fce13ea82069","signature":"021a7c1be310ba85bf00556b0caf252ebd327042e3b469ac9c1c58f5a9ce6370"},{"version":"5c0b95b23a0fde245ff0b23bd9b7acfc36113e343cff0aead0364d50cf1698c2","signature":"b53d976bb1f6724b4c0cddbb416f52b79e20adc9c7efb5aac5f9da2861c46439"},{"version":"0f300668d702080921c78d3c4edd493925de582dce2a50c0993ac4b8c62bb7d4","signature":"88132cd35f670e57b6d85e802f4453aff313270908886369da0561fbc599c354"},{"version":"b668e19c84a1d923f78e4def083d7eb2cb0cc7b834d38e130be5a60f33d2a41f","signature":"ce7354820bf2fb9fad3221a704dbede20b61e9f30f384128b3be81f685c63a08"},{"version":"9958af937b59735fadadb4cac852bdde6aea78bfcf803deecc2f63a2f3127918","signature":"b21130ee402d2f055d24259958864b717e89897989b3663d6fe8fafbf692dd7f"},{"version":"66603f5a0bd2d7052120523791e8edb77078229aaf5314522886798ce92151bb","signature":"05890472fb38b7b901355c9294924f1da43644a9150fe916eab7b020d77aadb6"}],"root":[[38,45]],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"esModuleInterop":false,"experimentalDecorators":true,"importHelpers":true,"inlineSources":true,"module":99,"noEmitOnError":true,"outDir":"./dist","rootDir":"./src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":5},"fileIdsList":[[36,38,39,40,41],[36,37,41],[36,37,38],[36,37,39],[36,37,40],[36,43,44],[36],[38,39,40,41],[37],[37,39]],"referencedMap":[[42,1],[40,2],[39,3],[38,4],[41,5],[45,6],[43,7],[44,7]],"exportedModulesMap":[[42,8],[40,9],[39,9],[38,10],[41,9]],"semanticDiagnosticsPerFile":[37,36,34,35,7,9,8,2,10,11,12,13,14,15,16,17,3,4,18,22,19,20,21,23,24,25,5,26,27,28,29,6,33,30,31,32,1,42,40,39,38,41,45,43,44]},"version":"5.2.2"}
Binary file