@coxwave/tap-kit-types 2.0.4 → 2.0.7
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.d.ts +425 -117
- package/dist/index.js +13 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -158,7 +158,7 @@ var MaterialViewerError = class _MaterialViewerError extends TapKitError {
|
|
|
158
158
|
};
|
|
159
159
|
|
|
160
160
|
// src/protocol/alarm.ts
|
|
161
|
-
var ALARM_DURATION =
|
|
161
|
+
var ALARM_DURATION = 16e3;
|
|
162
162
|
|
|
163
163
|
// ../../node_modules/.pnpm/valibot@1.1.0_typescript@5.9.2/node_modules/valibot/dist/index.js
|
|
164
164
|
var store;
|
|
@@ -819,6 +819,15 @@ var MaterialViewErrorSchema = object({
|
|
|
819
819
|
]),
|
|
820
820
|
message: optional(string())
|
|
821
821
|
});
|
|
822
|
+
var HtmlViewOpenSchema = object({
|
|
823
|
+
type: literal("html:view:open"),
|
|
824
|
+
htmlUrl: optional(string()),
|
|
825
|
+
htmlContent: optional(string()),
|
|
826
|
+
title: optional(string())
|
|
827
|
+
});
|
|
828
|
+
var HtmlViewCloseSchema = object({
|
|
829
|
+
type: literal("html:view:close")
|
|
830
|
+
});
|
|
822
831
|
var ContainerModeChangeSchema = object({
|
|
823
832
|
type: literal("container:mode:change"),
|
|
824
833
|
mode: union([literal("floating"), literal("sidebar")]),
|
|
@@ -908,6 +917,8 @@ var TapMessageSchema = union([
|
|
|
908
917
|
MaterialViewOpenSchema,
|
|
909
918
|
MaterialViewCloseSchema,
|
|
910
919
|
MaterialViewErrorSchema,
|
|
920
|
+
HtmlViewOpenSchema,
|
|
921
|
+
HtmlViewCloseSchema,
|
|
911
922
|
ContainerModeChangeSchema,
|
|
912
923
|
ContainerModeChangeAckSchema,
|
|
913
924
|
ContainerLayoutStateChangedSchema,
|
|
@@ -919,6 +930,6 @@ var TapMessageSchema = union([
|
|
|
919
930
|
// src/tap-button.d.ts
|
|
920
931
|
var TAP_BUTTON_CLICK_EVENT = "tap-button:click";
|
|
921
932
|
|
|
922
|
-
export { ALARM_DURATION, AlarmClickSchema, AlarmElementPropsSchema, AlarmElementSchema, AlarmFadeInSchema, AlarmMessageInstanceSchema, CSSStyleSchema, ConfigUpdateSchema, ContainerLayoutStateChangedSchema, ContainerModeChangeAckSchema, ContainerModeChangeSchema, GAEventSchema, TapKitInitializationError as InitializationError, MaterialViewCloseSchema, MaterialViewErrorSchema, MaterialViewOpenSchema, MaterialViewerError, PopUpCloseSchema, PopUpOpenSchema, TAP_BUTTON_CLICK_EVENT, TAP_ERROR_MARKER, TapCloseSchema, TapKitConfigurationError, TapKitError, TapKitIframeError, TapKitInitializationError, TapKitLoaderError, TapKitMessageError, TapMessageSchema, TapReadySchema, TimelineSeekSchema, ViewportResizeSchema };
|
|
933
|
+
export { ALARM_DURATION, AlarmClickSchema, AlarmElementPropsSchema, AlarmElementSchema, AlarmFadeInSchema, AlarmMessageInstanceSchema, CSSStyleSchema, ConfigUpdateSchema, ContainerLayoutStateChangedSchema, ContainerModeChangeAckSchema, ContainerModeChangeSchema, GAEventSchema, HtmlViewCloseSchema, HtmlViewOpenSchema, TapKitInitializationError as InitializationError, MaterialViewCloseSchema, MaterialViewErrorSchema, MaterialViewOpenSchema, MaterialViewerError, PopUpCloseSchema, PopUpOpenSchema, TAP_BUTTON_CLICK_EVENT, TAP_ERROR_MARKER, TapCloseSchema, TapKitConfigurationError, TapKitError, TapKitIframeError, TapKitInitializationError, TapKitLoaderError, TapKitMessageError, TapMessageSchema, TapReadySchema, TimelineSeekSchema, ViewportResizeSchema };
|
|
923
934
|
//# sourceMappingURL=index.js.map
|
|
924
935
|
//# sourceMappingURL=index.js.map
|