@doyosi/laraisy 1.0.2 → 1.0.3
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/LICENSE +1 -1
- package/package.json +1 -1
- package/src/CodeInput.js +48 -48
- package/src/DSAlert.js +352 -352
- package/src/DSAvatar.js +207 -207
- package/src/DSDelete.js +274 -274
- package/src/DSForm.js +568 -568
- package/src/DSGridOrTable.js +453 -453
- package/src/DSLocaleSwitcher.js +239 -239
- package/src/DSLogout.js +293 -293
- package/src/DSNotifications.js +365 -365
- package/src/DSRestore.js +181 -181
- package/src/DSSelect.js +1071 -1071
- package/src/DSSelectBox.js +563 -563
- package/src/DSSimpleSlider.js +517 -517
- package/src/DSSvgFetch.js +69 -69
- package/src/DSTable/DSTableExport.js +68 -68
- package/src/DSTable/DSTableFilter.js +224 -224
- package/src/DSTable/DSTablePagination.js +136 -136
- package/src/DSTable/DSTableSearch.js +40 -40
- package/src/DSTable/DSTableSelection.js +192 -192
- package/src/DSTable/DSTableSort.js +58 -58
- package/src/DSTable.js +353 -353
- package/src/DSTabs.js +488 -488
- package/src/DSUpload.js +887 -887
- package/dist/CodeInput.d.ts +0 -10
- package/dist/DSAlert.d.ts +0 -112
- package/dist/DSAvatar.d.ts +0 -45
- package/dist/DSDelete.d.ts +0 -61
- package/dist/DSForm.d.ts +0 -151
- package/dist/DSGridOrTable/DSGOTRenderer.d.ts +0 -60
- package/dist/DSGridOrTable/DSGOTViewToggle.d.ts +0 -26
- package/dist/DSGridOrTable.d.ts +0 -296
- package/dist/DSLocaleSwitcher.d.ts +0 -71
- package/dist/DSLogout.d.ts +0 -76
- package/dist/DSNotifications.d.ts +0 -54
- package/dist/DSRestore.d.ts +0 -56
- package/dist/DSSelect.d.ts +0 -221
- package/dist/DSSelectBox.d.ts +0 -123
- package/dist/DSSimpleSlider.d.ts +0 -136
- package/dist/DSSvgFetch.d.ts +0 -17
- package/dist/DSTable/DSTableExport.d.ts +0 -11
- package/dist/DSTable/DSTableFilter.d.ts +0 -40
- package/dist/DSTable/DSTablePagination.d.ts +0 -12
- package/dist/DSTable/DSTableSearch.d.ts +0 -8
- package/dist/DSTable/DSTableSelection.d.ts +0 -46
- package/dist/DSTable/DSTableSort.d.ts +0 -8
- package/dist/DSTable.d.ts +0 -116
- package/dist/DSTabs.d.ts +0 -156
- package/dist/DSUpload.d.ts +0 -220
- package/dist/index.d.ts +0 -17
package/dist/DSSelect.d.ts
DELETED
|
@@ -1,221 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* DSSelect
|
|
3
|
-
*
|
|
4
|
-
* A comprehensive searchable select component with:
|
|
5
|
-
* - Static options, JSON data, and Axios remote fetching
|
|
6
|
-
* - Single and multiple selection modes
|
|
7
|
-
* - Laravel old/current/default value support
|
|
8
|
-
* - Full event system
|
|
9
|
-
* - Multiple instances support
|
|
10
|
-
*/
|
|
11
|
-
export class DSSelect {
|
|
12
|
-
static instances: Map<any, any>;
|
|
13
|
-
static instanceCounter: number;
|
|
14
|
-
/**
|
|
15
|
-
* Default Icons
|
|
16
|
-
*/
|
|
17
|
-
static icons: {
|
|
18
|
-
search: string;
|
|
19
|
-
chevron: string;
|
|
20
|
-
close: string;
|
|
21
|
-
loading: string;
|
|
22
|
-
check: string;
|
|
23
|
-
clear: string;
|
|
24
|
-
};
|
|
25
|
-
/**
|
|
26
|
-
* Default configuration
|
|
27
|
-
*/
|
|
28
|
-
static defaults: {
|
|
29
|
-
options: any[];
|
|
30
|
-
axiosUrl: any;
|
|
31
|
-
axiosMethod: string;
|
|
32
|
-
axiosParams: {};
|
|
33
|
-
axiosSearchParam: string;
|
|
34
|
-
axiosDataPath: string;
|
|
35
|
-
valueKey: string;
|
|
36
|
-
labelKey: string;
|
|
37
|
-
multiple: boolean;
|
|
38
|
-
maxSelections: any;
|
|
39
|
-
searchable: boolean;
|
|
40
|
-
searchMinLength: number;
|
|
41
|
-
searchDebounce: number;
|
|
42
|
-
placeholder: string;
|
|
43
|
-
searchPlaceholder: string;
|
|
44
|
-
noResultsText: string;
|
|
45
|
-
loadingText: string;
|
|
46
|
-
clearable: boolean;
|
|
47
|
-
disabled: boolean;
|
|
48
|
-
closeOnSelect: boolean;
|
|
49
|
-
openOnFocus: boolean;
|
|
50
|
-
maxHeight: string;
|
|
51
|
-
wrapperClass: string;
|
|
52
|
-
inputClass: string;
|
|
53
|
-
dropdownClass: string;
|
|
54
|
-
optionClass: string;
|
|
55
|
-
translations: {
|
|
56
|
-
noResults: string;
|
|
57
|
-
loading: string;
|
|
58
|
-
maxSelected: string;
|
|
59
|
-
};
|
|
60
|
-
};
|
|
61
|
-
/**
|
|
62
|
-
* Static factory method
|
|
63
|
-
*/
|
|
64
|
-
static create(selector: any, config?: {}): DSSelect;
|
|
65
|
-
/**
|
|
66
|
-
* Get instance by element
|
|
67
|
-
*/
|
|
68
|
-
static getInstance(element: any): any;
|
|
69
|
-
/**
|
|
70
|
-
* Auto-initialize all elements with [data-ds-select]
|
|
71
|
-
*/
|
|
72
|
-
static initAll(selector?: string): void;
|
|
73
|
-
/**
|
|
74
|
-
* @param {string|HTMLElement} selector - Container element or selector
|
|
75
|
-
* @param {Object} config - Configuration options
|
|
76
|
-
*/
|
|
77
|
-
constructor(selector: string | HTMLElement, config?: any);
|
|
78
|
-
instanceId: string;
|
|
79
|
-
wrapper: Element;
|
|
80
|
-
cfg: any;
|
|
81
|
-
_options: any[];
|
|
82
|
-
_filteredOptions: any[];
|
|
83
|
-
_selected: any[];
|
|
84
|
-
_isOpen: boolean;
|
|
85
|
-
_isLoading: boolean;
|
|
86
|
-
_searchTerm: string;
|
|
87
|
-
_highlightedIndex: number;
|
|
88
|
-
_searchTimer: number;
|
|
89
|
-
_listeners: {};
|
|
90
|
-
_boundHandlers: {};
|
|
91
|
-
_buildConfig(userConfig: any): any;
|
|
92
|
-
_parseDataAttributes(): {
|
|
93
|
-
options: any;
|
|
94
|
-
axiosUrl: any;
|
|
95
|
-
axiosMethod: any;
|
|
96
|
-
multiple: boolean;
|
|
97
|
-
placeholder: any;
|
|
98
|
-
searchPlaceholder: any;
|
|
99
|
-
valueKey: any;
|
|
100
|
-
labelKey: any;
|
|
101
|
-
clearable: boolean;
|
|
102
|
-
disabled: boolean;
|
|
103
|
-
maxSelections: number;
|
|
104
|
-
initialValue: any;
|
|
105
|
-
};
|
|
106
|
-
_init(): void;
|
|
107
|
-
_buildDOM(): void;
|
|
108
|
-
_cacheElements(): void;
|
|
109
|
-
elements: {
|
|
110
|
-
hiddenInput: Element;
|
|
111
|
-
control: Element;
|
|
112
|
-
tags: Element;
|
|
113
|
-
search: Element;
|
|
114
|
-
clear: Element;
|
|
115
|
-
loading: Element;
|
|
116
|
-
chevron: Element;
|
|
117
|
-
dropdown: Element;
|
|
118
|
-
options: Element;
|
|
119
|
-
};
|
|
120
|
-
_loadInitialOptions(): void;
|
|
121
|
-
_normalizeOptions(options: any): {
|
|
122
|
-
value: string;
|
|
123
|
-
label: any;
|
|
124
|
-
data: any;
|
|
125
|
-
}[];
|
|
126
|
-
_setInitialValue(): void;
|
|
127
|
-
_bindEvents(): void;
|
|
128
|
-
_onControlClick(e: any): void;
|
|
129
|
-
_onSearchInput(e: any): void;
|
|
130
|
-
_onSearchKeydown(e: any): void;
|
|
131
|
-
_onSearchFocus(): void;
|
|
132
|
-
_onClearClick(e: any): void;
|
|
133
|
-
_onDocumentClick(e: any): void;
|
|
134
|
-
_onOptionClick(e: any): void;
|
|
135
|
-
_performSearch(term: any): void;
|
|
136
|
-
_filterOptions(term: any): void;
|
|
137
|
-
_fetchRemoteOptions(searchTerm?: string): Promise<void>;
|
|
138
|
-
_selectOption(option: any): void;
|
|
139
|
-
_selectValue(value: any, triggerChange?: boolean): boolean;
|
|
140
|
-
_deselectValue(value: any): void;
|
|
141
|
-
_updateUI(): void;
|
|
142
|
-
_updateHiddenInput(): void;
|
|
143
|
-
_updateTags(): void;
|
|
144
|
-
_updateSearchPlaceholder(): void;
|
|
145
|
-
_updateClearButton(): void;
|
|
146
|
-
_renderOptions(): void;
|
|
147
|
-
_highlightNext(): void;
|
|
148
|
-
_highlightPrev(): void;
|
|
149
|
-
_updateHighlight(): void;
|
|
150
|
-
_setLoading(loading: any): void;
|
|
151
|
-
/**
|
|
152
|
-
* Open the dropdown
|
|
153
|
-
*/
|
|
154
|
-
open(): void;
|
|
155
|
-
/**
|
|
156
|
-
* Close the dropdown
|
|
157
|
-
*/
|
|
158
|
-
close(): void;
|
|
159
|
-
/**
|
|
160
|
-
* Toggle dropdown
|
|
161
|
-
*/
|
|
162
|
-
toggle(): void;
|
|
163
|
-
/**
|
|
164
|
-
* Get current value(s)
|
|
165
|
-
*/
|
|
166
|
-
getValue(): any;
|
|
167
|
-
/**
|
|
168
|
-
* Get selected option(s) with full data
|
|
169
|
-
*/
|
|
170
|
-
getSelected(): any[];
|
|
171
|
-
/**
|
|
172
|
-
* Set value(s)
|
|
173
|
-
*/
|
|
174
|
-
setValue(value: any): void;
|
|
175
|
-
/**
|
|
176
|
-
* Clear all selections
|
|
177
|
-
*/
|
|
178
|
-
clear(): void;
|
|
179
|
-
/**
|
|
180
|
-
* Reset to initial value
|
|
181
|
-
*/
|
|
182
|
-
reset(): void;
|
|
183
|
-
/**
|
|
184
|
-
* Add option(s)
|
|
185
|
-
*/
|
|
186
|
-
addOption(option: any): void;
|
|
187
|
-
/**
|
|
188
|
-
* Remove option by value
|
|
189
|
-
*/
|
|
190
|
-
removeOption(value: any): void;
|
|
191
|
-
/**
|
|
192
|
-
* Set options (replace all)
|
|
193
|
-
*/
|
|
194
|
-
setOptions(options: any): void;
|
|
195
|
-
/**
|
|
196
|
-
* Refresh/reload options from remote
|
|
197
|
-
*/
|
|
198
|
-
refresh(): void;
|
|
199
|
-
/**
|
|
200
|
-
* Enable the select
|
|
201
|
-
*/
|
|
202
|
-
enable(): void;
|
|
203
|
-
/**
|
|
204
|
-
* Disable the select
|
|
205
|
-
*/
|
|
206
|
-
disable(): void;
|
|
207
|
-
/**
|
|
208
|
-
* Subscribe to events
|
|
209
|
-
*/
|
|
210
|
-
on(event: any, handler: any): this;
|
|
211
|
-
/**
|
|
212
|
-
* Unsubscribe from events
|
|
213
|
-
*/
|
|
214
|
-
off(event: any, handler: any): this;
|
|
215
|
-
/**
|
|
216
|
-
* Destroy instance
|
|
217
|
-
*/
|
|
218
|
-
destroy(): void;
|
|
219
|
-
_emit(event: any, detail?: {}): void;
|
|
220
|
-
_escapeHtml(str: any): string;
|
|
221
|
-
}
|
package/dist/DSSelectBox.d.ts
DELETED
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* DSSelectBox
|
|
3
|
-
*
|
|
4
|
-
* A dual-list selector component for transferring items between two lists.
|
|
5
|
-
* Supports:
|
|
6
|
-
* - Static options (JSON array/object) or AJAX URL
|
|
7
|
-
* - Bi-directional transfer (left ↔ right)
|
|
8
|
-
* - Search/filter for both lists
|
|
9
|
-
* - Select All and Invert Selection buttons
|
|
10
|
-
* - Event system for selection changes
|
|
11
|
-
*
|
|
12
|
-
* Usage:
|
|
13
|
-
* const selectBox = new DSSelectBox('#container', {
|
|
14
|
-
* availableOptions: [...], // or axiosUrl: '/api/items'
|
|
15
|
-
* selectedOptions: [...], // Pre-selected items
|
|
16
|
-
* valueKey: 'id',
|
|
17
|
-
* labelKey: 'name',
|
|
18
|
-
* onChange: (selected) => console.log(selected)
|
|
19
|
-
* });
|
|
20
|
-
*/
|
|
21
|
-
export class DSSelectBox {
|
|
22
|
-
static instances: Map<any, any>;
|
|
23
|
-
static instanceCounter: number;
|
|
24
|
-
static icons: {
|
|
25
|
-
moveRight: string;
|
|
26
|
-
moveLeft: string;
|
|
27
|
-
moveAllRight: string;
|
|
28
|
-
moveAllLeft: string;
|
|
29
|
-
search: string;
|
|
30
|
-
};
|
|
31
|
-
static defaults: {
|
|
32
|
-
availableOptions: any[];
|
|
33
|
-
selectedOptions: any[];
|
|
34
|
-
axiosUrl: any;
|
|
35
|
-
axiosMethod: string;
|
|
36
|
-
axiosParams: {};
|
|
37
|
-
axiosDataPath: string;
|
|
38
|
-
valueKey: string;
|
|
39
|
-
labelKey: string;
|
|
40
|
-
availableTitle: string;
|
|
41
|
-
selectedTitle: string;
|
|
42
|
-
selectAllText: string;
|
|
43
|
-
invertSelectionText: string;
|
|
44
|
-
searchPlaceholder: string;
|
|
45
|
-
noItemsText: string;
|
|
46
|
-
listHeight: string;
|
|
47
|
-
onChange: any;
|
|
48
|
-
onMove: any;
|
|
49
|
-
wrapperClass: string;
|
|
50
|
-
};
|
|
51
|
-
static getInstance(element: any): any;
|
|
52
|
-
constructor(selector: any, config?: {});
|
|
53
|
-
instanceId: string;
|
|
54
|
-
wrapper: any;
|
|
55
|
-
cfg: {
|
|
56
|
-
availableOptions: any[];
|
|
57
|
-
selectedOptions: any[];
|
|
58
|
-
axiosUrl: any;
|
|
59
|
-
axiosMethod: string;
|
|
60
|
-
axiosParams: {};
|
|
61
|
-
axiosDataPath: string;
|
|
62
|
-
valueKey: string;
|
|
63
|
-
labelKey: string;
|
|
64
|
-
availableTitle: string;
|
|
65
|
-
selectedTitle: string;
|
|
66
|
-
selectAllText: string;
|
|
67
|
-
invertSelectionText: string;
|
|
68
|
-
searchPlaceholder: string;
|
|
69
|
-
noItemsText: string;
|
|
70
|
-
listHeight: string;
|
|
71
|
-
onChange: any;
|
|
72
|
-
onMove: any;
|
|
73
|
-
wrapperClass: string;
|
|
74
|
-
};
|
|
75
|
-
_availableItems: any[];
|
|
76
|
-
_selectedItems: any[];
|
|
77
|
-
_filteredAvailable: any[];
|
|
78
|
-
_filteredSelected: any[];
|
|
79
|
-
_highlightedAvailable: Set<any>;
|
|
80
|
-
_highlightedSelected: Set<any>;
|
|
81
|
-
_isLoading: boolean;
|
|
82
|
-
_init(): void;
|
|
83
|
-
_buildDOM(): void;
|
|
84
|
-
_cacheElements(): void;
|
|
85
|
-
elements: {
|
|
86
|
-
availableList: any;
|
|
87
|
-
selectedList: any;
|
|
88
|
-
availableSearch: any;
|
|
89
|
-
selectedSearch: any;
|
|
90
|
-
hiddenInputs: any;
|
|
91
|
-
btnMoveRight: any;
|
|
92
|
-
btnMoveAllRight: any;
|
|
93
|
-
btnMoveLeft: any;
|
|
94
|
-
btnMoveAllLeft: any;
|
|
95
|
-
};
|
|
96
|
-
_loadOptions(): void;
|
|
97
|
-
_normalizeOptions(options: any): {
|
|
98
|
-
value: string;
|
|
99
|
-
label: any;
|
|
100
|
-
data: any;
|
|
101
|
-
}[];
|
|
102
|
-
_fetchRemoteOptions(): Promise<void>;
|
|
103
|
-
_bindEvents(): void;
|
|
104
|
-
_toggleHighlight(list: any, value: any, multi?: boolean): void;
|
|
105
|
-
_moveRight(): void;
|
|
106
|
-
_moveAllRight(): void;
|
|
107
|
-
_moveLeft(): void;
|
|
108
|
-
_moveAllLeft(): void;
|
|
109
|
-
_filterList(list: any, term: any): void;
|
|
110
|
-
_updateFiltered(): void;
|
|
111
|
-
_render(): void;
|
|
112
|
-
_renderList(list: any): void;
|
|
113
|
-
_renderLoading(): void;
|
|
114
|
-
_updateHiddenInputs(): void;
|
|
115
|
-
_escapeHtml(str: any): string;
|
|
116
|
-
_emitChange(direction: any, movedItems: any): void;
|
|
117
|
-
getSelected(): any[];
|
|
118
|
-
getSelectedItems(): any[];
|
|
119
|
-
setSelected(values: any): void;
|
|
120
|
-
reset(): void;
|
|
121
|
-
destroy(): void;
|
|
122
|
-
}
|
|
123
|
-
export default DSSelectBox;
|
package/dist/DSSimpleSlider.d.ts
DELETED
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
export default DSSimpleSlider;
|
|
2
|
-
/**
|
|
3
|
-
* DSSimpleSlider
|
|
4
|
-
*
|
|
5
|
-
* A flexible, customizable slider plugin supporting multiple data sources
|
|
6
|
-
* (ajax, json, html) with auto-play, hover pause, and timer border animation.
|
|
7
|
-
*
|
|
8
|
-
* @example
|
|
9
|
-
* // AJAX Mode
|
|
10
|
-
* const slider = new DSSimpleSlider('#premiumSlider', {
|
|
11
|
-
* source: 'ajax',
|
|
12
|
-
* ajax_url: '/api/featured-domains',
|
|
13
|
-
* ajax_method: 'GET',
|
|
14
|
-
* autoPlay: true,
|
|
15
|
-
* interval: 5000,
|
|
16
|
-
* pauseOnHover: true
|
|
17
|
-
* });
|
|
18
|
-
*
|
|
19
|
-
* // JSON Mode
|
|
20
|
-
* const slider = new DSSimpleSlider('#slider', {
|
|
21
|
-
* source: 'json',
|
|
22
|
-
* data: [
|
|
23
|
-
* { title: 'crypto.com', subtitle: '$12,000' },
|
|
24
|
-
* { title: 'ai.io', subtitle: '$8,500' }
|
|
25
|
-
* ]
|
|
26
|
-
* });
|
|
27
|
-
*
|
|
28
|
-
* // HTML Mode (reads existing content)
|
|
29
|
-
* const slider = new DSSimpleSlider('#slider', { source: 'html' });
|
|
30
|
-
*/
|
|
31
|
-
declare class DSSimpleSlider {
|
|
32
|
-
static defaults: {
|
|
33
|
-
source: string;
|
|
34
|
-
ajax_url: any;
|
|
35
|
-
ajax_method: string;
|
|
36
|
-
ajax_data: {};
|
|
37
|
-
ajax_function: string;
|
|
38
|
-
data: any[];
|
|
39
|
-
dataMap: {
|
|
40
|
-
title: string;
|
|
41
|
-
subtitle: string;
|
|
42
|
-
url: string;
|
|
43
|
-
};
|
|
44
|
-
autoPlay: boolean;
|
|
45
|
-
interval: number;
|
|
46
|
-
pauseOnHover: boolean;
|
|
47
|
-
showTimerBorder: boolean;
|
|
48
|
-
timerBorderSelector: string;
|
|
49
|
-
timerBorderColor: string;
|
|
50
|
-
timerBorderWidth: number;
|
|
51
|
-
showPrevButton: boolean;
|
|
52
|
-
showNextButton: boolean;
|
|
53
|
-
prevButtonSelector: string;
|
|
54
|
-
nextButtonSelector: string;
|
|
55
|
-
contentSelector: string;
|
|
56
|
-
titleSelector: string;
|
|
57
|
-
subtitleSelector: string;
|
|
58
|
-
disabledClass: string;
|
|
59
|
-
fadeClass: string;
|
|
60
|
-
onSlideChange: any;
|
|
61
|
-
onDataLoad: any;
|
|
62
|
-
onEmpty: any;
|
|
63
|
-
};
|
|
64
|
-
constructor(wrapper: any, options?: {});
|
|
65
|
-
wrapper: any;
|
|
66
|
-
config: {
|
|
67
|
-
source: string;
|
|
68
|
-
ajax_url: any;
|
|
69
|
-
ajax_method: string;
|
|
70
|
-
ajax_data: {};
|
|
71
|
-
ajax_function: string;
|
|
72
|
-
data: any[];
|
|
73
|
-
dataMap: {
|
|
74
|
-
title: string;
|
|
75
|
-
subtitle: string;
|
|
76
|
-
url: string;
|
|
77
|
-
};
|
|
78
|
-
autoPlay: boolean;
|
|
79
|
-
interval: number;
|
|
80
|
-
pauseOnHover: boolean;
|
|
81
|
-
showTimerBorder: boolean;
|
|
82
|
-
timerBorderSelector: string;
|
|
83
|
-
timerBorderColor: string;
|
|
84
|
-
timerBorderWidth: number;
|
|
85
|
-
showPrevButton: boolean;
|
|
86
|
-
showNextButton: boolean;
|
|
87
|
-
prevButtonSelector: string;
|
|
88
|
-
nextButtonSelector: string;
|
|
89
|
-
contentSelector: string;
|
|
90
|
-
titleSelector: string;
|
|
91
|
-
subtitleSelector: string;
|
|
92
|
-
disabledClass: string;
|
|
93
|
-
fadeClass: string;
|
|
94
|
-
onSlideChange: any;
|
|
95
|
-
onDataLoad: any;
|
|
96
|
-
onEmpty: any;
|
|
97
|
-
};
|
|
98
|
-
slides: any[];
|
|
99
|
-
currentIndex: number;
|
|
100
|
-
isPlaying: boolean;
|
|
101
|
-
isPaused: boolean;
|
|
102
|
-
timer: number;
|
|
103
|
-
timerAnimation: any;
|
|
104
|
-
_init(): Promise<void>;
|
|
105
|
-
_cacheElements(): void;
|
|
106
|
-
contentEl: any;
|
|
107
|
-
titleEl: any;
|
|
108
|
-
subtitleEl: any;
|
|
109
|
-
prevBtn: any;
|
|
110
|
-
nextBtn: any;
|
|
111
|
-
badgeEl: any;
|
|
112
|
-
_loadData(): Promise<void>;
|
|
113
|
-
_loadFromAjax(): Promise<void>;
|
|
114
|
-
_loadFromXhr(): Promise<any>;
|
|
115
|
-
_loadFromHtml(): void;
|
|
116
|
-
_bindEvents(): void;
|
|
117
|
-
_render(): void;
|
|
118
|
-
_handleEmpty(): void;
|
|
119
|
-
_startTimer(): void;
|
|
120
|
-
_stopTimer(): void;
|
|
121
|
-
_startTimerBorderAnimation(): void;
|
|
122
|
-
_stopTimerBorderAnimation(): void;
|
|
123
|
-
next(): void;
|
|
124
|
-
prev(): void;
|
|
125
|
-
goTo(index: any): void;
|
|
126
|
-
play(): void;
|
|
127
|
-
pause(): void;
|
|
128
|
-
resume(): void;
|
|
129
|
-
stop(): void;
|
|
130
|
-
reload(newData?: any): Promise<void>;
|
|
131
|
-
setParams(params: any): this;
|
|
132
|
-
getCurrentSlide(): any;
|
|
133
|
-
getSlides(): any[];
|
|
134
|
-
destroy(): void;
|
|
135
|
-
_getNestedValue(obj: any, path: any): any;
|
|
136
|
-
}
|
package/dist/DSSvgFetch.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* DSSvgFetch
|
|
3
|
-
* Fetches SVG files and injects them inline.
|
|
4
|
-
* Replaces <svg> classes with those defined in data-class.
|
|
5
|
-
*/
|
|
6
|
-
export default class DSSvgFetch {
|
|
7
|
-
constructor(options?: {});
|
|
8
|
-
config: {
|
|
9
|
-
selector: string;
|
|
10
|
-
attribute: string;
|
|
11
|
-
classAttribute: string;
|
|
12
|
-
};
|
|
13
|
-
svgCache: Map<any, any>;
|
|
14
|
-
init(): void;
|
|
15
|
-
processElement(element: any): Promise<void>;
|
|
16
|
-
fetchSvg(url: any): Promise<any>;
|
|
17
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export class DSTableExport {
|
|
2
|
-
constructor(tableInstance: any);
|
|
3
|
-
table: any;
|
|
4
|
-
buttons: NodeListOf<Element>;
|
|
5
|
-
_init(): void;
|
|
6
|
-
exportData(type: any): void;
|
|
7
|
-
_exportCSV(data: any): void;
|
|
8
|
-
_exportJSON(data: any): void;
|
|
9
|
-
_downloadFile(content: any, fileName: any, mimeType: any): void;
|
|
10
|
-
}
|
|
11
|
-
export default DSTableExport;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
export class DSTableFilter {
|
|
2
|
-
constructor(tableInstance: any);
|
|
3
|
-
table: any;
|
|
4
|
-
wrapper: any;
|
|
5
|
-
filters: any;
|
|
6
|
-
resetButtonSelector: any;
|
|
7
|
-
resetButton: any;
|
|
8
|
-
_init(): void;
|
|
9
|
-
/**
|
|
10
|
-
* Initialize the reset button if configured
|
|
11
|
-
*/
|
|
12
|
-
_initResetButton(): void;
|
|
13
|
-
/**
|
|
14
|
-
* Check if any filter has an active value
|
|
15
|
-
* @returns {boolean}
|
|
16
|
-
*/
|
|
17
|
-
hasActiveFilters(): boolean;
|
|
18
|
-
/**
|
|
19
|
-
* Update the reset button's disabled state
|
|
20
|
-
*/
|
|
21
|
-
_updateResetButtonState(): void;
|
|
22
|
-
_handleFilterChange(key: any, element: any): void;
|
|
23
|
-
_debounce: number;
|
|
24
|
-
/**
|
|
25
|
-
* Handle DSSelect (searchable-select) custom component changes
|
|
26
|
-
*/
|
|
27
|
-
_handleDSSelectChange(key: any, wrapper: any, detail: any): void;
|
|
28
|
-
/**
|
|
29
|
-
* Reset a single filter by key
|
|
30
|
-
* @param {string} key - The filter key to reset
|
|
31
|
-
* @param {boolean} reload - Whether to reload data after reset (default: false)
|
|
32
|
-
*/
|
|
33
|
-
resetFilter(key: string, reload?: boolean): void;
|
|
34
|
-
/**
|
|
35
|
-
* Clear all filters and reload data
|
|
36
|
-
* @param {boolean} reload - Whether to reload data after clearing (default: true)
|
|
37
|
-
*/
|
|
38
|
-
clearFilters(reload?: boolean): void;
|
|
39
|
-
}
|
|
40
|
-
export default DSTableFilter;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export class DSTablePagination {
|
|
2
|
-
constructor(tableInstance: any);
|
|
3
|
-
table: any;
|
|
4
|
-
wrapper: any;
|
|
5
|
-
container: any;
|
|
6
|
-
_init(): void;
|
|
7
|
-
onDataLoaded(response: any): void;
|
|
8
|
-
render(meta: any): void;
|
|
9
|
-
_buildButtons(current: any, last: any): string;
|
|
10
|
-
_bindEvents(): void;
|
|
11
|
-
}
|
|
12
|
-
export default DSTablePagination;
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
export class DSTableSelection {
|
|
2
|
-
constructor(tableInstance: any);
|
|
3
|
-
table: any;
|
|
4
|
-
persist: any;
|
|
5
|
-
storageType: any;
|
|
6
|
-
storageKey: any;
|
|
7
|
-
selectedIds: Set<any>;
|
|
8
|
-
/**
|
|
9
|
-
* Generate a unique identifier for this table instance
|
|
10
|
-
*/
|
|
11
|
-
_getTableIdentifier(): any;
|
|
12
|
-
_init(): void;
|
|
13
|
-
update(): void;
|
|
14
|
-
_toggleId(id: any, checked: any): void;
|
|
15
|
-
toggleAll(checked: any): void;
|
|
16
|
-
_updateCheckAllState(): void;
|
|
17
|
-
/**
|
|
18
|
-
* Save selection to storage
|
|
19
|
-
*/
|
|
20
|
-
_saveToStorage(): void;
|
|
21
|
-
/**
|
|
22
|
-
* Load selection from storage
|
|
23
|
-
*/
|
|
24
|
-
_loadFromStorage(): void;
|
|
25
|
-
/**
|
|
26
|
-
* Clear storage
|
|
27
|
-
*/
|
|
28
|
-
_clearStorage(): void;
|
|
29
|
-
/**
|
|
30
|
-
* Get all selected IDs
|
|
31
|
-
*/
|
|
32
|
-
getSelected(): any[];
|
|
33
|
-
/**
|
|
34
|
-
* Set selected IDs programmatically
|
|
35
|
-
*/
|
|
36
|
-
setSelected(ids: any): void;
|
|
37
|
-
/**
|
|
38
|
-
* Clear all selections
|
|
39
|
-
*/
|
|
40
|
-
clearAll(): void;
|
|
41
|
-
/**
|
|
42
|
-
* Check if an ID is selected
|
|
43
|
-
*/
|
|
44
|
-
isSelected(id: any): boolean;
|
|
45
|
-
}
|
|
46
|
-
export default DSTableSelection;
|