@paperless/core 3.19.4 → 3.19.6

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.
Files changed (53) hide show
  1. package/dist/build/{p-a4a66b93.entry.js → p-3286b52f.entry.js} +1 -1
  2. package/dist/build/{p-d81ce8c6.js → p-871936f2.js} +1 -1
  3. package/dist/build/p-f6dd0790.entry.js +1 -0
  4. package/dist/build/paperless.esm.js +1 -1
  5. package/dist/cjs/p-button_3.cjs.entry.js +12 -4
  6. package/dist/cjs/p-card-header.cjs.entry.js +2 -2
  7. package/dist/collection/components/atoms/card/header/card-header.component.css +1 -1
  8. package/dist/collection/components/atoms/card/header/card-header.component.js +1 -1
  9. package/dist/collection/components/molecules/button/button.component.js +12 -4
  10. package/dist/components/{p-BZNy3k2j.js → p-BPoPHj4v.js} +1 -1
  11. package/dist/components/{p-CYJ2s8gf.js → p-BXFIt2yS.js} +1 -1
  12. package/dist/components/{p-D34oUQRc.js → p-BZID5_mv.js} +1 -1
  13. package/dist/components/{p-Bg73A-l5.js → p-C9T2Zn4W.js} +1 -1
  14. package/dist/components/p-ChrBlvNY.js +1 -0
  15. package/dist/components/{p-DOjiMWKc.js → p-D4W7oN7G.js} +1 -1
  16. package/dist/components/{p-BFvoC7BA.js → p-DGU1kzxy.js} +1 -1
  17. package/dist/components/p-GogOpDaV.js +1 -0
  18. package/dist/components/p-attachment.js +1 -1
  19. package/dist/components/p-button.js +1 -1
  20. package/dist/components/{p-BD5jS81-.js → p-cFwgScsa.js} +1 -1
  21. package/dist/components/p-calendar.js +1 -1
  22. package/dist/components/p-card-header.js +1 -1
  23. package/dist/components/p-datepicker.js +1 -1
  24. package/dist/components/p-drawer-header.js +1 -1
  25. package/dist/components/p-drawer.js +1 -1
  26. package/dist/components/p-empty-state.js +1 -1
  27. package/dist/components/p-field.js +1 -1
  28. package/dist/components/p-modal-header.js +1 -1
  29. package/dist/components/p-modal.js +1 -1
  30. package/dist/components/p-navbar.js +1 -1
  31. package/dist/components/p-pagination-pages.js +1 -1
  32. package/dist/components/p-pagination.js +1 -1
  33. package/dist/components/p-profile.js +1 -1
  34. package/dist/components/p-select.js +1 -1
  35. package/dist/components/{p-b-xaFyhe.js → p-tM-Y5Y8G.js} +1 -1
  36. package/dist/components/p-table-footer.js +1 -1
  37. package/dist/components/p-table-header.js +1 -1
  38. package/dist/components/p-table.js +1 -1
  39. package/dist/esm/p-button_3.entry.js +12 -4
  40. package/dist/esm/p-card-header.entry.js +2 -2
  41. package/dist/index.html +1 -1
  42. package/dist/paperless/{p-a4a66b93.entry.js → p-3286b52f.entry.js} +1 -1
  43. package/dist/paperless/p-f6dd0790.entry.js +1 -0
  44. package/dist/paperless/paperless.esm.js +1 -1
  45. package/dist/sw.js +1 -1
  46. package/dist/sw.js.map +1 -1
  47. package/hydrate/index.js +14 -6
  48. package/hydrate/index.mjs +14 -6
  49. package/package.json +1 -1
  50. package/dist/build/p-c0599b0e.entry.js +0 -1
  51. package/dist/components/p-B4-tGTJs.js +0 -1
  52. package/dist/components/p-CdX4ibSM.js +0 -1
  53. package/dist/paperless/p-c0599b0e.entry.js +0 -1
@@ -7,7 +7,7 @@ var asBoolean = require('./as-boolean-C1PzA22I.js');
7
7
  require('./clsx-BtxeOLZW.js');
8
8
  require('./state-DM8SZBNO.js');
9
9
 
10
- const cardHeaderComponentCss = () => `*{box-sizing:border-box}.pointer-events-none{pointer-events:none}.static{position:static}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.top-0{top:0}.z-\\[-1\\]{z-index:-1}.z-\\[1\\]{z-index:1}.ml-auto{margin-left:auto}.flex{display:flex}.inline-flex{display:inline-flex}.aspect-\\[5\\/1\\]{aspect-ratio:5/1}.h-8{height:2rem}.h-full{height:100%}.max-h-\\[6\\.25rem\\]{max-height:6.25rem}.w-full{width:100%}.min-w-0{min-width:0}.max-w-full{max-width:100%}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.gap-2{gap:.5rem}.gap-4{gap:1rem}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.rounded-t-2xl{border-top-left-radius:1rem;border-top-right-radius:1rem}.px-4{padding-left:1rem;padding-right:1rem}.py-3{padding-bottom:.75rem}.pt-3,.py-3{padding-top:.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.text-off-white-700{--tw-text-opacity:1;color:rgb(222 219 213/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.empty\\:hidden:empty{display:none}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:text-white\\/10:where(:host([data-theme=dark]),:host([data-theme=dark]) *){color:hsla(0,0%,100%,.1)}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:text-white\\/10:where([data-theme=dark],[data-theme=dark] *){color:hsla(0,0%,100%,.1)}`;
10
+ const cardHeaderComponentCss = () => `*{box-sizing:border-box}.pointer-events-none{pointer-events:none}.static{position:static}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.top-0{top:0}.z-\\[-1\\]{z-index:-1}.z-\\[1\\]{z-index:1}.ml-auto{margin-left:auto}.flex{display:flex}.inline-flex{display:inline-flex}.aspect-\\[5\\/1\\]{aspect-ratio:5/1}.h-8{height:2rem}.h-full{height:100%}.max-h-\\[6\\.25rem\\]{max-height:6.25rem}.w-full{width:100%}.min-w-0{min-width:0}.max-w-full{max-width:100%}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.rounded-t-2xl{border-top-left-radius:1rem;border-top-right-radius:1rem}.px-4{padding-left:1rem;padding-right:1rem}.py-3{padding-bottom:.75rem}.pt-3,.py-3{padding-top:.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.text-off-white-700{--tw-text-opacity:1;color:rgb(222 219 213/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.empty\\:hidden:empty{display:none}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:text-white\\/10:where(:host([data-theme=dark]),:host([data-theme=dark]) *){color:hsla(0,0%,100%,.1)}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:text-white\\/10:where([data-theme=dark],[data-theme=dark] *){color:hsla(0,0%,100%,.1)}`;
11
11
 
12
12
  const header = index$1.cva(`relative z-[1] inline-flex w-full flex-col justify-start rounded-t-2xl`, {
13
13
  variants: {
@@ -62,7 +62,7 @@ const CardHeader = class {
62
62
  variant: this.variant,
63
63
  }) }, index.h("div", { key: '1ae832e07095882bb8e46398c30609e12fa4d6eb', class: content({
64
64
  variant: this.variant,
65
- }) }, this.icon ? (index.h("p-icon", { class: '\n text-storm-300\n dark:text-hurricane-200\n ', flip: this.iconFlip, rotate: this.iconRotate, variant: this.icon })) : (index.h("slot", { name: 'prefix' })), index.h("div", { key: '2c9394715612b7415aeb065d9575caf755044e5f', class: title() }, index.h("span", { key: '9d8e7178338dd0e4ed218c5a16d5c77486c7f240', class: 'max-w-full overflow-hidden text-ellipsis' }, this.header?.length ? this.header : index.h("slot", null)), index.h("slot", { key: '1483bded5220bda03e8b80228135539a8b099033', name: 'content-suffix' })), index.h("div", { key: '62055fed1277f466d6e70578c12ce51cb9a73272', class: '\n ml-auto flex items-center justify-end gap-4\n empty:hidden\n ' }, index.h("slot", { key: '73b2c1a055167b6050ec18f2a8b997bea8f39f8e', name: 'suffix' }))), this.variant === 'default' ? (asBoolean.asBoolean(this.divider) && (index.h("p-divider", { class: '\n text-off-white-700\n dark:text-white/10\n ' }))) : (index.h("div", { class: '\n pointer-events-none absolute left-0 top-0 z-[-1] h-full w-full\n overflow-hidden rounded-t-2xl\n ' }, index.h("p-smile", { class: 'dark:text-hurricane-400', variant: 'card' }))))));
65
+ }) }, this.icon ? (index.h("p-icon", { class: '\n text-storm-300\n dark:text-hurricane-200\n ', flip: this.iconFlip, rotate: this.iconRotate, variant: this.icon })) : (index.h("slot", { name: 'prefix' })), index.h("div", { key: '2c9394715612b7415aeb065d9575caf755044e5f', class: title() }, index.h("span", { key: '9d8e7178338dd0e4ed218c5a16d5c77486c7f240', class: 'max-w-full overflow-hidden text-ellipsis' }, this.header?.length ? this.header : index.h("slot", null)), index.h("slot", { key: '1483bded5220bda03e8b80228135539a8b099033', name: 'content-suffix' })), index.h("div", { key: '62055fed1277f466d6e70578c12ce51cb9a73272', class: '\n ml-auto flex items-center justify-end gap-2\n empty:hidden\n ' }, index.h("slot", { key: '73b2c1a055167b6050ec18f2a8b997bea8f39f8e', name: 'suffix' }))), this.variant === 'default' ? (asBoolean.asBoolean(this.divider) && (index.h("p-divider", { class: '\n text-off-white-700\n dark:text-white/10\n ' }))) : (index.h("div", { class: '\n pointer-events-none absolute left-0 top-0 z-[-1] h-full w-full\n overflow-hidden rounded-t-2xl\n ' }, index.h("p-smile", { class: 'dark:text-hurricane-400', variant: 'card' }))))));
66
66
  }
67
67
  };
68
68
  CardHeader.style = cardHeaderComponentCss();
@@ -1 +1 @@
1
- *{box-sizing:border-box}.pointer-events-none{pointer-events:none}.static{position:static}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.top-0{top:0}.z-\[-1\]{z-index:-1}.z-\[1\]{z-index:1}.ml-auto{margin-left:auto}.flex{display:flex}.inline-flex{display:inline-flex}.aspect-\[5\/1\]{aspect-ratio:5/1}.h-8{height:2rem}.h-full{height:100%}.max-h-\[6\.25rem\]{max-height:6.25rem}.w-full{width:100%}.min-w-0{min-width:0}.max-w-full{max-width:100%}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.gap-2{gap:.5rem}.gap-4{gap:1rem}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.rounded-t-2xl{border-top-left-radius:1rem;border-top-right-radius:1rem}.px-4{padding-left:1rem;padding-right:1rem}.py-3{padding-bottom:.75rem}.pt-3,.py-3{padding-top:.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.text-off-white-700{--tw-text-opacity:1;color:rgb(222 219 213/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.empty\:hidden:empty{display:none}.dark\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\:text-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.dark\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\:text-white\/10:where(:host([data-theme=dark]),:host([data-theme=dark]) *){color:hsla(0,0%,100%,.1)}.dark\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\:text-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.dark\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\:text-white\/10:where([data-theme=dark],[data-theme=dark] *){color:hsla(0,0%,100%,.1)}
1
+ *{box-sizing:border-box}.pointer-events-none{pointer-events:none}.static{position:static}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.top-0{top:0}.z-\[-1\]{z-index:-1}.z-\[1\]{z-index:1}.ml-auto{margin-left:auto}.flex{display:flex}.inline-flex{display:inline-flex}.aspect-\[5\/1\]{aspect-ratio:5/1}.h-8{height:2rem}.h-full{height:100%}.max-h-\[6\.25rem\]{max-height:6.25rem}.w-full{width:100%}.min-w-0{min-width:0}.max-w-full{max-width:100%}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.rounded-t-2xl{border-top-left-radius:1rem;border-top-right-radius:1rem}.px-4{padding-left:1rem;padding-right:1rem}.py-3{padding-bottom:.75rem}.pt-3,.py-3{padding-top:.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.text-off-white-700{--tw-text-opacity:1;color:rgb(222 219 213/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.empty\:hidden:empty{display:none}.dark\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\:text-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.dark\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\:text-white\/10:where(:host([data-theme=dark]),:host([data-theme=dark]) *){color:hsla(0,0%,100%,.1)}.dark\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\:text-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.dark\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\:text-white\/10:where([data-theme=dark],[data-theme=dark] *){color:hsla(0,0%,100%,.1)}
@@ -52,7 +52,7 @@ export class CardHeader {
52
52
  variant: this.variant,
53
53
  }) }, h("div", { key: '1ae832e07095882bb8e46398c30609e12fa4d6eb', class: content({
54
54
  variant: this.variant,
55
- }) }, this.icon ? (h("p-icon", { class: '\n text-storm-300\n dark:text-hurricane-200\n ', flip: this.iconFlip, rotate: this.iconRotate, variant: this.icon })) : (h("slot", { name: 'prefix' })), h("div", { key: '2c9394715612b7415aeb065d9575caf755044e5f', class: title() }, h("span", { key: '9d8e7178338dd0e4ed218c5a16d5c77486c7f240', class: 'max-w-full overflow-hidden text-ellipsis' }, this.header?.length ? this.header : h("slot", null)), h("slot", { key: '1483bded5220bda03e8b80228135539a8b099033', name: 'content-suffix' })), h("div", { key: '62055fed1277f466d6e70578c12ce51cb9a73272', class: '\n ml-auto flex items-center justify-end gap-4\n empty:hidden\n ' }, h("slot", { key: '73b2c1a055167b6050ec18f2a8b997bea8f39f8e', name: 'suffix' }))), this.variant === 'default' ? (asBoolean(this.divider) && (h("p-divider", { class: '\n text-off-white-700\n dark:text-white/10\n ' }))) : (h("div", { class: '\n pointer-events-none absolute left-0 top-0 z-[-1] h-full w-full\n overflow-hidden rounded-t-2xl\n ' }, h("p-smile", { class: 'dark:text-hurricane-400', variant: 'card' }))))));
55
+ }) }, this.icon ? (h("p-icon", { class: '\n text-storm-300\n dark:text-hurricane-200\n ', flip: this.iconFlip, rotate: this.iconRotate, variant: this.icon })) : (h("slot", { name: 'prefix' })), h("div", { key: '2c9394715612b7415aeb065d9575caf755044e5f', class: title() }, h("span", { key: '9d8e7178338dd0e4ed218c5a16d5c77486c7f240', class: 'max-w-full overflow-hidden text-ellipsis' }, this.header?.length ? this.header : h("slot", null)), h("slot", { key: '1483bded5220bda03e8b80228135539a8b099033', name: 'content-suffix' })), h("div", { key: '62055fed1277f466d6e70578c12ce51cb9a73272', class: '\n ml-auto flex items-center justify-end gap-2\n empty:hidden\n ' }, h("slot", { key: '73b2c1a055167b6050ec18f2a8b997bea8f39f8e', name: 'suffix' }))), this.variant === 'default' ? (asBoolean(this.divider) && (h("p-divider", { class: '\n text-off-white-700\n dark:text-white/10\n ' }))) : (h("div", { class: '\n pointer-events-none absolute left-0 top-0 z-[-1] h-full w-full\n overflow-hidden rounded-t-2xl\n ' }, h("p-smile", { class: 'dark:text-hurricane-400', variant: 'card' }))))));
56
56
  }
57
57
  static get is() { return "p-card-header"; }
58
58
  static get encapsulation() { return "shadow"; }
@@ -114,6 +114,10 @@ const button = cva([
114
114
  true: 'justify-center',
115
115
  false: 'w-inherit py-1',
116
116
  },
117
+ hasChevron: {
118
+ true: null,
119
+ false: null,
120
+ },
117
121
  underline: {
118
122
  true: 'underline',
119
123
  false: 'no-underline',
@@ -324,16 +328,19 @@ const button = cva([
324
328
  {
325
329
  size: 'sm',
326
330
  iconOnly: true,
331
+ hasChevron: false,
327
332
  class: 'w-6',
328
333
  },
329
334
  {
330
335
  size: 'base',
331
336
  iconOnly: true,
337
+ hasChevron: false,
332
338
  class: 'w-8',
333
339
  },
334
340
  {
335
341
  size: 'lg',
336
342
  iconOnly: true,
343
+ hasChevron: false,
337
344
  class: 'w-10',
338
345
  },
339
346
  ],
@@ -579,24 +586,25 @@ export class Button {
579
586
  : 'button';
580
587
  const hostClass = cn('p-button inline-block', this.class);
581
588
  const active = asBoolean(this.active) || hostClass?.includes('active');
582
- return (h(ThemedHost, { key: '6148fd7b2aeb9b67cc2434122d84e782366d3d94', class: hostClass }, h(VariableTag, { key: '864bbdc213dede9b0b4252f15e7e2e7351d9b3ee', class: button({
589
+ return (h(ThemedHost, { key: '3d2e21ba8385599c81fb2a6c15df5fd346ee17cf', class: hostClass }, h(VariableTag, { key: 'd629af41ed9d53c1f8072b18d3de665347b4abc2', class: button({
583
590
  variant: this.variant,
584
591
  size: this.size,
585
592
  loading: asBoolean(this.loading),
586
593
  disabled: asBoolean(this.disabled),
587
594
  buttonGroupPosition: this.buttonGroupPosition,
588
595
  iconOnly: asBoolean(this.iconOnly),
596
+ hasChevron: !!this.chevron,
589
597
  active,
590
598
  error: asBoolean(this.error),
591
599
  underline: asBoolean(this.underline) && VariableTag === 'a',
592
- }), disabled: asBoolean(this.disabled), href: this.href, tabIndex: this.tabIndex, target: this.target, type: this.variant === 'text' ? undefined : this.type }, this.chevron && this.chevronPosition === 'start' && (h("p-icon", { key: '6ef87717783cc48898ab9d49d189b32f4a6583e2', rotate: this.chevron === 'up' ? 180 : 0, variant: 'caret' })), this.icon &&
600
+ }), disabled: asBoolean(this.disabled), href: this.href, tabIndex: this.tabIndex, target: this.target, type: this.variant === 'text' ? undefined : this.type }, this.chevron && this.chevronPosition === 'start' && (h("p-icon", { key: '2383f5eb28f5e44be43efb36879d92ae99ecaacf', rotate: this.chevron === 'up' ? 180 : 0, variant: 'caret' })), this.icon &&
593
601
  this.iconPosition === 'start' &&
594
602
  !(this.iconOnly && this.loading) &&
595
- this._getIcon(), this.label ?? h("slot", { key: 'b0ca4383ce576b0ed97981b2b01f2989345bd524' }), this.icon &&
603
+ this._getIcon(), this.label ?? h("slot", { key: '162ff2a9a9dd1e7938a21a1c0a2eab02eb8d90be' }), this.icon &&
596
604
  this.iconPosition === 'end' &&
597
605
  !this.loading &&
598
606
  !this.chevron &&
599
- this._getIcon(), this.chevron && !this.loading && this.chevronPosition === 'end' && (h("p-icon", { key: 'f98643605a4726f4d600fe6b2dc3630f2db9941b', rotate: this.chevron === 'up' ? 180 : 0, variant: 'caret' })), this.loading && h("p-loader", { key: 'df1a3a7f6cf562846220d2ff0f358e6c56e18511', color: loaderColor }))));
607
+ this._getIcon(), this.chevron && !this.loading && this.chevronPosition === 'end' && (h("p-icon", { key: 'bcdc2a0fa24d1c0213ab7d22a09814cbdf428d14', rotate: this.chevron === 'up' ? 180 : 0, variant: 'caret' })), this.loading && h("p-loader", { key: 'afb9613187bb7700d0e948b78e57905ce13cdd1f', color: loaderColor }))));
600
608
  }
601
609
  handleClick(ev) {
602
610
  if (this.loading || this.disabled) {