@operato/attachment 2.0.0-alpha.0 → 2.0.0-alpha.100

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,6 +3,556 @@
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
+ ## [2.0.0-alpha.100](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.99...v2.0.0-alpha.100) (2024-04-21)
7
+
8
+ **Note:** Version bump only for package @operato/attachment
9
+
10
+
11
+
12
+
13
+
14
+ ## [2.0.0-alpha.99](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.98...v2.0.0-alpha.99) (2024-04-21)
15
+
16
+ **Note:** Version bump only for package @operato/attachment
17
+
18
+
19
+
20
+
21
+
22
+ ## [2.0.0-alpha.98](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.97...v2.0.0-alpha.98) (2024-04-21)
23
+
24
+ **Note:** Version bump only for package @operato/attachment
25
+
26
+
27
+
28
+
29
+
30
+ ## [2.0.0-alpha.97](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.96...v2.0.0-alpha.97) (2024-04-21)
31
+
32
+ **Note:** Version bump only for package @operato/attachment
33
+
34
+
35
+
36
+
37
+
38
+ ## [2.0.0-alpha.96](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.95...v2.0.0-alpha.96) (2024-04-21)
39
+
40
+ **Note:** Version bump only for package @operato/attachment
41
+
42
+
43
+
44
+
45
+
46
+ ## [2.0.0-alpha.95](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.94...v2.0.0-alpha.95) (2024-04-21)
47
+
48
+ **Note:** Version bump only for package @operato/attachment
49
+
50
+
51
+
52
+
53
+
54
+ ## [2.0.0-alpha.94](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.93...v2.0.0-alpha.94) (2024-04-20)
55
+
56
+ **Note:** Version bump only for package @operato/attachment
57
+
58
+
59
+
60
+
61
+
62
+ ## [2.0.0-alpha.93](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.92...v2.0.0-alpha.93) (2024-04-19)
63
+
64
+ **Note:** Version bump only for package @operato/attachment
65
+
66
+
67
+
68
+
69
+
70
+ ## [2.0.0-alpha.92](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.91...v2.0.0-alpha.92) (2024-04-19)
71
+
72
+ **Note:** Version bump only for package @operato/attachment
73
+
74
+
75
+
76
+
77
+
78
+ ## [2.0.0-alpha.90](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.89...v2.0.0-alpha.90) (2024-04-18)
79
+
80
+ **Note:** Version bump only for package @operato/attachment
81
+
82
+
83
+
84
+
85
+
86
+ ## [2.0.0-alpha.89](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.88...v2.0.0-alpha.89) (2024-04-18)
87
+
88
+ **Note:** Version bump only for package @operato/attachment
89
+
90
+
91
+
92
+
93
+
94
+ ## [2.0.0-alpha.88](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.87...v2.0.0-alpha.88) (2024-04-18)
95
+
96
+ **Note:** Version bump only for package @operato/attachment
97
+
98
+
99
+
100
+
101
+
102
+ ## [2.0.0-alpha.87](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.86...v2.0.0-alpha.87) (2024-04-17)
103
+
104
+ **Note:** Version bump only for package @operato/attachment
105
+
106
+
107
+
108
+
109
+
110
+ ## [2.0.0-alpha.86](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.85...v2.0.0-alpha.86) (2024-04-16)
111
+
112
+ **Note:** Version bump only for package @operato/attachment
113
+
114
+
115
+
116
+
117
+
118
+ ## [2.0.0-alpha.85](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.84...v2.0.0-alpha.85) (2024-04-16)
119
+
120
+ **Note:** Version bump only for package @operato/attachment
121
+
122
+
123
+
124
+
125
+
126
+ ## [2.0.0-alpha.82](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.81...v2.0.0-alpha.82) (2024-04-15)
127
+
128
+ **Note:** Version bump only for package @operato/attachment
129
+
130
+
131
+
132
+
133
+
134
+ ## [2.0.0-alpha.81](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.80...v2.0.0-alpha.81) (2024-04-15)
135
+
136
+ **Note:** Version bump only for package @operato/attachment
137
+
138
+
139
+
140
+
141
+
142
+ ## [2.0.0-alpha.80](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.79...v2.0.0-alpha.80) (2024-04-15)
143
+
144
+ **Note:** Version bump only for package @operato/attachment
145
+
146
+
147
+
148
+
149
+
150
+ ## [2.0.0-alpha.77](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.76...v2.0.0-alpha.77) (2024-04-14)
151
+
152
+ **Note:** Version bump only for package @operato/attachment
153
+
154
+
155
+
156
+
157
+
158
+ ## [2.0.0-alpha.71](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.70...v2.0.0-alpha.71) (2024-04-13)
159
+
160
+ **Note:** Version bump only for package @operato/attachment
161
+
162
+
163
+
164
+
165
+
166
+ ## [2.0.0-alpha.70](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.69...v2.0.0-alpha.70) (2024-04-13)
167
+
168
+
169
+ ### :bug: Bug Fix
170
+
171
+ * ox-attachment-list thumbnail icon size ([2facf06](https://github.com/hatiolab/operato/commit/2facf0654088394c3f340988ada22c9f0e0830f4))
172
+
173
+
174
+
175
+ ## [2.0.0-alpha.69](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.68...v2.0.0-alpha.69) (2024-04-13)
176
+
177
+ **Note:** Version bump only for package @operato/attachment
178
+
179
+
180
+
181
+
182
+
183
+ ## [2.0.0-alpha.68](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.67...v2.0.0-alpha.68) (2024-04-13)
184
+
185
+
186
+ ### :bug: Bug Fix
187
+
188
+ * mwc=>md for context ([2bc13f2](https://github.com/hatiolab/operato/commit/2bc13f285f257782f73e5d7b5d1ddd197df85393))
189
+
190
+
191
+
192
+ ## [2.0.0-alpha.64](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.63...v2.0.0-alpha.64) (2024-04-13)
193
+
194
+ **Note:** Version bump only for package @operato/attachment
195
+
196
+
197
+
198
+
199
+
200
+ ## [2.0.0-alpha.63](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.62...v2.0.0-alpha.63) (2024-04-12)
201
+
202
+ **Note:** Version bump only for package @operato/attachment
203
+
204
+
205
+
206
+
207
+
208
+ ## [2.0.0-alpha.62](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.61...v2.0.0-alpha.62) (2024-04-12)
209
+
210
+ **Note:** Version bump only for package @operato/attachment
211
+
212
+
213
+
214
+
215
+
216
+ ## [2.0.0-alpha.61](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.60...v2.0.0-alpha.61) (2024-04-11)
217
+
218
+ **Note:** Version bump only for package @operato/attachment
219
+
220
+
221
+
222
+
223
+
224
+ ## [2.0.0-alpha.60](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.59...v2.0.0-alpha.60) (2024-04-11)
225
+
226
+ **Note:** Version bump only for package @operato/attachment
227
+
228
+
229
+
230
+
231
+
232
+ ## [2.0.0-alpha.59](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.58...v2.0.0-alpha.59) (2024-04-11)
233
+
234
+ **Note:** Version bump only for package @operato/attachment
235
+
236
+
237
+
238
+
239
+
240
+ ## [2.0.0-alpha.57](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.56...v2.0.0-alpha.57) (2024-04-07)
241
+
242
+ **Note:** Version bump only for package @operato/attachment
243
+
244
+
245
+
246
+
247
+
248
+
249
+
250
+ **Note:** Version bump only for package @operato/attachment
251
+
252
+
253
+
254
+
255
+
256
+ ## [2.0.0-alpha.54](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.53...v2.0.0-alpha.54) (2024-04-01)
257
+
258
+ **Note:** Version bump only for package @operato/attachment
259
+
260
+
261
+
262
+
263
+
264
+ ## [2.0.0-alpha.52](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.51...v2.0.0-alpha.52) (2024-03-29)
265
+
266
+ **Note:** Version bump only for package @operato/attachment
267
+
268
+
269
+
270
+
271
+
272
+ ## [2.0.0-alpha.51](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.50...v2.0.0-alpha.51) (2024-03-29)
273
+
274
+
275
+ ### :bug: Bug Fix
276
+
277
+ * upgrade lit ([e661c33](https://github.com/hatiolab/operato/commit/e661c333d2bb97f784b5ac2c0e365714ee5e80ff))
278
+
279
+
280
+
281
+ ## [2.0.0-alpha.50](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.49...v2.0.0-alpha.50) (2024-03-28)
282
+
283
+
284
+ ### :bug: Bug Fix
285
+
286
+ * 가상 anchor 태그 클릭 처리후 제거로직 추가함 ([4bb1411](https://github.com/hatiolab/operato/commit/4bb14115bd421a41f132a4859757186b7cb8ab66))
287
+ * 필터 검색 동작시 엔터로만 동작하도록 변경 ([0650495](https://github.com/hatiolab/operato/commit/0650495c008476f8c2ee04d98ee4ba78f1d4ccf5))
288
+
289
+
290
+
291
+ ## [2.0.0-alpha.49](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.48...v2.0.0-alpha.49) (2024-03-28)
292
+
293
+ **Note:** Version bump only for package @operato/attachment
294
+
295
+
296
+
297
+
298
+
299
+ ## [2.0.0-alpha.48](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.47...v2.0.0-alpha.48) (2024-03-28)
300
+
301
+ **Note:** Version bump only for package @operato/attachment
302
+
303
+
304
+
305
+
306
+
307
+ ## [2.0.0-alpha.47](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.46...v2.0.0-alpha.47) (2024-03-27)
308
+
309
+ **Note:** Version bump only for package @operato/attachment
310
+
311
+
312
+
313
+
314
+
315
+ ## [2.0.0-alpha.46](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.45...v2.0.0-alpha.46) (2024-03-26)
316
+
317
+ **Note:** Version bump only for package @operato/attachment
318
+
319
+
320
+
321
+
322
+
323
+ ## [2.0.0-alpha.44](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.43...v2.0.0-alpha.44) (2024-03-24)
324
+
325
+ **Note:** Version bump only for package @operato/attachment
326
+
327
+
328
+
329
+
330
+
331
+ ## [2.0.0-alpha.43](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.42...v2.0.0-alpha.43) (2024-03-24)
332
+
333
+ **Note:** Version bump only for package @operato/attachment
334
+
335
+
336
+
337
+
338
+
339
+ ## [2.0.0-alpha.37](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.36...v2.0.0-alpha.37) (2024-03-18)
340
+
341
+ **Note:** Version bump only for package @operato/attachment
342
+
343
+
344
+
345
+
346
+
347
+ ## [2.0.0-alpha.35](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.34...v2.0.0-alpha.35) (2024-03-13)
348
+
349
+ **Note:** Version bump only for package @operato/attachment
350
+
351
+
352
+
353
+
354
+
355
+ ## [2.0.0-alpha.34](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.33...v2.0.0-alpha.34) (2024-03-12)
356
+
357
+ **Note:** Version bump only for package @operato/attachment
358
+
359
+
360
+
361
+
362
+
363
+ ## [2.0.0-alpha.32](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.31...v2.0.0-alpha.32) (2024-03-12)
364
+
365
+ **Note:** Version bump only for package @operato/attachment
366
+
367
+
368
+
369
+
370
+
371
+ ## [2.0.0-alpha.31](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.30...v2.0.0-alpha.31) (2024-03-03)
372
+
373
+ **Note:** Version bump only for package @operato/attachment
374
+
375
+
376
+
377
+
378
+
379
+ ## [2.0.0-alpha.30](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.29...v2.0.0-alpha.30) (2024-03-03)
380
+
381
+ **Note:** Version bump only for package @operato/attachment
382
+
383
+
384
+
385
+
386
+
387
+ ## [2.0.0-alpha.28](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.27...v2.0.0-alpha.28) (2024-02-20)
388
+
389
+
390
+ ### :bug: Bug Fix
391
+
392
+ * upgrade devDependencies for webcomponents ([1489b8b](https://github.com/hatiolab/operato/commit/1489b8b790d9bcee779a070a630697f25c01728f))
393
+
394
+
395
+
396
+ ## [2.0.0-alpha.27](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.26...v2.0.0-alpha.27) (2024-02-17)
397
+
398
+ **Note:** Version bump only for package @operato/attachment
399
+
400
+
401
+
402
+
403
+
404
+ ## [2.0.0-alpha.23](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.22...v2.0.0-alpha.23) (2024-02-10)
405
+
406
+ **Note:** Version bump only for package @operato/attachment
407
+
408
+
409
+
410
+
411
+
412
+ ## [2.0.0-alpha.22](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.21...v2.0.0-alpha.22) (2024-02-10)
413
+
414
+ **Note:** Version bump only for package @operato/attachment
415
+
416
+
417
+
418
+
419
+
420
+ ## [2.0.0-alpha.21](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.20...v2.0.0-alpha.21) (2024-02-09)
421
+
422
+ **Note:** Version bump only for package @operato/attachment
423
+
424
+
425
+
426
+
427
+
428
+ ## [2.0.0-alpha.20](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.19...v2.0.0-alpha.20) (2024-02-05)
429
+
430
+ **Note:** Version bump only for package @operato/attachment
431
+
432
+
433
+
434
+
435
+
436
+ ## [2.0.0-alpha.19](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.18...v2.0.0-alpha.19) (2024-02-05)
437
+
438
+ **Note:** Version bump only for package @operato/attachment
439
+
440
+
441
+
442
+
443
+
444
+ ## [2.0.0-alpha.17](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.16...v2.0.0-alpha.17) (2024-02-04)
445
+
446
+ **Note:** Version bump only for package @operato/attachment
447
+
448
+
449
+
450
+
451
+
452
+ ## [2.0.0-alpha.16](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.15...v2.0.0-alpha.16) (2024-02-03)
453
+
454
+ **Note:** Version bump only for package @operato/attachment
455
+
456
+
457
+
458
+
459
+
460
+ ## [2.0.0-alpha.13](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.12...v2.0.0-alpha.13) (2024-01-28)
461
+
462
+ **Note:** Version bump only for package @operato/attachment
463
+
464
+
465
+
466
+
467
+
468
+ ## [2.0.0-alpha.12](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.11...v2.0.0-alpha.12) (2024-01-24)
469
+
470
+ **Note:** Version bump only for package @operato/attachment
471
+
472
+
473
+
474
+
475
+
476
+ ## [2.0.0-alpha.11](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.10...v2.0.0-alpha.11) (2024-01-24)
477
+
478
+ **Note:** Version bump only for package @operato/attachment
479
+
480
+
481
+
482
+
483
+
484
+ ## [2.0.0-alpha.10](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.9...v2.0.0-alpha.10) (2024-01-22)
485
+
486
+ **Note:** Version bump only for package @operato/attachment
487
+
488
+
489
+
490
+
491
+
492
+ ## [2.0.0-alpha.9](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.8...v2.0.0-alpha.9) (2024-01-20)
493
+
494
+ **Note:** Version bump only for package @operato/attachment
495
+
496
+
497
+
498
+
499
+
500
+ ## [2.0.0-alpha.8](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.7...v2.0.0-alpha.8) (2024-01-20)
501
+
502
+ **Note:** Version bump only for package @operato/attachment
503
+
504
+
505
+
506
+
507
+
508
+ ## [2.0.0-alpha.7](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.6...v2.0.0-alpha.7) (2024-01-15)
509
+
510
+ **Note:** Version bump only for package @operato/attachment
511
+
512
+
513
+
514
+
515
+
516
+ ## [2.0.0-alpha.6](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.5...v2.0.0-alpha.6) (2024-01-15)
517
+
518
+ **Note:** Version bump only for package @operato/attachment
519
+
520
+
521
+
522
+
523
+
524
+ ## [2.0.0-alpha.5](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.4...v2.0.0-alpha.5) (2024-01-15)
525
+
526
+ **Note:** Version bump only for package @operato/attachment
527
+
528
+
529
+
530
+
531
+
532
+ ## [2.0.0-alpha.4](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.3...v2.0.0-alpha.4) (2024-01-15)
533
+
534
+ **Note:** Version bump only for package @operato/attachment
535
+
536
+
537
+
538
+
539
+
540
+ ## [2.0.0-alpha.3](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.2...v2.0.0-alpha.3) (2024-01-14)
541
+
542
+ **Note:** Version bump only for package @operato/attachment
543
+
544
+
545
+
546
+
547
+
548
+ ## [2.0.0-alpha.2](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.1...v2.0.0-alpha.2) (2024-01-09)
549
+
550
+ **Note:** Version bump only for package @operato/attachment
551
+
552
+
553
+
554
+
555
+
6
556
  ## [2.0.0-alpha.0](https://github.com/hatiolab/operato/compare/v1.13.1...v2.0.0-alpha.0) (2024-01-05)
7
557
 
8
558
  **Note:** Version bump only for package @operato/attachment
package/demo/index.html CHANGED
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html>
1
+ <!doctype html>
2
2
  <html lang="en-GB">
3
3
  <head>
4
4
  <meta charset="utf-8" />
@@ -16,7 +16,18 @@
16
16
  }
17
17
  </style>
18
18
  <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" rel="stylesheet" />
19
- <link href="https://fonts.googleapis.com/css?family=Material+Icons&display=block" rel="stylesheet" />
19
+ <link
20
+ href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL@20..48,100..700,0..1"
21
+ rel="stylesheet"
22
+ />
23
+ <link
24
+ href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL@20..48,100..700,0..1"
25
+ rel="stylesheet"
26
+ />
27
+ <link
28
+ href="https://fonts.googleapis.com/css2?family=Material+Symbols+Sharp:opsz,wght,FILL@20..48,100..700,0..1"
29
+ rel="stylesheet"
30
+ />
20
31
  </head>
21
32
  <body>
22
33
  <div id="demo"></div>
@@ -9,7 +9,7 @@ export declare class OxAttachmentList extends LitElement {
9
9
  withoutSearch: boolean;
10
10
  grist: DataGrist;
11
11
  fileUploader: any;
12
- render(): import("lit").TemplateResult<1>;
12
+ render(): import("lit-html").TemplateResult<1>;
13
13
  fetchHandler({ page, limit, sortings, filters }: FetchOption): Promise<{
14
14
  total: any;
15
15
  records: any;
@@ -154,10 +154,10 @@ export declare class OxAttachmentList extends LitElement {
154
154
  handlers: {
155
155
  click: string;
156
156
  };
157
- classifier: (record: GristRecord, rowIndex: number) => void | {
157
+ classifier: (record: GristRecord, rowIndex: number) => {
158
+ emphasized?: boolean | string | string[];
158
159
  [key: string]: any;
159
- emphasized?: string | boolean | string[] | undefined;
160
- };
160
+ } | void;
161
161
  };
162
162
  sorters: {
163
163
  name: string;
@@ -142,6 +142,7 @@ let OxAttachmentList = class OxAttachmentList extends LitElement {
142
142
  element.setAttribute('download', record.name);
143
143
  document.body.appendChild(element);
144
144
  element.click();
145
+ element.remove();
145
146
  }
146
147
  }
147
148
  },
@@ -200,11 +201,11 @@ let OxAttachmentList = class OxAttachmentList extends LitElement {
200
201
  : record.category == 'video'
201
202
  ? html ` <video src=${record.fullpath} style="width: 100%; height: 100%;" controls></video> `
202
203
  : html `
203
- <div style="width: 100%; height: 100%;" etc>
204
- <mwc-icon outlined>insert_drive_file</mwc-icon>
205
- <span>${record.path.substr(record.path.lastIndexOf('.'))}</span>
206
- </div>
207
- `;
204
+ <div style="width: 100%; height: 100%;" etc>
205
+ <md-icon style="--md-icon-size: 24px;">insert_drive_file</md-icon>
206
+ <span>${record.path.substr(record.path.lastIndexOf('.'))}</span>
207
+ </div>
208
+ `;
208
209
  }
209
210
  },
210
211
  handlers: {