timered-counter 1.3.0-beta.1 → 1.3.0-beta.2

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.
@@ -5,16 +5,7 @@
5
5
  {
6
6
  "kind": "javascript-module",
7
7
  "path": "src/index.ts",
8
- "declarations": [
9
- {
10
- "kind": "function",
11
- "name": "registerDecimalJsNumberAdapter"
12
- },
13
- {
14
- "kind": "function",
15
- "name": "registerGraphemeSplitterStringAdapter"
16
- }
17
- ],
8
+ "declarations": [],
18
9
  "exports": [
19
10
  {
20
11
  "kind": "js",
@@ -71,22 +62,6 @@
71
62
  "name": "*",
72
63
  "package": "./timered-counter-adapter.js"
73
64
  }
74
- },
75
- {
76
- "kind": "js",
77
- "name": "registerDecimalJsNumberAdapter",
78
- "declaration": {
79
- "name": "registerDecimalJsNumberAdapter",
80
- "module": "src/index.ts"
81
- }
82
- },
83
- {
84
- "kind": "js",
85
- "name": "registerGraphemeSplitterStringAdapter",
86
- "declaration": {
87
- "name": "registerGraphemeSplitterStringAdapter",
88
- "module": "src/index.ts"
89
- }
90
65
  }
91
66
  ]
92
67
  },
@@ -5,16 +5,7 @@
5
5
  {
6
6
  "kind": "javascript-module",
7
7
  "path": "src/index.ts",
8
- "declarations": [
9
- {
10
- "kind": "function",
11
- "name": "registerDecimalJsNumberAdapter"
12
- },
13
- {
14
- "kind": "function",
15
- "name": "registerGraphemeSplitterStringAdapter"
16
- }
17
- ],
8
+ "declarations": [],
18
9
  "exports": [
19
10
  {
20
11
  "kind": "js",
@@ -71,22 +62,6 @@
71
62
  "name": "*",
72
63
  "package": "./timered-counter-adapter.js"
73
64
  }
74
- },
75
- {
76
- "kind": "js",
77
- "name": "registerDecimalJsNumberAdapter",
78
- "declaration": {
79
- "name": "registerDecimalJsNumberAdapter",
80
- "module": "src/index.ts"
81
- }
82
- },
83
- {
84
- "kind": "js",
85
- "name": "registerGraphemeSplitterStringAdapter",
86
- "declaration": {
87
- "name": "registerGraphemeSplitterStringAdapter",
88
- "module": "src/index.ts"
89
- }
90
65
  }
91
66
  ]
92
67
  },
@@ -6,8 +6,6 @@ export { TimeredCounter, TimeredCounterDatetimeDuration, TimeredCounterNumber, T
6
6
  export * from './easing/index.js';
7
7
  export * from './types/index.js';
8
8
  export * from './timered-counter-adapter.js';
9
- export declare function registerDecimalJsNumberAdapter(): void;
10
- export declare function registerGraphemeSplitterStringAdapter(): void;
11
9
  declare global {
12
10
  interface HTMLElementTagNameMap {
13
11
  'timered-counter': TimeredCounter;
package/dist/src/index.js CHANGED
@@ -2,17 +2,8 @@ import { TimeredCounter } from './timered-counter.js';
2
2
  import { TimeredCounterNumber } from './timered-counter-number.js';
3
3
  import { TimeredCounterString } from './timered-counter-string.js';
4
4
  import { TimeredCounterDatetimeDuration } from './timered-counter-datetime-duration.js';
5
- import { TimeredCounterAdapter } from './timered-counter-adapter.js';
6
- import decimalJsAdapter from './number-adapter/decimal-js.js';
7
- import graphemeSplitterAdapter from './string-adapter/grapheme-splitter.js';
8
5
  export { TimeredCounter, TimeredCounterDatetimeDuration, TimeredCounterNumber, TimeredCounterString, };
9
6
  export * from './easing/index.js';
10
7
  export * from './types/index.js';
11
8
  export * from './timered-counter-adapter.js';
12
- export function registerDecimalJsNumberAdapter() {
13
- decimalJsAdapter.register(TimeredCounterAdapter);
14
- }
15
- export function registerGraphemeSplitterStringAdapter() {
16
- graphemeSplitterAdapter.register(TimeredCounterAdapter);
17
- }
18
9
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,8BAA8B,EAAE,MAAM,wCAAwC,CAAC;AAExF,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,gBAAgB,MAAM,gCAAgC,CAAC;AAC9D,OAAO,uBAAuB,MAAM,uCAAuC,CAAC;AAE5E,OAAO,EACL,cAAc,EACd,8BAA8B,EAC9B,oBAAoB,EACpB,oBAAoB,GACrB,CAAC;AAEF,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AAEjC,cAAc,8BAA8B,CAAC;AAE7C,MAAM,UAAU,8BAA8B;IAC5C,gBAAgB,CAAC,QAAQ,CAAC,qBAAqB,CAAC,CAAC;AACnD,CAAC;AAED,MAAM,UAAU,qCAAqC;IACnD,uBAAuB,CAAC,QAAQ,CAAC,qBAAqB,CAAC,CAAC;AAC1D,CAAC","sourcesContent":["import { TimeredCounter } from './timered-counter.js';\nimport { TimeredCounterNumber } from './timered-counter-number.js';\nimport { TimeredCounterString } from './timered-counter-string.js';\nimport { TimeredCounterDatetimeDuration } from './timered-counter-datetime-duration.js';\n\nimport { TimeredCounterAdapter } from './timered-counter-adapter.js';\nimport decimalJsAdapter from './number-adapter/decimal-js.js';\nimport graphemeSplitterAdapter from './string-adapter/grapheme-splitter.js';\n\nexport {\n TimeredCounter,\n TimeredCounterDatetimeDuration,\n TimeredCounterNumber,\n TimeredCounterString,\n};\n\nexport * from './easing/index.js';\nexport * from './types/index.js';\n\nexport * from './timered-counter-adapter.js';\n\nexport function registerDecimalJsNumberAdapter() {\n decimalJsAdapter.register(TimeredCounterAdapter);\n}\n\nexport function registerGraphemeSplitterStringAdapter() {\n graphemeSplitterAdapter.register(TimeredCounterAdapter);\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'timered-counter': TimeredCounter;\n 'timered-counter-datetime-duration': TimeredCounterDatetimeDuration;\n 'timered-counter-number': TimeredCounterNumber;\n 'timered-counter-string': TimeredCounterString;\n }\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,8BAA8B,EAAE,MAAM,wCAAwC,CAAC;AAExF,OAAO,EACL,cAAc,EACd,8BAA8B,EAC9B,oBAAoB,EACpB,oBAAoB,GACrB,CAAC;AAEF,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AAEjC,cAAc,8BAA8B,CAAC","sourcesContent":["import { TimeredCounter } from './timered-counter.js';\nimport { TimeredCounterNumber } from './timered-counter-number.js';\nimport { TimeredCounterString } from './timered-counter-string.js';\nimport { TimeredCounterDatetimeDuration } from './timered-counter-datetime-duration.js';\n\nexport {\n TimeredCounter,\n TimeredCounterDatetimeDuration,\n TimeredCounterNumber,\n TimeredCounterString,\n};\n\nexport * from './easing/index.js';\nexport * from './types/index.js';\n\nexport * from './timered-counter-adapter.js';\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'timered-counter': TimeredCounter;\n 'timered-counter-datetime-duration': TimeredCounterDatetimeDuration;\n 'timered-counter-number': TimeredCounterNumber;\n 'timered-counter-string': TimeredCounterString;\n }\n}\n"]}
@@ -7,8 +7,8 @@ export { TimeredCounterNumber, TimeredCounterString, TimeredCounterDatetimeDurat
7
7
  export default TimeredCounterPlugin;
8
8
  declare module 'vue' {
9
9
  interface GlobalComponents {
10
- TimeredCounterNumber: typeof import('timered-counter/vue').TimeredCounterNumber;
11
- TimeredCounterDatetimeDuration: typeof import('timered-counter/vue').TimeredCounterDatetimeDuration;
12
- TimeredCounterString: typeof import('timered-counter/vue').TimeredCounterString;
10
+ TimeredCounterNumber: typeof TimeredCounterNumber;
11
+ TimeredCounterDatetimeDuration: typeof TimeredCounterDatetimeDuration;
12
+ TimeredCounterString: typeof TimeredCounterString;
13
13
  }
14
14
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/wrappers/vue/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,8BAA8B,EAAE,MAAM,wCAAwC,CAAC;AACxF,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,MAAM,oBAAoB,GAAW;IACnC,OAAO,EAAE,CAAC,GAAQ,EAAE,EAAE;QACpB,GAAG,CAAC,SAAS,CAAC,sBAAsB,EAAE,oBAAoB,CAAC,CAAC;QAC5D,GAAG,CAAC,SAAS,CACX,gCAAgC,EAChC,8BAA8B,CAC/B,CAAC;QACF,GAAG,CAAC,SAAS,CAAC,sBAAsB,EAAE,oBAAoB,CAAC,CAAC;IAC9D,CAAC;CACF,CAAC;AAEF,OAAO,EACL,oBAAoB,EACpB,oBAAoB,EACpB,8BAA8B,GAC/B,CAAC;AAEF,eAAe,oBAAoB,CAAC","sourcesContent":["import type { App, Plugin } from 'vue';\nimport { TimeredCounterNumber } from './timered-counter-number.js';\nimport { TimeredCounterDatetimeDuration } from './timered-counter-datetime-duration.js';\nimport { TimeredCounterString } from './timered-counter-string.js';\n\nconst TimeredCounterPlugin: Plugin = {\n install: (app: App) => {\n app.component('TimeredCounterNumber', TimeredCounterNumber);\n app.component(\n 'TimeredCounterDatetimeDuration',\n TimeredCounterDatetimeDuration,\n );\n app.component('TimeredCounterString', TimeredCounterString);\n },\n};\n\nexport {\n TimeredCounterNumber,\n TimeredCounterString,\n TimeredCounterDatetimeDuration,\n};\n\nexport default TimeredCounterPlugin;\n\ndeclare module 'vue' {\n interface GlobalComponents {\n TimeredCounterNumber: typeof import('timered-counter/vue').TimeredCounterNumber;\n TimeredCounterDatetimeDuration: typeof import('timered-counter/vue').TimeredCounterDatetimeDuration;\n TimeredCounterString: typeof import('timered-counter/vue').TimeredCounterString;\n }\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/wrappers/vue/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,8BAA8B,EAAE,MAAM,wCAAwC,CAAC;AACxF,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,MAAM,oBAAoB,GAAW;IACnC,OAAO,EAAE,CAAC,GAAQ,EAAE,EAAE;QACpB,GAAG,CAAC,SAAS,CAAC,sBAAsB,EAAE,oBAAoB,CAAC,CAAC;QAC5D,GAAG,CAAC,SAAS,CACX,gCAAgC,EAChC,8BAA8B,CAC/B,CAAC;QACF,GAAG,CAAC,SAAS,CAAC,sBAAsB,EAAE,oBAAoB,CAAC,CAAC;IAC9D,CAAC;CACF,CAAC;AAEF,OAAO,EACL,oBAAoB,EACpB,oBAAoB,EACpB,8BAA8B,GAC/B,CAAC;AAEF,eAAe,oBAAoB,CAAC","sourcesContent":["import type { App, Plugin } from 'vue';\nimport { TimeredCounterNumber } from './timered-counter-number.js';\nimport { TimeredCounterDatetimeDuration } from './timered-counter-datetime-duration.js';\nimport { TimeredCounterString } from './timered-counter-string.js';\n\nconst TimeredCounterPlugin: Plugin = {\n install: (app: App) => {\n app.component('TimeredCounterNumber', TimeredCounterNumber);\n app.component(\n 'TimeredCounterDatetimeDuration',\n TimeredCounterDatetimeDuration,\n );\n app.component('TimeredCounterString', TimeredCounterString);\n },\n};\n\nexport {\n TimeredCounterNumber,\n TimeredCounterString,\n TimeredCounterDatetimeDuration,\n};\n\nexport default TimeredCounterPlugin;\n\ndeclare module 'vue' {\n interface GlobalComponents {\n TimeredCounterNumber: typeof TimeredCounterNumber;\n TimeredCounterDatetimeDuration: typeof TimeredCounterDatetimeDuration;\n TimeredCounterString: typeof TimeredCounterString;\n }\n}\n"]}