@ui5/webcomponents-base 0.0.0-7c7170d4a → 0.0.0-7d8c57f70

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.
Files changed (120) hide show
  1. package/.eslintignore +18 -0
  2. package/.eslintrc.cjs +3 -0
  3. package/CHANGELOG.md +22 -411
  4. package/README.md +8 -0
  5. package/bundle.esm.js +66 -0
  6. package/config/wdio.conf.cjs +8 -0
  7. package/dist/.tsbuildinfo +1 -1
  8. package/dist/Boot.js +4 -3
  9. package/dist/Boot.js.map +1 -1
  10. package/dist/CSP.d.ts +33 -0
  11. package/dist/CSP.js +54 -0
  12. package/dist/CSP.js.map +1 -0
  13. package/dist/Device.d.ts +2 -1
  14. package/dist/Device.js +12 -5
  15. package/dist/Device.js.map +1 -1
  16. package/dist/FeaturesRegistry.d.ts +10 -1
  17. package/dist/FeaturesRegistry.js +37 -1
  18. package/dist/FeaturesRegistry.js.map +1 -1
  19. package/dist/Keys.d.ts +1 -3
  20. package/dist/Keys.js +1 -5
  21. package/dist/Keys.js.map +1 -1
  22. package/dist/ManagedStyles.js +99 -21
  23. package/dist/ManagedStyles.js.map +1 -1
  24. package/dist/StaticAreaItem.d.ts +35 -0
  25. package/dist/StaticAreaItem.js +100 -0
  26. package/dist/StaticAreaItem.js.map +1 -0
  27. package/dist/UI5Element.d.ts +27 -12
  28. package/dist/UI5Element.js +64 -54
  29. package/dist/UI5Element.js.map +1 -1
  30. package/dist/UI5ElementMetadata.d.ts +6 -7
  31. package/dist/UI5ElementMetadata.js +7 -9
  32. package/dist/UI5ElementMetadata.js.map +1 -1
  33. package/dist/asset-registries/Icons.js +1 -1
  34. package/dist/asset-registries/Icons.js.map +1 -1
  35. package/dist/asset-registries/util/getIconCollectionByTheme.d.ts +3 -3
  36. package/dist/asset-registries/util/getIconCollectionByTheme.js +3 -3
  37. package/dist/asset-registries/util/getIconCollectionByTheme.js.map +1 -1
  38. package/dist/config/AnimationMode.js +1 -2
  39. package/dist/config/AnimationMode.js.map +1 -1
  40. package/dist/config/Theme.d.ts +2 -3
  41. package/dist/config/Theme.js +3 -7
  42. package/dist/config/Theme.js.map +1 -1
  43. package/dist/custom-elements-internal.json +2863 -0
  44. package/dist/custom-elements.json +2593 -0
  45. package/dist/decorators/customElement.d.ts +3 -2
  46. package/dist/decorators/customElement.js +5 -8
  47. package/dist/decorators/customElement.js.map +1 -1
  48. package/dist/features/OpenUI5Support.d.ts +2 -0
  49. package/dist/features/OpenUI5Support.js +25 -5
  50. package/dist/features/OpenUI5Support.js.map +1 -1
  51. package/dist/features/patchPopup.d.ts +3 -7
  52. package/dist/features/patchPopup.js +8 -43
  53. package/dist/features/patchPopup.js.map +1 -1
  54. package/dist/generated/AssetParameters.js +1 -1
  55. package/dist/generated/AssetParameters.js.map +1 -1
  56. package/dist/generated/VersionInfo.js +6 -6
  57. package/dist/generated/VersionInfo.js.map +1 -1
  58. package/dist/renderer/LitRenderer.js +8 -2
  59. package/dist/renderer/LitRenderer.js.map +1 -1
  60. package/dist/renderer/executeTemplate.d.ts +0 -8
  61. package/dist/renderer/executeTemplate.js +0 -1
  62. package/dist/renderer/executeTemplate.js.map +1 -1
  63. package/dist/sap/ui/thirdparty/caja-html-sanitizer.js +1 -1
  64. package/dist/ssr-dom.js +3 -0
  65. package/dist/ssr-dom.js.map +1 -0
  66. package/dist/theming/getConstructableStyle.d.ts +1 -1
  67. package/dist/theming/getConstructableStyle.js +3 -3
  68. package/dist/theming/getConstructableStyle.js.map +1 -1
  69. package/dist/theming/getEffectiveLinksHrefs.d.ts +3 -0
  70. package/dist/theming/getEffectiveLinksHrefs.js +17 -0
  71. package/dist/theming/getEffectiveLinksHrefs.js.map +1 -0
  72. package/dist/theming/getEffectiveStyle.d.ts +1 -1
  73. package/dist/theming/getEffectiveStyle.js +12 -5
  74. package/dist/theming/getEffectiveStyle.js.map +1 -1
  75. package/dist/theming/preloadLinks.d.ts +3 -0
  76. package/dist/theming/preloadLinks.js +19 -0
  77. package/dist/theming/preloadLinks.js.map +1 -0
  78. package/dist/types/ValueState.d.ts +3 -3
  79. package/dist/types/ValueState.js +3 -3
  80. package/dist/types/ValueState.js.map +1 -1
  81. package/dist/types.d.ts +2 -15
  82. package/dist/types.js.map +1 -1
  83. package/dist/updateShadowRoot.d.ts +2 -1
  84. package/dist/updateShadowRoot.js +29 -5
  85. package/dist/updateShadowRoot.js.map +1 -1
  86. package/dist/util/PopupUtils.d.ts +3 -1
  87. package/dist/util/PopupUtils.js +15 -1
  88. package/dist/util/PopupUtils.js.map +1 -1
  89. package/dist/util/createStyleInHead.d.ts +8 -0
  90. package/dist/util/createStyleInHead.js +18 -0
  91. package/dist/util/createStyleInHead.js.map +1 -0
  92. package/dist/util/dragAndDrop/DragRegistry.d.ts +1 -1
  93. package/dist/util/dragAndDrop/DragRegistry.js +0 -2
  94. package/dist/util/dragAndDrop/DragRegistry.js.map +1 -1
  95. package/dist/util/getClassCopy.d.ts +9 -8
  96. package/dist/vscode.html-custom-data.json +22 -0
  97. package/index.js +14 -0
  98. package/lib/generate-asset-parameters/index.js +27 -0
  99. package/lib/generate-styles/index.js +31 -0
  100. package/lib/generate-version-info/index.js +32 -0
  101. package/package-scripts.cjs +2 -9
  102. package/package.json +6 -13
  103. package/tsconfig.json +2 -2
  104. package/used-modules.txt +14 -0
  105. package/dist/features/InputElementsFormSupport.d.ts +0 -18
  106. package/dist/features/InputElementsFormSupport.js +0 -40
  107. package/dist/features/InputElementsFormSupport.js.map +0 -1
  108. package/dist/features/patchPatcher.d.ts +0 -11
  109. package/dist/features/patchPatcher.js +0 -11
  110. package/dist/features/patchPatcher.js.map +0 -1
  111. package/dist/locale/timezoneChange.d.ts +0 -5
  112. package/dist/types/AriaHasPopup.d.ts +0 -32
  113. package/dist/types/AriaHasPopup.js +0 -34
  114. package/dist/types/AriaHasPopup.js.map +0 -1
  115. package/dist/types/AriaLandmarkRole.d.ts +0 -79
  116. package/dist/types/AriaLandmarkRole.js +0 -81
  117. package/dist/types/AriaLandmarkRole.js.map +0 -1
  118. package/dist/types/AriaRole.d.ts +0 -27
  119. package/dist/types/AriaRole.js +0 -29
  120. package/dist/types/AriaRole.js.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ui5/webcomponents-base",
3
- "version": "0.0.0-7c7170d4a",
3
+ "version": "0.0.0-7d8c57f70",
4
4
  "description": "UI5 Web Components: webcomponents.base",
5
5
  "author": "SAP SE (https://www.sap.com)",
6
6
  "license": "Apache-2.0",
@@ -16,7 +16,6 @@
16
16
  "url": "https://github.com/SAP/ui5-webcomponents.git",
17
17
  "directory": "packages/base"
18
18
  },
19
- "types": "./dist",
20
19
  "exports": {
21
20
  "./dist/ssr-dom.js": {
22
21
  "browser": "./dist/ssr-dom.js",
@@ -24,11 +23,7 @@
24
23
  "default": "./dist/ssr-dom.js"
25
24
  },
26
25
  ".": "./index.js",
27
- "./dist/*": {
28
- "production": "./dist/prod/*",
29
- "development": "./dist/*",
30
- "default": "./dist/*"
31
- },
26
+ "./dist/*": "./dist/*",
32
27
  "./package.json": "./package.json",
33
28
  "./bundle.esm.js": "./bundle.esm.js",
34
29
  "./*": "./dist/*"
@@ -40,7 +35,6 @@
40
35
  "build": "nps build",
41
36
  "generate": "nps generate",
42
37
  "generateAPI": "nps generateAPI",
43
- "generateProd": "nps generateProd",
44
38
  "bundle": "nps build.bundle",
45
39
  "test": "nps test",
46
40
  "prepublishOnly": "tsc -b"
@@ -50,16 +44,15 @@
50
44
  "lit-html": "^2.0.1"
51
45
  },
52
46
  "devDependencies": {
53
- "@openui5/sap.ui.core": "1.120.5",
54
- "@ui5/webcomponents-tools": "0.0.0-7c7170d4a",
55
- "chromedriver": "^124.0.4",
47
+ "@ui5/webcomponents-tools": "0.0.0-7d8c57f70",
48
+ "chromedriver": "^126.0.2",
49
+ "@openui5/sap.ui.core": "1.120.17",
56
50
  "clean-css": "^5.2.2",
57
51
  "copy-and-watch": "^0.1.5",
58
52
  "cross-env": "^7.0.3",
59
53
  "eslint": "^7.22.0",
60
54
  "mkdirp": "^1.0.4",
61
55
  "replace-in-file": "^6.3.5",
62
- "resolve": "^1.20.0",
63
- "touch": "^3.1.0"
56
+ "resolve": "^1.20.0"
64
57
  }
65
58
  }
package/tsconfig.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "include": ["src/**/*", "src/global.d.ts"],
3
- // ssr-dom is imported with bare specifier so that conditional exports are used, but this treats it as input and output, so ignore it
4
- "exclude": ["src/ssr-dom.ts"],
3
+ // ssr-dom is imported with bare specifier so that conditional exports are used, but this treats it as input and output
4
+ "exclude": ["src/ssr-dom*.d.ts"],
5
5
  "compilerOptions": {
6
6
  "target": "ES2021",
7
7
  "lib": ["DOM", "DOM.Iterable", "ES2023"],
@@ -0,0 +1,14 @@
1
+ # Needed files from OpenUI5
2
+
3
+ # ./ui5loader-autoconfig.js
4
+ sap/base/util/now.js
5
+ sap/base/util/uid.js
6
+ sap/base/Log.js
7
+ # sap/base/config.js
8
+ sap/base/config/MemoryConfigurationProvider.js
9
+ sap/base/assert.js
10
+ sap/base/security/URLListValidator.js
11
+ sap/base/security/sanitizeHTML.js
12
+ sap/base/strings/toHex.js
13
+ sap/base/security/encodeXML.js
14
+ sap/base/security/encodeCSS.js
@@ -1,18 +0,0 @@
1
- import type UI5Element from "../UI5Element.js";
2
- interface IFormElement extends UI5Element {
3
- _internals?: ElementInternals;
4
- }
5
- interface IFormInputElement extends IFormElement {
6
- name: string;
7
- formFormattedValue: FormData | string | null;
8
- formValidityMessage?: string;
9
- formValidity?: ValidityStateFlags;
10
- formElementAnchor?: () => HTMLElement | undefined | Promise<HTMLElement | undefined>;
11
- }
12
- declare const attachFormElementInternals: (element: IFormInputElement | IFormElement) => void;
13
- declare const setFormValue: (element: IFormInputElement) => void;
14
- declare const setFormValidity: (element: IFormInputElement) => Promise<void>;
15
- declare const submitForm: (element: IFormElement) => void;
16
- declare const resetForm: (element: IFormElement) => void;
17
- export { attachFormElementInternals, setFormValue, setFormValidity, submitForm, resetForm, };
18
- export type { IFormInputElement, IFormElement, };
@@ -1,40 +0,0 @@
1
- const attachFormElementInternals = (element) => {
2
- element._internals = element.attachInternals();
3
- if (isInputElement(element)) {
4
- setFormValue(element);
5
- }
6
- };
7
- const setFormValue = (element) => {
8
- if (!element._internals?.form) {
9
- return;
10
- }
11
- setFormValidity(element);
12
- if (!element.name) {
13
- element._internals?.setFormValue(null);
14
- return;
15
- }
16
- element._internals.setFormValue(element.formFormattedValue);
17
- };
18
- const setFormValidity = async (element) => {
19
- if (!element._internals?.form) {
20
- return;
21
- }
22
- if (element.formValidity && Object.keys(element.formValidity).some(key => key)) {
23
- const focusRef = await element.formElementAnchor?.();
24
- element._internals.setValidity(element.formValidity, element.formValidityMessage, focusRef);
25
- }
26
- else {
27
- element._internals.setValidity({});
28
- }
29
- };
30
- const submitForm = (element) => {
31
- element._internals?.form?.requestSubmit();
32
- };
33
- const resetForm = (element) => {
34
- element._internals?.form?.reset();
35
- };
36
- const isInputElement = (element) => {
37
- return "formFormattedValue" in element && "name" in element;
38
- };
39
- export { attachFormElementInternals, setFormValue, setFormValidity, submitForm, resetForm, };
40
- //# sourceMappingURL=InputElementsFormSupport.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InputElementsFormSupport.js","sourceRoot":"","sources":["../../src/features/InputElementsFormSupport.ts"],"names":[],"mappings":"AAcA,MAAM,0BAA0B,GAAG,CAAC,OAAyC,EAAE,EAAE;IAChF,OAAO,CAAC,UAAU,GAAG,OAAO,CAAC,eAAe,EAAE,CAAC;IAE/C,IAAI,cAAc,CAAC,OAAO,CAAC,EAAE;QAC5B,YAAY,CAAC,OAAO,CAAC,CAAC;KACtB;AACF,CAAC,CAAC;AAEF,MAAM,YAAY,GAAG,CAAC,OAA0B,EAAE,EAAE;IACnD,IAAI,CAAC,OAAO,CAAC,UAAU,EAAE,IAAI,EAAE;QAC9B,OAAO;KACP;IAED,eAAe,CAAC,OAAO,CAAC,CAAC;IAEzB,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE;QAClB,OAAO,CAAC,UAAU,EAAE,YAAY,CAAC,IAAI,CAAC,CAAC;QACvC,OAAO;KACP;IAED,OAAO,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC;AAC7D,CAAC,CAAC;AAEF,MAAM,eAAe,GAAG,KAAK,EAAE,OAA0B,EAAE,EAAE;IAC5D,IAAI,CAAC,OAAO,CAAC,UAAU,EAAE,IAAI,EAAE;QAC9B,OAAO;KACP;IACD,IAAI,OAAO,CAAC,YAAY,IAAI,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE;QAC/E,MAAM,QAAQ,GAAG,MAAM,OAAO,CAAC,iBAAiB,EAAE,EAAE,CAAC;QACrD,OAAO,CAAC,UAAU,CAAC,WAAW,CAAC,OAAO,CAAC,YAAY,EAAE,OAAO,CAAC,mBAAmB,EAAE,QAAQ,CAAC,CAAC;KAC5F;SAAM;QACN,OAAO,CAAC,UAAU,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC;KACnC;AACF,CAAC,CAAC;AAEF,MAAM,UAAU,GAAG,CAAC,OAAqB,EAAE,EAAE;IAC5C,OAAO,CAAC,UAAU,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;AAC3C,CAAC,CAAC;AAEF,MAAM,SAAS,GAAG,CAAC,OAAqB,EAAE,EAAE;IAC3C,OAAO,CAAC,UAAU,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;AACnC,CAAC,CAAC;AAEF,MAAM,cAAc,GAAG,CAAC,OAAyC,EAAgC,EAAE;IAClG,OAAO,oBAAoB,IAAI,OAAO,IAAI,MAAM,IAAI,OAAO,CAAC;AAC7D,CAAC,CAAC;AAEF,OAAO,EACN,0BAA0B,EAC1B,YAAY,EACZ,eAAe,EACf,UAAU,EACV,SAAS,GACT,CAAC","sourcesContent":["import type UI5Element from \"../UI5Element.js\";\n\ninterface IFormElement extends UI5Element {\n\t_internals?: ElementInternals;\n}\n\ninterface IFormInputElement extends IFormElement {\n\tname: string;\n\tformFormattedValue: FormData | string | null;\n\tformValidityMessage?: string;\n\tformValidity?: ValidityStateFlags;\n\tformElementAnchor?: () => HTMLElement | undefined | Promise<HTMLElement | undefined>;\n}\n\nconst attachFormElementInternals = (element: IFormInputElement | IFormElement) => {\n\telement._internals = element.attachInternals();\n\n\tif (isInputElement(element)) {\n\t\tsetFormValue(element);\n\t}\n};\n\nconst setFormValue = (element: IFormInputElement) => {\n\tif (!element._internals?.form) {\n\t\treturn;\n\t}\n\n\tsetFormValidity(element);\n\n\tif (!element.name) {\n\t\telement._internals?.setFormValue(null);\n\t\treturn;\n\t}\n\n\telement._internals.setFormValue(element.formFormattedValue);\n};\n\nconst setFormValidity = async (element: IFormInputElement) => {\n\tif (!element._internals?.form) {\n\t\treturn;\n\t}\n\tif (element.formValidity && Object.keys(element.formValidity).some(key => key)) {\n\t\tconst focusRef = await element.formElementAnchor?.();\n\t\telement._internals.setValidity(element.formValidity, element.formValidityMessage, focusRef);\n\t} else {\n\t\telement._internals.setValidity({});\n\t}\n};\n\nconst submitForm = (element: IFormElement) => {\n\telement._internals?.form?.requestSubmit();\n};\n\nconst resetForm = (element: IFormElement) => {\n\telement._internals?.form?.reset();\n};\n\nconst isInputElement = (element: IFormInputElement | IFormElement): element is IFormInputElement => {\n\treturn \"formFormattedValue\" in element && \"name\" in element;\n};\n\nexport {\n\tattachFormElementInternals,\n\tsetFormValue,\n\tsetFormValidity,\n\tsubmitForm,\n\tresetForm,\n};\n\nexport type {\n\tIFormInputElement,\n\tIFormElement,\n};\n"]}
@@ -1,11 +0,0 @@
1
- type OpenUI5Patcher = {
2
- prototype: {
3
- _mAttributes: {
4
- [key: string]: string;
5
- };
6
- openEnd: () => OpenUI5Patcher;
7
- };
8
- };
9
- declare const patchPatcher: (Patcher: OpenUI5Patcher) => void;
10
- export default patchPatcher;
11
- export type { OpenUI5Patcher };
@@ -1,11 +0,0 @@
1
- const patchPatcher = (Patcher) => {
2
- const origOpenEnd = Patcher.prototype.openEnd;
3
- Patcher.prototype.openEnd = function openEnd() {
4
- if (this._mAttributes.popover) {
5
- delete this._mAttributes.popover; // The "popover" attribute will be managed externally, don't let Patcher remove it
6
- }
7
- return origOpenEnd.apply(this);
8
- };
9
- };
10
- export default patchPatcher;
11
- //# sourceMappingURL=patchPatcher.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"patchPatcher.js","sourceRoot":"","sources":["../../src/features/patchPatcher.ts"],"names":[],"mappings":"AAOA,MAAM,YAAY,GAAG,CAAC,OAAuB,EAAE,EAAE;IAChD,MAAM,WAAW,GAAG,OAAO,CAAC,SAAS,CAAC,OAAO,CAAC;IAC9C,OAAO,CAAC,SAAS,CAAC,OAAO,GAAG,SAAS,OAAO;QAC3C,IAAI,IAAI,CAAC,YAAY,CAAC,OAAO,EAAE;YAC9B,OAAO,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,kFAAkF;SACpH;QACD,OAAO,WAAW,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAChC,CAAC,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC","sourcesContent":["type OpenUI5Patcher = {\n\tprototype: {\n\t\t_mAttributes: { [key: string]: string },\n\t\topenEnd: () => OpenUI5Patcher,\n\t}\n};\n\nconst patchPatcher = (Patcher: OpenUI5Patcher) => {\n\tconst origOpenEnd = Patcher.prototype.openEnd;\n\tPatcher.prototype.openEnd = function openEnd() {\n\t\tif (this._mAttributes.popover) {\n\t\t\tdelete this._mAttributes.popover; // The \"popover\" attribute will be managed externally, don't let Patcher remove it\n\t\t}\n\t\treturn origOpenEnd.apply(this);\n\t};\n};\n\nexport default patchPatcher;\nexport type { OpenUI5Patcher };\n"]}
@@ -1,5 +0,0 @@
1
- type TimezoneChangeCallback = (lang: string) => void;
2
- declare const attachTimezoneChange: (listener: TimezoneChangeCallback) => void;
3
- declare const detachTimezoneChange: (listener: TimezoneChangeCallback) => void;
4
- declare const fireTimezoneChange: (lang: string) => Promise<void[]>;
5
- export { attachTimezoneChange, detachTimezoneChange, fireTimezoneChange, };
@@ -1,32 +0,0 @@
1
- /**
2
- * Different types of ARIA hasPopup.
3
- * @public
4
- */
5
- declare enum AriaHasPopup {
6
- /**
7
- * Dialog popup type.
8
- * @public
9
- */
10
- Dialog = "Dialog",
11
- /**
12
- * Grid popup type.
13
- * @public
14
- */
15
- Grid = "Grid",
16
- /**
17
- * ListBox popup type.
18
- * @public
19
- */
20
- ListBox = "ListBox",
21
- /**
22
- * Menu popup type.
23
- * @public
24
- */
25
- Menu = "Menu",
26
- /**
27
- * Tree popup type.
28
- * @public
29
- */
30
- Tree = "Tree"
31
- }
32
- export default AriaHasPopup;
@@ -1,34 +0,0 @@
1
- /**
2
- * Different types of ARIA hasPopup.
3
- * @public
4
- */
5
- var AriaHasPopup;
6
- (function (AriaHasPopup) {
7
- /**
8
- * Dialog popup type.
9
- * @public
10
- */
11
- AriaHasPopup["Dialog"] = "Dialog";
12
- /**
13
- * Grid popup type.
14
- * @public
15
- */
16
- AriaHasPopup["Grid"] = "Grid";
17
- /**
18
- * ListBox popup type.
19
- * @public
20
- */
21
- AriaHasPopup["ListBox"] = "ListBox";
22
- /**
23
- * Menu popup type.
24
- * @public
25
- */
26
- AriaHasPopup["Menu"] = "Menu";
27
- /**
28
- * Tree popup type.
29
- * @public
30
- */
31
- AriaHasPopup["Tree"] = "Tree";
32
- })(AriaHasPopup || (AriaHasPopup = {}));
33
- export default AriaHasPopup;
34
- //# sourceMappingURL=AriaHasPopup.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AriaHasPopup.js","sourceRoot":"","sources":["../../src/types/AriaHasPopup.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,IAAK,YA8BJ;AA9BD,WAAK,YAAY;IAChB;;;OAGG;IACH,iCAAiB,CAAA;IAEjB;;;OAGG;IACH,6BAAa,CAAA;IAEb;;;OAGG;IACH,mCAAmB,CAAA;IAElB;;;OAGG;IACJ,6BAAa,CAAA;IAEZ;;;OAGG;IACJ,6BAAa,CAAA;AACd,CAAC,EA9BI,YAAY,KAAZ,YAAY,QA8BhB;AAED,eAAe,YAAY,CAAC","sourcesContent":["/**\n * Different types of ARIA hasPopup.\n * @public\n */\nenum AriaHasPopup {\n\t/**\n\t * Dialog popup type.\n\t * @public\n\t */\n\tDialog = \"Dialog\",\n\n\t/**\n\t * Grid popup type.\n\t * @public\n\t */\n\tGrid = \"Grid\",\n\n\t/**\n\t * ListBox popup type.\n\t * @public\n\t */\n\tListBox = \"ListBox\",\n\n\t /**\n\t * Menu popup type.\n\t * @public\n\t */\n\tMenu = \"Menu\",\n\n\t /**\n\t * Tree popup type.\n\t * @public\n\t */\n\tTree = \"Tree\",\n}\n\nexport default AriaHasPopup;\n"]}
@@ -1,79 +0,0 @@
1
- /**
2
- * Defines the ARIA accessible landmark roles.
3
- */
4
- declare enum AriaLandmarkRole {
5
- /**
6
- * No explicit role is applicable.
7
- *
8
- * The interpretation of this value depends on the element which defines a property with this type.
9
- * Normally this value means that no accessible landmark should be written.
10
- *
11
- * @public
12
- */
13
- None = "None",
14
- /**
15
- * The ARIA role <code>banner</code>.
16
- *
17
- * A banner usually appears at the top of the page and typically spans the full width.
18
- *
19
- * @public
20
- */
21
- Banner = "Banner",
22
- /**
23
- * The ARIA role <code>main</code>.
24
- *
25
- * The main content of a page.
26
- *
27
- * @public
28
- */
29
- Main = "Main",
30
- /**
31
- * The ARIA role <code>region</code>.
32
- *
33
- * A section of a page, that is important enough to be included in a page summary or table of contents.
34
- *
35
- * @public
36
- */
37
- Region = "Region",
38
- /**
39
- * The ARIA role <code>navigation</code>.
40
- *
41
- * A region that contains a collection of items and objects that, as a whole, combine to create a navigation facility.
42
- *
43
- * @public
44
- */
45
- Navigation = "Navigation",
46
- /**
47
- * The ARIA role <code>search</code>.
48
- *
49
- * A region that contains a collection of items and objects that, as a whole, combine to create a search facility.
50
- *
51
- * @public
52
- */
53
- Search = "Search",
54
- /**
55
- * The ARIA role <code>complementary</code>.
56
- *
57
- * A section of the page, designed to be complementary to the main content at a similar level in the DOM hierarchy.
58
- *
59
- * @public
60
- */
61
- Complementary = "Complementary",
62
- /**
63
- * The ARIA role <code>form</code>.
64
- *
65
- * A region that contains a collection of items and objects that, as a whole, combine to create a form.
66
- *
67
- * @public
68
- */
69
- Form = "Form",
70
- /**
71
- * The ARIA role <code>contentinfo</code>.
72
- *
73
- * A region that contains information about the content on the page.
74
- *
75
- * @public
76
- */
77
- ContentInfo = "ContentInfo"
78
- }
79
- export default AriaLandmarkRole;
@@ -1,81 +0,0 @@
1
- /**
2
- * Defines the ARIA accessible landmark roles.
3
- */
4
- var AriaLandmarkRole;
5
- (function (AriaLandmarkRole) {
6
- /**
7
- * No explicit role is applicable.
8
- *
9
- * The interpretation of this value depends on the element which defines a property with this type.
10
- * Normally this value means that no accessible landmark should be written.
11
- *
12
- * @public
13
- */
14
- AriaLandmarkRole["None"] = "None";
15
- /**
16
- * The ARIA role <code>banner</code>.
17
- *
18
- * A banner usually appears at the top of the page and typically spans the full width.
19
- *
20
- * @public
21
- */
22
- AriaLandmarkRole["Banner"] = "Banner";
23
- /**
24
- * The ARIA role <code>main</code>.
25
- *
26
- * The main content of a page.
27
- *
28
- * @public
29
- */
30
- AriaLandmarkRole["Main"] = "Main";
31
- /**
32
- * The ARIA role <code>region</code>.
33
- *
34
- * A section of a page, that is important enough to be included in a page summary or table of contents.
35
- *
36
- * @public
37
- */
38
- AriaLandmarkRole["Region"] = "Region";
39
- /**
40
- * The ARIA role <code>navigation</code>.
41
- *
42
- * A region that contains a collection of items and objects that, as a whole, combine to create a navigation facility.
43
- *
44
- * @public
45
- */
46
- AriaLandmarkRole["Navigation"] = "Navigation";
47
- /**
48
- * The ARIA role <code>search</code>.
49
- *
50
- * A region that contains a collection of items and objects that, as a whole, combine to create a search facility.
51
- *
52
- * @public
53
- */
54
- AriaLandmarkRole["Search"] = "Search";
55
- /**
56
- * The ARIA role <code>complementary</code>.
57
- *
58
- * A section of the page, designed to be complementary to the main content at a similar level in the DOM hierarchy.
59
- *
60
- * @public
61
- */
62
- AriaLandmarkRole["Complementary"] = "Complementary";
63
- /**
64
- * The ARIA role <code>form</code>.
65
- *
66
- * A region that contains a collection of items and objects that, as a whole, combine to create a form.
67
- *
68
- * @public
69
- */
70
- AriaLandmarkRole["Form"] = "Form";
71
- /**
72
- * The ARIA role <code>contentinfo</code>.
73
- *
74
- * A region that contains information about the content on the page.
75
- *
76
- * @public
77
- */
78
- AriaLandmarkRole["ContentInfo"] = "ContentInfo";
79
- })(AriaLandmarkRole || (AriaLandmarkRole = {}));
80
- export default AriaLandmarkRole;
81
- //# sourceMappingURL=AriaLandmarkRole.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AriaLandmarkRole.js","sourceRoot":"","sources":["../../src/types/AriaLandmarkRole.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,IAAK,gBAmFJ;AAnFD,WAAK,gBAAgB;IACpB;;;;;;;OAOG;IACH,iCAAa,CAAA;IAEb;;;;;;OAMG;IACH,qCAAiB,CAAA;IAEjB;;;;;;OAMG;IACH,iCAAa,CAAA;IAEb;;;;;;OAMG;IACH,qCAAiB,CAAA;IAEjB;;;;;;OAMG;IACH,6CAAyB,CAAA;IAEzB;;;;;;OAMG;IACH,qCAAiB,CAAA;IAEjB;;;;;;OAMG;IACH,mDAA+B,CAAA;IAE/B;;;;;;OAMG;IACH,iCAAa,CAAA;IAEb;;;;;;OAMG;IACH,+CAA2B,CAAA;AAE5B,CAAC,EAnFI,gBAAgB,KAAhB,gBAAgB,QAmFpB;AAED,eAAe,gBAAgB,CAAC","sourcesContent":["/**\n * Defines the ARIA accessible landmark roles.\n */\nenum AriaLandmarkRole {\n\t/**\n\t * No explicit role is applicable.\n\t *\n\t * The interpretation of this value depends on the element which defines a property with this type.\n\t * Normally this value means that no accessible landmark should be written.\n\t *\n\t * @public\n\t */\n\tNone = \"None\",\n\n\t/**\n\t * The ARIA role <code>banner</code>.\n\t *\n\t * A banner usually appears at the top of the page and typically spans the full width.\n\t *\n\t * @public\n\t */\n\tBanner = \"Banner\",\n\n\t/**\n\t * The ARIA role <code>main</code>.\n\t *\n\t * The main content of a page.\n\t *\n\t * @public\n\t */\n\tMain = \"Main\",\n\n\t/**\n\t * The ARIA role <code>region</code>.\n\t *\n\t * A section of a page, that is important enough to be included in a page summary or table of contents.\n\t *\n\t * @public\n\t */\n\tRegion = \"Region\",\n\n\t/**\n\t * The ARIA role <code>navigation</code>.\n\t *\n\t * A region that contains a collection of items and objects that, as a whole, combine to create a navigation facility.\n\t *\n\t * @public\n\t */\n\tNavigation = \"Navigation\",\n\n\t/**\n\t * The ARIA role <code>search</code>.\n\t *\n\t * A region that contains a collection of items and objects that, as a whole, combine to create a search facility.\n\t *\n\t * @public\n\t */\n\tSearch = \"Search\",\n\n\t/**\n\t * The ARIA role <code>complementary</code>.\n\t *\n\t * A section of the page, designed to be complementary to the main content at a similar level in the DOM hierarchy.\n\t *\n\t * @public\n\t */\n\tComplementary = \"Complementary\",\n\n\t/**\n\t * The ARIA role <code>form</code>.\n\t *\n\t * A region that contains a collection of items and objects that, as a whole, combine to create a form.\n\t *\n\t * @public\n\t */\n\tForm = \"Form\",\n\n\t/**\n\t * The ARIA role <code>contentinfo</code>.\n\t *\n\t * A region that contains information about the content on the page.\n\t *\n\t * @public\n\t */\n\tContentInfo = \"ContentInfo\"\n\n}\n\nexport default AriaLandmarkRole;\n"]}
@@ -1,27 +0,0 @@
1
- /**
2
- * Types of ARIA roles.
3
- * @public
4
- */
5
- declare enum AriaRole {
6
- /**
7
- * The ARIA role "alertdialog".
8
- * @public
9
- */
10
- AlertDialog = "AlertDialog",
11
- /**
12
- * The ARIA role "button".
13
- * @public
14
- */
15
- Button = "Button",
16
- /**
17
- * The ARIA role "dialog".
18
- * @public
19
- */
20
- Dialog = "Dialog",
21
- /**
22
- * The ARIA role "link".
23
- * @public
24
- */
25
- Link = "Link"
26
- }
27
- export default AriaRole;
@@ -1,29 +0,0 @@
1
- /**
2
- * Types of ARIA roles.
3
- * @public
4
- */
5
- var AriaRole;
6
- (function (AriaRole) {
7
- /**
8
- * The ARIA role "alertdialog".
9
- * @public
10
- */
11
- AriaRole["AlertDialog"] = "AlertDialog";
12
- /**
13
- * The ARIA role "button".
14
- * @public
15
- */
16
- AriaRole["Button"] = "Button";
17
- /**
18
- * The ARIA role "dialog".
19
- * @public
20
- */
21
- AriaRole["Dialog"] = "Dialog";
22
- /**
23
- * The ARIA role "link".
24
- * @public
25
- */
26
- AriaRole["Link"] = "Link";
27
- })(AriaRole || (AriaRole = {}));
28
- export default AriaRole;
29
- //# sourceMappingURL=AriaRole.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AriaRole.js","sourceRoot":"","sources":["../../src/types/AriaRole.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,IAAK,QAwBJ;AAxBD,WAAK,QAAQ;IACZ;;;MAGE;IACF,uCAA2B,CAAA;IAE3B;;;OAGG;IACH,6BAAiB,CAAA;IAEjB;;;OAGG;IACH,6BAAiB,CAAA;IAEjB;;;OAGG;IACH,yBAAa,CAAA;AACd,CAAC,EAxBI,QAAQ,KAAR,QAAQ,QAwBZ;AAED,eAAe,QAAQ,CAAC","sourcesContent":["/**\n * Types of ARIA roles.\n * @public\n */\nenum AriaRole {\n\t/**\n\t* The ARIA role \"alertdialog\".\n\t* @public\n\t*/\n\tAlertDialog = \"AlertDialog\",\n\n\t/**\n\t * The ARIA role \"button\".\n\t * @public\n\t */\n\tButton = \"Button\",\n\n\t/**\n\t * The ARIA role \"dialog\".\n\t * @public\n\t */\n\tDialog = \"Dialog\",\n\n\t/**\n\t * The ARIA role \"link\".\n\t * @public\n\t */\n\tLink = \"Link\",\n}\n\nexport default AriaRole;\n"]}