tin-spa 20.4.6 → 20.4.8
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/fesm2022/tin-spa.mjs +910 -211
- package/fesm2022/tin-spa.mjs.map +1 -1
- package/index.d.ts +40 -15
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -796,11 +796,11 @@ type TileStyle = 'basic' | 'icon' | 'chart';
|
|
|
796
796
|
type TileChartType = 'line' | 'bar' | 'pie' | 'doughnut';
|
|
797
797
|
interface TileChartConfig {
|
|
798
798
|
type: TileChartType;
|
|
799
|
-
dataField
|
|
799
|
+
dataField?: string;
|
|
800
|
+
data?: any;
|
|
800
801
|
color?: string;
|
|
801
802
|
colors?: string[];
|
|
802
803
|
height?: number;
|
|
803
|
-
showLegend?: boolean;
|
|
804
804
|
gaugeValue?: number;
|
|
805
805
|
gaugeColor?: string;
|
|
806
806
|
}
|
|
@@ -832,10 +832,6 @@ declare class TileConfig {
|
|
|
832
832
|
headerPosition?: 'top' | 'middle';
|
|
833
833
|
}
|
|
834
834
|
type SpaChartType = 'line' | 'bar' | 'pie' | 'doughnut';
|
|
835
|
-
interface ChartLegendItem {
|
|
836
|
-
label: string;
|
|
837
|
-
color: string;
|
|
838
|
-
}
|
|
839
835
|
interface ChartItem {
|
|
840
836
|
name: string;
|
|
841
837
|
title?: string;
|
|
@@ -848,7 +844,6 @@ interface ChartItem {
|
|
|
848
844
|
colors?: string[];
|
|
849
845
|
height?: string;
|
|
850
846
|
showLegend?: boolean;
|
|
851
|
-
legend?: ChartLegendItem[];
|
|
852
847
|
showPoints?: boolean;
|
|
853
848
|
tension?: number;
|
|
854
849
|
gaugeValue?: number;
|
|
@@ -1113,6 +1108,7 @@ declare class DataServiceLib {
|
|
|
1113
1108
|
capStandingOrders: CapItem;
|
|
1114
1109
|
capFixedAssets: CapItem;
|
|
1115
1110
|
capFixedAssetCategories: CapItem;
|
|
1111
|
+
capCurrencies: CapItem;
|
|
1116
1112
|
capTransactionTypes: CapItem;
|
|
1117
1113
|
capTransactions: CapItem;
|
|
1118
1114
|
capAccountingInvoices: CapItem;
|
|
@@ -1145,6 +1141,8 @@ declare class DataServiceLib {
|
|
|
1145
1141
|
capSalesDashboard: CapItem;
|
|
1146
1142
|
capPurchasingDashboard: CapItem;
|
|
1147
1143
|
capSupplierAging: CapItem;
|
|
1144
|
+
capInvoiceDashboard: CapItem;
|
|
1145
|
+
capPayrollDashboard: CapItem;
|
|
1148
1146
|
tmpProfileuserName: string;
|
|
1149
1147
|
isProcessing: boolean;
|
|
1150
1148
|
departmentFormConfig: FormConfig;
|
|
@@ -2186,10 +2184,11 @@ declare class TilesComponent implements OnInit {
|
|
|
2186
2184
|
clicked(clickedTile: Tile): void;
|
|
2187
2185
|
pop(x: any): void;
|
|
2188
2186
|
isHidden(tile: Tile): boolean;
|
|
2187
|
+
isTileValuePrimitive(tile: Tile): boolean;
|
|
2188
|
+
hasTileChartData(tile: Tile): boolean;
|
|
2189
2189
|
getTileMiniChartData(tile: Tile): ChartData;
|
|
2190
|
-
miniChartOptions: ChartOptions;
|
|
2191
|
-
miniGaugeOptions: any;
|
|
2192
2190
|
getMiniChartOptions(tile: Tile): ChartOptions;
|
|
2191
|
+
getTileChartPlugins(tile: Tile): Plugin[];
|
|
2193
2192
|
static ɵfac: i0.ɵɵFactoryDeclaration<TilesComponent, never>;
|
|
2194
2193
|
static ɵcmp: i0.ɵɵComponentDeclaration<TilesComponent, "spa-tiles", never, { "config": { "alias": "config"; "required": false; }; "lastSearch": { "alias": "lastSearch"; "required": false; }; "data": { "alias": "data"; "required": false; }; "reload": { "alias": "reload"; "required": false; }; }, { "tileActionSelected": "tileActionSelected"; "tileClick": "tileClick"; "tileUnClick": "tileUnClick"; }, never, never, false, never>;
|
|
2195
2194
|
}
|
|
@@ -4256,9 +4255,7 @@ declare class AccountsComponent implements OnInit {
|
|
|
4256
4255
|
accountingService: AccountingService;
|
|
4257
4256
|
constructor(dataServiceLib: DataServiceLib, accountingService: AccountingService);
|
|
4258
4257
|
ngOnInit(): void;
|
|
4259
|
-
loadSummaryData(): void;
|
|
4260
4258
|
accountTabConfigs: TableConfig[];
|
|
4261
|
-
summaryData: any;
|
|
4262
4259
|
accountTileConfig: TileConfig;
|
|
4263
4260
|
static ɵfac: i0.ɵɵFactoryDeclaration<AccountsComponent, never>;
|
|
4264
4261
|
static ɵcmp: i0.ɵɵComponentDeclaration<AccountsComponent, "spa-accounts", never, {}, {}, never, never, false, never>;
|
|
@@ -4470,6 +4467,7 @@ declare class InventoryTransactionsComponent implements OnInit {
|
|
|
4470
4467
|
|
|
4471
4468
|
declare class InventoryDashboardComponent {
|
|
4472
4469
|
summaryTiles: TileConfig;
|
|
4470
|
+
chartTiles: TileConfig;
|
|
4473
4471
|
chartConfig: ChartConfig;
|
|
4474
4472
|
static ɵfac: i0.ɵɵFactoryDeclaration<InventoryDashboardComponent, never>;
|
|
4475
4473
|
static ɵcmp: i0.ɵɵComponentDeclaration<InventoryDashboardComponent, "spa-inventory-dashboard", never, {}, {}, never, never, false, never>;
|
|
@@ -4522,7 +4520,6 @@ declare class PreferencesComponent implements OnInit {
|
|
|
4522
4520
|
ngOnInit(): void;
|
|
4523
4521
|
loadPreferences(): void;
|
|
4524
4522
|
onSubmit(): void;
|
|
4525
|
-
currencyOptions: any[];
|
|
4526
4523
|
monthOptions: any[];
|
|
4527
4524
|
dayOptions: any[];
|
|
4528
4525
|
static ɵfac: i0.ɵɵFactoryDeclaration<PreferencesComponent, never>;
|
|
@@ -4598,6 +4595,7 @@ declare class BudgetVsActualComponent {
|
|
|
4598
4595
|
|
|
4599
4596
|
declare class AccountingDashboardComponent {
|
|
4600
4597
|
summaryTiles: TileConfig;
|
|
4598
|
+
chartTiles: TileConfig;
|
|
4601
4599
|
chartConfig: ChartConfig;
|
|
4602
4600
|
static ɵfac: i0.ɵɵFactoryDeclaration<AccountingDashboardComponent, never>;
|
|
4603
4601
|
static ɵcmp: i0.ɵɵComponentDeclaration<AccountingDashboardComponent, "spa-accounting-dashboard", never, {}, {}, never, never, false, never>;
|
|
@@ -4605,6 +4603,7 @@ declare class AccountingDashboardComponent {
|
|
|
4605
4603
|
|
|
4606
4604
|
declare class SalesDashboardComponent {
|
|
4607
4605
|
summaryTiles: TileConfig;
|
|
4606
|
+
chartTiles: TileConfig;
|
|
4608
4607
|
chartConfig: ChartConfig;
|
|
4609
4608
|
static ɵfac: i0.ɵɵFactoryDeclaration<SalesDashboardComponent, never>;
|
|
4610
4609
|
static ɵcmp: i0.ɵɵComponentDeclaration<SalesDashboardComponent, "spa-sales-dashboard", never, {}, {}, never, never, false, never>;
|
|
@@ -4612,6 +4611,7 @@ declare class SalesDashboardComponent {
|
|
|
4612
4611
|
|
|
4613
4612
|
declare class PurchasingDashboardComponent {
|
|
4614
4613
|
summaryTiles: TileConfig;
|
|
4614
|
+
chartTiles: TileConfig;
|
|
4615
4615
|
chartConfig: ChartConfig;
|
|
4616
4616
|
static ɵfac: i0.ɵɵFactoryDeclaration<PurchasingDashboardComponent, never>;
|
|
4617
4617
|
static ɵcmp: i0.ɵɵComponentDeclaration<PurchasingDashboardComponent, "spa-purchasing-dashboard", never, {}, {}, never, never, false, never>;
|
|
@@ -4619,11 +4619,36 @@ declare class PurchasingDashboardComponent {
|
|
|
4619
4619
|
|
|
4620
4620
|
declare class OverviewDashboardComponent {
|
|
4621
4621
|
summaryTiles: TileConfig;
|
|
4622
|
+
chartTiles: TileConfig;
|
|
4622
4623
|
chartConfig: ChartConfig;
|
|
4623
4624
|
static ɵfac: i0.ɵɵFactoryDeclaration<OverviewDashboardComponent, never>;
|
|
4624
4625
|
static ɵcmp: i0.ɵɵComponentDeclaration<OverviewDashboardComponent, "spa-overview-dashboard", never, {}, {}, never, never, false, never>;
|
|
4625
4626
|
}
|
|
4626
4627
|
|
|
4628
|
+
declare class InvoiceDashboardComponent implements OnInit {
|
|
4629
|
+
private dataService;
|
|
4630
|
+
constructor(dataService: DataServiceLib);
|
|
4631
|
+
attentionItems: any[];
|
|
4632
|
+
summaryTiles: TileConfig;
|
|
4633
|
+
chartTiles: TileConfig;
|
|
4634
|
+
chartConfig: ChartConfig;
|
|
4635
|
+
ngOnInit(): void;
|
|
4636
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InvoiceDashboardComponent, never>;
|
|
4637
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InvoiceDashboardComponent, "spa-invoice-dashboard", never, {}, {}, never, never, false, never>;
|
|
4638
|
+
}
|
|
4639
|
+
|
|
4640
|
+
declare class PayrollDashboardComponent implements OnInit {
|
|
4641
|
+
private dataService;
|
|
4642
|
+
constructor(dataService: DataServiceLib);
|
|
4643
|
+
recentRuns: any[];
|
|
4644
|
+
summaryTiles: TileConfig;
|
|
4645
|
+
chartTiles: TileConfig;
|
|
4646
|
+
chartConfig: ChartConfig;
|
|
4647
|
+
ngOnInit(): void;
|
|
4648
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PayrollDashboardComponent, never>;
|
|
4649
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PayrollDashboardComponent, "spa-payroll-dashboard", never, {}, {}, never, never, false, never>;
|
|
4650
|
+
}
|
|
4651
|
+
|
|
4627
4652
|
declare class FeaturesComponent {
|
|
4628
4653
|
private authService;
|
|
4629
4654
|
formConfig: FormConfig;
|
|
@@ -4701,7 +4726,7 @@ declare class AdminRoutingModule {
|
|
|
4701
4726
|
|
|
4702
4727
|
declare class AdminModule {
|
|
4703
4728
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdminModule, never>;
|
|
4704
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AdminModule, [typeof AccountsComponent, typeof AggregatesComponent, typeof AgingComponent, typeof SupplierAgingComponent, typeof TransactionTypesComponent, typeof TransactionsComponent, typeof InvoicesComponent, typeof StatementComponent, typeof ReportsComponent, typeof ProductsComponent, typeof InventoryItemsComponent, typeof PurchaseOrdersComponent, typeof InventoryReceiptsComponent, typeof RequisitionsComponent, typeof SalesOrdersComponent, typeof SalesComponent, typeof InventoryAdjustmentsComponent, typeof InventoryReturnsComponent, typeof InventoryTransactionsComponent, typeof InventoryDashboardComponent, typeof InventoryStockComponent, typeof ProductionRecipesComponent, typeof ProductionOrdersComponent, typeof BundleProductsComponent, typeof ServiceItemsComponent, typeof PreferencesComponent, typeof SalaryStructuresComponent, typeof StatutoryDeductionsComponent, typeof PayrollRunsComponent, typeof CommissionConfigsComponent, typeof CommissionEntriesComponent, typeof SalaryAdvancesComponent, typeof OvertimeEntriesComponent, typeof BudgetsComponent, typeof BudgetVsActualComponent, typeof AccountingDashboardComponent, typeof SalesDashboardComponent, typeof PurchasingDashboardComponent, typeof OverviewDashboardComponent, typeof FeaturesComponent, typeof PlanFeaturesComponent, typeof SubscriptionPageComponent, typeof BillingPageComponent], [typeof i1.CommonModule, typeof AdminRoutingModule, typeof SpaAdminModule], never>;
|
|
4729
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AdminModule, [typeof AccountsComponent, typeof AggregatesComponent, typeof AgingComponent, typeof SupplierAgingComponent, typeof TransactionTypesComponent, typeof TransactionsComponent, typeof InvoicesComponent, typeof StatementComponent, typeof ReportsComponent, typeof ProductsComponent, typeof InventoryItemsComponent, typeof PurchaseOrdersComponent, typeof InventoryReceiptsComponent, typeof RequisitionsComponent, typeof SalesOrdersComponent, typeof SalesComponent, typeof InventoryAdjustmentsComponent, typeof InventoryReturnsComponent, typeof InventoryTransactionsComponent, typeof InventoryDashboardComponent, typeof InventoryStockComponent, typeof ProductionRecipesComponent, typeof ProductionOrdersComponent, typeof BundleProductsComponent, typeof ServiceItemsComponent, typeof PreferencesComponent, typeof SalaryStructuresComponent, typeof StatutoryDeductionsComponent, typeof PayrollRunsComponent, typeof CommissionConfigsComponent, typeof CommissionEntriesComponent, typeof SalaryAdvancesComponent, typeof OvertimeEntriesComponent, typeof BudgetsComponent, typeof BudgetVsActualComponent, typeof AccountingDashboardComponent, typeof SalesDashboardComponent, typeof PurchasingDashboardComponent, typeof OverviewDashboardComponent, typeof InvoiceDashboardComponent, typeof PayrollDashboardComponent, typeof FeaturesComponent, typeof PlanFeaturesComponent, typeof SubscriptionPageComponent, typeof BillingPageComponent], [typeof i1.CommonModule, typeof AdminRoutingModule, typeof SpaAdminModule], never>;
|
|
4705
4730
|
static ɵinj: i0.ɵɵInjectorDeclaration<AdminModule>;
|
|
4706
4731
|
}
|
|
4707
4732
|
|
|
@@ -4724,5 +4749,5 @@ declare class CurrenciesComponent {
|
|
|
4724
4749
|
static ɵcmp: i0.ɵɵComponentDeclaration<CurrenciesComponent, "spa-currencies", never, {}, {}, never, never, true, never>;
|
|
4725
4750
|
}
|
|
4726
4751
|
|
|
4727
|
-
export { Account, AccountsComponent as AccountingAccountsComponent, AggregatesComponent as AccountingAggregatesComponent, AgingComponent as AccountingAgingComponent, CurrenciesComponent as AccountingCurrenciesComponent, AccountingDashboardComponent, InvoicesComponent as AccountingInvoicesComponent, ReportsComponent as AccountingReportsComponent, AccountingService, StatementComponent as AccountingStatementComponent, TransactionTypesComponent as AccountingTransactionTypesComponent, TransactionsComponent as AccountingTransactionsComponent, Action, ActivityComponent, AdminModule, AlertComponent, AlertConfig, AlertMessage, ApiResponse, AppConfig, AppModelsComponent, AssetStatus, AttachComponent, AuthService, BillingPageComponent, BrandsComponent, CacheConfig, CapItem, CapsulesComponent, CategoriesComponent, ChangePasswordComponent, ChangeUserPassword, ChartConfig, ChartsComponent, CheckComponent, ChipsComponent, Constants, Core, CreateAccountComponent, CustomersComponent, DataServiceLib, DateComponent, DatetimeComponent, DepartmentsComponent, DetailsDialog, DetailsDialogConfig, DetailsDialogProcessor, DetailsSource, DialogService, EmailComponent, EmployeesComponent, ExportService, FeatureDirective, FilterComponent, FormComponent, FormConfig, GeneralService, GradesComponent, GroupsComponent, HtmlComponent, HttpService, IndexModule, InventoryDashboardComponent, InventoryReceiptStatus, InventoryService, InvoiceItemType, InvoiceStatus, LabelComponent, ListDialogComponent, ListDialogConfig, LoaderComponent, LoaderService, LoanPaymentsComponent, LoanProductsComponent, LoansComponent, LoansService, LogLevel, LogService, LoginComponent, LogsComponent, MembershipComponent, MessageService, MoneyComponent, MovementType, NavMenuComponent, NotesComponent, NotesConfig, NotificationsService, NumberComponent, OnboardingComponent, OptionComponent, OverviewDashboardComponent, PageComponent, PageConfig, PlansComponent, PositionsComponent, PreferencesComponent, PrivacyDialogComponent, Profile, ProfileComponent, PurchasingDashboardComponent, PushNotificationService, RecoverAccountComponent, Register, Role, RoleAccess, RolesComponent, SalesDashboardComponent, SearchComponent, SearchConfig, SecurityConfig, SelectBitwiseComponent, SelectComponent, SelectLiteComponent, SelectMultiComponent, SettingsComponent, SignupComponent, SignupData, SpaAdminModule, SpaIndexModule, SpaMatModule, SpaUserModule, StatusesComponent, Step, StepConfig, StepsComponent, StorageService, SubCategoriesComponent, SubscriptionPageComponent, SubscriptionService, SuppliersComponent, TabService, TableComponent, TableConfig, TabsComponent, TabsInternalComponent, TabsLiteComponent, TasksComponent, TenantsComponent, TermsDialogComponent, TextAreaComponent, TextComponent, TextMaskComponent, TextMultiComponent, TextSingleComponent, TileConfig, TilesComponent, TinSpaComponent, TinSpaModule, TinSpaService, TitleActionsComponent, TransactionTiming, UnitOfMeasure, UpdateService, User, UserModule, UsersComponent, ViewerComponent, WelcomeComponent, authGuard, dialogOptions, featureGuard, loginConfig, messageDialog, viewerDialog };
|
|
4728
|
-
export type { AutoRefreshConfig, BitwiseOption, Button, CacheRule, CapsuleConfig, CardConfig, ChartItem,
|
|
4752
|
+
export { Account, AccountsComponent as AccountingAccountsComponent, AggregatesComponent as AccountingAggregatesComponent, AgingComponent as AccountingAgingComponent, CurrenciesComponent as AccountingCurrenciesComponent, AccountingDashboardComponent, InvoicesComponent as AccountingInvoicesComponent, ReportsComponent as AccountingReportsComponent, AccountingService, StatementComponent as AccountingStatementComponent, TransactionTypesComponent as AccountingTransactionTypesComponent, TransactionsComponent as AccountingTransactionsComponent, Action, ActivityComponent, AdminModule, AlertComponent, AlertConfig, AlertMessage, ApiResponse, AppConfig, AppModelsComponent, AssetStatus, AttachComponent, AuthService, BillingPageComponent, BrandsComponent, CacheConfig, CapItem, CapsulesComponent, CategoriesComponent, ChangePasswordComponent, ChangeUserPassword, ChartConfig, ChartsComponent, CheckComponent, ChipsComponent, Constants, Core, CreateAccountComponent, CustomersComponent, DataServiceLib, DateComponent, DatetimeComponent, DepartmentsComponent, DetailsDialog, DetailsDialogConfig, DetailsDialogProcessor, DetailsSource, DialogService, EmailComponent, EmployeesComponent, ExportService, FeatureDirective, FilterComponent, FormComponent, FormConfig, GeneralService, GradesComponent, GroupsComponent, HtmlComponent, HttpService, IndexModule, InventoryDashboardComponent, InventoryReceiptStatus, InventoryService, InvoiceDashboardComponent, InvoiceItemType, InvoiceStatus, LabelComponent, ListDialogComponent, ListDialogConfig, LoaderComponent, LoaderService, LoanPaymentsComponent, LoanProductsComponent, LoansComponent, LoansService, LogLevel, LogService, LoginComponent, LogsComponent, MembershipComponent, MessageService, MoneyComponent, MovementType, NavMenuComponent, NotesComponent, NotesConfig, NotificationsService, NumberComponent, OnboardingComponent, OptionComponent, OverviewDashboardComponent, PageComponent, PageConfig, PayrollDashboardComponent, PlansComponent, PositionsComponent, PreferencesComponent, PrivacyDialogComponent, Profile, ProfileComponent, PurchasingDashboardComponent, PushNotificationService, RecoverAccountComponent, Register, Role, RoleAccess, RolesComponent, SalesDashboardComponent, SearchComponent, SearchConfig, SecurityConfig, SelectBitwiseComponent, SelectComponent, SelectLiteComponent, SelectMultiComponent, SettingsComponent, SignupComponent, SignupData, SpaAdminModule, SpaIndexModule, SpaMatModule, SpaUserModule, StatusesComponent, Step, StepConfig, StepsComponent, StorageService, SubCategoriesComponent, SubscriptionPageComponent, SubscriptionService, SuppliersComponent, TabService, TableComponent, TableConfig, TabsComponent, TabsInternalComponent, TabsLiteComponent, TasksComponent, TenantsComponent, TermsDialogComponent, TextAreaComponent, TextComponent, TextMaskComponent, TextMultiComponent, TextSingleComponent, TileConfig, TilesComponent, TinSpaComponent, TinSpaModule, TinSpaService, TitleActionsComponent, TransactionTiming, UnitOfMeasure, UpdateService, User, UserModule, UsersComponent, ViewerComponent, WelcomeComponent, authGuard, dialogOptions, featureGuard, loginConfig, messageDialog, viewerDialog };
|
|
4753
|
+
export type { AutoRefreshConfig, BitwiseOption, Button, CacheRule, CapsuleConfig, CardConfig, ChartItem, ChildField, CloseOptions, Color, Column, Confirm, Field, GroupConfig, GroupData, Icon, SearchField, SpaChartType, StatusConfig, StatusItem, StatusState, TableViewType, Tile, TileChartConfig, TileChartType, TileStyle, VisibleTab };
|