@fiddle-digital/string-tune 1.1.42-fix.2 → 1.1.43
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/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +28 -32
- package/dist/index.d.ts +28 -32
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2030,42 +2030,38 @@ interface ScrollMarkRule {
|
|
|
2030
2030
|
};
|
|
2031
2031
|
}
|
|
2032
2032
|
|
|
2033
|
-
/**
|
|
2034
|
-
* Module that manages sequence states for elements based on slider step events.
|
|
2035
|
-
* Updates element classes (ACTIVE, HIDE, DISABLE) according to the current sequence position.
|
|
2036
|
-
*/
|
|
2037
2033
|
declare class StringSequence extends StringModule {
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
private
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
private
|
|
2046
|
-
|
|
2047
|
-
* @param context StringContext instance for dependency injection.
|
|
2048
|
-
*/
|
|
2034
|
+
private activeStep;
|
|
2035
|
+
private leavingStep;
|
|
2036
|
+
private transitions;
|
|
2037
|
+
private elementIndex;
|
|
2038
|
+
private triggerElements;
|
|
2039
|
+
private globalSettings;
|
|
2040
|
+
private defaultDuration;
|
|
2041
|
+
private initialized;
|
|
2042
|
+
private static readonly ALL_STATES;
|
|
2049
2043
|
constructor(context: StringContext);
|
|
2050
|
-
/**
|
|
2051
|
-
* Subscribes to slider step events and updates element states:
|
|
2052
|
-
* - Sets ACTIVE for the current element.
|
|
2053
|
-
* - Sets HIDE for the previously active element.
|
|
2054
|
-
* - Sets DISABLE for all others.
|
|
2055
|
-
*/
|
|
2056
2044
|
onInit(): void;
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2045
|
+
private scanStandaloneTriggers;
|
|
2046
|
+
private scanGlobalSettings;
|
|
2047
|
+
private parseGlobalSetting;
|
|
2048
|
+
private initializeSliders;
|
|
2049
|
+
canConnect(object: StringObject): boolean;
|
|
2061
2050
|
onObjectConnected(object: StringObject): void;
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
private
|
|
2051
|
+
private parseTriggerKey;
|
|
2052
|
+
private resolveDuration;
|
|
2053
|
+
private resolveEasings;
|
|
2054
|
+
onObjectDisconnected(object: StringObject): void;
|
|
2055
|
+
private parseSequenceKey;
|
|
2056
|
+
private onTriggerClick;
|
|
2057
|
+
private onSequenceEvent;
|
|
2058
|
+
private startTransition;
|
|
2059
|
+
private handleScrub;
|
|
2060
|
+
private switchInstant;
|
|
2061
|
+
private applyProgress;
|
|
2062
|
+
private setStepState;
|
|
2063
|
+
private setState;
|
|
2064
|
+
onFrame(data: StringData): void;
|
|
2069
2065
|
}
|
|
2070
2066
|
|
|
2071
2067
|
type FormField = HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement;
|
package/dist/index.d.ts
CHANGED
|
@@ -2030,42 +2030,38 @@ interface ScrollMarkRule {
|
|
|
2030
2030
|
};
|
|
2031
2031
|
}
|
|
2032
2032
|
|
|
2033
|
-
/**
|
|
2034
|
-
* Module that manages sequence states for elements based on slider step events.
|
|
2035
|
-
* Updates element classes (ACTIVE, HIDE, DISABLE) according to the current sequence position.
|
|
2036
|
-
*/
|
|
2037
2033
|
declare class StringSequence extends StringModule {
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
private
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
private
|
|
2046
|
-
|
|
2047
|
-
* @param context StringContext instance for dependency injection.
|
|
2048
|
-
*/
|
|
2034
|
+
private activeStep;
|
|
2035
|
+
private leavingStep;
|
|
2036
|
+
private transitions;
|
|
2037
|
+
private elementIndex;
|
|
2038
|
+
private triggerElements;
|
|
2039
|
+
private globalSettings;
|
|
2040
|
+
private defaultDuration;
|
|
2041
|
+
private initialized;
|
|
2042
|
+
private static readonly ALL_STATES;
|
|
2049
2043
|
constructor(context: StringContext);
|
|
2050
|
-
/**
|
|
2051
|
-
* Subscribes to slider step events and updates element states:
|
|
2052
|
-
* - Sets ACTIVE for the current element.
|
|
2053
|
-
* - Sets HIDE for the previously active element.
|
|
2054
|
-
* - Sets DISABLE for all others.
|
|
2055
|
-
*/
|
|
2056
2044
|
onInit(): void;
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2045
|
+
private scanStandaloneTriggers;
|
|
2046
|
+
private scanGlobalSettings;
|
|
2047
|
+
private parseGlobalSetting;
|
|
2048
|
+
private initializeSliders;
|
|
2049
|
+
canConnect(object: StringObject): boolean;
|
|
2061
2050
|
onObjectConnected(object: StringObject): void;
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
private
|
|
2051
|
+
private parseTriggerKey;
|
|
2052
|
+
private resolveDuration;
|
|
2053
|
+
private resolveEasings;
|
|
2054
|
+
onObjectDisconnected(object: StringObject): void;
|
|
2055
|
+
private parseSequenceKey;
|
|
2056
|
+
private onTriggerClick;
|
|
2057
|
+
private onSequenceEvent;
|
|
2058
|
+
private startTransition;
|
|
2059
|
+
private handleScrub;
|
|
2060
|
+
private switchInstant;
|
|
2061
|
+
private applyProgress;
|
|
2062
|
+
private setStepState;
|
|
2063
|
+
private setState;
|
|
2064
|
+
onFrame(data: StringData): void;
|
|
2069
2065
|
}
|
|
2070
2066
|
|
|
2071
2067
|
type FormField = HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement;
|