@tanstack/svelte-table 8.5.13 → 8.5.15

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.
@@ -16,7 +16,7 @@ var internal = require('svelte/internal');
16
16
  var placeholder = require('./placeholder.svelte.js');
17
17
 
18
18
  const PlaceholderServer = internal.create_ssr_component(($$result, $$props, $$bindings, slots) => {
19
- return "" + internal.escape($$props.content);
19
+ return `${internal.escape($$props.content)}`;
20
20
  });
21
21
  var Placeholder = typeof document === 'undefined' ? PlaceholderServer : placeholder["default"];
22
22
 
@@ -1 +1 @@
1
- {"version":3,"file":"placeholder.js","sources":["../../../../src/placeholder.ts"],"sourcesContent":["import type { SvelteComponentDev } from 'svelte/internal'\nimport { create_ssr_component, escape } from 'svelte/internal'\nimport PlaceholderClient from './placeholder.svelte'\n\ntype X = typeof PlaceholderClient\n\nconst PlaceholderServer = create_ssr_component(\n ($$result: any, $$props: any, $$bindings: any, slots: any) => {\n return `${escape($$props.content)}`\n }\n) as any as typeof SvelteComponentDev\n\nexport default typeof document === 'undefined'\n ? PlaceholderServer\n : PlaceholderClient\n"],"names":["PlaceholderServer","create_ssr_component","$$result","$$props","$$bindings","slots","escape","content","document","PlaceholderClient"],"mappings":";;;;;;;;;;;;;;;;;AAMA,MAAMA,iBAAiB,GAAGC,6BAAoB,CAC5C,CAACC,QAAD,EAAgBC,OAAhB,EAA8BC,UAA9B,EAA+CC,KAA/C,KAA8D;AAC5D,EAAA,OAAA,EAAA,GAAUC,eAAM,CAACH,OAAO,CAACI,OAAT,CAAhB,CAAA;AACD,CAH2C,CAA9C,CAAA;AAMA,kBAAe,OAAOC,QAAP,KAAoB,WAApB,GACXR,iBADW,GAEXS,sBAFJ;;;;"}
1
+ {"version":3,"file":"placeholder.js","sources":["../../../../src/placeholder.ts"],"sourcesContent":["import type { SvelteComponentDev } from 'svelte/internal'\nimport { create_ssr_component, escape } from 'svelte/internal'\nimport PlaceholderClient from './placeholder.svelte'\n\ntype X = typeof PlaceholderClient\n\nconst PlaceholderServer = create_ssr_component(\n ($$result: any, $$props: any, $$bindings: any, slots: any) => {\n return `${escape($$props.content)}`\n }\n) as any as typeof SvelteComponentDev\n\nexport default typeof document === 'undefined'\n ? PlaceholderServer\n : PlaceholderClient\n"],"names":["PlaceholderServer","create_ssr_component","$$result","$$props","$$bindings","slots","escape","content","document","PlaceholderClient"],"mappings":";;;;;;;;;;;;;;;;;AAMA,MAAMA,iBAAiB,GAAGC,6BAAoB,CAC5C,CAACC,QAAD,EAAgBC,OAAhB,EAA8BC,UAA9B,EAA+CC,KAA/C,KAA8D;AAC5D,EAAA,OAAQ,GAAEC,eAAM,CAACH,OAAO,CAACI,OAAT,CAAkB,CAAlC,CAAA,CAAA;AACD,CAH2C,CAA9C,CAAA;AAMA,kBAAe,OAAOC,QAAP,KAAoB,WAApB,GACXR,iBADW,GAEXS,sBAFJ;;;;"}
@@ -14,7 +14,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
14
14
 
15
15
  var internal = require('svelte/internal');
16
16
 
17
- /* packages/svelte-table/src/placeholder.svelte generated by Svelte v3.49.0 */
17
+ /* packages/svelte-table/src/placeholder.svelte generated by Svelte v3.50.1 */
18
18
 
19
19
  function create_fragment(ctx) {
20
20
  let t;
@@ -68,7 +68,7 @@ function renderClient(Comp, props) {
68
68
 
69
69
  function renderServer(Comp, props) {
70
70
  const WrapperComp = internal.create_ssr_component(($$result, $$props, $$bindings, slots) => {
71
- return "" + internal.validate_component(Comp, 'TableComponent').$$render($$result, props, {}, {});
71
+ return `${internal.validate_component(Comp, 'TableComponent').$$render($$result, props, {}, {})}`;
72
72
  });
73
73
  return WrapperComp;
74
74
  }
@@ -1 +1 @@
1
- {"version":3,"file":"render-component.js","sources":["../../../../src/render-component.ts"],"sourcesContent":["import {\n SvelteComponent,\n claim_component,\n create_component,\n destroy_component,\n init,\n mount_component,\n noop,\n safe_not_equal,\n transition_in,\n transition_out,\n create_ssr_component,\n validate_component,\n} from 'svelte/internal'\n\nfunction create_fragment(ctx: any, Comp: any, props: any) {\n let c: any\n let current: any\n c = new Comp({ props, $$inline: true })\n\n return {\n c() {\n create_component(c.$$.fragment)\n },\n l(nodes: any) {\n claim_component(c.$$.fragment, nodes)\n },\n m(target: any, anchor: any) {\n // @ts-ignore\n mount_component(c, target, anchor)\n current = true\n },\n p: noop,\n i(local: any) {\n if (current) return\n transition_in(c.$$.fragment, local)\n current = true\n },\n o(local: any) {\n transition_out(c.$$.fragment, local)\n current = false\n },\n d(detaching: any) {\n destroy_component(c, detaching)\n },\n }\n}\n\nfunction renderClient(Comp: any, props: any): any {\n return class WrapperComp extends SvelteComponent {\n constructor(options: any) {\n super()\n init(\n this,\n options,\n null,\n (ctx: any) => create_fragment(ctx, Comp, props),\n safe_not_equal,\n {},\n undefined\n )\n }\n }\n}\n\nfunction renderServer(Comp: any, props: any) {\n const WrapperComp = create_ssr_component(\n ($$result: any, $$props: any, $$bindings: any, slots: any) => {\n return `${validate_component(Comp, 'TableComponent').$$render(\n $$result,\n props,\n {},\n {}\n )}`\n }\n )\n\n return WrapperComp\n}\n\nexport const renderComponent =\n typeof window === 'undefined' ? renderServer : renderClient\n"],"names":["create_fragment","ctx","Comp","props","c","current","$$inline","create_component","$$","fragment","l","nodes","claim_component","m","target","anchor","mount_component","p","noop","i","local","transition_in","o","transition_out","d","detaching","destroy_component","renderClient","WrapperComp","SvelteComponent","constructor","options","init","safe_not_equal","undefined","renderServer","create_ssr_component","$$result","$$props","$$bindings","slots","validate_component","$$render","renderComponent","window"],"mappings":";;;;;;;;;;;;;;;;AAeA,SAASA,eAAT,CAAyBC,GAAzB,EAAmCC,IAAnC,EAA8CC,KAA9C,EAA0D;AACxD,EAAA,IAAIC,CAAJ,CAAA;AACA,EAAA,IAAIC,OAAJ,CAAA;EACAD,CAAC,GAAG,IAAIF,IAAJ,CAAS;IAAEC,KAAF;AAASG,IAAAA,QAAQ,EAAE,IAAA;AAAnB,GAAT,CAAJ,CAAA;EA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,EAKF8B,uBALE,EAMF,EANE,EAOFC,SAPE,CAAJ,CAAA;AASD,KAAA;;GAZH,CAAA;AAcD,CAAA;;AAED,SAASC,YAAT,CAAsBjC,IAAtB,EAAiCC,KAAjC,EAA6C;AAC3C,EAAA,MAAMyB,WAAW,GAAGQ,6BAAoB,CACtC,CAACC,QAAD,EAAgBC,OAAhB,EAA8BC,UAA9B,EAA+CC,KAA/C,KAA8D;AAC5D,IAAA,OAAA,EAAA,GAAUC,2BAAkB,CAACvC,IAAD,EAAO,gBAAP,CAAlB,CAA2CwC,QAA3C,CACRL,QADQ,EAERlC,KAFQ,EAGR,EAHQ,EAIR,EAJQ,CAAV,CAAA;AAMD,GARqC,CAAxC,CAAA;AAWA,EAAA,OAAOyB,WAAP,CAAA;AACD,CAAA;;AAEM,MAAMe,eAAe,GAC1B,OAAOC,MAAP,KAAkB,WAAlB,GAAgCT,YAAhC,GAA+CR;;;;"}
1
+ {"version":3,"file":"render-component.js","sources":["../../../../src/render-component.ts"],"sourcesContent":["import {\n SvelteComponent,\n claim_component,\n create_component,\n destroy_component,\n init,\n mount_component,\n noop,\n safe_not_equal,\n transition_in,\n transition_out,\n create_ssr_component,\n validate_component,\n} from 'svelte/internal'\n\nfunction create_fragment(ctx: any, Comp: any, props: any) {\n let c: any\n let current: any\n c = new Comp({ props, $$inline: true })\n\n return {\n c() {\n create_component(c.$$.fragment)\n },\n l(nodes: any) {\n claim_component(c.$$.fragment, nodes)\n },\n m(target: any, anchor: any) {\n // @ts-ignore\n mount_component(c, target, anchor)\n current = true\n },\n p: noop,\n i(local: any) {\n if (current) return\n transition_in(c.$$.fragment, local)\n current = true\n },\n o(local: any) {\n transition_out(c.$$.fragment, local)\n current = false\n },\n d(detaching: any) {\n destroy_component(c, detaching)\n },\n }\n}\n\nfunction renderClient(Comp: any, props: any): any {\n return class WrapperComp extends SvelteComponent {\n constructor(options: any) {\n super()\n init(\n this,\n options,\n null,\n (ctx: any) => create_fragment(ctx, Comp, props),\n safe_not_equal,\n {},\n undefined\n )\n }\n }\n}\n\nfunction renderServer(Comp: any, props: any) {\n const WrapperComp = create_ssr_component(\n ($$result: any, $$props: any, $$bindings: any, slots: any) => {\n return `${validate_component(Comp, 'TableComponent').$$render(\n $$result,\n props,\n {},\n {}\n )}`\n }\n )\n\n return WrapperComp\n}\n\nexport const renderComponent =\n typeof window === 'undefined' ? renderServer : renderClient\n"],"names":["create_fragment","ctx","Comp","props","c","current","$$inline","create_component","$$","fragment","l","nodes","claim_component","m","target","anchor","mount_component","p","noop","i","local","transition_in","o","transition_out","d","detaching","destroy_component","renderClient","WrapperComp","SvelteComponent","constructor","options","init","safe_not_equal","undefined","renderServer","create_ssr_component","$$result","$$props","$$bindings","slots","validate_component","$$render","renderComponent","window"],"mappings":";;;;;;;;;;;;;;;;AAeA,SAASA,eAAT,CAAyBC,GAAzB,EAAmCC,IAAnC,EAA8CC,KAA9C,EAA0D;AACxD,EAAA,IAAIC,CAAJ,CAAA;AACA,EAAA,IAAIC,OAAJ,CAAA;EACAD,CAAC,GAAG,IAAIF,IAAJ,CAAS;IAAEC,KAAF;AAASG,IAAAA,QAAQ,EAAE,IAAA;AAAnB,GAAT,CAAJ,CAAA;EAEA,OAAO;AACLF,IAAAA,CAAC,GAAG;AACFG,MAAAA,yBAAgB,CAACH,CAAC,CAACI,EAAF,CAAKC,QAAN,CAAhB,CAAA;KAFG;;IAILC,CAAC,CAACC,KAAD,EAAa;MACZC,wBAAe,CAACR,CAAC,CAACI,EAAF,CAAKC,QAAN,EAAgBE,KAAhB,CAAf,CAAA;KALG;;AAOLE,IAAAA,CAAC,CAACC,MAAD,EAAcC,MAAd,EAA2B;AAC1B;AACAC,MAAAA,wBAAe,CAACZ,CAAD,EAAIU,MAAJ,EAAYC,MAAZ,CAAf,CAAA;AACAV,MAAAA,OAAO,GAAG,IAAV,CAAA;KAVG;;AAYLY,IAAAA,CAAC,EAAEC,aAZE;;IAaLC,CAAC,CAACC,KAAD,EAAa;AACZ,MAAA,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