@emamid/svelte-data-table 1.0.4 → 1.0.5

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.
@@ -20,7 +20,7 @@
20
20
  RowDropEvent,
21
21
  RowEvent,
22
22
  SortFunction,
23
- } from './common.ts';
23
+ } from './common.js';
24
24
 
25
25
  import {
26
26
  dataTableContextName,
@@ -1,4 +1,4 @@
1
- import type { ActionEvent, ColumnConfig, DataCellChangedEvent, DataCellDragEvent, DataCellDropEvent, DataCellEvent, DataTableTheme, EnterAction, HeaderEvent, RowBoolean, RowClassFunction, RowDragEvent, RowDropBoolean, RowDropEvent, RowEvent, SortFunction } from './common.ts';
1
+ import type { ActionEvent, ColumnConfig, DataCellChangedEvent, DataCellDragEvent, DataCellDropEvent, DataCellEvent, DataTableTheme, EnterAction, HeaderEvent, RowBoolean, RowClassFunction, RowDragEvent, RowDropBoolean, RowDropEvent, RowEvent, SortFunction } from './common.js';
2
2
  interface Props {
3
3
  allowRowDrag?: RowBoolean;
4
4
  allowRowDrop?: RowDropBoolean;
@@ -14,7 +14,7 @@
14
14
  evalRowBoolean,
15
15
  getDataTableContext,
16
16
  joinPartClasses,
17
- } from './common.ts';
17
+ } from './common.js';
18
18
  import { activeTheme } from './themes/active.js';
19
19
 
20
20
  interface Props {
@@ -4,7 +4,7 @@
4
4
  getPartIcon,
5
5
  joinPartClasses,
6
6
  } from './common.js';
7
- import type { ColumnConfig } from './common.ts';
7
+ import type { ColumnConfig } from './common.js';
8
8
  import { activeTheme } from './themes/active.js';
9
9
 
10
10
  import DataTableIcon from './DataTableIcon.svelte';
@@ -1,4 +1,4 @@
1
- import type { ColumnConfig } from './common.ts';
1
+ import type { ColumnConfig } from './common.js';
2
2
  interface Props {
3
3
  column: ColumnConfig;
4
4
  isSorted?: boolean;
@@ -2,7 +2,7 @@
2
2
  import type { Component } from 'svelte';
3
3
  import Icon from '@iconify/svelte';
4
4
 
5
- import type { IconifyProps, IconProp } from './common.ts';
5
+ import type { IconifyProps, IconProp } from './common.js';
6
6
 
7
7
  interface Props {
8
8
  classes?: string;
@@ -1,5 +1,5 @@
1
1
  import type { Component } from 'svelte';
2
- import type { IconProp } from './common.ts';
2
+ import type { IconProp } from './common.js';
3
3
  interface Props {
4
4
  classes?: string;
5
5
  icon: IconProp;
@@ -22,7 +22,7 @@
22
22
  RowDropBoolean,
23
23
  RowDropEvent,
24
24
  RowEvent,
25
- } from './common.ts';
25
+ } from './common.js';
26
26
 
27
27
  interface Props {
28
28
  allowRowDrag: RowBoolean;
@@ -1,4 +1,4 @@
1
- import type { ActionEvent, ColumnConfig, DataCellChangedEvent, DataCellDragEvent, DataCellDropEvent, DataCellEvent, DataCellMouseEvent, RowBoolean, RowClassFunction, RowDragEvent, RowDropBoolean, RowDropEvent, RowEvent } from './common.ts';
1
+ import type { ActionEvent, ColumnConfig, DataCellChangedEvent, DataCellDragEvent, DataCellDropEvent, DataCellEvent, DataCellMouseEvent, RowBoolean, RowClassFunction, RowDragEvent, RowDropBoolean, RowDropEvent, RowEvent } from './common.js';
2
2
  interface Props {
3
3
  allowRowDrag: RowBoolean;
4
4
  allowRowDrop: RowDropBoolean;
@@ -1,4 +1,4 @@
1
- import type { Action } from '../common.ts';
1
+ import type { Action } from '../common.js';
2
2
  /**
3
3
  * @constant bookmarkAction
4
4
  * @type {Action}
@@ -7,7 +7,7 @@
7
7
  Action,
8
8
  ActionEvent,
9
9
  ColumnConfig,
10
- } from '../common.ts';
10
+ } from '../common.js';
11
11
  import { activeTheme } from '../themes/active.js';
12
12
 
13
13
  import DataTableIcon from '../DataTableIcon.svelte';
@@ -1,4 +1,4 @@
1
- import type { Action, ActionEvent, ColumnConfig } from '../common.ts';
1
+ import type { Action, ActionEvent, ColumnConfig } from '../common.js';
2
2
  interface Props {
3
3
  actions?: Action[];
4
4
  column: ColumnConfig;
@@ -7,7 +7,7 @@
7
7
  ColumnConfig,
8
8
  DataCellEvent,
9
9
  IconProp,
10
- } from '../common.ts';
10
+ } from '../common.js';
11
11
  import { activeTheme } from '../themes/active.js';
12
12
 
13
13
  import DataTableIcon from '../DataTableIcon.svelte';
@@ -1,4 +1,4 @@
1
- import type { ColumnConfig, DataCellEvent, IconProp } from '../common.ts';
1
+ import type { ColumnConfig, DataCellEvent, IconProp } from '../common.js';
2
2
  interface Props {
3
3
  caption?: string;
4
4
  column: ColumnConfig;
@@ -6,7 +6,7 @@
6
6
  import type {
7
7
  ColumnConfig,
8
8
  DataCellChangedEvent,
9
- } from '../common.ts';
9
+ } from '../common.js';
10
10
  import { activeTheme } from '../themes/active.js';
11
11
 
12
12
  interface Props {
@@ -1,4 +1,4 @@
1
- import type { ColumnConfig, DataCellChangedEvent } from '../common.ts';
1
+ import type { ColumnConfig, DataCellChangedEvent } from '../common.js';
2
2
  interface Props {
3
3
  caption?: string;
4
4
  column: ColumnConfig;
@@ -7,7 +7,7 @@
7
7
  ColumnConfig,
8
8
  DataCellChangedEvent,
9
9
  DataCellEvent,
10
- } from '../common.ts';
10
+ } from '../common.js';
11
11
  import { activeTheme } from '../themes/active.js';
12
12
 
13
13
  import TabWrapper from './TabWrapper.svelte';
@@ -1,4 +1,4 @@
1
- import type { ColumnConfig, DataCellChangedEvent, DataCellEvent } from '../common.ts';
1
+ import type { ColumnConfig, DataCellChangedEvent, DataCellEvent } from '../common.js';
2
2
  interface Props {
3
3
  column: ColumnConfig;
4
4
  inputType?: string;
@@ -7,7 +7,7 @@
7
7
  ColumnConfig,
8
8
  DataCellChangedEvent,
9
9
  DataCellEvent,
10
- } from '../common.ts';
10
+ } from '../common.js';
11
11
  import { activeTheme } from '../themes/active.js';
12
12
 
13
13
  import TabWrapper from './TabWrapper.svelte';
@@ -1,4 +1,4 @@
1
- import type { ColumnConfig, DataCellChangedEvent, DataCellEvent } from '../common.ts';
1
+ import type { ColumnConfig, DataCellChangedEvent, DataCellEvent } from '../common.js';
2
2
  interface Props {
3
3
  column: ColumnConfig;
4
4
  item: any;
@@ -3,7 +3,7 @@
3
3
  getDataTableContext,
4
4
  joinInputClasses,
5
5
  } from '../common.js';
6
- import type { ColumnConfig, DataCellChangedEvent, DataCellEvent } from '../common.ts';
6
+ import type { ColumnConfig, DataCellChangedEvent, DataCellEvent } from '../common.js';
7
7
  import { activeTheme } from '../themes/active.js';
8
8
 
9
9
  import TabWrapper from './TabWrapper.svelte';
@@ -1,4 +1,4 @@
1
- import type { ColumnConfig, DataCellChangedEvent, DataCellEvent } from '../common.ts';
1
+ import type { ColumnConfig, DataCellChangedEvent, DataCellEvent } from '../common.js';
2
2
  interface Props {
3
3
  column: ColumnConfig;
4
4
  item: any;
@@ -7,7 +7,7 @@
7
7
  import type {
8
8
  ColumnConfig,
9
9
  DataCellChangedEvent,
10
- } from '../common.ts';
10
+ } from '../common.js';
11
11
  import { activeTheme } from '../themes/active.js';
12
12
 
13
13
  interface Props {
@@ -1,4 +1,4 @@
1
- import type { ColumnConfig, DataCellChangedEvent } from '../common.ts';
1
+ import type { ColumnConfig, DataCellChangedEvent } from '../common.js';
2
2
  interface Props {
3
3
  column: ColumnConfig;
4
4
  item: any;
@@ -6,7 +6,7 @@
6
6
  import type {
7
7
  ColumnConfig,
8
8
  DataCellChangedEvent,
9
- } from '../common.ts';
9
+ } from '../common.js';
10
10
  import { activeTheme } from '../themes/active.js';
11
11
 
12
12
  interface Props {
@@ -1,4 +1,4 @@
1
- import type { ColumnConfig, DataCellChangedEvent } from '../common.ts';
1
+ import type { ColumnConfig, DataCellChangedEvent } from '../common.js';
2
2
  interface Props {
3
3
  caption?: string;
4
4
  column: ColumnConfig;
@@ -7,7 +7,7 @@
7
7
  import type {
8
8
  ColumnConfig,
9
9
  DataCellChangedEvent,
10
- } from '../common.ts';
10
+ } from '../common.js';
11
11
  import { activeTheme } from '../themes/active.js';
12
12
 
13
13
  import DataTableIcon from '../DataTableIcon.svelte';
@@ -1,4 +1,4 @@
1
- import type { ColumnConfig, DataCellChangedEvent } from '../common.ts';
1
+ import type { ColumnConfig, DataCellChangedEvent } from '../common.js';
2
2
  interface Props {
3
3
  column: ColumnConfig;
4
4
  decValue?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emamid/svelte-data-table",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "homepage": "https://github.com/emamid/svelte-data-table",
5
5
  "repository": "github:emamid/svelte-data-table",
6
6
  "scripts": {