@enki-tek/fms-web-components 0.0.40 → 0.0.42

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.
@@ -1,6 +1,6 @@
1
1
  <script>import { DropdownItem } from "sveltestrap";
2
- export let classname;
3
- export let disabled;
2
+ export let classname = "";
3
+ export let disabled = false;
4
4
  </script>
5
5
 
6
6
  <DropdownItem class="dropdown-item-custom {classname}" disabled={disabled} on:click >
@@ -1,4 +1,4 @@
1
- <li class="icons" on:click>
1
+ <li class="icons" {...$$restProps} on:click >
2
2
  <slot />
3
3
  </li>
4
4
 
@@ -2,7 +2,7 @@
2
2
  /** @typedef {typeof __propDef.events} NavIconEvents */
3
3
  /** @typedef {typeof __propDef.slots} NavIconSlots */
4
4
  export default class NavIcon extends SvelteComponentTyped<{
5
- [x: string]: never;
5
+ [x: string]: any;
6
6
  }, {
7
7
  click: MouseEvent;
8
8
  } & {
@@ -17,7 +17,7 @@ export type NavIconSlots = typeof __propDef.slots;
17
17
  import { SvelteComponentTyped } from "svelte";
18
18
  declare const __propDef: {
19
19
  props: {
20
- [x: string]: never;
20
+ [x: string]: any;
21
21
  };
22
22
  events: {
23
23
  click: MouseEvent;
@@ -3,7 +3,7 @@
3
3
  export let iconName = '';
4
4
  </script>
5
5
 
6
- <li on:click>
6
+ <li {...$$restProps} on:click >
7
7
  <div class="nav-item">
8
8
  <div><Icon {iconName} /></div>
9
9
  <div class="item-name efs-normal">
@@ -2,6 +2,7 @@
2
2
  /** @typedef {typeof __propDef.events} NavLinkEvents */
3
3
  /** @typedef {typeof __propDef.slots} NavLinkSlots */
4
4
  export default class NavLink extends SvelteComponentTyped<{
5
+ [x: string]: any;
5
6
  iconName?: string | undefined;
6
7
  }, {
7
8
  click: MouseEvent;
@@ -17,6 +18,7 @@ export type NavLinkSlots = typeof __propDef.slots;
17
18
  import { SvelteComponentTyped } from "svelte";
18
19
  declare const __propDef: {
19
20
  props: {
21
+ [x: string]: any;
20
22
  iconName?: string | undefined;
21
23
  };
22
24
  events: {
@@ -14,7 +14,7 @@
14
14
 
15
15
  </script>
16
16
 
17
- <Table size = {size} class={tableClasses.join(' ')}>
17
+ <Table {...$$restProps} size = {size} class={tableClasses.join(' ')} >
18
18
  <slot />
19
19
  </Table>
20
20
 
@@ -2,6 +2,7 @@
2
2
  /** @typedef {typeof __propDef.events} EnkiTableEvents */
3
3
  /** @typedef {typeof __propDef.slots} EnkiTableSlots */
4
4
  export default class EnkiTable extends SvelteComponentTyped<{
5
+ [x: string]: any;
5
6
  size?: string | undefined;
6
7
  type?: string | undefined;
7
8
  className?: string | undefined;
@@ -17,6 +18,7 @@ export type EnkiTableSlots = typeof __propDef.slots;
17
18
  import { SvelteComponentTyped } from "svelte";
18
19
  declare const __propDef: {
19
20
  props: {
21
+ [x: string]: any;
20
22
  size?: string | undefined;
21
23
  type?: string | undefined;
22
24
  className?: string | undefined;
@@ -1,7 +1,7 @@
1
1
  <script>
2
2
  export let className = '';
3
3
  </script>
4
- <thead class={className}>
4
+ <thead {...$$restProps} class={className} >
5
5
  <slot />
6
6
  </thead>
7
7
 
@@ -2,6 +2,7 @@
2
2
  /** @typedef {typeof __propDef.events} TableHeadEvents */
3
3
  /** @typedef {typeof __propDef.slots} TableHeadSlots */
4
4
  export default class TableHead extends SvelteComponentTyped<{
5
+ [x: string]: any;
5
6
  className?: string | undefined;
6
7
  }, {
7
8
  [evt: string]: CustomEvent<any>;
@@ -15,6 +16,7 @@ export type TableHeadSlots = typeof __propDef.slots;
15
16
  import { SvelteComponentTyped } from "svelte";
16
17
  declare const __propDef: {
17
18
  props: {
19
+ [x: string]: any;
18
20
  className?: string | undefined;
19
21
  };
20
22
  events: {
@@ -2,7 +2,7 @@
2
2
  export let className = '';
3
3
  </script>
4
4
 
5
- <tr class={className} {...$$restProps}>
5
+ <tr {...$$restProps} class={className} on:click >
6
6
  <slot />
7
7
  </tr>
8
8
 
@@ -5,6 +5,8 @@ export default class TableRow extends SvelteComponentTyped<{
5
5
  [x: string]: any;
6
6
  className?: string | undefined;
7
7
  }, {
8
+ click: MouseEvent;
9
+ } & {
8
10
  [evt: string]: CustomEvent<any>;
9
11
  }, {
10
12
  default: {};
@@ -20,6 +22,8 @@ declare const __propDef: {
20
22
  className?: string | undefined;
21
23
  };
22
24
  events: {
25
+ click: MouseEvent;
26
+ } & {
23
27
  [evt: string]: CustomEvent<any>;
24
28
  };
25
29
  slots: {