hrenpack_js 3.1.1 → 3.1.2

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2025 Маг Ильяс DOMA
3
+ Copyright (c) 2025 Маг Ильяс DOMA (MagIlyasDOMA)
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/arraywork.d.ts CHANGED
@@ -1,3 +1,9 @@
1
+ /*
2
+ * hrenpack_js 3.1.2
3
+ * Copyright (c) 2024-2025, Маг Ильяс DOMA (MagIlyasDOMA)
4
+ * Licensed under MIT (https://github.com/MagIlyasDOMA/hrenpack_js/blob/main/LICENSE)
5
+ */
6
+
1
7
  declare function arrayIsEmpty(arr: any[]): boolean;
2
8
  declare function arraysIsEqual(array1: any[], array2: any[], strict?: boolean): boolean;
3
9
  //# sourceMappingURL=arraywork.d.ts.map
package/arraywork.js CHANGED
@@ -1,3 +1,9 @@
1
+ /*
2
+ * hrenpack_js 3.1.2
3
+ * Copyright (c) 2024-2025, Маг Ильяс DOMA (MagIlyasDOMA)
4
+ * Licensed under MIT (https://github.com/MagIlyasDOMA/hrenpack_js/blob/main/LICENSE)
5
+ */
6
+
1
7
  "use strict";
2
8
  function arrayIsEmpty(arr) {
3
9
  return arr.length === 0 || !arr[0];
package/auto.d.ts CHANGED
@@ -1,2 +1,8 @@
1
+ /*
2
+ * hrenpack_js 3.1.2
3
+ * Copyright (c) 2024-2025, Маг Ильяс DOMA (MagIlyasDOMA)
4
+ * Licensed under MIT (https://github.com/MagIlyasDOMA/hrenpack_js/blob/main/LICENSE)
5
+ */
6
+
1
7
  declare const stylesRoot: CSSStyleDeclaration;
2
8
  //# sourceMappingURL=auto.d.ts.map
package/auto.js CHANGED
@@ -1,3 +1,9 @@
1
+ /*
2
+ * hrenpack_js 3.1.2
3
+ * Copyright (c) 2024-2025, Маг Ильяс DOMA (MagIlyasDOMA)
4
+ * Licensed under MIT (https://github.com/MagIlyasDOMA/hrenpack_js/blob/main/LICENSE)
5
+ */
6
+
1
7
  "use strict";
2
8
  const stylesRoot = getComputedStyle(document.documentElement);
3
9
  //# sourceMappingURL=auto.js.map
package/classes.d.ts CHANGED
@@ -1,3 +1,9 @@
1
+ /*
2
+ * hrenpack_js 3.1.2
3
+ * Copyright (c) 2024-2025, Маг Ильяс DOMA (MagIlyasDOMA)
4
+ * Licensed under MIT (https://github.com/MagIlyasDOMA/hrenpack_js/blob/main/LICENSE)
5
+ */
6
+
1
7
  declare class ClickableLinksFactory {
2
8
  private readonly urlRegex;
3
9
  private walk;
package/classes.js CHANGED
@@ -1,3 +1,9 @@
1
+ /*
2
+ * hrenpack_js 3.1.2
3
+ * Copyright (c) 2024-2025, Маг Ильяс DOMA (MagIlyasDOMA)
4
+ * Licensed under MIT (https://github.com/MagIlyasDOMA/hrenpack_js/blob/main/LICENSE)
5
+ */
6
+
1
7
  "use strict";
2
8
  class ClickableLinksFactory {
3
9
  constructor() {
package/compiler.d.ts CHANGED
@@ -1,2 +1,8 @@
1
+ /*
2
+ * hrenpack_js 3.1.2
3
+ * Copyright (c) 2024-2025, Маг Ильяс DOMA (MagIlyasDOMA)
4
+ * Licensed under MIT (https://github.com/MagIlyasDOMA/hrenpack_js/blob/main/LICENSE)
5
+ */
6
+
1
7
  declare function downloadTextAsFile(filename: string, text: string): void;
2
8
  //# sourceMappingURL=compiler.d.ts.map
package/compiler.js CHANGED
@@ -1,3 +1,9 @@
1
+ /*
2
+ * hrenpack_js 3.1.2
3
+ * Copyright (c) 2024-2025, Маг Ильяс DOMA (MagIlyasDOMA)
4
+ * Licensed under MIT (https://github.com/MagIlyasDOMA/hrenpack_js/blob/main/LICENSE)
5
+ */
6
+
1
7
  "use strict";
2
8
  function downloadTextAsFile(filename, text) {
3
9
  const blob = new Blob([text], { type: 'text/plain' });
package/cookie.d.ts CHANGED
@@ -1,3 +1,9 @@
1
+ /*
2
+ * hrenpack_js 3.1.2
3
+ * Copyright (c) 2024-2025, Маг Ильяс DOMA (MagIlyasDOMA)
4
+ * Licensed under MIT (https://github.com/MagIlyasDOMA/hrenpack_js/blob/main/LICENSE)
5
+ */
6
+
1
7
  declare function getCookie(name: string): NullStr;
2
8
  declare function setCookie(name: string, value: string, days?: NullNum, path?: string): void;
3
9
  declare function hasCookie(name: string): boolean;
package/cookie.js CHANGED
@@ -1,3 +1,9 @@
1
+ /*
2
+ * hrenpack_js 3.1.2
3
+ * Copyright (c) 2024-2025, Маг Ильяс DOMA (MagIlyasDOMA)
4
+ * Licensed under MIT (https://github.com/MagIlyasDOMA/hrenpack_js/blob/main/LICENSE)
5
+ */
6
+
1
7
  "use strict";
2
8
  function getCookie(name) {
3
9
  const nameEQ = `${name}=`;
package/exceptions.d.ts CHANGED
@@ -1,3 +1,9 @@
1
+ /*
2
+ * hrenpack_js 3.1.2
3
+ * Copyright (c) 2024-2025, Маг Ильяс DOMA (MagIlyasDOMA)
4
+ * Licensed under MIT (https://github.com/MagIlyasDOMA/hrenpack_js/blob/main/LICENSE)
5
+ */
6
+
1
7
  declare class NotAuthorizedError extends Error {
2
8
  constructor();
3
9
  }
package/exceptions.js CHANGED
@@ -1,3 +1,9 @@
1
+ /*
2
+ * hrenpack_js 3.1.2
3
+ * Copyright (c) 2024-2025, Маг Ильяс DOMA (MagIlyasDOMA)
4
+ * Licensed under MIT (https://github.com/MagIlyasDOMA/hrenpack_js/blob/main/LICENSE)
5
+ */
6
+
1
7
  "use strict";
2
8
  class NotAuthorizedError extends Error {
3
9
  constructor() {
@@ -1,2 +1,8 @@
1
+ /*
2
+ * hrenpack_js 3.1.2
3
+ * Copyright (c) 2024-2025, Маг Ильяс DOMA (MagIlyasDOMA)
4
+ * Licensed under MIT (https://github.com/MagIlyasDOMA/hrenpack_js/blob/main/LICENSE)
5
+ */
6
+
1
7
  declare function button_submit(parent: HTMLElement): HTMLButtonElement | null;
2
8
  //# sourceMappingURL=get_element_types.d.ts.map
@@ -1,3 +1,9 @@
1
+ /*
2
+ * hrenpack_js 3.1.2
3
+ * Copyright (c) 2024-2025, Маг Ильяс DOMA (MagIlyasDOMA)
4
+ * Licensed under MIT (https://github.com/MagIlyasDOMA/hrenpack_js/blob/main/LICENSE)
5
+ */
6
+
1
7
  "use strict";
2
8
  function button_submit(parent) {
3
9
  const buttons = parent.querySelectorAll('button');
package/hrenpack.css CHANGED
@@ -1,3 +1,9 @@
1
+ /*
2
+ * hrenpack_js 3.1.2
3
+ * Copyright (c) 2024-2025, Маг Ильяс DOMA (MagIlyasDOMA)
4
+ * Licensed under MIT (https://github.com/MagIlyasDOMA/hrenpack_js/blob/main/LICENSE)
5
+ */
6
+
1
7
  :root {
2
8
  --step-bar-circle-bg: #121212;
3
9
  --step-bar-circle-active-bg: #c000c0;
package/html.d.ts CHANGED
@@ -1,3 +1,9 @@
1
+ /*
2
+ * hrenpack_js 3.1.2
3
+ * Copyright (c) 2024-2025, Маг Ильяс DOMA (MagIlyasDOMA)
4
+ * Licensed under MIT (https://github.com/MagIlyasDOMA/hrenpack_js/blob/main/LICENSE)
5
+ */
6
+
1
7
  declare const escapeChars: StringDict;
2
8
  declare function togglePassword(passwordInput: HTMLInputElement): void;
3
9
  declare function isTextWrapped(element: HTMLElement): boolean;
package/html.js CHANGED
@@ -1,3 +1,9 @@
1
+ /*
2
+ * hrenpack_js 3.1.2
3
+ * Copyright (c) 2024-2025, Маг Ильяс DOMA (MagIlyasDOMA)
4
+ * Licensed under MIT (https://github.com/MagIlyasDOMA/hrenpack_js/blob/main/LICENSE)
5
+ */
6
+
1
7
  "use strict";
2
8
  const escapeChars = {
3
9
  '<': '&lt;',
package/index.d.ts CHANGED
@@ -1,204 +1,210 @@
1
- // @ts-nocheck
2
-
3
- // ===== File: arraywork.d.ts =====
4
- declare function arrayIsEmpty(arr: any[]): boolean;
5
- declare function arraysIsEqual(array1: any[], array2: any[], strict?: boolean): boolean;
6
- //# sourceMappingURL=arraywork.d.ts.map
7
-
8
- // ===== File: auto.d.ts =====
9
- declare const stylesRoot: CSSStyleDeclaration;
10
- //# sourceMappingURL=auto.d.ts.map
11
-
12
- // ===== File: classes.d.ts =====
13
- declare class ClickableLinksFactory {
14
- private readonly urlRegex;
15
- private walk;
16
- private get_anchor;
17
- private get_clickToCopy;
18
- clickableLinks(element: HTMLElement): void;
19
- clickToCopyLinks(element: HTMLElement): void;
20
- get generatedElements(): NodeListOf<HTMLElement>;
21
- }
22
- declare class GETParamsManager {
23
- private params;
24
- constructor();
25
- get<T = string>(key: string, defaultValue?: T): T | string | null;
26
- set(key: string, value: string | number | boolean): void;
27
- delete(key: string): void;
28
- all(): Record<string, string>;
29
- clear(): void;
30
- private updateURL;
31
- }
32
- //# sourceMappingURL=classes.d.ts.map
33
-
34
- // ===== File: compiler.d.ts =====
35
- declare function downloadTextAsFile(filename: string, text: string): void;
36
- //# sourceMappingURL=compiler.d.ts.map
37
-
38
- // ===== File: cookie.d.ts =====
39
- declare function getCookie(name: string): NullStr;
40
- declare function setCookie(name: string, value: string, days?: NullNum, path?: string): void;
41
- declare function hasCookie(name: string): boolean;
42
- //# sourceMappingURL=cookie.d.ts.map
43
-
44
- // ===== File: exceptions.d.ts =====
45
- declare class NotAuthorizedError extends Error {
46
- constructor();
47
- }
48
- //# sourceMappingURL=exceptions.d.ts.map
49
-
50
- // ===== File: get_element_types.d.ts =====
51
- declare function button_submit(parent: HTMLElement): HTMLButtonElement | null;
52
- //# sourceMappingURL=get_element_types.d.ts.map
53
-
54
- // ===== File: html.d.ts =====
55
- declare const escapeChars: StringDict;
56
- declare function togglePassword(passwordInput: HTMLInputElement): void;
57
- declare function isTextWrapped(element: HTMLElement): boolean;
58
- declare function notArrayEmpty(array: any[]): boolean;
59
- declare function get_tagName(element: HTMLElement): string;
60
- declare function element_toHTMLText(element: HTMLElement): string;
61
- declare function element_to_div(element: HTMLElement): HTMLDivElement;
62
- declare function password_format(shownPasswordHTML: string, hiddenPasswordHTML: string): void;
63
- declare function escapeHTML(html: string): string;
64
- declare function strFormat(template: string, ...args: any[]): string;
65
- declare function elementToHyperlink(element: HTMLElement, href: string, cursorPointer?: boolean, preventDefault?: boolean): HTMLElement;
66
- //# sourceMappingURL=html.d.ts.map
67
-
68
- // ===== File: input.d.ts =====
69
- declare function getInputCursorPosition(input: HTMLInputElement): number;
70
- declare function copyInputToClipboard(input: HTMLInputElement): void;
71
- declare function clearInput_and_addLastSymbol(input: HTMLInputElement): void;
72
- declare function getInputLabel(input: HTMLInputElement): HTMLLabelElement;
73
- //# sourceMappingURL=input.d.ts.map
74
-
75
- // ===== File: link.d.ts =====
76
- declare function loadCSS(href: string): void;
77
- //# sourceMappingURL=link.d.ts.map
78
-
79
- // ===== File: notifications.d.ts =====
80
- declare function pushNotification(title?: string, body?: string, icon?: NullStr): void;
81
- declare class HyperTextNotification {
82
- bottom: string;
83
- right: string;
84
- backgroundColor: string;
85
- color: string;
86
- padding: string;
87
- borderRadius: string;
88
- timeout: number;
89
- constructor({ bottom, right, backgroundColor, color, padding, borderRadius, timeout }?: {
90
- bottom?: string | undefined;
91
- right?: string | undefined;
92
- backgroundColor?: string | undefined;
93
- color?: string | undefined;
94
- padding?: string | undefined;
95
- borderRadius?: string | undefined;
96
- timeout?: number | undefined;
97
- });
98
- show(message: string, timeout?: number): void;
99
- }
100
- //# sourceMappingURL=notifications.d.ts.map
101
-
102
- // ===== File: styles.d.ts =====
103
- declare function input_type_fc(input: HTMLInputElement): boolean;
104
- declare function input_form_control(form: HTMLFormElement): void;
105
- declare function input_form_control_unline(form: HTMLFormElement): void;
106
- declare function intToPixel(number?: NumStr): string;
107
- //# sourceMappingURL=styles.d.ts.map
108
-
109
- // ===== File: system.d.ts =====
110
- declare function getSystemTheme(): NullStr;
111
- declare function copyTextToClipboard(text: string): void;
112
- declare function redirectBackOrClose(default_url?: string): void;
113
- declare function getHost(): string;
114
- //# sourceMappingURL=system.d.ts.map
115
-
116
- // ===== File: tags.d.ts =====
117
- type StepElementStatus = 'uncomplete' | 'active' | 'complete';
118
- interface StepbarElement extends HTMLElement {
119
- currentStep: number;
120
- }
121
- declare class AbbreviatedNumber extends HTMLElement {
122
- isShortened: boolean;
123
- originalNumber: number;
124
- constructor();
125
- static get observedAttributes(): string[];
126
- private toggle;
127
- private getCurrentLang;
128
- private formatNumber;
129
- private render;
130
- }
131
- declare class StepElement extends HTMLElement {
132
- constructor();
133
- static get observedAttributes(): string[];
134
- get index(): number;
135
- private get active();
136
- private set active(value);
137
- private get completed();
138
- private set completed(value);
139
- get label(): string;
140
- set label(value: string);
141
- private reset;
142
- get status(): StepElementStatus;
143
- set status(value: StepElementStatus);
144
- connectedCallback(): void;
145
- }
146
- declare class Stepbar extends HTMLElement {
147
- private _observer;
148
- constructor();
149
- static get observedAttributes(): string[];
150
- attributeChangedCallback(name: string, oldValue: any, newValue: any): void;
151
- connectedCallback(): void;
152
- disconnectedCallback(): void;
153
- private updateSteps;
154
- get currentStep(): number;
155
- set currentStep(step: number);
156
- }
157
- declare class HTMLFile extends HTMLElement {
158
- constructor();
159
- get src(): string;
160
- set src(value: string);
161
- static get observedAttributes(): string[];
162
- connectedCallback(): void;
163
- attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
164
- private loadContent;
165
- private executeScripts;
166
- private loadExternalScript;
167
- private executeInlineScript;
168
- private get loaded();
169
- reload(): Promise<void>;
170
- get content(): string;
171
- }
172
- declare class ClickToCopy extends HTMLElement {
173
- private notification;
174
- constructor();
175
- get notificationText(): string;
176
- set notificationText(value: string);
177
- get isNotified(): boolean;
178
- set isNotified(value: boolean);
179
- connectedCallback(): void;
180
- }
181
- //# sourceMappingURL=tags.d.ts.map
182
-
183
- // ===== File: types.d.ts =====
184
- type NullStr = string | null;
185
- type NullNum = number | null;
186
- type Dict = {
187
- [key: string]: any;
188
- };
189
- type StringDict = {
190
- [key: string]: string;
191
- };
192
- type NumStr = number | string;
193
- //# sourceMappingURL=types.d.ts.map
194
-
195
- // ===== File: url.d.ts =====
196
- declare function isAbsoluteUrl(url: string): boolean;
197
- declare function combineUrls(baseUrl: string, relativeUrl: string): string;
198
- declare function getScriptSite(script: HTMLScriptElement): string;
199
- //# sourceMappingURL=url.d.ts.map
200
-
201
- // ===== File: uuid.d.ts =====
202
- declare function generateUUIDv4(): string;
203
- //# sourceMappingURL=uuid.d.ts.map
204
-
1
+ /*
2
+ * hrenpack_js 3.1.2
3
+ * Copyright (c) 2024-2025, Маг Ильяс DOMA (MagIlyasDOMA)
4
+ * Licensed under MIT (https://github.com/MagIlyasDOMA/hrenpack_js/blob/main/LICENSE)
5
+ */
6
+
7
+ // @ts-nocheck
8
+
9
+ // ===== File: arraywork.d.ts =====
10
+ declare function arrayIsEmpty(arr: any[]): boolean;
11
+ declare function arraysIsEqual(array1: any[], array2: any[], strict?: boolean): boolean;
12
+ //# sourceMappingURL=arraywork.d.ts.map
13
+
14
+ // ===== File: auto.d.ts =====
15
+ declare const stylesRoot: CSSStyleDeclaration;
16
+ //# sourceMappingURL=auto.d.ts.map
17
+
18
+ // ===== File: classes.d.ts =====
19
+ declare class ClickableLinksFactory {
20
+ private readonly urlRegex;
21
+ private walk;
22
+ private get_anchor;
23
+ private get_clickToCopy;
24
+ clickableLinks(element: HTMLElement): void;
25
+ clickToCopyLinks(element: HTMLElement): void;
26
+ get generatedElements(): NodeListOf<HTMLElement>;
27
+ }
28
+ declare class GETParamsManager {
29
+ private params;
30
+ constructor();
31
+ get<T = string>(key: string, defaultValue?: T): T | string | null;
32
+ set(key: string, value: string | number | boolean): void;
33
+ delete(key: string): void;
34
+ all(): Record<string, string>;
35
+ clear(): void;
36
+ private updateURL;
37
+ }
38
+ //# sourceMappingURL=classes.d.ts.map
39
+
40
+ // ===== File: compiler.d.ts =====
41
+ declare function downloadTextAsFile(filename: string, text: string): void;
42
+ //# sourceMappingURL=compiler.d.ts.map
43
+
44
+ // ===== File: cookie.d.ts =====
45
+ declare function getCookie(name: string): NullStr;
46
+ declare function setCookie(name: string, value: string, days?: NullNum, path?: string): void;
47
+ declare function hasCookie(name: string): boolean;
48
+ //# sourceMappingURL=cookie.d.ts.map
49
+
50
+ // ===== File: exceptions.d.ts =====
51
+ declare class NotAuthorizedError extends Error {
52
+ constructor();
53
+ }
54
+ //# sourceMappingURL=exceptions.d.ts.map
55
+
56
+ // ===== File: get_element_types.d.ts =====
57
+ declare function button_submit(parent: HTMLElement): HTMLButtonElement | null;
58
+ //# sourceMappingURL=get_element_types.d.ts.map
59
+
60
+ // ===== File: html.d.ts =====
61
+ declare const escapeChars: StringDict;
62
+ declare function togglePassword(passwordInput: HTMLInputElement): void;
63
+ declare function isTextWrapped(element: HTMLElement): boolean;
64
+ declare function notArrayEmpty(array: any[]): boolean;
65
+ declare function get_tagName(element: HTMLElement): string;
66
+ declare function element_toHTMLText(element: HTMLElement): string;
67
+ declare function element_to_div(element: HTMLElement): HTMLDivElement;
68
+ declare function password_format(shownPasswordHTML: string, hiddenPasswordHTML: string): void;
69
+ declare function escapeHTML(html: string): string;
70
+ declare function strFormat(template: string, ...args: any[]): string;
71
+ declare function elementToHyperlink(element: HTMLElement, href: string, cursorPointer?: boolean, preventDefault?: boolean): HTMLElement;
72
+ //# sourceMappingURL=html.d.ts.map
73
+
74
+ // ===== File: input.d.ts =====
75
+ declare function getInputCursorPosition(input: HTMLInputElement): number;
76
+ declare function copyInputToClipboard(input: HTMLInputElement): void;
77
+ declare function clearInput_and_addLastSymbol(input: HTMLInputElement): void;
78
+ declare function getInputLabel(input: HTMLInputElement): HTMLLabelElement;
79
+ //# sourceMappingURL=input.d.ts.map
80
+
81
+ // ===== File: link.d.ts =====
82
+ declare function loadCSS(href: string): void;
83
+ //# sourceMappingURL=link.d.ts.map
84
+
85
+ // ===== File: notifications.d.ts =====
86
+ declare function pushNotification(title?: string, body?: string, icon?: NullStr): void;
87
+ declare class HyperTextNotification {
88
+ bottom: string;
89
+ right: string;
90
+ backgroundColor: string;
91
+ color: string;
92
+ padding: string;
93
+ borderRadius: string;
94
+ timeout: number;
95
+ constructor({ bottom, right, backgroundColor, color, padding, borderRadius, timeout }?: {
96
+ bottom?: string | undefined;
97
+ right?: string | undefined;
98
+ backgroundColor?: string | undefined;
99
+ color?: string | undefined;
100
+ padding?: string | undefined;
101
+ borderRadius?: string | undefined;
102
+ timeout?: number | undefined;
103
+ });
104
+ show(message: string, timeout?: number): void;
105
+ }
106
+ //# sourceMappingURL=notifications.d.ts.map
107
+
108
+ // ===== File: styles.d.ts =====
109
+ declare function input_type_fc(input: HTMLInputElement): boolean;
110
+ declare function input_form_control(form: HTMLFormElement): void;
111
+ declare function input_form_control_unline(form: HTMLFormElement): void;
112
+ declare function intToPixel(number?: NumStr): string;
113
+ //# sourceMappingURL=styles.d.ts.map
114
+
115
+ // ===== File: system.d.ts =====
116
+ declare function getSystemTheme(): NullStr;
117
+ declare function copyTextToClipboard(text: string): void;
118
+ declare function redirectBackOrClose(default_url?: string): void;
119
+ declare function getHost(): string;
120
+ //# sourceMappingURL=system.d.ts.map
121
+
122
+ // ===== File: tags.d.ts =====
123
+ type StepElementStatus = 'uncomplete' | 'active' | 'complete';
124
+ interface StepbarElement extends HTMLElement {
125
+ currentStep: number;
126
+ }
127
+ declare class AbbreviatedNumber extends HTMLElement {
128
+ isShortened: boolean;
129
+ originalNumber: number;
130
+ constructor();
131
+ static get observedAttributes(): string[];
132
+ private toggle;
133
+ private getCurrentLang;
134
+ private formatNumber;
135
+ private render;
136
+ }
137
+ declare class StepElement extends HTMLElement {
138
+ constructor();
139
+ static get observedAttributes(): string[];
140
+ get index(): number;
141
+ private get active();
142
+ private set active(value);
143
+ private get completed();
144
+ private set completed(value);
145
+ get label(): string;
146
+ set label(value: string);
147
+ private reset;
148
+ get status(): StepElementStatus;
149
+ set status(value: StepElementStatus);
150
+ connectedCallback(): void;
151
+ }
152
+ declare class Stepbar extends HTMLElement {
153
+ private _observer;
154
+ constructor();
155
+ static get observedAttributes(): string[];
156
+ attributeChangedCallback(name: string, oldValue: any, newValue: any): void;
157
+ connectedCallback(): void;
158
+ disconnectedCallback(): void;
159
+ private updateSteps;
160
+ get currentStep(): number;
161
+ set currentStep(step: number);
162
+ }
163
+ declare class HTMLFile extends HTMLElement {
164
+ constructor();
165
+ get src(): string;
166
+ set src(value: string);
167
+ static get observedAttributes(): string[];
168
+ connectedCallback(): void;
169
+ attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
170
+ private loadContent;
171
+ private executeScripts;
172
+ private loadExternalScript;
173
+ private executeInlineScript;
174
+ private get loaded();
175
+ reload(): Promise<void>;
176
+ get content(): string;
177
+ }
178
+ declare class ClickToCopy extends HTMLElement {
179
+ private notification;
180
+ constructor();
181
+ get notificationText(): string;
182
+ set notificationText(value: string);
183
+ get isNotified(): boolean;
184
+ set isNotified(value: boolean);
185
+ connectedCallback(): void;
186
+ }
187
+ //# sourceMappingURL=tags.d.ts.map
188
+
189
+ // ===== File: types.d.ts =====
190
+ type NullStr = string | null;
191
+ type NullNum = number | null;
192
+ type Dict = {
193
+ [key: string]: any;
194
+ };
195
+ type StringDict = {
196
+ [key: string]: string;
197
+ };
198
+ type NumStr = number | string;
199
+ //# sourceMappingURL=types.d.ts.map
200
+
201
+ // ===== File: url.d.ts =====
202
+ declare function isAbsoluteUrl(url: string): boolean;
203
+ declare function combineUrls(baseUrl: string, relativeUrl: string): string;
204
+ declare function getScriptSite(script: HTMLScriptElement): string;
205
+ //# sourceMappingURL=url.d.ts.map
206
+
207
+ // ===== File: uuid.d.ts =====
208
+ declare function generateUUIDv4(): string;
209
+ //# sourceMappingURL=uuid.d.ts.map
210
+
package/index.js CHANGED
@@ -1,3 +1,9 @@
1
+ /*
2
+ * hrenpack_js 3.1.2
3
+ * Copyright (c) 2024-2025, Маг Ильяс DOMA (MagIlyasDOMA)
4
+ * Licensed under MIT (https://github.com/MagIlyasDOMA/hrenpack_js/blob/main/LICENSE)
5
+ */
6
+
1
7
  // @ts-nocheck
2
8
 
3
9
  // ===== File: arraywork.js =====
package/input.d.ts CHANGED
@@ -1,3 +1,9 @@
1
+ /*
2
+ * hrenpack_js 3.1.2
3
+ * Copyright (c) 2024-2025, Маг Ильяс DOMA (MagIlyasDOMA)
4
+ * Licensed under MIT (https://github.com/MagIlyasDOMA/hrenpack_js/blob/main/LICENSE)
5
+ */
6
+
1
7
  declare function getInputCursorPosition(input: HTMLInputElement): number;
2
8
  declare function copyInputToClipboard(input: HTMLInputElement): void;
3
9
  declare function clearInput_and_addLastSymbol(input: HTMLInputElement): void;
package/input.js CHANGED
@@ -1,3 +1,9 @@
1
+ /*
2
+ * hrenpack_js 3.1.2
3
+ * Copyright (c) 2024-2025, Маг Ильяс DOMA (MagIlyasDOMA)
4
+ * Licensed under MIT (https://github.com/MagIlyasDOMA/hrenpack_js/blob/main/LICENSE)
5
+ */
6
+
1
7
  "use strict";
2
8
  function getInputCursorPosition(input) {
3
9
  const start = input.selectionStart;
package/link.d.ts CHANGED
@@ -1,2 +1,8 @@
1
+ /*
2
+ * hrenpack_js 3.1.2
3
+ * Copyright (c) 2024-2025, Маг Ильяс DOMA (MagIlyasDOMA)
4
+ * Licensed under MIT (https://github.com/MagIlyasDOMA/hrenpack_js/blob/main/LICENSE)
5
+ */
6
+
1
7
  declare function loadCSS(href: string): void;
2
8
  //# sourceMappingURL=link.d.ts.map
package/link.js CHANGED
@@ -1,3 +1,9 @@
1
+ /*
2
+ * hrenpack_js 3.1.2
3
+ * Copyright (c) 2024-2025, Маг Ильяс DOMA (MagIlyasDOMA)
4
+ * Licensed under MIT (https://github.com/MagIlyasDOMA/hrenpack_js/blob/main/LICENSE)
5
+ */
6
+
1
7
  "use strict";
2
8
  function loadCSS(href) {
3
9
  const link = document.createElement('link');
@@ -1,3 +1,9 @@
1
+ /*
2
+ * hrenpack_js 3.1.2
3
+ * Copyright (c) 2024-2025, Маг Ильяс DOMA (MagIlyasDOMA)
4
+ * Licensed under MIT (https://github.com/MagIlyasDOMA/hrenpack_js/blob/main/LICENSE)
5
+ */
6
+
1
7
  declare function pushNotification(title?: string, body?: string, icon?: NullStr): void;
2
8
  declare class HyperTextNotification {
3
9
  bottom: string;
package/notifications.js CHANGED
@@ -1,3 +1,9 @@
1
+ /*
2
+ * hrenpack_js 3.1.2
3
+ * Copyright (c) 2024-2025, Маг Ильяс DOMA (MagIlyasDOMA)
4
+ * Licensed under MIT (https://github.com/MagIlyasDOMA/hrenpack_js/blob/main/LICENSE)
5
+ */
6
+
1
7
  "use strict";
2
8
  function pushNotification(title = "Уведомление", body = "Текст уведомления", icon = null) {
3
9
  if (Notification.permission !== "granted") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hrenpack_js",
3
- "version": "3.1.1",
3
+ "version": "3.1.2",
4
4
  "description": "Универсальная frontend библиотека javascript/typescript для большинства задач",
5
5
  "main": "index.js",
6
6
  "repository": {
package/styles.d.ts CHANGED
@@ -1,3 +1,9 @@
1
+ /*
2
+ * hrenpack_js 3.1.2
3
+ * Copyright (c) 2024-2025, Маг Ильяс DOMA (MagIlyasDOMA)
4
+ * Licensed under MIT (https://github.com/MagIlyasDOMA/hrenpack_js/blob/main/LICENSE)
5
+ */
6
+
1
7
  declare function input_type_fc(input: HTMLInputElement): boolean;
2
8
  declare function input_form_control(form: HTMLFormElement): void;
3
9
  declare function input_form_control_unline(form: HTMLFormElement): void;
package/styles.js CHANGED
@@ -1,3 +1,9 @@
1
+ /*
2
+ * hrenpack_js 3.1.2
3
+ * Copyright (c) 2024-2025, Маг Ильяс DOMA (MagIlyasDOMA)
4
+ * Licensed under MIT (https://github.com/MagIlyasDOMA/hrenpack_js/blob/main/LICENSE)
5
+ */
6
+
1
7
  "use strict";
2
8
  function input_type_fc(input) {
3
9
  return input.type !== 'hidden' && input.type !== 'reset' && input.type !== 'checkbox' && input.type !== 'radio';
package/system.d.ts CHANGED
@@ -1,3 +1,9 @@
1
+ /*
2
+ * hrenpack_js 3.1.2
3
+ * Copyright (c) 2024-2025, Маг Ильяс DOMA (MagIlyasDOMA)
4
+ * Licensed under MIT (https://github.com/MagIlyasDOMA/hrenpack_js/blob/main/LICENSE)
5
+ */
6
+
1
7
  declare function getSystemTheme(): NullStr;
2
8
  declare function copyTextToClipboard(text: string): void;
3
9
  declare function redirectBackOrClose(default_url?: string): void;
package/system.js CHANGED
@@ -1,3 +1,9 @@
1
+ /*
2
+ * hrenpack_js 3.1.2
3
+ * Copyright (c) 2024-2025, Маг Ильяс DOMA (MagIlyasDOMA)
4
+ * Licensed under MIT (https://github.com/MagIlyasDOMA/hrenpack_js/blob/main/LICENSE)
5
+ */
6
+
1
7
  "use strict";
2
8
  function getSystemTheme() {
3
9
  if (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').media !== 'not all') {
package/tags.d.ts CHANGED
@@ -1,3 +1,9 @@
1
+ /*
2
+ * hrenpack_js 3.1.2
3
+ * Copyright (c) 2024-2025, Маг Ильяс DOMA (MagIlyasDOMA)
4
+ * Licensed under MIT (https://github.com/MagIlyasDOMA/hrenpack_js/blob/main/LICENSE)
5
+ */
6
+
1
7
  type StepElementStatus = 'uncomplete' | 'active' | 'complete';
2
8
  interface StepbarElement extends HTMLElement {
3
9
  currentStep: number;
package/tags.js CHANGED
@@ -1,3 +1,9 @@
1
+ /*
2
+ * hrenpack_js 3.1.2
3
+ * Copyright (c) 2024-2025, Маг Ильяс DOMA (MagIlyasDOMA)
4
+ * Licensed under MIT (https://github.com/MagIlyasDOMA/hrenpack_js/blob/main/LICENSE)
5
+ */
6
+
1
7
  "use strict";
2
8
  class AbbreviatedNumber extends HTMLElement {
3
9
  constructor() {
package/types.d.ts CHANGED
@@ -1,3 +1,9 @@
1
+ /*
2
+ * hrenpack_js 3.1.2
3
+ * Copyright (c) 2024-2025, Маг Ильяс DOMA (MagIlyasDOMA)
4
+ * Licensed under MIT (https://github.com/MagIlyasDOMA/hrenpack_js/blob/main/LICENSE)
5
+ */
6
+
1
7
  type NullStr = string | null;
2
8
  type NullNum = number | null;
3
9
  type Dict = {
package/url.d.ts CHANGED
@@ -1,3 +1,9 @@
1
+ /*
2
+ * hrenpack_js 3.1.2
3
+ * Copyright (c) 2024-2025, Маг Ильяс DOMA (MagIlyasDOMA)
4
+ * Licensed under MIT (https://github.com/MagIlyasDOMA/hrenpack_js/blob/main/LICENSE)
5
+ */
6
+
1
7
  declare function isAbsoluteUrl(url: string): boolean;
2
8
  declare function combineUrls(baseUrl: string, relativeUrl: string): string;
3
9
  declare function getScriptSite(script: HTMLScriptElement): string;
package/url.js CHANGED
@@ -1,3 +1,9 @@
1
+ /*
2
+ * hrenpack_js 3.1.2
3
+ * Copyright (c) 2024-2025, Маг Ильяс DOMA (MagIlyasDOMA)
4
+ * Licensed under MIT (https://github.com/MagIlyasDOMA/hrenpack_js/blob/main/LICENSE)
5
+ */
6
+
1
7
  "use strict";
2
8
  function isAbsoluteUrl(url) {
3
9
  try {
package/uuid.d.ts CHANGED
@@ -1,2 +1,8 @@
1
+ /*
2
+ * hrenpack_js 3.1.2
3
+ * Copyright (c) 2024-2025, Маг Ильяс DOMA (MagIlyasDOMA)
4
+ * Licensed under MIT (https://github.com/MagIlyasDOMA/hrenpack_js/blob/main/LICENSE)
5
+ */
6
+
1
7
  declare function generateUUIDv4(): string;
2
8
  //# sourceMappingURL=uuid.d.ts.map
package/uuid.js CHANGED
@@ -1,3 +1,9 @@
1
+ /*
2
+ * hrenpack_js 3.1.2
3
+ * Copyright (c) 2024-2025, Маг Ильяс DOMA (MagIlyasDOMA)
4
+ * Licensed under MIT (https://github.com/MagIlyasDOMA/hrenpack_js/blob/main/LICENSE)
5
+ */
6
+
1
7
  "use strict";
2
8
  function generateUUIDv4() {
3
9
  return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {