@gilav21/shadcn-angular 0.0.23 → 0.0.25

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.
@@ -80,6 +80,7 @@ export const registry = {
80
80
  name: 'command',
81
81
  files: ['command.component.ts'],
82
82
  dependencies: ['dialog'],
83
+ libFiles: ['shortcut-binding.service.ts'],
83
84
  shortcutDefinitions: [
84
85
  {
85
86
  exportName: 'COMMAND_DIALOG_SHORTCUT_DEFINITIONS',
@@ -205,6 +206,24 @@ export const registry = {
205
206
  files: ['file-upload.component.ts'],
206
207
  dependencies: ['button', 'progress'],
207
208
  },
209
+ 'file-viewer': {
210
+ name: 'file-viewer',
211
+ files: ['file-viewer.component.ts'],
212
+ dependencies: ['spinner'],
213
+ libFiles: [
214
+ 'file-type-detector.ts',
215
+ 'inflate.ts',
216
+ 'zip-reader.ts',
217
+ 'image-validator.ts',
218
+ 'ole2-reader.ts',
219
+ 'pptx-parser.ts',
220
+ 'xlsx-reader.ts',
221
+ 'docx-parser.ts',
222
+ 'doc-enhanced-parser.ts',
223
+ 'ppt-parser.ts',
224
+ 'svg-sanitizer.ts',
225
+ ],
226
+ },
208
227
  'hover-card': {
209
228
  name: 'hover-card',
210
229
  files: ['hover-card.component.ts'],
@@ -390,7 +409,16 @@ export const registry = {
390
409
  'dialog',
391
410
  'scroll-area',
392
411
  ],
393
- libFiles: ['pdf-parser.ts', 'image-validator.ts', 'svg-sanitizer.ts'],
412
+ libFiles: [
413
+ 'pdf-parser.ts',
414
+ 'image-validator.ts',
415
+ 'svg-sanitizer.ts',
416
+ 'shortcut-binding.service.ts',
417
+ 'docx-parser.ts',
418
+ 'docx-to-editor-html.ts',
419
+ 'zip-reader.ts',
420
+ 'inflate.ts',
421
+ ],
394
422
  shortcutDefinitions: [
395
423
  {
396
424
  exportName: 'RICH_TEXT_SHORTCUT_DEFINITIONS',
@@ -568,6 +596,7 @@ export const registry = {
568
596
  kanban: {
569
597
  name: 'kanban',
570
598
  files: ['kanban.component.ts', 'kanban-locales.ts'],
599
+ libFiles: ['shortcut-binding.service.ts'],
571
600
  dependencies: [
572
601
  'badge', 'avatar', 'scroll-area', 'separator',
573
602
  'button', 'input', 'textarea', 'label',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gilav21/shadcn-angular",
3
- "version": "0.0.23",
3
+ "version": "0.0.25",
4
4
  "description": "CLI for adding shadcn-angular components to your project",
5
5
  "bin": {
6
6
  "shadcn-angular": "./dist/index.js"
@@ -103,6 +103,7 @@ export const registry: Record<string, ComponentDefinition> = {
103
103
  name: 'command',
104
104
  files: ['command.component.ts'],
105
105
  dependencies: ['dialog'],
106
+ libFiles: ['shortcut-binding.service.ts'],
106
107
  shortcutDefinitions: [
107
108
  {
108
109
  exportName: 'COMMAND_DIALOG_SHORTCUT_DEFINITIONS',
@@ -229,6 +230,24 @@ export const registry: Record<string, ComponentDefinition> = {
229
230
  files: ['file-upload.component.ts'],
230
231
  dependencies: ['button', 'progress'],
231
232
  },
233
+ 'file-viewer': {
234
+ name: 'file-viewer',
235
+ files: ['file-viewer.component.ts'],
236
+ dependencies: ['spinner'],
237
+ libFiles: [
238
+ 'file-type-detector.ts',
239
+ 'inflate.ts',
240
+ 'zip-reader.ts',
241
+ 'image-validator.ts',
242
+ 'ole2-reader.ts',
243
+ 'pptx-parser.ts',
244
+ 'xlsx-reader.ts',
245
+ 'docx-parser.ts',
246
+ 'doc-enhanced-parser.ts',
247
+ 'ppt-parser.ts',
248
+ 'svg-sanitizer.ts',
249
+ ],
250
+ },
232
251
  'hover-card': {
233
252
  name: 'hover-card',
234
253
  files: ['hover-card.component.ts'],
@@ -414,7 +433,16 @@ export const registry: Record<string, ComponentDefinition> = {
414
433
  'dialog',
415
434
  'scroll-area',
416
435
  ],
417
- libFiles: ['pdf-parser.ts', 'image-validator.ts', 'svg-sanitizer.ts'],
436
+ libFiles: [
437
+ 'pdf-parser.ts',
438
+ 'image-validator.ts',
439
+ 'svg-sanitizer.ts',
440
+ 'shortcut-binding.service.ts',
441
+ 'docx-parser.ts',
442
+ 'docx-to-editor-html.ts',
443
+ 'zip-reader.ts',
444
+ 'inflate.ts',
445
+ ],
418
446
  shortcutDefinitions: [
419
447
  {
420
448
  exportName: 'RICH_TEXT_SHORTCUT_DEFINITIONS',
@@ -592,6 +620,7 @@ export const registry: Record<string, ComponentDefinition> = {
592
620
  kanban: {
593
621
  name: 'kanban',
594
622
  files: ['kanban.component.ts', 'kanban-locales.ts'],
623
+ libFiles: ['shortcut-binding.service.ts'],
595
624
  dependencies: [
596
625
  'badge', 'avatar', 'scroll-area', 'separator',
597
626
  'button', 'input', 'textarea', 'label',