@operato/app 8.0.0-beta.6 → 8.0.2

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 CHANGED
@@ -3,16 +3,7 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## [8.0.0-beta.6](https://github.com/hatiolab/operato/compare/v8.0.0-beta.5...v8.0.0-beta.6) (2025-01-11)
7
-
8
-
9
- ### :bug: Bug Fix
10
-
11
- * fine tune for [@graphql-tools](https://github.com/graphql-tools) version ([72c6663](https://github.com/hatiolab/operato/commit/72c66636767d7880cb2b020755ff4cb217d9731e))
12
-
13
-
14
-
15
- ## [8.0.0-beta.5](https://github.com/hatiolab/operato/compare/v8.0.0-beta.4...v8.0.0-beta.5) (2025-01-10)
6
+ ### [8.0.2](https://github.com/hatiolab/operato/compare/v8.0.1...v8.0.2) (2025-02-14)
16
7
 
17
8
  **Note:** Version bump only for package @operato/app
18
9
 
@@ -20,7 +11,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
20
11
 
21
12
 
22
13
 
23
- ## [8.0.0-beta.4](https://github.com/hatiolab/operato/compare/v8.0.0-beta.3...v8.0.0-beta.4) (2025-01-09)
14
+ ## [8.0.0](https://github.com/hatiolab/operato/compare/v7.1.33...v8.0.0) (2025-01-14)
24
15
 
25
16
  **Note:** Version bump only for package @operato/app
26
17
 
@@ -28,25 +19,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
28
19
 
29
20
 
30
21
 
31
- ## [8.0.0-beta.2](https://github.com/hatiolab/operato/compare/v8.0.0-beta.1...v8.0.0-beta.2) (2025-01-08)
32
-
33
-
34
- ### :bug: Bug Fix
35
-
36
- * typo .npmignore ([d9c0c8c](https://github.com/hatiolab/operato/commit/d9c0c8c79abc688c3c2cfb6c37fcb689483a5977))
37
-
38
-
39
-
40
- ## [8.0.0-beta.1](https://github.com/hatiolab/operato/compare/v8.0.0-beta.0...v8.0.0-beta.1) (2025-01-08)
41
-
42
-
43
- ### :bug: Bug Fix
44
-
45
- * missing .npmignore ([be05985](https://github.com/hatiolab/operato/commit/be05985abfae4af53501f718dd52932099f7fbcb))
46
-
47
-
48
-
49
- ## [8.0.0-beta.0](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.56...v8.0.0-beta.0) (2025-01-07)
22
+ ### [7.1.33](https://github.com/hatiolab/operato/compare/v7.1.32...v7.1.33) (2025-01-13)
50
23
 
51
24
  **Note:** Version bump only for package @operato/app
52
25
 
@@ -54,32 +27,19 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
54
27
 
55
28
 
56
29
 
57
- ## [8.0.0-alpha.56](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.55...v8.0.0-alpha.56) (2025-01-05)
30
+ ### [7.1.32](https://github.com/hatiolab/operato/compare/v7.1.31...v7.1.32) (2025-01-11)
58
31
 
59
32
 
60
33
  ### :bug: Bug Fix
61
34
 
62
- * typo ox-input-resource-id => ox-grist-editor-resource-id ([5f72582](https://github.com/hatiolab/operato/commit/5f725827c1fc99b6d9592487b4e87a865e8b36e0))
63
-
64
-
65
-
66
- ## [8.0.0-alpha.54](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.53...v8.0.0-alpha.54) (2024-12-09)
67
-
68
- **Note:** Version bump only for package @operato/app
69
-
70
-
71
-
72
-
73
-
74
- ## [8.0.0-alpha.52](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.51...v8.0.0-alpha.52) (2024-12-03)
75
-
76
- **Note:** Version bump only for package @operato/app
77
-
35
+ * fine tune for [@graphql-tools](https://github.com/graphql-tools) version ([b956226](https://github.com/hatiolab/operato/commit/b956226434ab63046f1989ba9ac4168ba8388d9a))
36
+ * fine tune for [@graphql-tools](https://github.com/graphql-tools) version ([ab9a253](https://github.com/hatiolab/operato/commit/ab9a2534a0210cddd670e21f2e20b88f968093e1))
37
+ * missing .npmignore ([03db207](https://github.com/hatiolab/operato/commit/03db207498088b294ccfb9645f6839c2f11645d5))
38
+ * typo .npmignore ([df91cae](https://github.com/hatiolab/operato/commit/df91caea0f5938a3febd9307184e5b036a65e2bd))
78
39
 
79
40
 
80
41
 
81
-
82
- ## [8.0.0-alpha.51](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.50...v8.0.0-alpha.51) (2024-11-29)
42
+ ### [7.1.31](https://github.com/hatiolab/operato/compare/v7.1.30...v7.1.31) (2025-01-10)
83
43
 
84
44
  **Note:** Version bump only for package @operato/app
85
45
 
@@ -87,7 +47,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
87
47
 
88
48
 
89
49
 
90
- ## [8.0.0-alpha.50](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.49...v8.0.0-alpha.50) (2024-11-16)
50
+ ### [7.1.30](https://github.com/hatiolab/operato/compare/v7.1.29...v7.1.30) (2025-01-10)
91
51
 
92
52
  **Note:** Version bump only for package @operato/app
93
53
 
@@ -95,7 +55,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
95
55
 
96
56
 
97
57
 
98
- ## [8.0.0-alpha.49](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.48...v8.0.0-alpha.49) (2024-11-13)
58
+ ### [7.1.28](https://github.com/hatiolab/operato/compare/v7.1.27...v7.1.28) (2024-12-09)
99
59
 
100
60
  **Note:** Version bump only for package @operato/app
101
61
 
@@ -103,7 +63,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
103
63
 
104
64
 
105
65
 
106
- ## [8.0.0-alpha.48](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.47...v8.0.0-alpha.48) (2024-11-13)
66
+ ### [7.1.27](https://github.com/hatiolab/operato/compare/v7.1.26...v7.1.27) (2024-12-09)
107
67
 
108
68
  **Note:** Version bump only for package @operato/app
109
69
 
@@ -111,7 +71,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
111
71
 
112
72
 
113
73
 
114
- ## [8.0.0-alpha.46](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.45...v8.0.0-alpha.46) (2024-10-23)
74
+ ### [7.1.26](https://github.com/hatiolab/operato/compare/v7.1.25...v7.1.26) (2024-11-28)
115
75
 
116
76
  **Note:** Version bump only for package @operato/app
117
77
 
@@ -119,7 +79,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
119
79
 
120
80
 
121
81
 
122
- ## [8.0.0-alpha.45](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.44...v8.0.0-alpha.45) (2024-10-23)
82
+ ### [7.1.25](https://github.com/hatiolab/operato/compare/v7.1.24...v7.1.25) (2024-11-23)
123
83
 
124
84
  **Note:** Version bump only for package @operato/app
125
85
 
@@ -127,7 +87,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
127
87
 
128
88
 
129
89
 
130
- ## [8.0.0-alpha.44](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.43...v8.0.0-alpha.44) (2024-10-23)
90
+ ### [7.1.21](https://github.com/hatiolab/operato/compare/v7.1.20...v7.1.21) (2024-11-13)
131
91
 
132
92
  **Note:** Version bump only for package @operato/app
133
93
 
@@ -135,7 +95,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
135
95
 
136
96
 
137
97
 
138
- ## [8.0.0-alpha.41](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.40...v8.0.0-alpha.41) (2024-10-21)
98
+ ### [7.1.18](https://github.com/hatiolab/operato/compare/v7.1.17...v7.1.18) (2024-10-31)
139
99
 
140
100
  **Note:** Version bump only for package @operato/app
141
101
 
@@ -143,154 +103,56 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
143
103
 
144
104
 
145
105
 
146
- ## [8.0.0-alpha.37](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.36...v8.0.0-alpha.37) (2024-10-20)
106
+ ### [7.1.16](https://github.com/hatiolab/operato/compare/v7.1.15...v7.1.16) (2024-10-13)
147
107
 
148
108
 
149
109
  ### :bug: Bug Fix
150
110
 
151
- * update dev-dependencies version ([d6fe342](https://github.com/hatiolab/operato/commit/d6fe342de738c6bad3528550a862b5a1d2573161))
111
+ * filter-resource-code and filter-resource-object ([400a826](https://github.com/hatiolab/operato/commit/400a8261b9026a6df1f08877131258060737824d))
112
+ * ox-filter-resource-object.ts ([2674260](https://github.com/hatiolab/operato/commit/2674260f16c492a5703af50480d0a6bed80e1ec0))
113
+ * ox-input-code-filter ([7fa7611](https://github.com/hatiolab/operato/commit/7fa7611b362b00d33342bb12cf1ad5a1e735fe60))
152
114
 
153
115
 
154
116
 
155
- ## [8.0.0-alpha.34](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.33...v8.0.0-alpha.34) (2024-10-15)
117
+ ### [7.1.13](https://github.com/hatiolab/operato/compare/v7.1.12...v7.1.13) (2024-09-23)
156
118
 
157
119
  **Note:** Version bump only for package @operato/app
158
120
 
159
-
160
-
161
-
162
-
163
- ## [8.0.0-alpha.33](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.32...v8.0.0-alpha.33) (2024-10-14)
164
-
165
- **Note:** Version bump only for package @operato/app
166
-
167
-
168
-
169
-
170
-
171
- ## [8.0.0-alpha.30](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.29...v8.0.0-alpha.30) (2024-10-11)
121
+ ### [7.1.11](https://github.com/hatiolab/operato/compare/v7.1.10...v7.1.11) (2024-09-20)
172
122
 
173
123
  **Note:** Version bump only for package @operato/app
174
124
 
175
-
176
-
177
-
178
-
179
- ## [8.0.0-alpha.29](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.28...v8.0.0-alpha.29) (2024-10-10)
125
+ ### [7.1.10](https://github.com/hatiolab/operato/compare/v7.1.9...v7.1.10) (2024-09-15)
180
126
 
181
127
  **Note:** Version bump only for package @operato/app
182
128
 
183
-
184
-
185
-
186
-
187
- ## [8.0.0-alpha.27](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.26...v8.0.0-alpha.27) (2024-10-06)
129
+ ### [7.1.9](https://github.com/hatiolab/operato/compare/v7.1.8...v7.1.9) (2024-09-12)
188
130
 
189
131
  **Note:** Version bump only for package @operato/app
190
132
 
191
-
192
-
193
-
194
-
195
- ## [8.0.0-alpha.26](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.25...v8.0.0-alpha.26) (2024-10-06)
133
+ ### [7.1.8](https://github.com/hatiolab/operato/compare/v7.1.7...v7.1.8) (2024-09-12)
196
134
 
197
135
  **Note:** Version bump only for package @operato/app
198
136
 
199
-
200
-
201
-
202
-
203
- ## [8.0.0-alpha.21](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.20...v8.0.0-alpha.21) (2024-10-05)
204
-
205
- **Note:** Version bump only for package @operato/app
206
-
207
-
208
-
209
-
210
-
211
- ## [8.0.0-alpha.20](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.19...v8.0.0-alpha.20) (2024-10-04)
212
-
213
- **Note:** Version bump only for package @operato/app
214
-
215
-
216
-
217
-
218
-
219
- ## [8.0.0-alpha.19](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.18...v8.0.0-alpha.19) (2024-10-04)
220
-
221
- **Note:** Version bump only for package @operato/app
222
-
223
-
224
-
225
-
226
-
227
- ## [8.0.0-alpha.16](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.15...v8.0.0-alpha.16) (2024-10-03)
228
-
137
+ ### [7.1.7](https://github.com/hatiolab/operato/compare/v7.1.6...v7.1.7) (2024-09-12)
229
138
 
230
139
  ### :bug: Bug Fix
231
140
 
232
- * ox-filter-resource-object.ts ([2ff7200](https://github.com/hatiolab/operato/commit/2ff7200943eb23bc4c5dcce9f6811b9592a0b1c1))
233
-
234
-
235
-
236
- ## [8.0.0-alpha.15](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.14...v8.0.0-alpha.15) (2024-10-03)
237
-
238
-
239
- ### :bug: Bug Fix
240
-
241
- * filter-resource-code and filter-resource-object ([c3c0035](https://github.com/hatiolab/operato/commit/c3c003540f468693358b70807d23f33c22762cc3))
242
-
243
-
244
-
245
- ## [8.0.0-alpha.14](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.13...v8.0.0-alpha.14) (2024-10-02)
246
-
247
- ### :bug: Bug Fix
248
-
249
- - ox-filter-resource-code ([c6ef056](https://github.com/hatiolab/operato/commit/c6ef0567493130ae43b0634ea2cd54ef1028b86b))
250
-
251
- ## [8.0.0-alpha.11](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.10...v8.0.0-alpha.11) (2024-09-21)
252
-
253
- **Note:** Version bump only for package @operato/app
254
-
255
- ## [8.0.0-alpha.10](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.9...v8.0.0-alpha.10) (2024-09-18)
256
-
257
- **Note:** Version bump only for package @operato/app
258
-
259
- ## [8.0.0-alpha.9](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.8...v8.0.0-alpha.9) (2024-09-15)
260
-
261
- ### :bug: Bug Fix
262
-
263
- - datetime property 추가 ([98b7d60](https://github.com/hatiolab/operato/commit/98b7d606e41c44d6344f1ca79fcd823a6234b9b0))
264
-
265
- ## [8.0.0-alpha.8](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.7...v8.0.0-alpha.8) (2024-09-15)
266
-
267
- **Note:** Version bump only for package @operato/app
268
-
269
- ## [8.0.0-alpha.6](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.5...v8.0.0-alpha.6) (2024-09-14)
270
-
271
- **Note:** Version bump only for package @operato/app
272
-
273
- ## [8.0.0-alpha.5](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.4...v8.0.0-alpha.5) (2024-09-12)
274
-
275
- **Note:** Version bump only for package @operato/app
276
-
277
- ## [8.0.0-alpha.4](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.3...v8.0.0-alpha.4) (2024-09-07)
278
-
279
- **Note:** Version bump only for package @operato/app
141
+ - datetime property 추가 ([992bc40](https://github.com/hatiolab/operato/commit/992bc40b5fd5b92020664efbd5b6291c195a9f7a))
280
142
 
281
- ## [8.0.0-alpha.3](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.2...v8.0.0-alpha.3) (2024-09-06)
143
+ ### [7.1.6](https://github.com/hatiolab/operato/compare/v7.1.5...v7.1.6) (2024-09-07)
282
144
 
283
145
  **Note:** Version bump only for package @operato/app
284
146
 
285
- ## [8.0.0-alpha.2](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.1...v8.0.0-alpha.2) (2024-09-05)
147
+ ### [7.1.4](https://github.com/hatiolab/operato/compare/v7.1.3...v7.1.4) (2024-09-06)
286
148
 
287
149
  **Note:** Version bump only for package @operato/app
288
150
 
289
- ## [8.0.0-alpha.1](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.0...v8.0.0-alpha.1) (2024-09-04)
151
+ ### [7.1.3](https://github.com/hatiolab/operato/compare/v7.1.2...v7.1.3) (2024-09-04)
290
152
 
291
153
  **Note:** Version bump only for package @operato/app
292
154
 
293
- ## [8.0.0-alpha.0](https://github.com/hatiolab/operato/compare/v7.1.1...v8.0.0-alpha.0) (2024-09-01)
155
+ ### [7.1.2](https://github.com/hatiolab/operato/compare/v7.1.1...v7.1.2) (2024-09-02)
294
156
 
295
157
  **Note:** Version bump only for package @operato/app
296
158
 
@@ -71,7 +71,7 @@ let OxGristEditorResourceId = class OxGristEditorResourceId extends OxGristEdito
71
71
  }
72
72
  };
73
73
  OxGristEditorResourceId = __decorate([
74
- customElement('ox-grist-editor-resource-id')
74
+ customElement('ox-input-resource-id')
75
75
  ], OxGristEditorResourceId);
76
76
  export { OxGristEditorResourceId };
77
77
  //# sourceMappingURL=ox-grist-editor-resource-id.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ox-grist-editor-resource-id.js","sourceRoot":"","sources":["../../../src/grist-editor/ox-grist-editor-resource-id.ts"],"names":[],"mappings":";AAAA,OAAO,4BAA4B,CAAA;AACnC,OAAO,wCAAwC,CAAA;AAE/C,OAAO,EAAE,IAAI,EAAE,MAAM,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resource-id.js'\n\nimport { html } from 'lit'\nimport { customElement } from 'lit/decorators.js'\n\nimport { GristRecord, OxGristEditor } from '@operato/data-grist'\nimport { openPopup, PopupHandle } from '@operato/layout'\n\n@customElement('ox-grist-editor-resource-id')\nexport class OxGristEditorResourceId extends OxGristEditor {\n private popup?: PopupHandle\n\n render() {\n var { nameField = 'name', descriptionField = 'description' } = this.column.record.options || {}\n var value = this.value\n\n return html`\n ${!value\n ? html`<span tabindex=\"0\"></span>`\n : html` <span tabindex=\"0\">${value[nameField]} (${value[descriptionField]})</span> `}\n <md-icon>arrow_drop_down</md-icon>\n `\n }\n\n _onclick(e: Event): void {\n e.stopPropagation()\n this.openSelector()\n }\n\n _onkeydown(e: KeyboardEvent): void {\n const key = e.key\n if (key == 'Enter') {\n e.stopPropagation()\n this.openSelector()\n }\n }\n\n openSelector() {\n if (this.popup) {\n delete this.popup\n }\n\n const confirmCallback: (record?: GristRecord) => void = selected => {\n if (!selected) {\n return\n }\n\n var { idField = 'id', nameField = 'name', descriptionField = 'description' } = this.column.record.options || {}\n\n this.dispatchEvent(\n new CustomEvent('field-change', {\n bubbles: true,\n composed: true,\n detail: {\n before: this.value,\n after: selected\n ? {\n [idField]: selected[idField],\n [nameField]: selected[nameField],\n [descriptionField]: selected[descriptionField]\n }\n : null,\n record: this.record,\n column: this.column,\n row: this.row\n }\n })\n )\n }\n\n var value = this.value || {}\n var template = html`\n <ox-selector-resource-id\n .value=${value.id}\n .confirmCallback=${confirmCallback.bind(this)}\n .queryName=${this.column.record.options.queryName}\n .basicArgs=${this.column.record.options.basicArgs}\n ></ox-selector-resource-id>\n `\n\n this.popup = openPopup(template, {\n backdrop: true,\n size: 'large',\n title: 'select item'\n })\n }\n}\n"]}
1
+ {"version":3,"file":"ox-grist-editor-resource-id.js","sourceRoot":"","sources":["../../../src/grist-editor/ox-grist-editor-resource-id.ts"],"names":[],"mappings":";AAAA,OAAO,4BAA4B,CAAA;AACnC,OAAO,wCAAwC,CAAA;AAE/C,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web/icon/icon.js'\nimport '../selector/ox-selector-resource-id.js'\n\nimport { html } from 'lit'\nimport { customElement } from 'lit/decorators.js'\n\nimport { GristRecord, OxGristEditor } from '@operato/data-grist'\nimport { openPopup, PopupHandle } from '@operato/layout'\n\n@customElement('ox-input-resource-id')\nexport class OxGristEditorResourceId extends OxGristEditor {\n private popup?: PopupHandle\n\n render() {\n var { nameField = 'name', descriptionField = 'description' } = this.column.record.options || {}\n var value = this.value\n\n return html`\n ${!value\n ? html`<span tabindex=\"0\"></span>`\n : html` <span tabindex=\"0\">${value[nameField]} (${value[descriptionField]})</span> `}\n <md-icon>arrow_drop_down</md-icon>\n `\n }\n\n _onclick(e: Event): void {\n e.stopPropagation()\n this.openSelector()\n }\n\n _onkeydown(e: KeyboardEvent): void {\n const key = e.key\n if (key == 'Enter') {\n e.stopPropagation()\n this.openSelector()\n }\n }\n\n openSelector() {\n if (this.popup) {\n delete this.popup\n }\n\n const confirmCallback: (record?: GristRecord) => void = selected => {\n if (!selected) {\n return\n }\n\n var { idField = 'id', nameField = 'name', descriptionField = 'description' } = this.column.record.options || {}\n\n this.dispatchEvent(\n new CustomEvent('field-change', {\n bubbles: true,\n composed: true,\n detail: {\n before: this.value,\n after: selected\n ? {\n [idField]: selected[idField],\n [nameField]: selected[nameField],\n [descriptionField]: selected[descriptionField]\n }\n : null,\n record: this.record,\n column: this.column,\n row: this.row\n }\n })\n )\n }\n\n var value = this.value || {}\n var template = html`\n <ox-selector-resource-id\n .value=${value.id}\n .confirmCallback=${confirmCallback.bind(this)}\n .queryName=${this.column.record.options.queryName}\n .basicArgs=${this.column.record.options.basicArgs}\n ></ox-selector-resource-id>\n `\n\n this.popup = openPopup(template, {\n backdrop: true,\n size: 'large',\n title: 'select item'\n })\n }\n}\n"]}