@operato/dataset 8.2.12 → 8.2.13

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/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@operato/dataset",
3
3
  "description": "WebApplication dataset supporting components following open-wc recommendations",
4
4
  "author": "heartyoh",
5
- "version": "8.2.12",
5
+ "version": "8.2.13",
6
6
  "main": "dist/src/index.js",
7
7
  "module": "dist/src/index.js",
8
8
  "exports": {
@@ -116,13 +116,13 @@
116
116
  },
117
117
  "dependencies": {
118
118
  "@material/web": "^2.0.0",
119
- "@operato/data-grist": "^8.2.11",
119
+ "@operato/data-grist": "^8.2.13",
120
120
  "@operato/graphql": "^8.2.11",
121
- "@operato/grist-editor": "^8.2.11",
121
+ "@operato/grist-editor": "^8.2.13",
122
122
  "@operato/i18n": "^8.2.5",
123
123
  "@operato/input": "^8.2.5",
124
124
  "@operato/popup": "^8.2.5",
125
- "@operato/property-editor": "^8.2.11",
125
+ "@operato/property-editor": "^8.2.13",
126
126
  "@operato/shell": "^8.2.11",
127
127
  "@operato/styles": "^8.2.5",
128
128
  "@operato/utils": "^8.2.5",
@@ -160,5 +160,5 @@
160
160
  "prettier --write"
161
161
  ]
162
162
  },
163
- "gitHead": "c3841f87dfe3ae0eddf9eee4ddd9df2bc39e5f3e"
163
+ "gitHead": "b2e6090ba2c3fc403a2e07a4cd84ddab4be4dc47"
164
164
  }
@@ -1,19 +0,0 @@
1
- import '@operato/i18n';
2
- import '../src/ox-checklist-entry-form.js';
3
- import '../src/usecase/ccp/index.js';
4
- import '@material/web/icon/icon.js';
5
- import { TemplateResult } from 'lit';
6
- declare const _default: {
7
- title: string;
8
- component: string;
9
- argTypes: {};
10
- };
11
- export default _default;
12
- interface Story<T> {
13
- (args: T): TemplateResult;
14
- args?: Partial<T>;
15
- argTypes?: Record<string, unknown>;
16
- }
17
- interface ArgTypes {
18
- }
19
- export declare const Regular: Story<ArgTypes>;
@@ -1,421 +0,0 @@
1
- import '@operato/i18n';
2
- import '../src/ox-checklist-entry-form.js';
3
- import '../src/usecase/ccp/index.js'; /* register usecase CCP */
4
- import '@material/web/icon/icon.js';
5
- import { html } from 'lit';
6
- export default {
7
- title: 'ox-checklist-entry-form',
8
- component: 'ox-checklist-entry-form',
9
- argTypes: {}
10
- };
11
- const dataSet = {
12
- name: '일반위생관리 및 공정점검표 (월간) - 매월 셋째주',
13
- description: '일반위생관리 및 공정점검표 (통합)',
14
- useCase: 'CCP',
15
- dataItems: [
16
- {
17
- name: '작업장 전체 청소 상태는 양호한가?',
18
- description: null,
19
- active: true,
20
- hidden: false,
21
- tag: 'question_1',
22
- group: '매월 (셋째주)',
23
- subgroup: '청소',
24
- type: 'radio',
25
- unit: null,
26
- options: {
27
- options: [
28
- {
29
- text: '예',
30
- value: 'Y'
31
- },
32
- {
33
- text: '아니오',
34
- value: 'N'
35
- }
36
- ]
37
- },
38
- quota: null,
39
- spec: {
40
- CCP: {
41
- criticalLimits: {
42
- acceptables: ['Y']
43
- },
44
- targetLimits: {
45
- acceptables: ['Y']
46
- }
47
- },
48
- QC: {
49
- passLimits: {
50
- acceptables: ['Y']
51
- }
52
- }
53
- },
54
- stat: null,
55
- agg: null
56
- },
57
- {
58
- name: '종사자 위생교육을 실시하였는가?',
59
- description: null,
60
- active: true,
61
- hidden: false,
62
- tag: 'question_2',
63
- group: '매월 (셋째주)',
64
- subgroup: '교육',
65
- type: 'radio',
66
- unit: null,
67
- options: {
68
- options: [
69
- {
70
- text: '예',
71
- value: 'Y'
72
- },
73
- {
74
- text: '아니오',
75
- value: 'N'
76
- }
77
- ]
78
- },
79
- quota: null,
80
- spec: {
81
- CCP: {
82
- criticalLimits: {
83
- acceptables: ['Y']
84
- },
85
- targetLimits: {
86
- acceptables: ['Y']
87
- }
88
- },
89
- QC: {
90
- passLimits: {
91
- acceptables: ['Y']
92
- }
93
- }
94
- },
95
- stat: null,
96
- agg: null
97
- },
98
- {
99
- name: '중요관리공정(CCP) 검증표를 작성하였는가?',
100
- description: null,
101
- active: true,
102
- hidden: false,
103
- tag: 'question_3',
104
- group: '매월 (셋째주)',
105
- subgroup: '검증',
106
- type: 'radio',
107
- unit: null,
108
- options: {
109
- options: [
110
- {
111
- text: '예',
112
- value: 'Y'
113
- },
114
- {
115
- text: '아니오',
116
- value: 'N'
117
- }
118
- ]
119
- },
120
- quota: null,
121
- spec: {
122
- CCP: {
123
- criticalLimits: {
124
- acceptables: ['Y']
125
- },
126
- targetLimits: {
127
- acceptables: ['Y']
128
- }
129
- },
130
- QC: {
131
- passLimits: {
132
- acceptables: ['Y']
133
- }
134
- }
135
- },
136
- stat: null,
137
- agg: null
138
- },
139
- {
140
- name: '특이사항',
141
- description: null,
142
- active: true,
143
- hidden: false,
144
- tag: 'etc_1',
145
- group: null,
146
- subgroup: null,
147
- type: 'text',
148
- unit: null,
149
- options: null,
150
- quota: null,
151
- spec: null,
152
- stat: null,
153
- agg: null
154
- },
155
- {
156
- name: '개선조치 및 결과',
157
- description: null,
158
- active: true,
159
- hidden: false,
160
- tag: 'etc_2',
161
- group: null,
162
- subgroup: null,
163
- type: 'text',
164
- unit: null,
165
- options: null,
166
- quota: null,
167
- spec: null,
168
- stat: null,
169
- agg: null
170
- }
171
- ],
172
- __seq__: 16,
173
- __origin__: {
174
- id: '6b1da009-596d-486d-a1d2-a67024155873',
175
- name: '일반위생관리 및 공정점검표 (월간) - 매월 셋째주',
176
- description: '일반위생관리 및 공정점검표 (통합)',
177
- tag: null,
178
- partitionKeys: null,
179
- active: true,
180
- type: 'manual',
181
- useCase: 'CCP',
182
- schedule: '0 0 8 15-21 * 1',
183
- timezone: 'Asia/Seoul',
184
- scheduleId: null,
185
- summaryPeriod: null,
186
- summaryScheduleId: null,
187
- timeLimit: 604800,
188
- dataKeySet: {
189
- id: 'ac5aef77-de5c-4c46-8a75-1b279d9404ec',
190
- name: 'ha-data-set'
191
- },
192
- entryRole: {
193
- id: 'aea75cfa-e270-41dc-9007-b62fec7995f2',
194
- name: '현장 관리자'
195
- },
196
- supervisoryRole: {
197
- id: '48583404-a01e-449e-96e7-678ee52a768a',
198
- name: '대표'
199
- },
200
- resolverRole: {
201
- id: 'aea75cfa-e270-41dc-9007-b62fec7995f2',
202
- name: '현장 관리자'
203
- },
204
- normalScenario: null,
205
- outlierScenario: null,
206
- reviewApprovalLine: [],
207
- outlierApprovalLine: [
208
- {
209
- type: 'Employee',
210
- value: null,
211
- approver: {
212
- id: 'b98ab916-a43f-4e50-9811-64f0d5eaa66d',
213
- name: '해썹 결재자',
214
- description: null,
215
- controlNo: '99'
216
- }
217
- }
218
- ],
219
- requiresReview: true,
220
- entryType: 'checklist',
221
- entryView: 'Checklist',
222
- monitorType: 'checklist',
223
- monitorView: 'Checklist',
224
- reportType: null,
225
- reportView: null,
226
- reportTemplate: null,
227
- updater: {
228
- id: '4df009ae-a346-4966-9753-3539ad3c84e4',
229
- name: 'Admin'
230
- },
231
- updatedAt: '2025-04-22T10:29:20.349Z',
232
- dataItems: [
233
- {
234
- name: '작업장 전체 청소 상태는 양호한가?',
235
- description: null,
236
- active: true,
237
- hidden: false,
238
- tag: 'question_1',
239
- group: '매월 (셋째주)',
240
- subgroup: '청소',
241
- type: 'radio',
242
- unit: null,
243
- options: {
244
- options: [
245
- {
246
- text: '예',
247
- value: 'Y'
248
- },
249
- {
250
- text: '아니오',
251
- value: 'N'
252
- }
253
- ]
254
- },
255
- quota: null,
256
- spec: {
257
- CCP: {
258
- criticalLimits: {
259
- acceptables: ['Y']
260
- },
261
- targetLimits: {
262
- acceptables: ['Y']
263
- }
264
- },
265
- QC: {
266
- passLimits: {
267
- acceptables: ['Y']
268
- }
269
- }
270
- },
271
- stat: null,
272
- agg: null
273
- },
274
- {
275
- name: '종사자 위생교육을 실시하였는가?',
276
- description: null,
277
- active: true,
278
- hidden: false,
279
- tag: 'question_2',
280
- group: '매월 (셋째주)',
281
- subgroup: '교육',
282
- type: 'radio',
283
- unit: null,
284
- options: {
285
- options: [
286
- {
287
- text: '예',
288
- value: 'Y'
289
- },
290
- {
291
- text: '아니오',
292
- value: 'N'
293
- }
294
- ]
295
- },
296
- quota: null,
297
- spec: {
298
- CCP: {
299
- criticalLimits: {
300
- acceptables: ['Y']
301
- },
302
- targetLimits: {
303
- acceptables: ['Y']
304
- }
305
- },
306
- QC: {
307
- passLimits: {
308
- acceptables: ['Y']
309
- }
310
- }
311
- },
312
- stat: null,
313
- agg: null
314
- },
315
- {
316
- name: '중요관리공정(CCP) 검증표를 작성하였는가?',
317
- description: null,
318
- active: true,
319
- hidden: false,
320
- tag: 'question_3',
321
- group: '매월 (셋째주)',
322
- subgroup: '검증',
323
- type: 'radio',
324
- unit: null,
325
- options: {
326
- options: [
327
- {
328
- text: '예',
329
- value: 'Y'
330
- },
331
- {
332
- text: '아니오',
333
- value: 'N'
334
- }
335
- ]
336
- },
337
- quota: null,
338
- spec: {
339
- CCP: {
340
- criticalLimits: {
341
- acceptables: ['Y']
342
- },
343
- targetLimits: {
344
- acceptables: ['Y']
345
- }
346
- },
347
- QC: {
348
- passLimits: {
349
- acceptables: ['Y']
350
- }
351
- }
352
- },
353
- stat: null,
354
- agg: null
355
- },
356
- {
357
- name: '특이사항',
358
- description: null,
359
- active: true,
360
- hidden: false,
361
- tag: 'etc_1',
362
- group: null,
363
- subgroup: null,
364
- type: 'text',
365
- unit: null,
366
- options: null,
367
- quota: null,
368
- spec: null,
369
- stat: null,
370
- agg: null
371
- },
372
- {
373
- name: '개선조치 및 결과',
374
- description: null,
375
- active: true,
376
- hidden: false,
377
- tag: 'etc_2',
378
- group: null,
379
- subgroup: null,
380
- type: 'text',
381
- unit: null,
382
- options: null,
383
- quota: null,
384
- spec: null,
385
- stat: null,
386
- agg: null
387
- }
388
- ]
389
- }
390
- };
391
- const Template = ({}) => html `
392
- <link
393
- href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL@20..48,100..700,0..1"
394
- rel="stylesheet"
395
- />
396
- <link
397
- href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL@20..48,100..700,0..1"
398
- rel="stylesheet"
399
- />
400
- <link
401
- href="https://fonts.googleapis.com/css2?family=Material+Symbols+Sharp:opsz,wght,FILL@20..48,100..700,0..1"
402
- rel="stylesheet"
403
- />
404
-
405
- <style>
406
- body {
407
- }
408
- </style>
409
-
410
- <link href="/themes/app-theme.css" rel="stylesheet" />
411
- <link href="/themes/light.css" rel="stylesheet" />
412
- <link href="/themes/dark.css" rel="stylesheet" />
413
- <link href="/themes/spacing.css" rel="stylesheet" />
414
- <link href="/themes/grist-theme.css" rel="stylesheet" />
415
- <link href="/themes/form-theme.css" rel="stylesheet" />
416
-
417
- <ox-checklist-entry-form .dataSet=${dataSet}></ox-checklist-entry-form>
418
- `;
419
- export const Regular = Template.bind({});
420
- Regular.args = {};
421
- //# sourceMappingURL=ox-checklist-entry-form-stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ox-checklist-entry-form-stories.js","sourceRoot":"","sources":["../../stories/ox-checklist-entry-form-stories.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,CAAA;AACtB,OAAO,mCAAmC,CAAA;AAC1C,OAAO,6BAA6B,CAAA,CAAC,0BAA0B;AAC/D,OAAO,4BAA4B,CAAA;AAEnC,OAAO,EAAE,IAAI,EAAkB,MAAM,KAAK,CAAA;AAE1C,eAAe;IACb,KAAK,EAAE,yBAAyB;IAChC,SAAS,EAAE,yBAAyB;IACpC,QAAQ,EAAE,EAAE;CACb,CAAA;AAUD,MAAM,OAAO,GAAG;IACd,IAAI,EAAE,8BAA8B;IACpC,WAAW,EAAE,qBAAqB;IAClC,OAAO,EAAE,KAAK;IACd,SAAS,EAAE;QACT;YACE,IAAI,EAAE,qBAAqB;YAC3B,WAAW,EAAE,IAAI;YACjB,MAAM,EAAE,IAAI;YACZ,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,YAAY;YACjB,KAAK,EAAE,UAAU;YACjB,QA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;gBACE,IAAI,EAAE,MAAM;gBACZ,WAAW,EAAE,IAAI;gBACjB,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE,KAAK;gBACb,GAAG,EAAE,OAAO;gBACZ,KAAK,EAAE,IAAI;gBACX,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,IAAI;gBACV,OAAO,EAAE,IAAI;gBACb,KAAK,EAAE,IAAI;gBACX,IAAI,EAAE,IAAI;gBACV,IAAI,EAAE,IAAI;gBACV,GAAG,EAAE,IAAI;aACV;YACD;gBACE,IAAI,EAAE,WAAW;gBACjB,WAAW,EAAE,IAAI;gBACjB,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE,KAAK;gBACb,GAAG,EAAE,OAAO;gBACZ,KAAK,EAAE,IAAI;gBACX,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,IAAI;gBACV,OAAO,EAAE,IAAI;gBACb,KAAK,EAAE,IAAI;gBACX,IAAI,EAAE,IAAI;gBACV,IAAI,EAAE,IAAI;gBACV,GAAG,EAAE,IAAI;aACV;SACF;KACF;CACF,CAAA;AAED,MAAM,QAAQ,GAAoB,CAAC,EAAY,EAAE,EAAE,CAAC,IAAI,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;sCA0BlB,OAAO;CAC5C,CAAA;AAED,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;AACxC,OAAO,CAAC,IAAI,GAAG,EAAE,CAAA","sourcesContent":["import '@operato/i18n'\nimport '../src/ox-checklist-entry-form.js'\nimport '../src/usecase/ccp/index.js' /* register usecase CCP */\nimport '@material/web/icon/icon.js'\n\nimport { html, TemplateResult } from 'lit'\n\nexport default {\n title: 'ox-checklist-entry-form',\n component: 'ox-checklist-entry-form',\n argTypes: {}\n}\n\ninterface Story<T> {\n (args: T): TemplateResult\n args?: Partial<T>\n argTypes?: Record<string, unknown>\n}\n\ninterface ArgTypes {}\n\nconst dataSet = {\n name: '일반위생관리 및 공정점검표 (월간) - 매월 셋째주',\n description: '일반위생관리 및 공정점검표 (통합)',\n useCase: 'CCP',\n dataItems: [\n {\n name: '작업장 전체 청소 상태는 양호한가?',\n description: null,\n active: true,\n hidden: false,\n tag: 'question_1',\n group: '매월 (셋째주)',\n subgroup: '청소',\n type: 'radio',\n unit: null,\n options: {\n options: [\n {\n text: '예',\n value: 'Y'\n },\n {\n text: '아니오',\n value: 'N'\n }\n ]\n },\n quota: null,\n spec: {\n CCP: {\n criticalLimits: {\n acceptables: ['Y']\n },\n targetLimits: {\n acceptables: ['Y']\n }\n },\n QC: {\n passLimits: {\n acceptables: ['Y']\n }\n }\n },\n stat: null,\n agg: null\n },\n {\n name: '종사자 위생교육을 실시하였는가?',\n description: null,\n active: true,\n hidden: false,\n tag: 'question_2',\n group: '매월 (셋째주)',\n subgroup: '교육',\n type: 'radio',\n unit: null,\n options: {\n options: [\n {\n text: '예',\n value: 'Y'\n },\n {\n text: '아니오',\n value: 'N'\n }\n ]\n },\n quota: null,\n spec: {\n CCP: {\n criticalLimits: {\n acceptables: ['Y']\n },\n targetLimits: {\n acceptables: ['Y']\n }\n },\n QC: {\n passLimits: {\n acceptables: ['Y']\n }\n }\n },\n stat: null,\n agg: null\n },\n {\n name: '중요관리공정(CCP) 검증표를 작성하였는가?',\n description: null,\n active: true,\n hidden: false,\n tag: 'question_3',\n group: '매월 (셋째주)',\n subgroup: '검증',\n type: 'radio',\n unit: null,\n options: {\n options: [\n {\n text: '예',\n value: 'Y'\n },\n {\n text: '아니오',\n value: 'N'\n }\n ]\n },\n quota: null,\n spec: {\n CCP: {\n criticalLimits: {\n acceptables: ['Y']\n },\n targetLimits: {\n acceptables: ['Y']\n }\n },\n QC: {\n passLimits: {\n acceptables: ['Y']\n }\n }\n },\n stat: null,\n agg: null\n },\n {\n name: '특이사항',\n description: null,\n active: true,\n hidden: false,\n tag: 'etc_1',\n group: null,\n subgroup: null,\n type: 'text',\n unit: null,\n options: null,\n quota: null,\n spec: null,\n stat: null,\n agg: null\n },\n {\n name: '개선조치 및 결과',\n description: null,\n active: true,\n hidden: false,\n tag: 'etc_2',\n group: null,\n subgroup: null,\n type: 'text',\n unit: null,\n options: null,\n quota: null,\n spec: null,\n stat: null,\n agg: null\n }\n ],\n __seq__: 16,\n __origin__: {\n id: '6b1da009-596d-486d-a1d2-a67024155873',\n name: '일반위생관리 및 공정점검표 (월간) - 매월 셋째주',\n description: '일반위생관리 및 공정점검표 (통합)',\n tag: null,\n partitionKeys: null,\n active: true,\n type: 'manual',\n useCase: 'CCP',\n schedule: '0 0 8 15-21 * 1',\n timezone: 'Asia/Seoul',\n scheduleId: null,\n summaryPeriod: null,\n summaryScheduleId: null,\n timeLimit: 604800,\n dataKeySet: {\n id: 'ac5aef77-de5c-4c46-8a75-1b279d9404ec',\n name: 'ha-data-set'\n },\n entryRole: {\n id: 'aea75cfa-e270-41dc-9007-b62fec7995f2',\n name: '현장 관리자'\n },\n supervisoryRole: {\n id: '48583404-a01e-449e-96e7-678ee52a768a',\n name: '대표'\n },\n resolverRole: {\n id: 'aea75cfa-e270-41dc-9007-b62fec7995f2',\n name: '현장 관리자'\n },\n normalScenario: null,\n outlierScenario: null,\n reviewApprovalLine: [],\n outlierApprovalLine: [\n {\n type: 'Employee',\n value: null,\n approver: {\n id: 'b98ab916-a43f-4e50-9811-64f0d5eaa66d',\n name: '해썹 결재자',\n description: null,\n controlNo: '99'\n }\n }\n ],\n requiresReview: true,\n entryType: 'checklist',\n entryView: 'Checklist',\n monitorType: 'checklist',\n monitorView: 'Checklist',\n reportType: null,\n reportView: null,\n reportTemplate: null,\n updater: {\n id: '4df009ae-a346-4966-9753-3539ad3c84e4',\n name: 'Admin'\n },\n updatedAt: '2025-04-22T10:29:20.349Z',\n dataItems: [\n {\n name: '작업장 전체 청소 상태는 양호한가?',\n description: null,\n active: true,\n hidden: false,\n tag: 'question_1',\n group: '매월 (셋째주)',\n subgroup: '청소',\n type: 'radio',\n unit: null,\n options: {\n options: [\n {\n text: '예',\n value: 'Y'\n },\n {\n text: '아니오',\n value: 'N'\n }\n ]\n },\n quota: null,\n spec: {\n CCP: {\n criticalLimits: {\n acceptables: ['Y']\n },\n targetLimits: {\n acceptables: ['Y']\n }\n },\n QC: {\n passLimits: {\n acceptables: ['Y']\n }\n }\n },\n stat: null,\n agg: null\n },\n {\n name: '종사자 위생교육을 실시하였는가?',\n description: null,\n active: true,\n hidden: false,\n tag: 'question_2',\n group: '매월 (셋째주)',\n subgroup: '교육',\n type: 'radio',\n unit: null,\n options: {\n options: [\n {\n text: '예',\n value: 'Y'\n },\n {\n text: '아니오',\n value: 'N'\n }\n ]\n },\n quota: null,\n spec: {\n CCP: {\n criticalLimits: {\n acceptables: ['Y']\n },\n targetLimits: {\n acceptables: ['Y']\n }\n },\n QC: {\n passLimits: {\n acceptables: ['Y']\n }\n }\n },\n stat: null,\n agg: null\n },\n {\n name: '중요관리공정(CCP) 검증표를 작성하였는가?',\n description: null,\n active: true,\n hidden: false,\n tag: 'question_3',\n group: '매월 (셋째주)',\n subgroup: '검증',\n type: 'radio',\n unit: null,\n options: {\n options: [\n {\n text: '예',\n value: 'Y'\n },\n {\n text: '아니오',\n value: 'N'\n }\n ]\n },\n quota: null,\n spec: {\n CCP: {\n criticalLimits: {\n acceptables: ['Y']\n },\n targetLimits: {\n acceptables: ['Y']\n }\n },\n QC: {\n passLimits: {\n acceptables: ['Y']\n }\n }\n },\n stat: null,\n agg: null\n },\n {\n name: '특이사항',\n description: null,\n active: true,\n hidden: false,\n tag: 'etc_1',\n group: null,\n subgroup: null,\n type: 'text',\n unit: null,\n options: null,\n quota: null,\n spec: null,\n stat: null,\n agg: null\n },\n {\n name: '개선조치 및 결과',\n description: null,\n active: true,\n hidden: false,\n tag: 'etc_2',\n group: null,\n subgroup: null,\n type: 'text',\n unit: null,\n options: null,\n quota: null,\n spec: null,\n stat: null,\n agg: null\n }\n ]\n }\n}\n\nconst Template: Story<ArgTypes> = ({}: ArgTypes) => html`\n <link\n href=\"https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL@20..48,100..700,0..1\"\n rel=\"stylesheet\"\n />\n <link\n href=\"https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL@20..48,100..700,0..1\"\n rel=\"stylesheet\"\n />\n <link\n href=\"https://fonts.googleapis.com/css2?family=Material+Symbols+Sharp:opsz,wght,FILL@20..48,100..700,0..1\"\n rel=\"stylesheet\"\n />\n\n <style>\n body {\n }\n </style>\n\n <link href=\"/themes/app-theme.css\" rel=\"stylesheet\" />\n <link href=\"/themes/light.css\" rel=\"stylesheet\" />\n <link href=\"/themes/dark.css\" rel=\"stylesheet\" />\n <link href=\"/themes/spacing.css\" rel=\"stylesheet\" />\n <link href=\"/themes/grist-theme.css\" rel=\"stylesheet\" />\n <link href=\"/themes/form-theme.css\" rel=\"stylesheet\" />\n\n <ox-checklist-entry-form .dataSet=${dataSet}></ox-checklist-entry-form>\n`\n\nexport const Regular = Template.bind({})\nRegular.args = {}\n"]}
@@ -1,19 +0,0 @@
1
- import '@operato/i18n';
2
- import '../src/ox-data-entry-form.js';
3
- import '../src/usecase/ccp';
4
- import '@material/web/icon/icon.js';
5
- import { TemplateResult } from 'lit';
6
- declare const _default: {
7
- title: string;
8
- component: string;
9
- argTypes: {};
10
- };
11
- export default _default;
12
- interface Story<T> {
13
- (args: T): TemplateResult;
14
- args?: Partial<T>;
15
- argTypes?: Record<string, unknown>;
16
- }
17
- interface ArgTypes {
18
- }
19
- export declare const Regular: Story<ArgTypes>;