gl-w-frontend
Advanced tools
Comparing version 4.1.6 to 4.1.7
@@ -0,0 +0,0 @@ export * from './scripts/core/services/array/core-services-array.service'; |
@@ -0,0 +0,0 @@ export * from './scripts/core/services/array/core-services-array.service'; |
@@ -1,1 +0,30 @@ | ||
export * from './bundle'; | ||
export * from './lib/scripts/core/services/array/core-services-array.service'; | ||
export * from './lib/scripts/core/services/attachment/core-services-attachment.service'; | ||
export * from './lib/scripts/core/services/browser/core-services-browser.service'; | ||
export * from './lib/scripts/core/services/combobox/core-services-combobox.service'; | ||
export * from './lib/scripts/core/services/date/core-services-date.service'; | ||
export * from './lib/scripts/core/services/data/core-services-data.service'; | ||
export * from './lib/scripts/core/services/elements/core-services-elements.service'; | ||
export * from './lib/scripts/core/services/image/core-services-image.service'; | ||
export * from './lib/scripts/core/services/input/core-services-input.service'; | ||
export * from './lib/scripts/core/services/internationalization/core-services-internationalization.service'; | ||
export * from './lib/scripts/core/services/number/core-services-number.service'; | ||
export * from './lib/scripts/core/services/string/core-services-string.service'; | ||
export * from './lib/scripts/core/services/url/core-services-url.service'; | ||
export * from './lib/scripts/services/export/excel/services-export-excel.service'; | ||
export * from './lib/scripts/statics/alignment/statics.alignment.static'; | ||
export * from './lib/scripts/statics/colors/statics.color.static'; | ||
export * from './lib/scripts/statics/fonts/statics.font.static'; | ||
export * from './lib/scripts/core/services/browser/core-services-browser.interface'; | ||
export * from './lib/scripts/core/services/combobox/core-services-combobox.interface'; | ||
export * from './lib/scripts/core/services/date/core-services-date.interface'; | ||
export * from './lib/scripts/core/services/elements/core-services-elements.interface'; | ||
export * from './lib/scripts/core/services/input/core-services-input.interface'; | ||
export * from './lib/scripts/core/services/internationalization/core-services-internationalization.interface'; | ||
export * from './lib/scripts/core/services/menu/core-services-menu.interfaces'; | ||
export * from './lib/scripts/core/services/number/core-services-number-interface'; | ||
export * from './lib/scripts/core/services/string/core-services-string-interface'; | ||
export * from './lib/scripts/services/export/excel/services-export-excel.interface'; | ||
export * from './lib/scripts/statics/alignment/statics.alignment.interface'; | ||
export * from './lib/scripts/statics/colors/statics.color.interface'; | ||
export * from './lib/scripts/statics/fonts/statics.font.interface'; |
@@ -1,2 +0,31 @@ | ||
export * from './bundle'; | ||
export * from './lib/scripts/core/services/array/core-services-array.service'; | ||
export * from './lib/scripts/core/services/attachment/core-services-attachment.service'; | ||
export * from './lib/scripts/core/services/browser/core-services-browser.service'; | ||
export * from './lib/scripts/core/services/combobox/core-services-combobox.service'; | ||
export * from './lib/scripts/core/services/date/core-services-date.service'; | ||
export * from './lib/scripts/core/services/data/core-services-data.service'; | ||
export * from './lib/scripts/core/services/elements/core-services-elements.service'; | ||
export * from './lib/scripts/core/services/image/core-services-image.service'; | ||
export * from './lib/scripts/core/services/input/core-services-input.service'; | ||
export * from './lib/scripts/core/services/internationalization/core-services-internationalization.service'; | ||
export * from './lib/scripts/core/services/number/core-services-number.service'; | ||
export * from './lib/scripts/core/services/string/core-services-string.service'; | ||
export * from './lib/scripts/core/services/url/core-services-url.service'; | ||
export * from './lib/scripts/services/export/excel/services-export-excel.service'; | ||
export * from './lib/scripts/statics/alignment/statics.alignment.static'; | ||
export * from './lib/scripts/statics/colors/statics.color.static'; | ||
export * from './lib/scripts/statics/fonts/statics.font.static'; | ||
export * from './lib/scripts/core/services/browser/core-services-browser.interface'; | ||
export * from './lib/scripts/core/services/combobox/core-services-combobox.interface'; | ||
export * from './lib/scripts/core/services/date/core-services-date.interface'; | ||
export * from './lib/scripts/core/services/elements/core-services-elements.interface'; | ||
export * from './lib/scripts/core/services/input/core-services-input.interface'; | ||
export * from './lib/scripts/core/services/internationalization/core-services-internationalization.interface'; | ||
export * from './lib/scripts/core/services/menu/core-services-menu.interfaces'; | ||
export * from './lib/scripts/core/services/number/core-services-number-interface'; | ||
export * from './lib/scripts/core/services/string/core-services-string-interface'; | ||
export * from './lib/scripts/services/export/excel/services-export-excel.interface'; | ||
export * from './lib/scripts/statics/alignment/statics.alignment.interface'; | ||
export * from './lib/scripts/statics/colors/statics.color.interface'; | ||
export * from './lib/scripts/statics/fonts/statics.font.interface'; | ||
//# sourceMappingURL=index.js.map |
@@ -0,0 +0,0 @@ declare class Remove { |
@@ -0,0 +0,0 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { |
@@ -0,0 +0,0 @@ export interface IAttachmentData { |
export {}; | ||
//# sourceMappingURL=core-services-attachment.interface.js.map |
@@ -0,0 +0,0 @@ import { IAttachmentData, IAttachmentFileInfo } from './core-services-attachment.interface'; |
@@ -0,0 +0,0 @@ class Convert { |
@@ -0,0 +0,0 @@ export interface IFullscreenResult { |
export {}; | ||
//# sourceMappingURL=core-services-browser.interface.js.map |
@@ -0,0 +0,0 @@ import { IFullScreenAlt, IFullScreenSrc, IMenuButton } from '../menu/core-services-menu.interfaces'; |
@@ -0,0 +0,0 @@ import * as screenfull from 'screenfull'; |
@@ -0,0 +0,0 @@ export interface IComboBoxData { |
export {}; | ||
//# sourceMappingURL=core-services-combobox.interface.js.map |
@@ -0,0 +0,0 @@ import { IComboBoxData } from './core-services-combobox.interface'; |
@@ -0,0 +0,0 @@ import { ElementRemove } from '../elements/core-services-elements.service'; |
@@ -0,0 +0,0 @@ declare class Converter { |
@@ -0,0 +0,0 @@ class Converter { |
@@ -0,0 +0,0 @@ import { MomentInput, unitOfTime } from 'moment/moment'; |
export {}; | ||
//# sourceMappingURL=core-services-date.interface.js.map |
@@ -0,0 +0,0 @@ import { IDate, IDateLocal, IDayMonthYear, IDaysOfMonth, IWeeksOfMonth } from './core-services-date.interface'; |
@@ -0,0 +0,0 @@ import * as moment from 'moment'; |
export declare type TFields = HTMLInputElement | HTMLDivElement | HTMLTextAreaElement | HTMLSpanElement | null; |
export {}; | ||
//# sourceMappingURL=core-services-elements.interface.js.map |
@@ -0,0 +0,0 @@ import { TFields } from './core-services-elements.interface'; |
@@ -0,0 +0,0 @@ import { DateValidation } from '../date/core-services-date.service'; |
@@ -0,0 +0,0 @@ export interface IImageUpdate { |
export {}; | ||
//# sourceMappingURL=core-services-image.interface.js.map |
@@ -0,0 +0,0 @@ import { IImageUpdate } from './core-services-image.interface'; |
@@ -0,0 +0,0 @@ class Resize { |
@@ -0,0 +0,0 @@ export interface IInputMaskOptions { |
export {}; | ||
//# sourceMappingURL=core-services-input.interface.js.map |
@@ -0,0 +0,0 @@ import { TDecimalSeparators } from '../number/core-services-number-interface'; |
@@ -1,2 +0,2 @@ | ||
import Inputmask from 'inputmask'; | ||
const Inputmask = require('inputmask/dist/inputmask.min'); | ||
class Mask { | ||
@@ -3,0 +3,0 @@ currency(field, type = 'currency', currencySymbol = 'R$') { |
@@ -0,0 +0,0 @@ export interface IInternationalizationList { |
export {}; | ||
//# sourceMappingURL=core-services-internationalization.interface.js.map |
@@ -0,0 +0,0 @@ import { IInternationalizationList, TCountryLanguage, TCountryName, TCurrencyCode, TCurrentFullName } from './core-services-internationalization.interface'; |
@@ -0,0 +0,0 @@ class Core { |
@@ -0,0 +0,0 @@ export interface IMenuButton { |
export {}; | ||
//# sourceMappingURL=core-services-menu.interfaces.js.map |
export declare type TCurrencySymbolTypes = 'Ar$' | 'R$' | '€' | 'US$'; | ||
export declare type TDecimalSeparators = '.' | ','; |
export {}; | ||
//# sourceMappingURL=core-services-number-interface.js.map |
@@ -0,0 +0,0 @@ import { Decimal } from 'decimal.js'; |
@@ -0,0 +0,0 @@ import { Decimal } from 'decimal.js'; |
export declare type TCurrencyNames = 'euro' | 'dolar' | 'real' | 'peso' | 'peso-ar' | 'pounds-sterling' | 'canadian-dollars' | 'yuan' | 'rupee' | 'yen'; |
export {}; | ||
//# sourceMappingURL=core-services-string-interface.js.map |
@@ -0,0 +0,0 @@ import { TCurrencyNames } from './core-services-string-interface'; |
@@ -0,0 +0,0 @@ import { UrlDecode } from '../url/core-services-url.service'; |
@@ -0,0 +0,0 @@ declare class Core { |
@@ -0,0 +0,0 @@ class Core { |
@@ -0,0 +0,0 @@ export declare type TExcelFileName = string | null; |
export {}; | ||
//# sourceMappingURL=services-export-excel.interface.js.map |
@@ -10,6 +10,6 @@ import { Subject } from 'rxjs'; | ||
status$: Subject<string>; | ||
private static saveFile; | ||
private static saveFileFromMultiple; | ||
exportDatabase(userData: any[], sheetName: string, fileName: string): Promise<string>; | ||
exportMultipleDatabase(data: IArrayMatrixToExcel[], fileName?: TExcelFileName): Promise<string>; | ||
private static saveFile; | ||
private static saveFileFromMultiple; | ||
private exportExcel; | ||
@@ -16,0 +16,0 @@ private clearSubject; |
@@ -11,5 +11,5 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
import { Subject } from 'rxjs'; | ||
import * as Excel from 'xlsx'; | ||
import { DateGet } from '../../../core/services/date/core-services-date.service'; | ||
import { DataConversor } from '../../../core/services/data/core-services-data.service'; | ||
const Excel = require('xlsx/dist/xlsx.mini.min'); | ||
class Core { | ||
@@ -66,19 +66,2 @@ excelFileToJson(file, sheet = 0) { | ||
} | ||
exportDatabase(userData, sheetName, fileName) { | ||
const single = { userData, fileName, sheetName }; | ||
const multiple = { | ||
data: [], | ||
fileName: '' | ||
}; | ||
return this.exportExcel('Single', single, multiple); | ||
} | ||
exportMultipleDatabase(data, fileName = null) { | ||
const single = { | ||
userData: [], | ||
fileName: '', | ||
sheetName: '' | ||
}; | ||
const multiple = { data, fileName }; | ||
return this.exportExcel('Multiple', single, multiple); | ||
} | ||
static saveFile(content, sheetName, _fileName = null) { | ||
@@ -112,2 +95,19 @@ return __awaiter(this, void 0, void 0, function* () { | ||
} | ||
exportDatabase(userData, sheetName, fileName) { | ||
const single = { userData, fileName, sheetName }; | ||
const multiple = { | ||
data: [], | ||
fileName: '' | ||
}; | ||
return this.exportExcel('Single', single, multiple); | ||
} | ||
exportMultipleDatabase(data, fileName = null) { | ||
const single = { | ||
userData: [], | ||
fileName: '', | ||
sheetName: '' | ||
}; | ||
const multiple = { data, fileName }; | ||
return this.exportExcel('Multiple', single, multiple); | ||
} | ||
exportExcel(type, singleData, multipleData) { | ||
@@ -114,0 +114,0 @@ return __awaiter(this, void 0, void 0, function* () { |
@@ -0,0 +0,0 @@ export interface IAlignments { |
export {}; | ||
//# sourceMappingURL=statics.alignment.interface.js.map |
@@ -0,0 +0,0 @@ import { IAlignments } from './statics.alignment.interface'; |
@@ -0,0 +0,0 @@ class Core { |
@@ -0,0 +0,0 @@ export interface IColors { |
export {}; | ||
//# sourceMappingURL=statics.color.interface.js.map |
@@ -0,0 +0,0 @@ import { IColors } from './statics.color.interface'; |
@@ -0,0 +0,0 @@ class Core { |
@@ -0,0 +0,0 @@ export interface IFonts { |
export {}; | ||
//# sourceMappingURL=statics.font.interface.js.map |
@@ -0,0 +0,0 @@ import { IFonts } from './statics.font.interface'; |
@@ -0,0 +0,0 @@ class Core { |
{ | ||
"name": "gl-w-frontend", | ||
"version": "4.1.6", | ||
"version": "4.1.7", | ||
"description": "Common code for using among web front-end development such as ES6+ and TypeScript", | ||
@@ -5,0 +5,0 @@ "main": "lib/bundle.js", |
@@ -0,0 +0,0 @@ # gl-w-frontend # |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
507073
200
7996
0