@qualityunit/liveagent-ticket-grid 0.0.94 → 0.0.95
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.
- package/README.md +16 -43
- package/dist/assets/en2.js +1 -1
- package/dist/assets/es-ES.js +1 -1
- package/dist/assets/index.js +7 -7
- package/dist/assets/pt-BR2.js +1 -1
- package/dist/index.html +17 -2
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,47 +1,20 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Ticket-Grid component for LiveAgent
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Recommended IDE Setup
|
|
6
|
-
|
|
7
|
-
[VS Code](https://code.visualstudio.com/) + [Svelte](https://marketplace.visualstudio.com/items?itemName=svelte.svelte-vscode).
|
|
8
|
-
|
|
9
|
-
## Need an official Svelte framework?
|
|
10
|
-
|
|
11
|
-
Check out [SvelteKit](https://github.com/sveltejs/kit#readme), which is also powered by Vite. Deploy anywhere with its serverless-first approach and adapt to various platforms, with out of the box support for TypeScript, SCSS, and Less, and easily-added support for mdsvex, GraphQL, PostCSS, Tailwind CSS, and more.
|
|
12
|
-
|
|
13
|
-
## Technical considerations
|
|
14
|
-
|
|
15
|
-
**Why use this over SvelteKit?**
|
|
16
|
-
|
|
17
|
-
- It brings its own routing solution which might not be preferable for some users.
|
|
18
|
-
- It is first and foremost a framework that just happens to use Vite under the hood, not a Vite app.
|
|
19
|
-
|
|
20
|
-
This template contains as little as possible to get started with Vite + TypeScript + Svelte, while taking into account the developer experience with regards to HMR and intellisense. It demonstrates capabilities on par with the other `create-vite` templates and is a good starting point for beginners dipping their toes into a Vite + Svelte project.
|
|
21
|
-
|
|
22
|
-
Should you later need the extended capabilities and extensibility provided by SvelteKit, the template has been structured similarly to SvelteKit so that it is easy to migrate.
|
|
23
|
-
|
|
24
|
-
**Why `global.d.ts` instead of `compilerOptions.types` inside `jsconfig.json` or `tsconfig.json`?**
|
|
25
|
-
|
|
26
|
-
Setting `compilerOptions.types` shuts out all other types not explicitly listed in the configuration. Using triple-slash references keeps the default TypeScript setting of accepting type information from the entire workspace, while also adding `svelte` and `vite/client` type information.
|
|
27
|
-
|
|
28
|
-
**Why include `.vscode/extensions.json`?**
|
|
29
|
-
|
|
30
|
-
Other templates indirectly recommend extensions via the README, but this file allows VS Code to prompt the user to install the recommended extension upon opening the project.
|
|
31
|
-
|
|
32
|
-
**Why enable `allowJs` in the TS template?**
|
|
33
|
-
|
|
34
|
-
While `allowJs: false` would indeed prevent the use of `.js` files in the project, it does not prevent the use of JavaScript syntax in `.svelte` files. In addition, it would force `checkJs: false`, bringing the worst of both worlds: not being able to guarantee the entire codebase is TypeScript, and also having worse typechecking for the existing JavaScript. In addition, there are valid use cases in which a mixed codebase may be relevant.
|
|
35
|
-
|
|
36
|
-
**Why is HMR not preserving my local component state?**
|
|
37
|
-
|
|
38
|
-
HMR state preservation comes with a number of gotchas! It has been disabled by default in both `svelte-hmr` and `@sveltejs/vite-plugin-svelte` due to its often surprising behavior. You can read the details [here](https://github.com/rixo/svelte-hmr#svelte-hmr).
|
|
39
|
-
|
|
40
|
-
If you have state that's important to retain within a component, consider creating an external store which would not be replaced by HMR.
|
|
3
|
+
Usage example:
|
|
41
4
|
|
|
42
5
|
```ts
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
6
|
+
const ticketsTable = document.createElement('tickets-table');
|
|
7
|
+
ticketsTable.options = {
|
|
8
|
+
apiKey: 'S_9tyvqyp7jst8892hsf29xidod4p6ghfe',
|
|
9
|
+
basePath: 'https://hosted.la.localhost/LiveAgent/server',
|
|
10
|
+
localeOptions: {
|
|
11
|
+
thousandsSeparator: 'S',
|
|
12
|
+
decimalSeparator: 'D',
|
|
13
|
+
dateFormat: 'MM/d/yyyy',
|
|
14
|
+
timeFormat: 'HH:mm:ss',
|
|
15
|
+
timeShortFormat: 'HH:mm',
|
|
16
|
+
locale: 'sk'
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
document.body.appendChild(ticketsTable);
|
|
47
20
|
```
|
package/dist/assets/en2.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const e="Created",t="Changed",
|
|
1
|
+
const e="Created",t="Changed",o="Reload",a="Answered",n="Chatting",r="Calling",s="Deleted",l="Spam",d="Init",c="Resolved",i="New",p="Open",g="Postponed",h="many",u="Importance",w={Created:e,Changed:t,"No text for preview":"No text for preview","No name":"No name","No email":"No email","No Company":"No Company","No tickets found":"No tickets found","There is no tickets to be displayed. Change filter or place chat widget on your website to reach customers.":"There is no tickets to be displayed. Change filter or place chat widget on your website to reach customers.","Change filter":"Change filter","Configure chat button":"Configure chat button",Reload:o,"First answer":"First answer","No SLA":"No SLA",Answered:a,Chatting:n,Calling:r,Deleted:s,Spam:l,Init:d,Resolved:c,New:i,Open:p,Postponed:g,"Invalid data":"Invalid data","all rows selected except %pCount rows":"all rows selected except {pCount, plural, one {1 row} other {# rows}}","all rows selected":"all rows selected","%pCount rows selected":"{pCount, plural, one {1 row} other {# rows}} selected","Loading...":"Loading...","Displaying %count of":"Displaying {count} of",many:h,"Displaying %count of %allCount":"Displaying {count} of {allCount}","Loading failed. Please try again later.":"Loading failed. Please try again later.","No results match your filter. Try broadening the search criteria.":"No results match your filter. Try broadening the search criteria.","All data loaded":"All data loaded","Load more data":"Load more data",Importance:u,"Date created - Newest":"Date created - Newest","Date created - Oldest":"Date created - Oldest","Date changed - Newest":"Date changed - Newest","Date changed - Oldest":"Date changed - Oldest","Sort by":"Sort by","No Group":"No Group"};export{a as Answered,r as Calling,t as Changed,n as Chatting,e as Created,s as Deleted,u as Importance,d as Init,i as New,p as Open,g as Postponed,o as Reload,c as Resolved,l as Spam,w as default,h as many};
|
package/dist/assets/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const e="Creado",
|
|
1
|
+
const e="Creado",a="Cambiado",o="Recargar",t="Respondido",n="Chateando",s="Llamando",r="Borrado",i="Correo no deseado",d="Init",c="Resuelto",l="Nuevo ",u="Abierto",p="Pospuesto",g="muchos",h="Importancia",m={Created:e,Changed:a,"No text for preview":"No hay texto para la previsualización","No name":"Sin nombre","No email":"Sin email","No Company":"Ninguna empresa","No tickets found":"No se han encontrado tickets","There is no tickets to be displayed. Change filter or place chat widget on your website to reach customers.":"No hay tickets que mostrar. Cambiar filtro o colocar el widget de chat en su sitio web para llegar a los clientes.","Change filter":"Cambiar filtro","Configure chat button":"Configurar botón de chat",Reload:o,"First answer":"Primera respuesta","No SLA":"No SLA",Answered:t,Chatting:n,Calling:s,Deleted:r,Spam:i,Init:d,Resolved:c,New:l,Open:u,Postponed:p,"Invalid data":"Datos inválidos","all rows selected except %pCount rows":"todas las filas seleccionadas excepto {pCount, plural, one {1 fila} other {# filas}}","all rows selected":"todas las filas seleccionadas","%pCount rows selected":"{pCount, plural, one {1 fila} other {# filas}} seleccionadas","Loading...":"Cargando...","Displaying %count of":"Mostrando {count} de",many:g,"Displaying %count of %allCount":"Mostrando {count} de {allCount}","Loading failed. Please try again later.":"Error al cargar. Inténtalo de nuevo más tarde.","No results match your filter. Try broadening the search criteria.":"No hay resultados coincidentes con su filtro. Trate de ampliar los criterios de búsqueda","All data loaded":"Todos los datos cargados","Load more data":"Cargar más datos",Importance:h,"Date created - Newest":"Fecha de creación - Más reciente","Date created - Oldest":"Fecha de creación - Más antiguo","Date changed - Newest":"Fecha cambiada - Más reciente","Date changed - Oldest":"Fecha cambiada - Más antiguo","Sort by":"Ordenar por","No Group":"Sin grupo"};export{t as Answered,s as Calling,a as Changed,n as Chatting,e as Created,r as Deleted,h as Importance,d as Init,l as New,u as Open,p as Postponed,o as Reload,c as Resolved,i as Spam,m as default,g as many};
|