sprof 0.0.15 → 0.0.17
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/dist/classes/SortModel.d.ts +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/interfaces/ISortModel.d.ts +1 -1
- package/dist/interfaces/Sort.d.ts +1 -1
- package/dist/services/CreateSortModels.d.ts +1 -1
- package/dist/services/DatesFormatter.d.ts +9 -0
- package/dist/sprof.js +1765 -1728
- package/dist/sprof.umd.cjs +11 -11
- package/dist/types/index.d.ts +2 -0
- package/dist/types/indexNames.d.ts +2 -0
- package/package.json +1 -1
- /package/dist/{interfaces → types}/Orders.d.ts +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -89,6 +89,7 @@ import { default as TopSliderContainer } from './components/TopSliderContainer.v
|
|
|
89
89
|
import { default as UploaderImage } from './components/UploaderImage.vue';
|
|
90
90
|
import { default as servicesNames } from './services/indexNames';
|
|
91
91
|
import { default as servicesStoresNames } from './store/ServicesStoresNames';
|
|
92
|
+
import { default as typesNames } from './types/indexNames';
|
|
92
93
|
declare const servicesComponents: {
|
|
93
94
|
install: (app: {
|
|
94
95
|
component: (a: string, b: unknown) => void;
|
|
@@ -97,4 +98,5 @@ declare const servicesComponents: {
|
|
|
97
98
|
export * from './classes/index';
|
|
98
99
|
export * from './services/index';
|
|
99
100
|
export * from './store/ServicesStores';
|
|
100
|
-
export
|
|
101
|
+
export * from './types/index';
|
|
102
|
+
export { AdaptiveContainer, AdaptiveContainerHorizontal, AdminGallery, ArrowLeft, ArrowRight, AuthForm, AuthModal, AuthPage, CarouselImages, classesNames, CollapseContainer, CollapseItem, ContactForm, ContextWindow, DateInputRange, DateInputRange_v2, DoubleArrowLeft, DoubleArrowRight, DropList, EllipsisSvg, EmailForm, FilterCheckbox, FiltersButtonsSelect, FilterSelect, FTSPPanel, GeneralItem, GridContainer, IconArrowLeft, IconCheckDefault, IconClose, IconDownload, IconEdit, IconEmail, IconFilter, IconMove, IconPhone, IconSearch, IconSelectArrow, ImageCropper, InfoItem, InfoItemSelectButtons, LeftRightContainer, MessageBody, PAdd, PageNotFound, PAutocomplete, PButton, PCheckBox, PContainer, PContainerStickyHead, PDatePicker, PDel, PDialog, PFlex, PhoneForm, PInput, PInputDate, PInputNumber, PLeftSlider, PList, PListItem, PLoader, PModal, PNotification, PPagination, PRadio, PRightSlider, PSelect, PSticky, PString, PTabs, PTextarea, PTopSlider, RemoteSearch, ResearcheContainer, RightSliderContainer, RightTabsContainer, RSContainer, SelectValueType, servicesComponents, servicesNames, servicesStoresNames, SingleNameToggleForm, SortList, SortSelect, Strings, Switch3Pos, ThemeWrapper, ToggleInfoItem, TopSliderContainer, typesNames, UploaderFile, UploaderImage, VerticalCollapseContainer, };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as SortModel } from '../classes/SortModel';
|
|
2
|
-
import { Orders } from '
|
|
2
|
+
import { Orders } from '../types/Orders';
|
|
3
3
|
export type SortModelBuilder = (order?: Orders) => SortModel;
|
|
4
4
|
export interface SortModelBuildersLib {
|
|
5
5
|
[key: string]: SortModelBuilder;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { default as SortModel } from '../classes/SortModel';
|
|
2
|
-
import { Orders } from '../interfaces/Orders';
|
|
3
2
|
import { SortModelBuildersLib } from '../interfaces/Sort';
|
|
3
|
+
import { Orders } from '../types/Orders';
|
|
4
4
|
export default function createSortModels(lib: SortModelBuildersLib, mainOrder?: Orders): SortModel[];
|
|
@@ -17,5 +17,14 @@ export default abstract class DatesFormatter {
|
|
|
17
17
|
locale: string;
|
|
18
18
|
static Format(date?: Date, options?: CustomDateTimeFormatOptions): string;
|
|
19
19
|
static FromRuStr(value: string): Date;
|
|
20
|
+
static GetPeriod(start: Date, end: Date, options?: CustomDateTimeFormatOptions): string;
|
|
21
|
+
static GetShortDayName(date?: Date): string;
|
|
22
|
+
static GetCurrentWeekPeriod(options?: CustomDateTimeFormatOptions): string;
|
|
23
|
+
static GetDurationInDay(time1: string, time2: string): number;
|
|
24
|
+
static HourTimeinMunutes(time: string): number;
|
|
25
|
+
static SplitHourTime(time: string): number[];
|
|
26
|
+
static AddMinutesToHM(hm: string, minutes: number): string;
|
|
27
|
+
static GetMonthsDiff(dateFrom: Date, dateTo: Date): number;
|
|
28
|
+
static StringToDate(value: string): Date;
|
|
20
29
|
}
|
|
21
30
|
export {};
|