@operato/app 8.0.0-beta.5 → 8.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +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
|
|
6
|
+
## [8.0.0](https://github.com/hatiolab/operato/compare/v7.1.33...v8.0.0) (2025-01-14)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @operato/app
|
|
9
9
|
|
|
@@ -11,7 +11,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
### [7.1.33](https://github.com/hatiolab/operato/compare/v7.1.32...v7.1.33) (2025-01-13)
|
|
15
15
|
|
|
16
16
|
**Note:** Version bump only for package @operato/app
|
|
17
17
|
|
|
@@ -19,58 +19,19 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
### [7.1.32](https://github.com/hatiolab/operato/compare/v7.1.31...v7.1.32) (2025-01-11)
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
### :bug: Bug Fix
|
|
26
26
|
|
|
27
|
-
*
|
|
27
|
+
* fine tune for [@graphql-tools](https://github.com/graphql-tools) version ([b956226](https://github.com/hatiolab/operato/commit/b956226434ab63046f1989ba9ac4168ba8388d9a))
|
|
28
|
+
* fine tune for [@graphql-tools](https://github.com/graphql-tools) version ([ab9a253](https://github.com/hatiolab/operato/commit/ab9a2534a0210cddd670e21f2e20b88f968093e1))
|
|
29
|
+
* missing .npmignore ([03db207](https://github.com/hatiolab/operato/commit/03db207498088b294ccfb9645f6839c2f11645d5))
|
|
30
|
+
* typo .npmignore ([df91cae](https://github.com/hatiolab/operato/commit/df91caea0f5938a3febd9307184e5b036a65e2bd))
|
|
28
31
|
|
|
29
32
|
|
|
30
33
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
### :bug: Bug Fix
|
|
35
|
-
|
|
36
|
-
* missing .npmignore ([be05985](https://github.com/hatiolab/operato/commit/be05985abfae4af53501f718dd52932099f7fbcb))
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
## [8.0.0-beta.0](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.56...v8.0.0-beta.0) (2025-01-07)
|
|
41
|
-
|
|
42
|
-
**Note:** Version bump only for package @operato/app
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
## [8.0.0-alpha.56](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.55...v8.0.0-alpha.56) (2025-01-05)
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
### :bug: Bug Fix
|
|
52
|
-
|
|
53
|
-
* typo ox-input-resource-id => ox-grist-editor-resource-id ([5f72582](https://github.com/hatiolab/operato/commit/5f725827c1fc99b6d9592487b4e87a865e8b36e0))
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
## [8.0.0-alpha.54](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.53...v8.0.0-alpha.54) (2024-12-09)
|
|
58
|
-
|
|
59
|
-
**Note:** Version bump only for package @operato/app
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
## [8.0.0-alpha.52](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.51...v8.0.0-alpha.52) (2024-12-03)
|
|
66
|
-
|
|
67
|
-
**Note:** Version bump only for package @operato/app
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
## [8.0.0-alpha.51](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.50...v8.0.0-alpha.51) (2024-11-29)
|
|
34
|
+
### [7.1.31](https://github.com/hatiolab/operato/compare/v7.1.30...v7.1.31) (2025-01-10)
|
|
74
35
|
|
|
75
36
|
**Note:** Version bump only for package @operato/app
|
|
76
37
|
|
|
@@ -78,7 +39,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
78
39
|
|
|
79
40
|
|
|
80
41
|
|
|
81
|
-
|
|
42
|
+
### [7.1.30](https://github.com/hatiolab/operato/compare/v7.1.29...v7.1.30) (2025-01-10)
|
|
82
43
|
|
|
83
44
|
**Note:** Version bump only for package @operato/app
|
|
84
45
|
|
|
@@ -86,7 +47,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
86
47
|
|
|
87
48
|
|
|
88
49
|
|
|
89
|
-
|
|
50
|
+
### [7.1.28](https://github.com/hatiolab/operato/compare/v7.1.27...v7.1.28) (2024-12-09)
|
|
90
51
|
|
|
91
52
|
**Note:** Version bump only for package @operato/app
|
|
92
53
|
|
|
@@ -94,7 +55,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
94
55
|
|
|
95
56
|
|
|
96
57
|
|
|
97
|
-
|
|
58
|
+
### [7.1.27](https://github.com/hatiolab/operato/compare/v7.1.26...v7.1.27) (2024-12-09)
|
|
98
59
|
|
|
99
60
|
**Note:** Version bump only for package @operato/app
|
|
100
61
|
|
|
@@ -102,7 +63,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
102
63
|
|
|
103
64
|
|
|
104
65
|
|
|
105
|
-
|
|
66
|
+
### [7.1.26](https://github.com/hatiolab/operato/compare/v7.1.25...v7.1.26) (2024-11-28)
|
|
106
67
|
|
|
107
68
|
**Note:** Version bump only for package @operato/app
|
|
108
69
|
|
|
@@ -110,7 +71,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
110
71
|
|
|
111
72
|
|
|
112
73
|
|
|
113
|
-
|
|
74
|
+
### [7.1.25](https://github.com/hatiolab/operato/compare/v7.1.24...v7.1.25) (2024-11-23)
|
|
114
75
|
|
|
115
76
|
**Note:** Version bump only for package @operato/app
|
|
116
77
|
|
|
@@ -118,7 +79,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
118
79
|
|
|
119
80
|
|
|
120
81
|
|
|
121
|
-
|
|
82
|
+
### [7.1.21](https://github.com/hatiolab/operato/compare/v7.1.20...v7.1.21) (2024-11-13)
|
|
122
83
|
|
|
123
84
|
**Note:** Version bump only for package @operato/app
|
|
124
85
|
|
|
@@ -126,7 +87,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
126
87
|
|
|
127
88
|
|
|
128
89
|
|
|
129
|
-
|
|
90
|
+
### [7.1.18](https://github.com/hatiolab/operato/compare/v7.1.17...v7.1.18) (2024-10-31)
|
|
130
91
|
|
|
131
92
|
**Note:** Version bump only for package @operato/app
|
|
132
93
|
|
|
@@ -134,154 +95,56 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
134
95
|
|
|
135
96
|
|
|
136
97
|
|
|
137
|
-
|
|
98
|
+
### [7.1.16](https://github.com/hatiolab/operato/compare/v7.1.15...v7.1.16) (2024-10-13)
|
|
138
99
|
|
|
139
100
|
|
|
140
101
|
### :bug: Bug Fix
|
|
141
102
|
|
|
142
|
-
*
|
|
103
|
+
* filter-resource-code and filter-resource-object ([400a826](https://github.com/hatiolab/operato/commit/400a8261b9026a6df1f08877131258060737824d))
|
|
104
|
+
* ox-filter-resource-object.ts ([2674260](https://github.com/hatiolab/operato/commit/2674260f16c492a5703af50480d0a6bed80e1ec0))
|
|
105
|
+
* ox-input-code-filter ([7fa7611](https://github.com/hatiolab/operato/commit/7fa7611b362b00d33342bb12cf1ad5a1e735fe60))
|
|
143
106
|
|
|
144
107
|
|
|
145
108
|
|
|
146
|
-
|
|
109
|
+
### [7.1.13](https://github.com/hatiolab/operato/compare/v7.1.12...v7.1.13) (2024-09-23)
|
|
147
110
|
|
|
148
111
|
**Note:** Version bump only for package @operato/app
|
|
149
112
|
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
## [8.0.0-alpha.33](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.32...v8.0.0-alpha.33) (2024-10-14)
|
|
155
|
-
|
|
156
|
-
**Note:** Version bump only for package @operato/app
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
## [8.0.0-alpha.30](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.29...v8.0.0-alpha.30) (2024-10-11)
|
|
113
|
+
### [7.1.11](https://github.com/hatiolab/operato/compare/v7.1.10...v7.1.11) (2024-09-20)
|
|
163
114
|
|
|
164
115
|
**Note:** Version bump only for package @operato/app
|
|
165
116
|
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
## [8.0.0-alpha.29](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.28...v8.0.0-alpha.29) (2024-10-10)
|
|
117
|
+
### [7.1.10](https://github.com/hatiolab/operato/compare/v7.1.9...v7.1.10) (2024-09-15)
|
|
171
118
|
|
|
172
119
|
**Note:** Version bump only for package @operato/app
|
|
173
120
|
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
## [8.0.0-alpha.27](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.26...v8.0.0-alpha.27) (2024-10-06)
|
|
121
|
+
### [7.1.9](https://github.com/hatiolab/operato/compare/v7.1.8...v7.1.9) (2024-09-12)
|
|
179
122
|
|
|
180
123
|
**Note:** Version bump only for package @operato/app
|
|
181
124
|
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
## [8.0.0-alpha.26](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.25...v8.0.0-alpha.26) (2024-10-06)
|
|
125
|
+
### [7.1.8](https://github.com/hatiolab/operato/compare/v7.1.7...v7.1.8) (2024-09-12)
|
|
187
126
|
|
|
188
127
|
**Note:** Version bump only for package @operato/app
|
|
189
128
|
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
## [8.0.0-alpha.21](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.20...v8.0.0-alpha.21) (2024-10-05)
|
|
195
|
-
|
|
196
|
-
**Note:** Version bump only for package @operato/app
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
## [8.0.0-alpha.20](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.19...v8.0.0-alpha.20) (2024-10-04)
|
|
203
|
-
|
|
204
|
-
**Note:** Version bump only for package @operato/app
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
## [8.0.0-alpha.19](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.18...v8.0.0-alpha.19) (2024-10-04)
|
|
211
|
-
|
|
212
|
-
**Note:** Version bump only for package @operato/app
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
## [8.0.0-alpha.16](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.15...v8.0.0-alpha.16) (2024-10-03)
|
|
219
|
-
|
|
129
|
+
### [7.1.7](https://github.com/hatiolab/operato/compare/v7.1.6...v7.1.7) (2024-09-12)
|
|
220
130
|
|
|
221
131
|
### :bug: Bug Fix
|
|
222
132
|
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
## [8.0.0-alpha.15](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.14...v8.0.0-alpha.15) (2024-10-03)
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
### :bug: Bug Fix
|
|
231
|
-
|
|
232
|
-
* filter-resource-code and filter-resource-object ([c3c0035](https://github.com/hatiolab/operato/commit/c3c003540f468693358b70807d23f33c22762cc3))
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
## [8.0.0-alpha.14](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.13...v8.0.0-alpha.14) (2024-10-02)
|
|
237
|
-
|
|
238
|
-
### :bug: Bug Fix
|
|
239
|
-
|
|
240
|
-
- ox-filter-resource-code ([c6ef056](https://github.com/hatiolab/operato/commit/c6ef0567493130ae43b0634ea2cd54ef1028b86b))
|
|
241
|
-
|
|
242
|
-
## [8.0.0-alpha.11](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.10...v8.0.0-alpha.11) (2024-09-21)
|
|
243
|
-
|
|
244
|
-
**Note:** Version bump only for package @operato/app
|
|
245
|
-
|
|
246
|
-
## [8.0.0-alpha.10](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.9...v8.0.0-alpha.10) (2024-09-18)
|
|
247
|
-
|
|
248
|
-
**Note:** Version bump only for package @operato/app
|
|
249
|
-
|
|
250
|
-
## [8.0.0-alpha.9](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.8...v8.0.0-alpha.9) (2024-09-15)
|
|
251
|
-
|
|
252
|
-
### :bug: Bug Fix
|
|
253
|
-
|
|
254
|
-
- datetime property 추가 ([98b7d60](https://github.com/hatiolab/operato/commit/98b7d606e41c44d6344f1ca79fcd823a6234b9b0))
|
|
255
|
-
|
|
256
|
-
## [8.0.0-alpha.8](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.7...v8.0.0-alpha.8) (2024-09-15)
|
|
257
|
-
|
|
258
|
-
**Note:** Version bump only for package @operato/app
|
|
259
|
-
|
|
260
|
-
## [8.0.0-alpha.6](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.5...v8.0.0-alpha.6) (2024-09-14)
|
|
261
|
-
|
|
262
|
-
**Note:** Version bump only for package @operato/app
|
|
263
|
-
|
|
264
|
-
## [8.0.0-alpha.5](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.4...v8.0.0-alpha.5) (2024-09-12)
|
|
265
|
-
|
|
266
|
-
**Note:** Version bump only for package @operato/app
|
|
267
|
-
|
|
268
|
-
## [8.0.0-alpha.4](https://github.com/hatiolab/operato/compare/v8.0.0-alpha.3...v8.0.0-alpha.4) (2024-09-07)
|
|
269
|
-
|
|
270
|
-
**Note:** Version bump only for package @operato/app
|
|
133
|
+
- datetime property 추가 ([992bc40](https://github.com/hatiolab/operato/commit/992bc40b5fd5b92020664efbd5b6291c195a9f7a))
|
|
271
134
|
|
|
272
|
-
|
|
135
|
+
### [7.1.6](https://github.com/hatiolab/operato/compare/v7.1.5...v7.1.6) (2024-09-07)
|
|
273
136
|
|
|
274
137
|
**Note:** Version bump only for package @operato/app
|
|
275
138
|
|
|
276
|
-
|
|
139
|
+
### [7.1.4](https://github.com/hatiolab/operato/compare/v7.1.3...v7.1.4) (2024-09-06)
|
|
277
140
|
|
|
278
141
|
**Note:** Version bump only for package @operato/app
|
|
279
142
|
|
|
280
|
-
|
|
143
|
+
### [7.1.3](https://github.com/hatiolab/operato/compare/v7.1.2...v7.1.3) (2024-09-04)
|
|
281
144
|
|
|
282
145
|
**Note:** Version bump only for package @operato/app
|
|
283
146
|
|
|
284
|
-
|
|
147
|
+
### [7.1.2](https://github.com/hatiolab/operato/compare/v7.1.1...v7.1.2) (2024-09-02)
|
|
285
148
|
|
|
286
149
|
**Note:** Version bump only for package @operato/app
|
|
287
150
|
|
|
@@ -71,7 +71,7 @@ let OxGristEditorResourceId = class OxGristEditorResourceId extends OxGristEdito
|
|
|
71
71
|
}
|
|
72
72
|
};
|
|
73
73
|
OxGristEditorResourceId = __decorate([
|
|
74
|
-
customElement('ox-
|
|
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-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EAAE,aAAa;SACrB,CAAC,CAAA;IACJ,CAAC;CACF,CAAA;AA7EY,uBAAuB;IADnC,aAAa,CAAC,
|
|
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,KAAK,CAAA;AAC1B,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAe,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAChE,OAAO,EAAE,SAAS,EAAe,MAAM,iBAAiB,CAAA;AAGjD,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,aAAa;IAGxD,MAAM;QACJ,IAAI,EAAE,SAAS,GAAG,MAAM,EAAE,gBAAgB,GAAG,aAAa,EAAE,GAAG,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,OAAO,IAAI,EAAE,CAAA;QAC/F,IAAI,KAAK,GAAG,IAAI,CAAC,KAAK,CAAA;QAEtB,OAAO,IAAI,CAAA;QACP,CAAC,KAAK;YACN,CAAC,CAAC,IAAI,CAAA,4BAA4B;YAClC,CAAC,CAAC,IAAI,CAAA,uBAAuB,KAAK,CAAC,SAAS,CAAC,KAAK,KAAK,CAAC,gBAAgB,CAAC,WAAW;;KAEvF,CAAA;IACH,CAAC;IAED,QAAQ,CAAC,CAAQ;QACf,CAAC,CAAC,eAAe,EAAE,CAAA;QACnB,IAAI,CAAC,YAAY,EAAE,CAAA;IACrB,CAAC;IAED,UAAU,CAAC,CAAgB;QACzB,MAAM,GAAG,GAAG,CAAC,CAAC,GAAG,CAAA;QACjB,IAAI,GAAG,IAAI,OAAO,EAAE,CAAC;YACnB,CAAC,CAAC,eAAe,EAAE,CAAA;YACnB,IAAI,CAAC,YAAY,EAAE,CAAA;QACrB,CAAC;IACH,CAAC;IAED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;QAED,IAAI,CAAC,KAAK,GAAG,SAAS,CAAC,QAAQ,EAAE;YAC/B,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,OAAO;YACb,KAAK,EAAE,aAAa;SACrB,CAAC,CAAA;IACJ,CAAC;CACF,CAAA;AA7EY,uBAAuB;IADnC,aAAa,CAAC,sBAAsB,CAAC;GACzB,uBAAuB,CA6EnC","sourcesContent":["import '@material/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"]}
|