@omnia/fx-models 8.0.452-dev → 8.0.453-dev
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/Enums.tooling.d.ts +1 -1
- package/internal-do-not-import-from-here/shared/models/ObjectMerger.d.ts +7 -0
- package/internal-do-not-import-from-here/shared/models/ObjectMerger.js +129 -0
- package/internal-do-not-import-from-here/shared/models/OxideTypeDefinitions.d.ts +3 -0
- package/internal-do-not-import-from-here/shared/models/OxideTypeDefinitions.js +5 -0
- package/internal-do-not-import-from-here/shared/models/SharedUtils.d.ts +29 -0
- package/internal-do-not-import-from-here/shared/models/SharedUtils.js +61 -0
- package/internal-do-not-import-from-here/shared/models/index.d.ts +2 -0
- package/internal-do-not-import-from-here/shared/models/index.js +2 -0
- package/internal-do-not-import-from-here/shared/models/velcron/VelcronDefinition.d.ts +4 -0
- package/internal-do-not-import-from-here/shared/models/velcron/VelcronDefinition.js +6 -0
- package/internal-do-not-import-from-here/shared/models/velcron/VelcronState.d.ts +71 -0
- package/internal-do-not-import-from-here/shared/models/velcron/VelcronState.js +2 -0
- package/internal-do-not-import-from-here/shared/models/velcron/index.d.ts +1 -0
- package/internal-do-not-import-from-here/shared/models/velcron/index.js +1 -0
- package/internal-do-not-import-from-here/shared/utils/index.d.ts +1 -5
- package/internal-do-not-import-from-here/velcron/core/models/VelcronDefinitions.d.ts +1 -5
- package/internal-do-not-import-from-here/velcron/core/models/VelcronDefinitions.js +0 -6
- package/internal-do-not-import-from-here/velcron/core/models/VelcronState.d.ts +1 -71
- package/oxide/OxideTypeDefinitions.d.ts +4 -3
- package/oxide/OxideTypeDefinitions.js +5 -4
- package/package.json +1 -1
- package/internal-do-not-import-from-here/shared/styles/Stylex.d.ts +0 -35
- package/internal-do-not-import-from-here/shared/styles/Typings.d.ts +0 -894
package/Enums.tooling.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { LanguageTags, OmniaMimeType, guid } from "@omnia/fx-models";
|
2
|
-
declare const mimeTypes: Record<"c" | "x" | "map" | "s" | "z" | "rgb" | "
|
2
|
+
declare const mimeTypes: Record<"c" | "x" | "map" | "s" | "z" | "rgb" | "class" | "js" | "css" | "aa" | "html" | "i" | "ins" | "tr" | "jpeg" | "jpg" | "png" | "bmp" | "gif" | "svg" | "ico" | "pdf" | "dotx" | "docx" | "doc" | "dot" | "pptx" | "potx" | "ppt" | "pot" | "xlsx" | "xltx" | "xls" | "xlt" | "ms" | "dir" | "cd" | "cc" | "cab" | "cdf" | "def" | "filters" | "user" | "src" | "settings" | "one" | "ac3" | "323" | "caf" | "fdf" | "h" | "group" | "atom" | "rtf" | "3g2" | "3gp" | "3gp2" | "3gpp" | "7z" | "AAC" | "aaf" | "aax" | "aca" | "accda" | "accdb" | "accdc" | "accde" | "accdr" | "accdt" | "accdw" | "accft" | "acx" | "AddIn" | "ade" | "adobebridge" | "adp" | "ADT" | "ADTS" | "afm" | "ai" | "aif" | "aifc" | "aiff" | "air" | "amc" | "application" | "art" | "asa" | "asax" | "ascx" | "asd" | "asf" | "ashx" | "asi" | "asm" | "asmx" | "aspx" | "asr" | "asx" | "au" | "avi" | "axs" | "bas" | "bcpio" | "bin" | "calx" | "cat" | "cdda" | "cer" | "chm" | "clp" | "cmx" | "cnf" | "cod" | "config" | "contact" | "coverage" | "cpio" | "cpp" | "crd" | "crl" | "crt" | "cs" | "csdproj" | "csh" | "csproj" | "csv" | "cur" | "cxx" | "dat" | "datasource" | "dbproj" | "dcr" | "deploy" | "der" | "dgml" | "dib" | "dif" | "disco" | "dll" | "dll.config" | "dlm" | "docm" | "dotm" | "dsp" | "dsw" | "dtd" | "dtsConfig" | "dv" | "dvi" | "dwf" | "dwp" | "dxr" | "eml" | "emz" | "eot" | "eps" | "etl" | "etx" | "evy" | "exe" | "exe.config" | "fif" | "fla" | "flr" | "flv" | "fsscript" | "fsx" | "generictest" | "gsm" | "gtar" | "gz" | "hdf" | "hdml" | "hhc" | "hhk" | "hhp" | "hlp" | "hpp" | "hqx" | "hta" | "htc" | "htm" | "htt" | "hxa" | "hxc" | "hxd" | "hxe" | "hxf" | "hxh" | "hxi" | "hxk" | "hxq" | "hxr" | "hxs" | "hxt" | "hxv" | "hxw" | "hxx" | "ics" | "idl" | "ief" | "iii" | "inc" | "inf" | "inl" | "ipa" | "ipg" | "ipproj" | "ipsw" | "iqy" | "isp" | "ite" | "itlp" | "itms" | "itpc" | "IVF" | "jar" | "java" | "jck" | "jcz" | "jfif" | "jnlp" | "jpb" | "jpe" | "jsx" | "jsxbin" | "latex" | "library-ms" | "lit" | "loadtest" | "lpk" | "lsf" | "lst" | "lsx" | "lzh" | "m13" | "m14" | "m1v" | "m2t" | "m2ts" | "m2v" | "m3u" | "m3u8" | "m4a" | "m4b" | "m4p" | "m4r" | "m4v" | "mac" | "mak" | "man" | "manifest" | "master" | "mda" | "mdb" | "mde" | "mdp" | "me" | "mfp" | "mht" | "mhtml" | "mid" | "midi" | "mix" | "mk" | "mmf" | "mno" | "mny" | "mod" | "mov" | "movie" | "mp2" | "mp2v" | "mp3" | "mp4" | "mp4v" | "mpa" | "mpe" | "mpeg" | "mpf" | "mpg" | "mpp" | "mpv2" | "mqv" | "msi" | "mso" | "mts" | "mtx" | "mvb" | "mvc" | "mxp" | "nc" | "nsc" | "nws" | "ocx" | "oda" | "odc" | "odh" | "odl" | "odp" | "ods" | "odt" | "onea" | "onepkg" | "onetmp" | "onetoc" | "onetoc2" | "orderedtest" | "osdx" | "p10" | "p12" | "p7b" | "p7c" | "p7m" | "p7r" | "p7s" | "pbm" | "pcast" | "pct" | "pcx" | "pcz" | "pfb" | "pfm" | "pfx" | "pgm" | "pic" | "pict" | "pkgdef" | "pkgundef" | "pko" | "pls" | "pma" | "pmc" | "pml" | "pmr" | "pmw" | "pnm" | "pnt" | "pntg" | "pnz" | "potm" | "ppa" | "ppam" | "ppm" | "pps" | "ppsm" | "ppsx" | "pptm" | "prf" | "prm" | "prx" | "ps" | "psc1" | "psd" | "psess" | "psm" | "psp" | "pub" | "pwz" | "qht" | "qhtm" | "qt" | "qti" | "qtif" | "qtl" | "qxd" | "ra" | "ram" | "rar" | "ras" | "rat" | "rc" | "rc2" | "rct" | "rdlc" | "resx" | "rf" | "rgs" | "rm" | "rmi" | "rmp" | "roff" | "rpm" | "rqy" | "rtx" | "ruleset" | "safariextz" | "scd" | "sct" | "sd2" | "sdp" | "sea" | "searchConnector-ms" | "setpay" | "setreg" | "sgimb" | "sgml" | "sh" | "shar" | "shtml" | "sit" | "sitemap" | "skin" | "sldm" | "sldx" | "slk" | "sln" | "slupkg-ms" | "smd" | "smi" | "smx" | "smz" | "snd" | "snippet" | "snp" | "sol" | "sor" | "spc" | "spl" | "srf" | "SSISDeploymentManifest" | "ssm" | "sst" | "stl" | "sv4cpio" | "sv4crc" | "svc" | "swf" | "t" | "tar" | "tcl" | "testrunconfig" | "testsettings" | "tex" | "texi" | "texinfo" | "tgz" | "thmx" | "thn" | "tif" | "tiff" | "tlh" | "tli" | "toc" | "trm" | "trx" | "ts" | "tsv" | "ttf" | "tts" | "txt" | "u32" | "uls" | "ustar" | "vb" | "vbdproj" | "vbk" | "vbproj" | "vbs" | "vcf" | "vcproj" | "vcs" | "vcxproj" | "vddproj" | "vdp" | "vdproj" | "vdx" | "vml" | "vscontent" | "vsct" | "vsd" | "vsi" | "vsix" | "vsixlangpack" | "vsixmanifest" | "vsmdi" | "vspscc" | "vss" | "vsscc" | "vssettings" | "vssscc" | "vst" | "vstemplate" | "vsto" | "vsw" | "vsx" | "vtx" | "wav" | "wave" | "wax" | "wbk" | "wbmp" | "wcm" | "wdb" | "wdp" | "webarchive" | "webtest" | "wiq" | "wiz" | "wks" | "WLMP" | "wlpginstall" | "wlpginstall3" | "wm" | "wma" | "wmd" | "wmf" | "wml" | "wmlc" | "wmls" | "wmlsc" | "wmp" | "wmv" | "wmx" | "wmz" | "wpl" | "wps" | "wri" | "wrl" | "wrz" | "wsc" | "wsdl" | "wvx" | "xaf" | "xaml" | "xap" | "xbap" | "xbm" | "xdr" | "xht" | "xhtml" | "xla" | "xlam" | "xlc" | "xld" | "xlk" | "xll" | "xlm" | "xlsb" | "xlsm" | "xltm" | "xlw" | "xml" | "xmta" | "xof" | "XOML" | "xpm" | "xps" | "xrm-ms" | "xsc" | "xsd" | "xsf" | "xsl" | "xslt" | "xsn" | "xss" | "xtp" | "xwd" | "zip" | "woff" | "woff2", OmniaMimeType>;
|
3
3
|
declare const languageTags: Record<"ArSa" | "BgBg" | "CaEs" | "ZhTw" | "CsCz" | "DaDk" | "DeDe" | "ElGr" | "EnUs" | "FiFi" | "FrFr" | "HeIl" | "HuHu" | "IsIs" | "ItIt" | "JaJp" | "KoKr" | "NlNl" | "NbNo" | "PlPl" | "PtBr" | "RoRo" | "RuRu" | "HrHr" | "SkSk" | "SqAl" | "SvSe" | "ThTh" | "TrTr" | "UrPk" | "IdId" | "UkUa" | "BeBy" | "SlSi" | "EtEe" | "LvLv" | "LtLt" | "FaIr" | "ViVn" | "HyAm" | "EuEs" | "MkMk" | "AfZa" | "KaGe" | "FoFo" | "HiIn" | "MsMy" | "KkKz" | "KyKg" | "SwKe" | "TtRu" | "PaIn" | "GuIn" | "TaIn" | "TeIn" | "KnIn" | "MrIn" | "SaIn" | "MnMn" | "GlEs" | "DvMv" | "ArIq" | "ZhCn" | "DeCh" | "EnGb" | "EsMx" | "FrBe" | "ItCh" | "NlBe" | "NnNo" | "PtPt" | "SvFi" | "MsBn" | "ArEg" | "ZhHk" | "DeAt" | "EnAu" | "EnEs" | "FrCa" | "ArLy" | "ZhSg" | "DeLu" | "EnCa" | "EsGt" | "FrCh" | "ArDz" | "ZhMo" | "DeLi" | "EnNz" | "EsCr" | "FrLu" | "ArMa" | "EnIe" | "EsPa" | "FrMc" | "ArTn" | "EnZa" | "EsDo" | "ArOm" | "EnJm" | "EsVe" | "ArYe" | "EsCo" | "ArSy" | "EnBz" | "EsPe" | "ArJo" | "EnTt" | "EsAr" | "ArLb" | "EnZw" | "EsEc" | "EsEs" | "ArKw" | "EnPh" | "EsCl" | "ArAe" | "EsUy" | "ArBh" | "EsPy" | "ArQa" | "EsBo" | "EsSv" | "EsHn" | "EsPr" | "ZuZa" | "XhZa" | "FyNl" | "TnZa" | "SeSe" | "SeFi" | "CyGb" | "HrBa" | "MiNz" | "GaIe" | "RmCh" | "LbLu" | "NsZa" | "SeNo" | "MtMt", LanguageTags>;
|
4
4
|
declare const omniaGroupManifests: Record<"FxUxBootstrapper" | "Fx" | "FxConsole" | "FxUxCommonComponents" | "FxUxRichTextEditor" | "Header" | "ChromeGroup" | "LayoutCanvasGroup", guid>;
|
5
5
|
declare const omniaResourceManifests: Record<"AppCore" | "VelcronCore" | "VelcronSetup" | "FxServiceWorker" | "SplitPaneLib" | "ProsemirrorPackage" | "AuthSetupCore" | "LayoutCanvasShared" | "AwesomeProFont" | "FxUxBootstrapper" | "FxUxVuetifyCore" | "DynamicPlaceholderApis" | "AppPlaceHolderApis" | "FxUxMonacoEditor" | "FxUxAutocomplete" | "ClientBoot" | "FxUxVuetifyBottomnav" | "ConsoleCommands" | "FxUxVRating" | "FxUxVuetifyStepper" | "FxUxVuetifyColorPicker" | "FxUxVuetifyCombobox" | "FxUxVuetifySlider" | "FxUxVuetifyDatatable" | "FxUxVuetifyDatePicker" | "FxUxVuetifyTimePicker" | "FxUxVuetifySnackbar" | "FxUxVuetifyPagination" | "FxUxVuetifyTimeline" | "FxUxVuetifyFooter" | "FxUxVuetifyCalendar" | "FxUxVuetifyVList" | "FxUxVuetifyNavigation" | "FxUxVuetifyAlert" | "FxUxVuetifyCard" | "FxUxVuetifyTab" | "FxUxVuetifyExpansionPanel" | "FxUxVuetifyCarousel" | "FxContexts" | "FxCoreBoot" | "FxCore" | "FxShared" | "FxWorkersBootstrapper" | "OmniaHubWorker" | "FxWorkers" | "Fx" | "FxSpContexts" | "FxUxVuetifyTextinput" | "FxUxVuetifyNumberinput" | "FxUxVuetifySelect" | "FxUxVuetifyTextarea" | "LocalhostingCommands" | "FxUxVuetifyBreadcrumbs" | "FxUxVuetifySelection" | "FxSp" | "FxSpfx" | "SpfxCustomizer" | "SpfxWebpart" | "SpfxStandaloneWebpart" | "FxSpfxWpStandalone" | "FxSpfxWpStandaloneInstanceHandler" | "FxUxVuetifySwitch" | "FxUx" | "FxUxEditor" | "FxUxAdmin" | "FxUxAdminTokenRouter" | "FxUxLibs" | "FxUxVDialog" | "FxUxVTreeView" | "Vendor" | "PhoneNumberLib" | "FxTenantLanguage" | "FxUxAppProvisioningShared" | "FxUxRichTextEditorExtension" | "MicrosoftTeamsSDK" | "MicrosoftTeamsSDKLoader" | "TeamsSSOScript" | "MediaPickerProviderRegistration" | "FxUxRichTextEditorCore" | "ActionApi" | "ActionHandlerEvents" | "LikeTopicIdProviderRegistration" | "LinkHandlerRegistration" | "EnterpriseGlossaryRegistrationApi" | "AppProvisioningValidatorApi" | "SidePanelRegistrationApi" | "GraphClientRegistrationApi" | "SharepointClientRegistrationApi" | "FilterEngineRegistrationApi" | "TaxonomyFilterEngineRegistrationApi" | "EnterpriseKeywordsFilterEngineRegistrationApi" | "ExtendedTaxonomyFilterEngineRegistrationApi" | "PersonFilterEngineRegistrationApi" | "TagsFilterEngineRegistrationApi" | "BooleanFilterEngineRegistrationApi" | "TextFilterEngineRegistrationApi" | "NumberFilterEngineRegistrationApi" | "DateTimeFilterEngineRegistrationApi" | "ExtendedIdentityFilterEngineRegistrationApi" | "ExtendedBooleanFilterEngineRegistrationApi" | "ExtendedTextFilterEngineRegistrationApi" | "ExtendedIntegerFilterEngineRegistrationApi" | "ExtendedDateTimeFilterEngineRegistrationApi" | "ExtendedDateFilterEngineRegistrationApi" | "ExtendedEmailFilterEngineRegistrationApi" | "ExtendedHtmlFilterEngineRegistrationApi" | "ExtendedLinkFilterEngineRegistrationApi" | "ExtendedMultilineTextFilterEngineRegistrationApi" | "ExtendedMultilingualTextFilterEngineRegistrationApi" | "ExtendedPhoneNumberFilterEngineRegistrationApi" | "ExtendedBirthdayFilterEngineRegistrationApi" | "AppInstanceRollupViewRegistrationApi" | "AppInstanceRollupViewBase" | "UserProfileActionHandlerApi" | "AppInstanceTokenProvider" | "AppPropertiesProvider" | "FxUxEnterprisePropertiesDataSourceApi" | "FxUxPropertiesProviderApi" | "UserPropertiesProvider" | "UserPropertiesByMicrosoftGraphProvider" | "UserPropertiesBySharePointProvider" | "UserTokenProvider" | "FxUxPropertyDataSourceApi" | "IdentityPropertyApi" | "BuiltinExtendedPropertiesRegistration" | "FxUxCommentDialog" | "FeaturesActivation" | "FxUxFilterEngineCore" | "FxUxBooleanFilterEngineCore" | "FxUxDateFilterEngineCore" | "FxUxNumberFilterEngineCore" | "FxUxPersonFilterEngineCore" | "FxUxTextFilterEngineCore" | "FxUxTaxonomyFilterEngineCore" | "IdentitySyncProviderApi" | "BuiltinSyncProvidersRegistration" | "SharePointIntegrationExternalMapping" | "TextCompletionTenantFeature" | "DallESecretComponent" | "DallESecretRegistrations" | "DallELocalization" | "DallETenantFeature" | "DallEMediaProviderFeature" | "DefaultNotFoundLayout" | "DefaultUnauthorizedLayout" | "StatusCodeLayoutRegistration" | "BuiltinPropertyBindingProviders" | "ExtendedEnterprisePropertyBindingProvider" | "BusinessProfilePropertyBindingProvider" | "UserPropertyBindingProvider" | "MagicLinkCore" | "AdminSystemCore" | "ScopedPermissionApi" | "SecretsCore" | "BusinessProfilesCore" | "BusinessProfileAdminLanguage" | "TenantAdminMediaPickerRegistrations" | "TenantGeneralSettingsRegistration" | "TenantRegionalRegistrations" | "TenantAdminSettingsCore" | "SystemLayoutRegistration" | "SystemLayoutResource" | "BusinessProfileApi" | "AppSettingsCore" | "UserManagementApi" | "UnsplashTenantFeature", guid>;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
export declare class ObjectMerger {
|
2
|
+
static isEmptyObject(item: any): boolean;
|
3
|
+
static objectKeysWithFilter(object: any, includeFunctions: boolean): Array<string>;
|
4
|
+
static mergeObjects<T extends object = object>(target: T, nullOrUndefinedValueCustomHandler: (missingPropertyName: string, parent: object, defaultValue: object) => object, emptyStringValueCustomHandler: (propertyName: string, parent: object, defaultValue: object) => object, emptyArrayValueCustomHandler: (propertyName: string, parent: object, defaultValue: object) => object, ...sources: T[]): T;
|
5
|
+
static customNullCondition<T extends object = object>(target: T, condition: (target: T) => boolean): T;
|
6
|
+
static deleteNullProperties<T extends object = object>(target: T, disableTreatingEmptyStringAsNull?: boolean, disableTreatingFalseAsNull?: boolean, disableTreatingZeroAsNull?: boolean, disableTreatingEmptyArrayAsNull?: boolean): void;
|
7
|
+
}
|
@@ -0,0 +1,129 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ObjectMerger = void 0;
|
4
|
+
const SharedUtils_1 = require("./SharedUtils");
|
5
|
+
class ObjectMerger {
|
6
|
+
static isEmptyObject(item) {
|
7
|
+
let empty = true;
|
8
|
+
if (item) {
|
9
|
+
Object.keys(item).forEach((key) => {
|
10
|
+
if (SharedUtils_1.Utils.isFunction(item[key]) === false && empty === true) {
|
11
|
+
empty = false;
|
12
|
+
}
|
13
|
+
});
|
14
|
+
}
|
15
|
+
return empty;
|
16
|
+
}
|
17
|
+
static objectKeysWithFilter(object, includeFunctions) {
|
18
|
+
const result = [];
|
19
|
+
if (object) {
|
20
|
+
Object.keys(object).forEach((key) => {
|
21
|
+
if (SharedUtils_1.Utils.isFunction(object[key]) && includeFunctions) {
|
22
|
+
result.push(key);
|
23
|
+
}
|
24
|
+
else {
|
25
|
+
result.push(key);
|
26
|
+
}
|
27
|
+
});
|
28
|
+
}
|
29
|
+
return result;
|
30
|
+
}
|
31
|
+
static mergeObjects(target, nullOrUndefinedValueCustomHandler, emptyStringValueCustomHandler, emptyArrayValueCustomHandler, ...sources) {
|
32
|
+
if (!sources.length) {
|
33
|
+
return target;
|
34
|
+
}
|
35
|
+
const source = sources.shift();
|
36
|
+
if (source === undefined) {
|
37
|
+
return target;
|
38
|
+
}
|
39
|
+
if (SharedUtils_1.Utils.isObject(target) && SharedUtils_1.Utils.isObject(source)) {
|
40
|
+
Object.keys(source).forEach(function (key) {
|
41
|
+
if (SharedUtils_1.Utils.isObject(source[key])) {
|
42
|
+
if (!target[key]) {
|
43
|
+
const sourceKeyValue = {};
|
44
|
+
ObjectMerger.mergeObjects(sourceKeyValue, nullOrUndefinedValueCustomHandler, emptyStringValueCustomHandler, emptyArrayValueCustomHandler, source[key]);
|
45
|
+
target[key] = nullOrUndefinedValueCustomHandler ? nullOrUndefinedValueCustomHandler(key, target, sourceKeyValue) : sourceKeyValue;
|
46
|
+
}
|
47
|
+
else {
|
48
|
+
ObjectMerger.mergeObjects(target[key], nullOrUndefinedValueCustomHandler, emptyStringValueCustomHandler, emptyArrayValueCustomHandler, source[key]);
|
49
|
+
}
|
50
|
+
}
|
51
|
+
else {
|
52
|
+
//By default we just add missing properties if custom handler we get value and set it..
|
53
|
+
//merge value if target is null or undefined (or maybe when only undefined ?)
|
54
|
+
if (target[key] === undefined || target[key] === null) {
|
55
|
+
target[key] = nullOrUndefinedValueCustomHandler ? nullOrUndefinedValueCustomHandler(key, target, source[key]) : source[key];
|
56
|
+
}
|
57
|
+
else if (target[key] === "") {
|
58
|
+
target[key] = emptyStringValueCustomHandler ? emptyStringValueCustomHandler(key, target, source[key]) : target[key];
|
59
|
+
}
|
60
|
+
else if (Array.isArray(target[key]) && target[key].length === 0) {
|
61
|
+
target[key] = emptyArrayValueCustomHandler ? emptyArrayValueCustomHandler(key, target, source[key]) : target[key];
|
62
|
+
}
|
63
|
+
}
|
64
|
+
});
|
65
|
+
}
|
66
|
+
return ObjectMerger.mergeObjects(target, nullOrUndefinedValueCustomHandler, emptyStringValueCustomHandler, emptyArrayValueCustomHandler, ...sources);
|
67
|
+
}
|
68
|
+
//Custom condition on object if it should be treated as null
|
69
|
+
static customNullCondition(target, condition) {
|
70
|
+
if (target) {
|
71
|
+
target["customNullCondition"] = condition;
|
72
|
+
}
|
73
|
+
else {
|
74
|
+
target = {
|
75
|
+
customNullCondition: condition
|
76
|
+
};
|
77
|
+
}
|
78
|
+
return target;
|
79
|
+
}
|
80
|
+
static deleteNullProperties(target, disableTreatingEmptyStringAsNull = false, disableTreatingFalseAsNull = false, disableTreatingZeroAsNull = false, disableTreatingEmptyArrayAsNull = false) {
|
81
|
+
if (SharedUtils_1.Utils.isObject(target)) {
|
82
|
+
Object.keys(target).forEach(function (key) {
|
83
|
+
let hasNullConditionResult = false;
|
84
|
+
if (target[key] && typeof target[key] == "object" && key != "customNullCondition" && target[key]["customNullCondition"]) {
|
85
|
+
hasNullConditionResult = target[key]["customNullCondition"](target[key]);
|
86
|
+
}
|
87
|
+
if (hasNullConditionResult) {
|
88
|
+
return;
|
89
|
+
}
|
90
|
+
else {
|
91
|
+
if (SharedUtils_1.Utils.isObject(target[key])) {
|
92
|
+
ObjectMerger.deleteNullProperties(target[key], disableTreatingEmptyStringAsNull, disableTreatingFalseAsNull, disableTreatingZeroAsNull, disableTreatingEmptyArrayAsNull);
|
93
|
+
if (ObjectMerger.isEmptyObject(target[key])) {
|
94
|
+
//Empty object = {} lets remove it
|
95
|
+
delete target[key];
|
96
|
+
}
|
97
|
+
}
|
98
|
+
else if (Array.isArray(target[key])) {
|
99
|
+
if (!disableTreatingEmptyArrayAsNull && target[key].length === 0) {
|
100
|
+
delete target[key];
|
101
|
+
}
|
102
|
+
else {
|
103
|
+
target[key].forEach((item) => {
|
104
|
+
ObjectMerger.deleteNullProperties(item, disableTreatingEmptyStringAsNull, disableTreatingFalseAsNull, disableTreatingZeroAsNull, disableTreatingEmptyArrayAsNull);
|
105
|
+
});
|
106
|
+
}
|
107
|
+
}
|
108
|
+
else {
|
109
|
+
if (!target[key]) {
|
110
|
+
if (SharedUtils_1.Utils.isString(target[key]) && !disableTreatingEmptyStringAsNull) {
|
111
|
+
delete target[key];
|
112
|
+
}
|
113
|
+
else if (SharedUtils_1.Utils.isBoolean(target[key]) && !disableTreatingFalseAsNull) {
|
114
|
+
delete target[key];
|
115
|
+
}
|
116
|
+
else if (SharedUtils_1.Utils.isNumber(target[key]) && !disableTreatingZeroAsNull) {
|
117
|
+
delete target[key];
|
118
|
+
}
|
119
|
+
else if (target[key] === null) {
|
120
|
+
delete target[key];
|
121
|
+
}
|
122
|
+
}
|
123
|
+
}
|
124
|
+
}
|
125
|
+
});
|
126
|
+
}
|
127
|
+
}
|
128
|
+
}
|
129
|
+
exports.ObjectMerger = ObjectMerger;
|
@@ -0,0 +1,29 @@
|
|
1
|
+
export declare class Utils {
|
2
|
+
/**
|
3
|
+
* Determine whether the argument is an array.
|
4
|
+
*
|
5
|
+
* @param obj Object to test whether or not it is an array.
|
6
|
+
*/
|
7
|
+
static isArray(obj: any): obj is Array<any>;
|
8
|
+
/**
|
9
|
+
* Check if is type of a function
|
10
|
+
* @param obj Object to test whether or not it is an function.
|
11
|
+
*/
|
12
|
+
static isFunction(obj: any): obj is Function;
|
13
|
+
/**
|
14
|
+
* Check if is type of a Object
|
15
|
+
* @param obj Object to test whether or not it is a real object.
|
16
|
+
*/
|
17
|
+
static isObject(val: any): val is object;
|
18
|
+
/**
|
19
|
+
* Check if is type of a boolean
|
20
|
+
* @param obj Object to test whether or not it is a boolean.
|
21
|
+
*/
|
22
|
+
static isBoolean(obj: any): obj is Boolean;
|
23
|
+
static generateguid(): string;
|
24
|
+
static isNativeClass(value: any): boolean;
|
25
|
+
static isPromise(val: any): boolean;
|
26
|
+
static isString(target: any): target is string;
|
27
|
+
static isNumber(target: any): target is number;
|
28
|
+
static clone<T extends I, I>(obj: I): T;
|
29
|
+
}
|
@@ -0,0 +1,61 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.Utils = void 0;
|
4
|
+
class Utils {
|
5
|
+
/**
|
6
|
+
* Determine whether the argument is an array.
|
7
|
+
*
|
8
|
+
* @param obj Object to test whether or not it is an array.
|
9
|
+
*/
|
10
|
+
static isArray(obj) {
|
11
|
+
return Array.isArray(obj);
|
12
|
+
}
|
13
|
+
/**
|
14
|
+
* Check if is type of a function
|
15
|
+
* @param obj Object to test whether or not it is an function.
|
16
|
+
*/
|
17
|
+
static isFunction(obj) {
|
18
|
+
return typeof obj === "function";
|
19
|
+
}
|
20
|
+
/**
|
21
|
+
* Check if is type of a Object
|
22
|
+
* @param obj Object to test whether or not it is a real object.
|
23
|
+
*/
|
24
|
+
static isObject(val) {
|
25
|
+
return toString.call(val) === "[object Object]";
|
26
|
+
}
|
27
|
+
/**
|
28
|
+
* Check if is type of a boolean
|
29
|
+
* @param obj Object to test whether or not it is a boolean.
|
30
|
+
*/
|
31
|
+
static isBoolean(obj) {
|
32
|
+
return typeof obj === "boolean";
|
33
|
+
}
|
34
|
+
static generateguid() {
|
35
|
+
let d = new Date().getTime();
|
36
|
+
const uuid = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function (c) {
|
37
|
+
const r = (d + Math.random() * 16) % 16 | 0;
|
38
|
+
d = Math.floor(d / 16);
|
39
|
+
return (c == "x" ? r : (r & 0x3 | 0x8)).toString(16);
|
40
|
+
});
|
41
|
+
return uuid;
|
42
|
+
}
|
43
|
+
static isNativeClass(value /* :mixed */) {
|
44
|
+
return typeof value === "function" && value.toString().indexOf("class") === 0;
|
45
|
+
}
|
46
|
+
static isPromise(val) {
|
47
|
+
return (val &&
|
48
|
+
typeof val.then === "function" &&
|
49
|
+
typeof val.catch === "function");
|
50
|
+
}
|
51
|
+
static isString(target) {
|
52
|
+
return typeof target === "string";
|
53
|
+
}
|
54
|
+
static isNumber(target) {
|
55
|
+
return typeof target === "number";
|
56
|
+
}
|
57
|
+
static clone(obj) {
|
58
|
+
return JSON.parse(JSON.stringify(obj));
|
59
|
+
}
|
60
|
+
}
|
61
|
+
exports.Utils = Utils;
|
@@ -30,3 +30,5 @@ tslib_1.__exportStar(require("./MultilingualString"), exports);
|
|
30
30
|
tslib_1.__exportStar(require("./properties"), exports);
|
31
31
|
tslib_1.__exportStar(require("./ValueOf"), exports);
|
32
32
|
tslib_1.__exportStar(require("./Enums"), exports);
|
33
|
+
tslib_1.__exportStar(require("./ObjectMerger"), exports);
|
34
|
+
tslib_1.__exportStar(require("./OxideTypeDefinitions"), exports);
|
@@ -1,6 +1,12 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.VelcronImageRatios = void 0;
|
3
4
|
exports.velcronBind = velcronBind;
|
5
|
+
var VelcronImageRatios;
|
6
|
+
(function (VelcronImageRatios) {
|
7
|
+
VelcronImageRatios["square"] = "square";
|
8
|
+
VelcronImageRatios["landscape"] = "landscape";
|
9
|
+
})(VelcronImageRatios || (exports.VelcronImageRatios = VelcronImageRatios = {}));
|
4
10
|
function velcronBind(bindPath) {
|
5
11
|
return `$bind: ${bindPath}`;
|
6
12
|
}
|
@@ -0,0 +1,71 @@
|
|
1
|
+
import { BackgroundDefinition, BlueprintVariant, ContainerFillBlueprint, TextStyleSize, TextStyleType } from "../theme";
|
2
|
+
import { VelcronImageRatios, VelcronSpacing } from "./VelcronDefinition";
|
3
|
+
export interface VelcronState {
|
4
|
+
states?: {
|
5
|
+
active?: boolean;
|
6
|
+
};
|
7
|
+
component?: {
|
8
|
+
title: string;
|
9
|
+
icon: string;
|
10
|
+
};
|
11
|
+
images?: VelcronImagesState;
|
12
|
+
container?: {
|
13
|
+
maxWidth?: number;
|
14
|
+
minHeight?: number;
|
15
|
+
alignX?: string;
|
16
|
+
alignY?: string;
|
17
|
+
colorSchemaType?: string;
|
18
|
+
spacing?: VelcronSpacing;
|
19
|
+
blueprint?: ContainerFillBlueprint | BlueprintVariant;
|
20
|
+
background?: BackgroundDefinition;
|
21
|
+
};
|
22
|
+
grid?: VelcronGridState;
|
23
|
+
content?: VelcronContentState;
|
24
|
+
header?: VelcronHeaderState;
|
25
|
+
properties?: VelcronPropertiesState;
|
26
|
+
spacing?: VelcronSpacingState;
|
27
|
+
}
|
28
|
+
export interface VelcronGridState {
|
29
|
+
columnWidth?: number;
|
30
|
+
columns?: Array<object>;
|
31
|
+
gap?: string | number;
|
32
|
+
}
|
33
|
+
export interface VelcronSpacingState {
|
34
|
+
container?: VelcronSpacing;
|
35
|
+
}
|
36
|
+
export interface VelcronHeaderState {
|
37
|
+
title?: VelcronTextState;
|
38
|
+
icon?: string;
|
39
|
+
}
|
40
|
+
export interface VelcronTextState {
|
41
|
+
text?: string;
|
42
|
+
placeholder?: string;
|
43
|
+
typography?: VelcronTypographyState;
|
44
|
+
}
|
45
|
+
export interface VelcronTypographyState {
|
46
|
+
type?: TextStyleType;
|
47
|
+
size?: TextStyleSize;
|
48
|
+
toned?: boolean;
|
49
|
+
}
|
50
|
+
export interface VelcronContentState {
|
51
|
+
caption?: VelcronTextState;
|
52
|
+
main?: VelcronTextState;
|
53
|
+
title?: VelcronTextState;
|
54
|
+
summary?: VelcronTextState;
|
55
|
+
}
|
56
|
+
export interface VelcronPropertiesState {
|
57
|
+
user: any;
|
58
|
+
mappings: Array<any>;
|
59
|
+
}
|
60
|
+
export interface VelcronImagesState {
|
61
|
+
main?: VelcronImageState;
|
62
|
+
alt1?: VelcronImageState;
|
63
|
+
alt2?: VelcronImageState;
|
64
|
+
}
|
65
|
+
export interface VelcronImageState {
|
66
|
+
url?: string;
|
67
|
+
ratio?: VelcronImageRatios;
|
68
|
+
caption?: VelcronTextState;
|
69
|
+
width?: number;
|
70
|
+
height?: number;
|
71
|
+
}
|
@@ -6,3 +6,4 @@ tslib_1.__exportStar(require("./VelcronEvents"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./VelcronReference"), exports);
|
7
7
|
tslib_1.__exportStar(require("./VelcronContentSection"), exports);
|
8
8
|
tslib_1.__exportStar(require("./VelcronDefinitionCategories"), exports);
|
9
|
+
tslib_1.__exportStar(require("./VelcronState"), exports);
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { VelcronOnUpdatedEvent, VelcronOnClosedEvent, VelcronOnCloseRequestedEvent, VelcronOnPressEvent, VelcronSpacing, VelcronStyling, VelcronCustomComponentDefinition, VelcronAppDefinition, VelcronRendererResolverReference, EventHook, Future, TextBlueprint, VelcronBindableProp, VelcronEditor, ContainerFillBlueprint, BackgroundDefinition, BlueprintVariant, IconBlueprint, ButtonBlueprint, VelcronOnPressOutsideEvent, VelcronOnPointerEnterEvent, VelcronOnPointerLeaveEvent, VelcronColorStyling, VelcronOverflowValues } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
1
|
+
import { VelcronOnUpdatedEvent, VelcronOnClosedEvent, VelcronOnCloseRequestedEvent, VelcronOnPressEvent, VelcronSpacing, VelcronStyling, VelcronCustomComponentDefinition, VelcronAppDefinition, VelcronRendererResolverReference, EventHook, Future, TextBlueprint, VelcronBindableProp, VelcronEditor, ContainerFillBlueprint, BackgroundDefinition, BlueprintVariant, IconBlueprint, ButtonBlueprint, VelcronOnPressOutsideEvent, VelcronOnPointerEnterEvent, VelcronOnPointerLeaveEvent, VelcronColorStyling, VelcronOverflowValues, VelcronImageRatios } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
2
|
import { VelcronComponentArrayType, VelcronPrimitiveType } from "./VelcronTypes";
|
3
3
|
import { AssignOperators, VelcronHorizontalAlignments, VelcronIconTypes, VelcronActionTypes, VelcronVerticalAlignments } from "./Enums";
|
4
4
|
import { DynamicState, VelcronDefinition, VelcronEffects, useVelcronThemingStore } from "..";
|
@@ -257,10 +257,6 @@ export interface VelcronTextDefinition extends VelcronDefinition, VelcronColorSt
|
|
257
257
|
events?: VelcronOnPressEvent & VelcronOnUpdatedEvent;
|
258
258
|
blueprint?: VelcronBindableProp<TextBlueprint>;
|
259
259
|
}
|
260
|
-
export declare enum VelcronImageRatios {
|
261
|
-
square = "square",
|
262
|
-
landscape = "landscape"
|
263
|
-
}
|
264
260
|
export interface VelcronImageDefinition extends VelcronDefinitionWithEditMode {
|
265
261
|
type: "image";
|
266
262
|
value?: VelcronBindableProp<string>;
|
@@ -1,13 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.VelcronImageRatios = void 0;
|
4
3
|
const d = {
|
5
4
|
position: {
|
6
5
|
type: null
|
7
6
|
}
|
8
7
|
};
|
9
|
-
var VelcronImageRatios;
|
10
|
-
(function (VelcronImageRatios) {
|
11
|
-
VelcronImageRatios["square"] = "square";
|
12
|
-
VelcronImageRatios["landscape"] = "landscape";
|
13
|
-
})(VelcronImageRatios || (exports.VelcronImageRatios = VelcronImageRatios = {}));
|
@@ -1,74 +1,4 @@
|
|
1
|
-
import {
|
2
|
-
import { VelcronImageRatios } from "./VelcronDefinitions";
|
3
|
-
export interface VelcronState {
|
4
|
-
states?: {
|
5
|
-
active?: boolean;
|
6
|
-
};
|
7
|
-
component?: {
|
8
|
-
title: string;
|
9
|
-
icon: string;
|
10
|
-
};
|
11
|
-
images?: VelcronImagesState;
|
12
|
-
container?: {
|
13
|
-
maxWidth?: number;
|
14
|
-
minHeight?: number;
|
15
|
-
alignX?: string;
|
16
|
-
alignY?: string;
|
17
|
-
colorSchemaType?: string;
|
18
|
-
spacing?: VelcronSpacing;
|
19
|
-
blueprint?: ContainerFillBlueprint | BlueprintVariant;
|
20
|
-
background?: BackgroundDefinition;
|
21
|
-
};
|
22
|
-
grid?: VelcronGridState;
|
23
|
-
content?: VelcronContentState;
|
24
|
-
header?: VelcronHeaderState;
|
25
|
-
properties?: VelcronPropertiesState;
|
26
|
-
spacing?: VelcronSpacingState;
|
27
|
-
}
|
28
|
-
export interface VelcronGridState {
|
29
|
-
columnWidth?: number;
|
30
|
-
columns?: Array<object>;
|
31
|
-
gap?: string | number;
|
32
|
-
}
|
33
|
-
export interface VelcronSpacingState {
|
34
|
-
container?: VelcronSpacing;
|
35
|
-
}
|
36
|
-
export interface VelcronHeaderState {
|
37
|
-
title?: VelcronTextState;
|
38
|
-
icon?: string;
|
39
|
-
}
|
40
|
-
export interface VelcronTextState {
|
41
|
-
text?: string;
|
42
|
-
placeholder?: string;
|
43
|
-
typography?: VelcronTypographyState;
|
44
|
-
}
|
45
|
-
export interface VelcronTypographyState {
|
46
|
-
type?: TextStyleType;
|
47
|
-
size?: TextStyleSize;
|
48
|
-
toned?: boolean;
|
49
|
-
}
|
50
|
-
export interface VelcronContentState {
|
51
|
-
caption?: VelcronTextState;
|
52
|
-
main?: VelcronTextState;
|
53
|
-
title?: VelcronTextState;
|
54
|
-
summary?: VelcronTextState;
|
55
|
-
}
|
56
|
-
export interface VelcronPropertiesState {
|
57
|
-
user: any;
|
58
|
-
mappings: Array<any>;
|
59
|
-
}
|
60
|
-
export interface VelcronImagesState {
|
61
|
-
main?: VelcronImageState;
|
62
|
-
alt1?: VelcronImageState;
|
63
|
-
alt2?: VelcronImageState;
|
64
|
-
}
|
65
|
-
export interface VelcronImageState {
|
66
|
-
url?: string;
|
67
|
-
ratio?: VelcronImageRatios;
|
68
|
-
caption?: VelcronTextState;
|
69
|
-
width?: number;
|
70
|
-
height?: number;
|
71
|
-
}
|
1
|
+
import { TextBlueprint } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
72
2
|
export declare const VelcronImagesStateBinding: {
|
73
3
|
main: {
|
74
4
|
mediapickerImage: string;
|
@@ -121,9 +121,6 @@ export declare const OPanelTypesName = "OPanelTypes";
|
|
121
121
|
export declare const OIconPresetDefinitions: readonly ["add", "delete", "edit", "drag-handle", "copy", "code", "expand", "remove", "info"];
|
122
122
|
export type OIconPresets = typeof OIconPresetDefinitions[number];
|
123
123
|
export declare const OIconPresetsName = "OIconPresets";
|
124
|
-
export declare const OIconSizeDefinitions: readonly ["x-large", "large", "default", "x-small", "small"];
|
125
|
-
export type OIconSizes = typeof OIconSizeDefinitions[number];
|
126
|
-
export declare const OIconSizesName = "OIconSizes";
|
127
124
|
export declare const OIconAnimationsDefinition: readonly ["spin", "beat", "bounce", "flip"];
|
128
125
|
export type OIconAnimations = typeof OIconAnimationsDefinition[number];
|
129
126
|
export declare const OIconAnimationsName = "OIconAnimations";
|
@@ -211,6 +208,10 @@ export declare const OScrollOffsetTypesName = "OScrollOffsetTypes";
|
|
211
208
|
export declare const OTabVariantDefinitions: readonly ["default", "navigation", "settings", "header", "toolbar"];
|
212
209
|
export type OTabVariants = typeof OTabVariantDefinitions[number];
|
213
210
|
export declare const OTabVariantsName = "OTabVariants";
|
211
|
+
/** Switch */
|
212
|
+
export declare const OSwitchVariantDefinitions: readonly ["default", "button"];
|
213
|
+
export type OSwitchVariants = typeof OSwitchVariantDefinitions[number];
|
214
|
+
export declare const OSwitchVariantsName = "OSwitchVariants";
|
214
215
|
/** Text Box */
|
215
216
|
export declare const OTextBoxVariantTypeDefinitions: readonly ["default", "search", "find-slim", "link", "media"];
|
216
217
|
export type OTextBoxVariantTypes = typeof OTextBoxVariantTypeDefinitions[number];
|
@@ -1,8 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.OPageDividerTypeDefinitions = exports.ODialogSizeDefinitions = exports.ODialogTypesName = exports.ODialogTypeDefinitions = exports.OTextareTypesName = exports.OTextAreaTypeDefinitions = exports.OFormTypeDefinitionsName = exports.OFormTypeDefinitions = exports.OTextFieldName = exports.OTextFieldTypeDefinitions = exports.OChartVariantsName = exports.OChartVariationDefinitions = exports.OColumnVariantsName = exports.OColumnVariantDefinitions = exports.OAlignmentTypesName = exports.OAlignmentTypeDefinitions = exports.OColValuesName = exports.OColValueDefinitions = exports.OButtonGroupTypesName = exports.OButtonGroupTypeDefinitions = exports.OButtonVariantsName = exports.OButtonVariantDefinitions = exports.OButtonPresetsName = exports.OButtonPresetDefinitions = exports.OAlertTypesName = exports.OAlertTypeDefinitions = exports.OAppBarTypesName = exports.OAppBarTypeDefinitions = exports.OQRCodeLevelName = exports.OQRCodeLevelDefinitions = exports.OQRCodeSizeTypesName = exports.OQRCodeSizeTypeDefinitions = exports.OProgressSizeTypesName = exports.OProgressSizeTypeDefinitions = exports.OProgressVariantsName = exports.OProgressVariantDefinitions = exports.OProgressTypesName = exports.OProgressTypeDefinitions = exports.OSliderVariantsName = exports.OSliderVariantDefinitions = exports.ODirectionTypesName = exports.ODirectionDefinitions = exports.ONotificationSizeTypeDefinitions = exports.OContentHeightDefinitions = exports.OSizeTypesName = exports.OSizeTypeDefinitions = exports.OSwitchesVariantsName = exports.OSwitchesDefinitions = exports.OSelectVariantsName = exports.OSelectDefinitions = void 0;
|
4
|
-
exports.OSkeletonLoaderTypeDefinitions = exports.OTextAlignmentTypesName = exports.OTextAlignmentDefinitions = exports.OMultiSelectionStylesName = exports.OMultiSelectionStyleDefinitions = exports.OSelectTypesName = exports.OSelectTypeDefinitions = exports.OScrollTypesName = exports.OScrollTypeDefinitions = exports.OFlexVariantsName = exports.OFlexVariantDefinitions = exports.OVerticalAlignmentsName = exports.OVerticalAlignmentDefinitions = exports.OTabAlignmentsName = exports.OTabAlignmentDefinitions = exports.OHorizontalAlignmentsName = exports.OHorizontalAlignmentDefinitions = exports.OPanelVariantsName = exports.OPanelVariantDefinitions = exports.ORowDirectionsName = exports.ORowDirectionDefinitions = exports.OPaddingTypesName = exports.OPaddingTypeDefinitions = exports.ODividerTypesName = exports.ODividerTypeDefinitions = exports.ONavigationDrawerVariantsName = exports.ONavigationDrawerVariantDefinitions = exports.ONavigationDrawerLocationsName = exports.ONavigationDrawerLocationDefinitions = exports.OMenuLocationsName = exports.OMenuLocationDefinitions = exports.OListLineTypesName = exports.OListLineTypeDefinitions = exports.OListTypesName = exports.OListTypeDefinitions = exports.OListItemVariantsName = exports.OListItemVariantDefinitions = exports.ORatioTypesName = exports.ORatioTypeDefinitions = exports.OIconVariantsName = exports.OIconVariantDefinitions = exports.OIconAnimationsName = exports.OIconAnimationsDefinition = exports.
|
5
|
-
exports.OSkeletonLoaderVariantsName = exports.OSkeletonLoaderDefinitions = exports.OStepperVariantName = exports.OStepperVariantDefinitions = exports.OMultiTextInputModesName = exports.OMultiTextInputModesDefinitions = exports.OSplitpanesVariationTypesName = exports.OSplitpanesVariationDefinitions = exports.ORatingLengthName = exports.ORatingLengthDefinition = exports.ORatingDensityTypesName = exports.ORatingDensityDefinitions = exports.OInfiniteScrollStatusDefinitions = exports.ODraggableVariantsName = exports.ODraggableVariationDefinitions = exports.OToolbarVariantsName = exports.OToolbarVariationDefinitions = exports.OTextBoxTypesName = exports.OTextBoxTypeDefinitions = exports.OTextBoxVariantTypesName = exports.OTextBoxVariantTypeDefinitions = exports.
|
4
|
+
exports.OScrollOffsetTypeDefinitions = exports.OSkeletonLoaderName = exports.OSkeletonLoaderTypeDefinitions = exports.OTextAlignmentTypesName = exports.OTextAlignmentDefinitions = exports.OMultiSelectionStylesName = exports.OMultiSelectionStyleDefinitions = exports.OSelectTypesName = exports.OSelectTypeDefinitions = exports.OScrollTypesName = exports.OScrollTypeDefinitions = exports.OFlexVariantsName = exports.OFlexVariantDefinitions = exports.OVerticalAlignmentsName = exports.OVerticalAlignmentDefinitions = exports.OTabAlignmentsName = exports.OTabAlignmentDefinitions = exports.OHorizontalAlignmentsName = exports.OHorizontalAlignmentDefinitions = exports.OPanelVariantsName = exports.OPanelVariantDefinitions = exports.ORowDirectionsName = exports.ORowDirectionDefinitions = exports.OPaddingTypesName = exports.OPaddingTypeDefinitions = exports.ODividerTypesName = exports.ODividerTypeDefinitions = exports.ONavigationDrawerVariantsName = exports.ONavigationDrawerVariantDefinitions = exports.ONavigationDrawerLocationsName = exports.ONavigationDrawerLocationDefinitions = exports.OMenuLocationsName = exports.OMenuLocationDefinitions = exports.OListLineTypesName = exports.OListLineTypeDefinitions = exports.OListTypesName = exports.OListTypeDefinitions = exports.OListItemVariantsName = exports.OListItemVariantDefinitions = exports.ORatioTypesName = exports.ORatioTypeDefinitions = exports.OIconVariantsName = exports.OIconVariantDefinitions = exports.OIconAnimationsName = exports.OIconAnimationsDefinition = exports.OIconPresetsName = exports.OIconPresetDefinitions = exports.OPanelTypesName = exports.OPanelTypeDefinitions = exports.OPageDividerTypesName = void 0;
|
5
|
+
exports.OSkeletonLoaderVariantsName = exports.OSkeletonLoaderDefinitions = exports.OStepperVariantName = exports.OStepperVariantDefinitions = exports.OMultiTextInputModesName = exports.OMultiTextInputModesDefinitions = exports.OSplitpanesVariationTypesName = exports.OSplitpanesVariationDefinitions = exports.ORatingLengthName = exports.ORatingLengthDefinition = exports.ORatingDensityTypesName = exports.ORatingDensityDefinitions = exports.OInfiniteScrollStatusDefinitions = exports.ODraggableVariantsName = exports.ODraggableVariationDefinitions = exports.OToolbarVariantsName = exports.OToolbarVariationDefinitions = exports.OTextBoxTypesName = exports.OTextBoxTypeDefinitions = exports.OTextBoxVariantTypesName = exports.OTextBoxVariantTypeDefinitions = exports.OSwitchVariantsName = exports.OSwitchVariantDefinitions = exports.OTabVariantsName = exports.OTabVariantDefinitions = exports.OScrollOffsetTypesName = void 0;
|
6
6
|
/** Select */
|
7
7
|
exports.OSelectDefinitions = ["dropdown", "journey", "button"];
|
8
8
|
exports.OSelectVariantsName = "OSelectVariants";
|
@@ -79,8 +79,6 @@ exports.OPanelTypesName = "OPanelTypes";
|
|
79
79
|
/**Icon */
|
80
80
|
exports.OIconPresetDefinitions = ["add", "delete", "edit", "drag-handle", "copy", "code", "expand", "remove", "info"];
|
81
81
|
exports.OIconPresetsName = "OIconPresets";
|
82
|
-
exports.OIconSizeDefinitions = ["x-large", "large", "default", "x-small", "small"];
|
83
|
-
exports.OIconSizesName = "OIconSizes";
|
84
82
|
exports.OIconAnimationsDefinition = ["spin", "beat", "bounce", "flip"];
|
85
83
|
exports.OIconAnimationsName = "OIconAnimations";
|
86
84
|
// export const IconWeightDefinitions = ["default", "fat"] as const;
|
@@ -150,6 +148,9 @@ exports.OScrollOffsetTypeDefinitions = ["dialog", "drawer"];
|
|
150
148
|
exports.OScrollOffsetTypesName = "OScrollOffsetTypes";
|
151
149
|
exports.OTabVariantDefinitions = ["default", "navigation", "settings", "header", "toolbar"];
|
152
150
|
exports.OTabVariantsName = "OTabVariants";
|
151
|
+
/** Switch */
|
152
|
+
exports.OSwitchVariantDefinitions = ["default", "button",];
|
153
|
+
exports.OSwitchVariantsName = "OSwitchVariants";
|
153
154
|
/** Text Box */
|
154
155
|
//export const TextBoxVariantTypeDefinitions = ["default", "filter-menu", "search", "find-slim", "numberselector", "numberselector-prepend", "link", "media"] as const;
|
155
156
|
exports.OTextBoxVariantTypeDefinitions = ["default", "search", "find-slim", "link", "media"];
|