@cm-sigoo-temp/ui 0.2.13 → 0.2.14

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,2 +1,2 @@
1
- import{createWriteStream as f,existsSync as p}from"node:fs";import{copyFile as u,mkdir as h,stat as _}from"node:fs/promises";import{get as S}from"node:https";import{tmpdir as T}from"node:os";import{dirname as I,join as l,resolve as m}from"node:path";import{fileURLToPath as v}from"node:url";var x=v(import.meta.url),C=I(x),O=T(),M="cm-sigoo-temp-ui-temp",a=l(O,M),s=l(a,"silent-check-sso.html"),U=new URL("/silent-check-sso.html","https://cm-sigoo-temp-ui-dev.firebaseapp.com"),c=async()=>{let e=f(s);await new Promise((r,i)=>S(U,o=>{o.pipe(e),e.on("finish",()=>r(null)),e.on("error",t=>i(t))}))},n=new Date;n.setHours(0);n.setMinutes(0);n.setSeconds(0);n.setMilliseconds(0);n.setDate(n.getDate()-1);var d=e=>async r=>{if(!e||r)return;p(a)||await h(a),p(s)||await c(),(await _(s)).birthtime<=n&&c();let o=m(C,"../../../../../","dist"),t=m(o,"silent-check-sso.html");await u(s,t)};var g=(e,r)=>i=>({html:i,tags:[{tag:"meta",attrs:{charset:"UTF-8"},injectTo:"head-prepend"},{tag:"meta",attrs:{name:"viewport",content:"width=device-width, initial-scale=1.0"},injectTo:"head-prepend"},{tag:"title",children:e,injectTo:"head-prepend"},{tag:"link",attrs:{rel:"stylesheet",href:"https://fonts.googleapis.com/icon?family=Material+Icons"},injectTo:"head-prepend"},{tag:"link",attrs:{rel:"icon",type:"image/png",href:"https://cm-sigoo-temp-ui-dev.firebaseapp.com/favicon-96x96.png",sizes:"96x96"},injectTo:"head-prepend"},{tag:"link",attrs:{rel:"icon",type:"image/svg+xml",href:"https://cm-sigoo-temp-ui-dev.firebaseapp.com/favicon.svg"},injectTo:"head-prepend"},{tag:"link",attrs:{rel:"apple-touch-icon",sizes:"180x180",href:"https://cm-sigoo-temp-ui-dev.firebaseapp.com/apple-touch-icon.png"},injectTo:"head-prepend"},...r?[{tag:"script",attrs:{type:"importmap",src:"https://cm-sigoo-temp-ui-dev.firebaseapp.com/lib/importmap.json"},injectTo:"head-prepend"}]:[]]});function E(e){let{nombre:r}=typeof e=="string"?{nombre:e}:e,i=`Sigoo ${r} - Coordinadora S.A`,o;return{name:"cm-sigoo-temp-ui-app",config(t){return{...t,build:{...t.build,rollupOptions:{...t.build?.rollupOptions,external:["react","react-dom"]}}}},configResolved(t){o=t},transformIndexHtml(...t){return g(i,o.command==="build")(...t)},closeBundle(t){return d(o.command==="build")(t)}}}export{E as default};
1
+ import{createWriteStream as f,existsSync as p}from"node:fs";import{copyFile as h,mkdir as _,stat as S}from"node:fs/promises";import{get as T}from"node:https";import{tmpdir as b}from"node:os";import{dirname as O,join as m,resolve as l}from"node:path";import{fileURLToPath as v}from"node:url";var x=v(import.meta.url),y=O(x),I=b(),U="cm-sigoo-temp-ui-temp",a=m(I,U),s=m(a,"silent-check-sso.html"),M=new URL("/silent-check-sso.html","https://cm-sigoo-temp-ui-dev.firebaseapp.com"),c=async()=>{let t=f(s);await new Promise((o,i)=>T(M,e=>{e.pipe(t),t.on("finish",()=>o(null)),t.on("error",r=>i(r))}))},n=new Date;n.setHours(0);n.setMinutes(0);n.setSeconds(0);n.setMilliseconds(0);n.setDate(n.getDate()-1);var d=t=>async o=>{if(!t||o)return;p(a)||await _(a),p(s)||await c(),(await S(s)).birthtime<=n&&c();let e=l(y,"../../../../../","dist"),r=l(e,"silent-check-sso.html");await h(s,r)};function u(t){let o=e=>Array.isArray(t.build?.rollupOptions?.output)?{react:"react","react-dom":"react-dom"}:typeof t.build?.rollupOptions?.output?.globals=="function"?t.build.rollupOptions.output.globals(e):{...t.build?.rollupOptions?.output?.globals,react:"react","react-dom":"react-dom"},i=Array.isArray(t.build?.rollupOptions?.output)?[...t.build.rollupOptions.output,{globals:o}]:{...t.build?.rollupOptions?.output,globals:o};return{...t,build:{...t.build,rollupOptions:{...t.build?.rollupOptions,external:["react","react-dom"],output:i}}}}var g=(t,o)=>i=>({html:i,tags:[{tag:"meta",attrs:{charset:"UTF-8"},injectTo:"head-prepend"},{tag:"meta",attrs:{name:"viewport",content:"width=device-width, initial-scale=1.0"},injectTo:"head-prepend"},{tag:"title",children:t,injectTo:"head-prepend"},{tag:"link",attrs:{rel:"stylesheet",href:"https://fonts.googleapis.com/icon?family=Material+Icons"},injectTo:"head-prepend"},{tag:"link",attrs:{rel:"icon",type:"image/png",href:"https://cm-sigoo-temp-ui-dev.firebaseapp.com/favicon-96x96.png",sizes:"96x96"},injectTo:"head-prepend"},{tag:"link",attrs:{rel:"icon",type:"image/svg+xml",href:"https://cm-sigoo-temp-ui-dev.firebaseapp.com/favicon.svg"},injectTo:"head-prepend"},{tag:"link",attrs:{rel:"apple-touch-icon",sizes:"180x180",href:"https://cm-sigoo-temp-ui-dev.firebaseapp.com/apple-touch-icon.png"},injectTo:"head-prepend"},...o?[{tag:"script",attrs:{type:"importmap",src:"https://cm-sigoo-temp-ui-dev.firebaseapp.com/lib/importmap.json"},injectTo:"head-prepend"}]:[]]});function $(t){let{nombre:o}=typeof t=="string"?{nombre:t}:t,i=`Sigoo ${o} - Coordinadora S.A`,e;return{name:"cm-sigoo-temp-ui-app",config:u,configResolved(r){e=r},transformIndexHtml(...r){return g(i,e.command==="build")(...r)},closeBundle(r){return d(e.command==="build")(r)}}}export{$ as default};
2
2
  //# sourceMappingURL=app.plugin.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../node/vite/app/closeBundle.ts","../../node/vite/app/transformIndexHtml.ts","../../node/vite/app/app.plugin.ts"],"sourcesContent":["import { createWriteStream, existsSync } from 'node:fs';\nimport { copyFile, mkdir, stat } from 'node:fs/promises';\nimport { get } from 'node:https';\nimport { tmpdir } from 'node:os';\nimport { dirname, join, resolve } from 'node:path';\nimport { fileURLToPath } from 'node:url';\n\nconst __filename = fileURLToPath(import.meta.url);\nconst __dirname = dirname(__filename);\n\nconst temp = tmpdir();\nconst tempDir = 'cm-sigoo-temp-ui-temp';\n\nconst rutaTemp = join(temp, tempDir);\nconst rutaSCSso = join(rutaTemp, 'silent-check-sso.html');\n\nconst urlSCSso = new URL(\n '/silent-check-sso.html',\n process.env.URL__CM_SIGOO_TEMP_UI,\n);\n\nconst downloadSCSso = async () => {\n const file = createWriteStream(rutaSCSso);\n await new Promise((resolve, reject) =>\n get(urlSCSso, (response) => {\n response.pipe(file);\n file.on('finish', () => resolve(null));\n file.on('error', (error) => reject(error));\n }),\n );\n};\n\nconst fechaComparacion = new Date();\nfechaComparacion.setHours(0);\nfechaComparacion.setMinutes(0);\nfechaComparacion.setSeconds(0);\nfechaComparacion.setMilliseconds(0);\nfechaComparacion.setDate(fechaComparacion.getDate() - 1);\n\nexport const getCloseBundle = (build: boolean) => async (error?: Error) => {\n if (!build || error) return;\n\n if (!existsSync(rutaTemp)) await mkdir(rutaTemp);\n if (!existsSync(rutaSCSso)) await downloadSCSso();\n\n const tempSCSsoStat = await stat(rutaSCSso);\n if (tempSCSsoStat.birthtime <= fechaComparacion) downloadSCSso();\n\n const rutaDist = resolve(__dirname, '../../../../../', 'dist');\n const rutaDistSCSso = resolve(rutaDist, 'silent-check-sso.html');\n\n await copyFile(rutaSCSso, rutaDistSCSso);\n};\n","import { HtmlTagDescriptor, IndexHtmlTransformHook } from 'vite';\n\nexport const getTransformIndexHtml =\n (titulo: string, build: boolean): IndexHtmlTransformHook =>\n (html) => {\n const importmapScriptTag: HtmlTagDescriptor = {\n tag: 'script',\n attrs: {\n type: 'importmap',\n src: `${process.env.URL__CM_SIGOO_TEMP_UI}/lib/importmap.json`,\n },\n injectTo: 'head-prepend',\n };\n\n return {\n html,\n tags: [\n {\n tag: 'meta',\n attrs: {\n charset: 'UTF-8',\n },\n injectTo: 'head-prepend',\n },\n {\n tag: 'meta',\n attrs: {\n name: 'viewport',\n content: 'width=device-width, initial-scale=1.0',\n },\n injectTo: 'head-prepend',\n },\n {\n tag: 'title',\n children: titulo,\n injectTo: 'head-prepend',\n },\n {\n tag: 'link',\n attrs: {\n rel: 'stylesheet',\n href: 'https://fonts.googleapis.com/icon?family=Material+Icons',\n },\n injectTo: 'head-prepend',\n },\n {\n tag: 'link',\n attrs: {\n rel: 'icon',\n type: 'image/png',\n href: `${process.env.URL__CM_SIGOO_TEMP_UI}/favicon-96x96.png`,\n sizes: '96x96',\n },\n injectTo: 'head-prepend',\n },\n {\n tag: 'link',\n attrs: {\n rel: 'icon',\n type: 'image/svg+xml',\n href: `${process.env.URL__CM_SIGOO_TEMP_UI}/favicon.svg`,\n },\n injectTo: 'head-prepend',\n },\n {\n tag: 'link',\n attrs: {\n rel: 'apple-touch-icon',\n sizes: '180x180',\n href: `${process.env.URL__CM_SIGOO_TEMP_UI}/apple-touch-icon.png`,\n },\n injectTo: 'head-prepend',\n },\n ...(build ? [importmapScriptTag] : []),\n ],\n };\n };\n","import { Plugin, ResolvedConfig } from 'vite';\nimport { getCloseBundle } from './closeBundle.ts';\nimport { getTransformIndexHtml } from './transformIndexHtml.ts';\n\nexport type ViteAppPluginOptions =\n | {\n nombre: string;\n }\n | string;\n\nexport default function (options: ViteAppPluginOptions): Plugin {\n const { nombre } =\n typeof options === 'string' ? { nombre: options } : options;\n\n const titulo = `Sigoo ${nombre} - Coordinadora S.A`;\n\n let config: ResolvedConfig;\n\n return {\n name: 'cm-sigoo-temp-ui-app',\n\n config(userConfig) {\n return {\n ...userConfig,\n build: {\n ...userConfig.build,\n rollupOptions: {\n ...userConfig.build?.rollupOptions,\n external: ['react', 'react-dom'],\n },\n },\n };\n },\n\n configResolved(resolvedConfig) {\n config = resolvedConfig;\n },\n\n transformIndexHtml(...args) {\n return getTransformIndexHtml(titulo, config.command === 'build')(...args);\n },\n\n closeBundle(error) {\n return getCloseBundle(config.command === 'build')(error);\n },\n };\n}\n"],"mappings":"AAAA,OAAS,qBAAAA,EAAmB,cAAAC,MAAkB,UAC9C,OAAS,YAAAC,EAAU,SAAAC,EAAO,QAAAC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A,KAAM,CACJ,CACE,IAAK,OACL,MAAO,CACL,QAAS,OACX,EACA,SAAU,cACZ,EACA,CACE,IAAK,OACL,MAAO,CACL,KAAM,WACN,QAAS,uCACX,EACA,SAAU,cACZ,EACA,CACE,IAAK,QACL,SAAUF,EACV,SAAU,cACZ,EACA,CACE,IAAK,OACL,MAAO,CACL,IAAK,aACL,KAAM,yDACR,EACA,SAAU,cACZ,EACA,CACE,IAAK,OACL,MAAO,CACL,IAAK,OACL,KAAM,YACN,KAAM,iEACN,MAAO,OACT,EACA,SAAU,cACZ,EACA,CACE,IAAK,OACL,MAAO,CACL,IAAK,OACL,KAAM,gBACN,KAAM,0DACR,EACA,SAAU,cACZ,EACA,CACE,IAAK,OACL,MAAO,CACL,IAAK,mBACL,MAAO,UACP,KAAM,mEACR,EACA,SAAU,cACZ,EACA,GAAIC,EAAQ,CApE8B,CAC5C,IAAK,SACL,MAAO,CACL,KAAM,YACN,IAAK,iEACP,EACA,SAAU,cACZ,CA6DmC,EAAI,CAAC,CACtC,CACF,GCjEW,SAARE,EAAkBC,EAAuC,CAC9D,GAAM,CAAE,OAAAC,CAAO,EACb,OAAOD,GAAY,SAAW,CAAE,OAAQA,CAAQ,EAAIA,EAEhDE,EAAS,SAASD,CAAM,sBAE1BE,EAEJ,MAAO,CACL,KAAM,uBAEN,OAAOC,EAAY,CACjB,MAAO,CACL,GAAGA,EACH,MAAO,CACL,GAAGA,EAAW,MACd,cAAe,CACb,GAAGA,EAAW,OAAO,cACrB,SAAU,CAAC,QAAS,WAAW,CACjC,CACF,CACF,CACF,EAEA,eAAeC,EAAgB,CAC7BF,EAASE,CACX,EAEA,sBAAsBC,EAAM,CAC1B,OAAOC,EAAsBL,EAAQC,EAAO,UAAY,OAAO,EAAE,GAAGG,CAAI,CAC1E,EAEA,YAAYE,EAAO,CACjB,OAAOC,EAAeN,EAAO,UAAY,OAAO,EAAEK,CAAK,CACzD,CACF,CACF","names":["createWriteStream","existsSync","copyFile","mkdir","stat","get","tmpdir","dirname","join","resolve","fileURLToPath","__filename","__dirname","temp","tempDir","rutaTemp","rutaSCSso","urlSCSso","downloadSCSso","file","reject","response","error","fechaComparacion","getCloseBundle","build","rutaDist","rutaDistSCSso","getTransformIndexHtml","titulo","build","html","app_plugin_default","options","nombre","titulo","config","userConfig","resolvedConfig","args","getTransformIndexHtml","error","getCloseBundle"]}
1
+ {"version":3,"sources":["../../node/vite/app/closeBundle.ts","../../node/vite/app/config.ts","../../node/vite/app/transformIndexHtml.ts","../../node/vite/app/app.plugin.ts"],"sourcesContent":["import { createWriteStream, existsSync } from 'node:fs';\nimport { copyFile, mkdir, stat } from 'node:fs/promises';\nimport { get } from 'node:https';\nimport { tmpdir } from 'node:os';\nimport { dirname, join, resolve } from 'node:path';\nimport { fileURLToPath } from 'node:url';\n\nconst __filename = fileURLToPath(import.meta.url);\nconst __dirname = dirname(__filename);\n\nconst temp = tmpdir();\nconst tempDir = 'cm-sigoo-temp-ui-temp';\n\nconst rutaTemp = join(temp, tempDir);\nconst rutaSCSso = join(rutaTemp, 'silent-check-sso.html');\n\nconst urlSCSso = new URL(\n '/silent-check-sso.html',\n process.env.URL__CM_SIGOO_TEMP_UI,\n);\n\nconst downloadSCSso = async () => {\n const file = createWriteStream(rutaSCSso);\n await new Promise((resolve, reject) =>\n get(urlSCSso, (response) => {\n response.pipe(file);\n file.on('finish', () => resolve(null));\n file.on('error', (error) => reject(error));\n }),\n );\n};\n\nconst fechaComparacion = new Date();\nfechaComparacion.setHours(0);\nfechaComparacion.setMinutes(0);\nfechaComparacion.setSeconds(0);\nfechaComparacion.setMilliseconds(0);\nfechaComparacion.setDate(fechaComparacion.getDate() - 1);\n\nexport const getCloseBundle = (build: boolean) => async (error?: Error) => {\n if (!build || error) return;\n\n if (!existsSync(rutaTemp)) await mkdir(rutaTemp);\n if (!existsSync(rutaSCSso)) await downloadSCSso();\n\n const tempSCSsoStat = await stat(rutaSCSso);\n if (tempSCSsoStat.birthtime <= fechaComparacion) downloadSCSso();\n\n const rutaDist = resolve(__dirname, '../../../../../', 'dist');\n const rutaDistSCSso = resolve(rutaDist, 'silent-check-sso.html');\n\n await copyFile(rutaSCSso, rutaDistSCSso);\n};\n","import { UserConfig } from 'vite';\n\nexport function config(userConfig: UserConfig) {\n const globals = (name: string) =>\n Array.isArray(userConfig.build?.rollupOptions?.output)\n ? {\n react: 'react',\n 'react-dom': 'react-dom',\n }\n : typeof userConfig.build?.rollupOptions?.output?.globals === 'function'\n ? userConfig.build.rollupOptions.output.globals(name)\n : {\n ...userConfig.build?.rollupOptions?.output?.globals,\n react: 'react',\n 'react-dom': 'react-dom',\n };\n\n const output = Array.isArray(userConfig.build?.rollupOptions?.output)\n ? [...userConfig.build.rollupOptions.output, { globals }]\n : {\n ...userConfig.build?.rollupOptions?.output,\n globals,\n };\n\n return {\n ...userConfig,\n build: {\n ...userConfig.build,\n rollupOptions: {\n ...userConfig.build?.rollupOptions,\n external: ['react', 'react-dom'],\n output,\n },\n },\n } as UserConfig;\n}\n","import { HtmlTagDescriptor, IndexHtmlTransformHook } from 'vite';\n\nexport const getTransformIndexHtml =\n (titulo: string, build: boolean): IndexHtmlTransformHook =>\n (html) => {\n const importmapScriptTag: HtmlTagDescriptor = {\n tag: 'script',\n attrs: {\n type: 'importmap',\n src: `${process.env.URL__CM_SIGOO_TEMP_UI}/lib/importmap.json`,\n },\n injectTo: 'head-prepend',\n };\n\n return {\n html,\n tags: [\n {\n tag: 'meta',\n attrs: {\n charset: 'UTF-8',\n },\n injectTo: 'head-prepend',\n },\n {\n tag: 'meta',\n attrs: {\n name: 'viewport',\n content: 'width=device-width, initial-scale=1.0',\n },\n injectTo: 'head-prepend',\n },\n {\n tag: 'title',\n children: titulo,\n injectTo: 'head-prepend',\n },\n {\n tag: 'link',\n attrs: {\n rel: 'stylesheet',\n href: 'https://fonts.googleapis.com/icon?family=Material+Icons',\n },\n injectTo: 'head-prepend',\n },\n {\n tag: 'link',\n attrs: {\n rel: 'icon',\n type: 'image/png',\n href: `${process.env.URL__CM_SIGOO_TEMP_UI}/favicon-96x96.png`,\n sizes: '96x96',\n },\n injectTo: 'head-prepend',\n },\n {\n tag: 'link',\n attrs: {\n rel: 'icon',\n type: 'image/svg+xml',\n href: `${process.env.URL__CM_SIGOO_TEMP_UI}/favicon.svg`,\n },\n injectTo: 'head-prepend',\n },\n {\n tag: 'link',\n attrs: {\n rel: 'apple-touch-icon',\n sizes: '180x180',\n href: `${process.env.URL__CM_SIGOO_TEMP_UI}/apple-touch-icon.png`,\n },\n injectTo: 'head-prepend',\n },\n ...(build ? [importmapScriptTag] : []),\n ],\n };\n };\n","import { Plugin, ResolvedConfig } from 'vite';\nimport { getCloseBundle } from './closeBundle.ts';\nimport { config } from './config.ts';\nimport { getTransformIndexHtml } from './transformIndexHtml.ts';\n\nexport type ViteAppPluginOptions =\n | {\n nombre: string;\n }\n | string;\n\nexport default function (options: ViteAppPluginOptions): Plugin {\n const { nombre } =\n typeof options === 'string' ? { nombre: options } : options;\n\n const titulo = `Sigoo ${nombre} - Coordinadora S.A`;\n\n let resolvedConfig: ResolvedConfig;\n\n return {\n name: 'cm-sigoo-temp-ui-app',\n\n config,\n\n configResolved(endConfig) {\n resolvedConfig = endConfig;\n },\n\n transformIndexHtml(...args) {\n return getTransformIndexHtml(\n titulo,\n resolvedConfig.command === 'build',\n )(...args);\n },\n\n closeBundle(error) {\n return getCloseBundle(resolvedConfig.command === 'build')(error);\n },\n };\n}\n"],"mappings":"AAAA,OAAS,qBAAAA,EAAmB,cAAAC,MAAkB,UAC9C,OAAS,YAAAC,EAAU,SAAAC,EAAO,QAAAC,MAAY,mBACtC,OAAS,OAAAC,MAAW,aACpB,OAAS,UAAAC,MAAc,UACvB,OAAS,WAAAC,EAAS,QAAAC,EAAM,WAAAC,MAAe,YACvC,OAAS,iBAAAC,MAAqB,WAE9B,IAAMC,EAAaD,EAAc,YAAY,GAAG,EAC1CE,EAAYL,EAAQI,CAAU,EAE9BE,EAAOP,EAAO,EACdQ,E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AiBE,CACnB,EAEA,sBAAsBC,EAAM,CAC1B,OAAOC,EACLL,EACAC,EAAe,UAAY,OAC7B,EAAE,GAAGG,CAAI,CACX,EAEA,YAAYE,EAAO,CACjB,OAAOC,EAAeN,EAAe,UAAY,OAAO,EAAEK,CAAK,CACjE,CACF,CACF","names":["createWriteStream","existsSync","copyFile","mkdir","stat","get","tmpdir","dirname","join","resolve","fileURLToPath","__filename","__dirname","temp","tempDir","rutaTemp","rutaSCSso","urlSCSso","downloadSCSso","file","reject","response","error","fechaComparacion","getCloseBundle","build","rutaDist","rutaDistSCSso","config","userConfig","globals","name","output","getTransformIndexHtml","titulo","build","html","app_plugin_default","options","nombre","titulo","resolvedConfig","config","endConfig","args","getTransformIndexHtml","error","getCloseBundle"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cm-sigoo-temp/ui",
3
- "version": "0.2.13",
3
+ "version": "0.2.14",
4
4
  "type": "module",
5
5
  "main": "dist/lib/cm-sigoo-temp-ui.js",
6
6
  "types": "dist/lib/lib.d.ts",