@techdocs/cli 1.8.9-next.1 → 1.8.9

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 (42) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/embedded-app/.config-schema.json +76 -458
  3. package/dist/embedded-app/index.html +1 -1
  4. package/dist/embedded-app/static/115.dcb79bb0.chunk.js +3 -0
  5. package/dist/embedded-app/static/115.dcb79bb0.chunk.js.map +1 -0
  6. package/dist/embedded-app/static/{124.235bfaa5.chunk.js → 124.843ab31e.chunk.js} +1 -1
  7. package/dist/embedded-app/static/{124.235bfaa5.chunk.js.map → 124.843ab31e.chunk.js.map} +1 -1
  8. package/dist/embedded-app/static/{2401.8afa4dc3.chunk.js → 2401.4df01527.chunk.js} +1 -1
  9. package/dist/embedded-app/static/{2401.8afa4dc3.chunk.js.map → 2401.4df01527.chunk.js.map} +1 -1
  10. package/dist/embedded-app/static/{2420.df6a26bf.chunk.js → 2420.18b68427.chunk.js} +1 -1
  11. package/dist/embedded-app/static/{2420.df6a26bf.chunk.js.map → 2420.18b68427.chunk.js.map} +1 -1
  12. package/dist/embedded-app/static/{287.445503fc.chunk.js → 287.ee4ee196.chunk.js} +1 -1
  13. package/dist/embedded-app/static/{287.445503fc.chunk.js.map → 287.ee4ee196.chunk.js.map} +1 -1
  14. package/dist/embedded-app/static/{3632.996cbefd.chunk.js → 3632.95b279c9.chunk.js} +1 -1
  15. package/dist/embedded-app/static/{3632.996cbefd.chunk.js.map → 3632.95b279c9.chunk.js.map} +1 -1
  16. package/dist/embedded-app/static/5974.633b23c0.chunk.js +3 -0
  17. package/dist/embedded-app/static/5974.633b23c0.chunk.js.map +1 -0
  18. package/dist/embedded-app/static/{6271.3ced48b7.chunk.js → 6271.25803276.chunk.js} +1 -1
  19. package/dist/embedded-app/static/{6271.3ced48b7.chunk.js.map → 6271.25803276.chunk.js.map} +1 -1
  20. package/dist/embedded-app/static/{8384.dbbfd1c3.chunk.js → 8384.a139d26a.chunk.js} +1 -1
  21. package/dist/embedded-app/static/{8384.dbbfd1c3.chunk.js.map → 8384.a139d26a.chunk.js.map} +1 -1
  22. package/dist/embedded-app/static/{9652.a9bdffaf.chunk.js → 9652.9a93372c.chunk.js} +1 -1
  23. package/dist/embedded-app/static/{9652.a9bdffaf.chunk.js.map → 9652.9a93372c.chunk.js.map} +1 -1
  24. package/dist/embedded-app/static/{main.7025f0d6.js → main.e02a8f27.js} +5 -5
  25. package/dist/embedded-app/static/main.e02a8f27.js.map +1 -0
  26. package/dist/embedded-app/static/{module-material-ui.033f9fa6.js → module-material-ui.1eefc717.js} +2 -2
  27. package/dist/embedded-app/static/{module-material-ui.033f9fa6.js.map → module-material-ui.1eefc717.js.map} +1 -1
  28. package/dist/embedded-app/static/module-mui.3056800b.js +3 -0
  29. package/dist/embedded-app/static/module-mui.3056800b.js.map +1 -0
  30. package/dist/embedded-app/static/{runtime.7025f0d6.js → runtime.e02a8f27.js} +2 -2
  31. package/dist/embedded-app/static/{runtime.7025f0d6.js.map → runtime.e02a8f27.js.map} +1 -1
  32. package/dist/embedded-app/static/vendor.e02a8f27.js +160 -0
  33. package/dist/embedded-app/static/vendor.e02a8f27.js.map +1 -0
  34. package/dist/index.cjs.js +1 -1
  35. package/package.json +4 -4
  36. package/dist/embedded-app/static/233.35298ac1.chunk.js +0 -3
  37. package/dist/embedded-app/static/233.35298ac1.chunk.js.map +0 -1
  38. package/dist/embedded-app/static/5974.9b9b6627.chunk.js +0 -3
  39. package/dist/embedded-app/static/5974.9b9b6627.chunk.js.map +0 -1
  40. package/dist/embedded-app/static/main.7025f0d6.js.map +0 -1
  41. package/dist/embedded-app/static/vendor.7025f0d6.js +0 -160
  42. package/dist/embedded-app/static/vendor.7025f0d6.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # @techdocs/cli
2
2
 
3
+ ## 1.8.9
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @backstage/backend-common@0.21.7
9
+ - @backstage/plugin-techdocs-node@1.12.3
10
+ - @backstage/catalog-model@1.4.5
11
+ - @backstage/cli-common@0.1.13
12
+ - @backstage/config@1.2.0
13
+
3
14
  ## 1.8.9-next.1
4
15
 
5
16
  ### Patch Changes
@@ -1484,8 +1484,83 @@
1484
1484
  "dangerouslyDisableDefaultAuthPolicy": {
1485
1485
  "description": "This disables the otherwise default auth policy, which requires all\nrequests to be authenticated with either user or service credentials.\n\nDisabling this check means that the backend will no longer block\nunauthenticated requests, but instead allow them to pass through to\nplugins.\n\nIf permissions are enabled, unauthenticated requests will be treated\nexactly as such, leaving it to the permission policy to determine what\npermissions should be allowed for an unauthenticated identity. Note\nthat this will also apply to service-to-service calls between plugins\nunless you configure credentials for service calls.",
1486
1486
  "type": "boolean"
1487
+ },
1488
+ "externalAccess": {
1489
+ "description": "Configures methods of external access, ie ways for callers outside of\nthe Backstage ecosystem to get authorized for access to APIs that do\nnot permit unauthorized access.",
1490
+ "type": "array",
1491
+ "items": {
1492
+ "anyOf": [
1493
+ {
1494
+ "type": "object",
1495
+ "properties": {
1496
+ "type": {
1497
+ "description": "This is the legacy service-to-service access method, where a set\nof static keys were shared among plugins and used for symmetric\nsigning and verification. These correspond to the old\n`backend.auth.keys` set and retain their behavior for backwards\ncompatibility. Please migrate to other access methods when\npossible.\n\nCallers generate JWT tokens with the following payload:\n\n```json\n{\n \"sub\": \"backstage-plugin\",\n \"exp\": <epoch seconds one hour in the future>\n}\n```\n\nAnd sign them with HS256, using the base64 decoded secret. The\ntokens are then passed along with requests in the Authorization\nheader:\n\n```\nAuthorization: Bearer eyJhbGciOiJIUzI...\n```",
1498
+ "type": "string",
1499
+ "const": "legacy"
1500
+ },
1501
+ "options": {
1502
+ "type": "object",
1503
+ "properties": {
1504
+ "secret": {
1505
+ "description": "Any set of base64 encoded random bytes to be used as both the\nsigning and verification key. Should be sufficiently long so as\nnot to be easy to guess by brute force.\n\nCan be generated eg using\n\n```sh\nnode -p 'require(\"crypto\").randomBytes(24).toString(\"base64\")'\n```",
1506
+ "visibility": "secret",
1507
+ "type": "string"
1508
+ },
1509
+ "subject": {
1510
+ "description": "Sets the subject of the principal, when matching this token.\nUseful for debugging and tracking purposes.",
1511
+ "type": "string"
1512
+ }
1513
+ },
1514
+ "required": [
1515
+ "secret",
1516
+ "subject"
1517
+ ]
1518
+ }
1519
+ },
1520
+ "required": [
1521
+ "options",
1522
+ "type"
1523
+ ]
1524
+ },
1525
+ {
1526
+ "type": "object",
1527
+ "properties": {
1528
+ "type": {
1529
+ "description": "This access method consists of random static tokens that can be\nhanded out to callers.\n\nThe tokens are then passed along verbatim with requests in the\nAuthorization header:\n\n```\nAuthorization: Bearer eZv5o+fW3KnR3kVabMW4ZcDNLPl8nmMW\n```",
1530
+ "type": "string",
1531
+ "const": "static"
1532
+ },
1533
+ "options": {
1534
+ "type": "object",
1535
+ "properties": {
1536
+ "token": {
1537
+ "description": "A raw token that can be any string, but for security reasons\nshould be sufficiently long so as not to be easy to guess by\nbrute force.\n\nCan be generated eg using\n\n```sh\nnode -p 'require(\"crypto\").randomBytes(24).toString(\"base64\")'\n```\n\nSince the tokens can be any string, you are free to add\nadditional identifying data to them if you like. For example,\nadding a `freben-local-dev-` prefix for debugging purposes to a\ntoken that you know will be handed out for use as a personal\naccess token during development.",
1538
+ "visibility": "secret",
1539
+ "type": "string"
1540
+ },
1541
+ "subject": {
1542
+ "description": "Sets the subject of the principal, when matching this token.\nUseful for debugging and tracking purposes.",
1543
+ "type": "string"
1544
+ }
1545
+ },
1546
+ "required": [
1547
+ "subject",
1548
+ "token"
1549
+ ]
1550
+ }
1551
+ },
1552
+ "required": [
1553
+ "options",
1554
+ "type"
1555
+ ]
1556
+ }
1557
+ ]
1558
+ }
1487
1559
  }
1488
- }
1560
+ },
1561
+ "required": [
1562
+ "externalAccess"
1563
+ ]
1489
1564
  }
1490
1565
  }
1491
1566
  },
@@ -1653,463 +1728,6 @@
1653
1728
  },
1654
1729
  "$schema": "http://json-schema.org/draft-07/schema#"
1655
1730
  }
1656
- },
1657
- {
1658
- "path": "../../node_modules/@oriflame/backstage-plugin-score-card/node_modules/@backstage/plugin-catalog-react/node_modules/@backstage/core-components/config.d.ts",
1659
- "value": {
1660
- "type": "object",
1661
- "properties": {
1662
- "auth": {
1663
- "type": "object",
1664
- "properties": {
1665
- "autologout": {
1666
- "description": "Autologout feature configuration",
1667
- "type": "object",
1668
- "properties": {
1669
- "enabled": {
1670
- "description": "Enable or disable the autologout feature",
1671
- "visibility": "frontend",
1672
- "type": "boolean"
1673
- },
1674
- "idleTimeoutMinutes": {
1675
- "description": "Number of minutes after which the inactive user is logged out automatically.\nDefault is 60 minutes (1 hour)",
1676
- "visibility": "frontend",
1677
- "type": "number"
1678
- },
1679
- "promptBeforeIdleSeconds": {
1680
- "description": "Number of seconds before the idle timeout where the user will be asked if it's still active.\nA dialog will be shown.\nDefault is 10 seconds.\nSet to 0 seconds to disable the prompt.",
1681
- "visibility": "frontend",
1682
- "type": "number"
1683
- },
1684
- "useWorkerTimers": {
1685
- "description": "Enable/disable the usage of worker thread timers instead of main thread timers.\nDefault is true.\nIf you experience some browser incompatibility, you may try to set this to false.",
1686
- "visibility": "frontend",
1687
- "type": "boolean"
1688
- },
1689
- "logoutIfDisconnected": {
1690
- "description": "Enable/disable the automatic logout also on users that are logged in but with no Backstage tabs open.\nDefault is true.",
1691
- "visibility": "frontend",
1692
- "type": "boolean"
1693
- }
1694
- }
1695
- }
1696
- }
1697
- }
1698
- },
1699
- "$schema": "http://json-schema.org/draft-07/schema#"
1700
- }
1701
- },
1702
- {
1703
- "path": "../../node_modules/@oriflame/backstage-plugin-score-card/node_modules/@backstage/integration/config.d.ts",
1704
- "value": {
1705
- "type": "object",
1706
- "properties": {
1707
- "integrations": {
1708
- "description": "Configuration for integrations towards various external repository provider systems",
1709
- "visibility": "frontend",
1710
- "type": "object",
1711
- "properties": {
1712
- "azure": {
1713
- "description": "Integration configuration for Azure",
1714
- "type": "array",
1715
- "items": {
1716
- "type": "object",
1717
- "properties": {
1718
- "host": {
1719
- "description": "The hostname of the given Azure instance",
1720
- "visibility": "frontend",
1721
- "type": "string"
1722
- },
1723
- "token": {
1724
- "description": "Token used to authenticate requests.",
1725
- "visibility": "secret",
1726
- "deprecated": "Use `credentials` instead.",
1727
- "type": "string"
1728
- },
1729
- "credential": {
1730
- "description": "The credential to use for requests.\n\nIf no credential is specified anonymous access is used.",
1731
- "deepVisibility": "secret",
1732
- "deprecated": "Use `credentials` instead.",
1733
- "type": "object",
1734
- "properties": {
1735
- "clientId": {
1736
- "type": "string"
1737
- },
1738
- "clientSecret": {
1739
- "type": "string"
1740
- },
1741
- "tenantId": {
1742
- "type": "string"
1743
- },
1744
- "personalAccessToken": {
1745
- "type": "string"
1746
- }
1747
- }
1748
- },
1749
- "credentials": {
1750
- "description": "The credentials to use for requests. If multiple credentials are specified the first one that matches the organization is used.\nIf not organization matches the first credential without an organization is used.\n\nIf no credentials are specified at all, either a default credential (for Azure DevOps) or anonymous access (for Azure DevOps Server) is used.",
1751
- "deepVisibility": "secret",
1752
- "type": "array",
1753
- "items": {
1754
- "type": "object",
1755
- "properties": {
1756
- "clientId": {
1757
- "type": "string"
1758
- },
1759
- "clientSecret": {
1760
- "type": "string"
1761
- },
1762
- "tenantId": {
1763
- "type": "string"
1764
- },
1765
- "personalAccessToken": {
1766
- "type": "string"
1767
- }
1768
- }
1769
- }
1770
- }
1771
- },
1772
- "required": [
1773
- "host"
1774
- ]
1775
- }
1776
- },
1777
- "bitbucket": {
1778
- "description": "Integration configuration for Bitbucket",
1779
- "deprecated": "replaced by bitbucketCloud and bitbucketServer",
1780
- "type": "array",
1781
- "items": {
1782
- "type": "object",
1783
- "properties": {
1784
- "host": {
1785
- "description": "The hostname of the given Bitbucket instance",
1786
- "visibility": "frontend",
1787
- "type": "string"
1788
- },
1789
- "token": {
1790
- "description": "Token used to authenticate requests.",
1791
- "visibility": "secret",
1792
- "type": "string"
1793
- },
1794
- "apiBaseUrl": {
1795
- "description": "The base url for the Bitbucket API, for example https://api.bitbucket.org/2.0",
1796
- "visibility": "frontend",
1797
- "type": "string"
1798
- },
1799
- "username": {
1800
- "description": "The username to use for authenticated requests.",
1801
- "visibility": "secret",
1802
- "type": "string"
1803
- },
1804
- "appPassword": {
1805
- "description": "Bitbucket app password used to authenticate requests.",
1806
- "visibility": "secret",
1807
- "type": "string"
1808
- }
1809
- },
1810
- "required": [
1811
- "host"
1812
- ]
1813
- }
1814
- },
1815
- "bitbucketCloud": {
1816
- "description": "Integration configuration for Bitbucket Cloud",
1817
- "type": "array",
1818
- "items": {
1819
- "type": "object",
1820
- "properties": {
1821
- "username": {
1822
- "description": "The username to use for authenticated requests.",
1823
- "visibility": "secret",
1824
- "type": "string"
1825
- },
1826
- "appPassword": {
1827
- "description": "Bitbucket Cloud app password used to authenticate requests.",
1828
- "visibility": "secret",
1829
- "type": "string"
1830
- }
1831
- },
1832
- "required": [
1833
- "appPassword",
1834
- "username"
1835
- ]
1836
- }
1837
- },
1838
- "bitbucketServer": {
1839
- "description": "Integration configuration for Bitbucket Server",
1840
- "type": "array",
1841
- "items": {
1842
- "type": "object",
1843
- "properties": {
1844
- "host": {
1845
- "description": "The hostname of the given Bitbucket Server instance",
1846
- "visibility": "frontend",
1847
- "type": "string"
1848
- },
1849
- "token": {
1850
- "description": "Token used to authenticate requests.",
1851
- "visibility": "secret",
1852
- "type": "string"
1853
- },
1854
- "username": {
1855
- "description": "Username used to authenticate requests with Basic Auth.",
1856
- "visibility": "secret",
1857
- "type": "string"
1858
- },
1859
- "password": {
1860
- "description": "Password (or token as password) used to authenticate requests with Basic Auth.",
1861
- "visibility": "secret",
1862
- "type": "string"
1863
- },
1864
- "apiBaseUrl": {
1865
- "description": "The base url for the Bitbucket Server API, for example https://<host>/rest/api/1.0",
1866
- "visibility": "frontend",
1867
- "type": "string"
1868
- }
1869
- },
1870
- "required": [
1871
- "host"
1872
- ]
1873
- }
1874
- },
1875
- "gerrit": {
1876
- "description": "Integration configuration for Gerrit",
1877
- "type": "array",
1878
- "items": {
1879
- "type": "object",
1880
- "properties": {
1881
- "host": {
1882
- "description": "The hostname of the given Gerrit instance",
1883
- "visibility": "frontend",
1884
- "type": "string"
1885
- },
1886
- "baseUrl": {
1887
- "description": "The base url for the Gerrit instance.",
1888
- "visibility": "frontend",
1889
- "type": "string"
1890
- },
1891
- "cloneUrl": {
1892
- "description": "The base url for cloning repos.",
1893
- "visibility": "frontend",
1894
- "type": "string"
1895
- },
1896
- "username": {
1897
- "description": "The username to use for authenticated requests.",
1898
- "visibility": "secret",
1899
- "type": "string"
1900
- },
1901
- "password": {
1902
- "description": "Gerrit password used to authenticate requests. This can be either a password\nor a generated access token.",
1903
- "visibility": "secret",
1904
- "type": "string"
1905
- }
1906
- },
1907
- "required": [
1908
- "host"
1909
- ]
1910
- }
1911
- },
1912
- "github": {
1913
- "description": "Integration configuration for GitHub",
1914
- "type": "array",
1915
- "items": {
1916
- "type": "object",
1917
- "properties": {
1918
- "host": {
1919
- "description": "The hostname of the given GitHub instance",
1920
- "visibility": "frontend",
1921
- "type": "string"
1922
- },
1923
- "token": {
1924
- "description": "Token used to authenticate requests.",
1925
- "visibility": "secret",
1926
- "type": "string"
1927
- },
1928
- "apiBaseUrl": {
1929
- "description": "The base url for the GitHub API, for example https://api.github.com",
1930
- "visibility": "frontend",
1931
- "type": "string"
1932
- },
1933
- "rawBaseUrl": {
1934
- "description": "The base url for GitHub raw resources, for example https://raw.githubusercontent.com",
1935
- "visibility": "frontend",
1936
- "type": "string"
1937
- },
1938
- "apps": {
1939
- "description": "GitHub Apps configuration",
1940
- "type": "array",
1941
- "items": {
1942
- "type": "object",
1943
- "properties": {
1944
- "appId": {
1945
- "description": "The numeric GitHub App ID, string for environment variables",
1946
- "type": [
1947
- "string",
1948
- "number"
1949
- ]
1950
- },
1951
- "privateKey": {
1952
- "description": "The private key to use for auth against the app",
1953
- "visibility": "secret",
1954
- "type": "string"
1955
- },
1956
- "webhookSecret": {
1957
- "description": "The secret used for webhooks",
1958
- "visibility": "secret",
1959
- "type": "string"
1960
- },
1961
- "clientId": {
1962
- "description": "The client ID to use",
1963
- "type": "string"
1964
- },
1965
- "clientSecret": {
1966
- "description": "The client secret to use",
1967
- "visibility": "secret",
1968
- "type": "string"
1969
- },
1970
- "allowedInstallationOwners": {
1971
- "description": "List of installation owners allowed to be used by this GitHub app. The GitHub UI does not provide a way to list the installations.\nHowever you can list the installations with the GitHub API. You can find the list of installations here:\nhttps://api.github.com/app/installations\nThe relevant documentation for this is here.\nhttps://docs.github.com/en/rest/reference/apps#list-installations-for-the-authenticated-app--code-samples",
1972
- "type": "array",
1973
- "items": {
1974
- "type": "string"
1975
- }
1976
- }
1977
- },
1978
- "required": [
1979
- "appId",
1980
- "clientId",
1981
- "clientSecret",
1982
- "privateKey",
1983
- "webhookSecret"
1984
- ]
1985
- }
1986
- }
1987
- },
1988
- "required": [
1989
- "host"
1990
- ]
1991
- }
1992
- },
1993
- "gitlab": {
1994
- "description": "Integration configuration for GitLab",
1995
- "type": "array",
1996
- "items": {
1997
- "type": "object",
1998
- "properties": {
1999
- "host": {
2000
- "description": "The host of the target that this matches on, e.g. \"gitlab.com\".",
2001
- "visibility": "frontend",
2002
- "type": "string"
2003
- },
2004
- "apiBaseUrl": {
2005
- "description": "The base URL of the API of this provider, e.g.\n\"https://gitlab.com/api/v4\", with no trailing slash.\n\nMay be omitted specifically for public GitLab; then it will be deduced.",
2006
- "visibility": "frontend",
2007
- "type": "string"
2008
- },
2009
- "token": {
2010
- "description": "The authorization token to use for requests to this provider.\n\nIf no token is specified, anonymous access is used.",
2011
- "visibility": "secret",
2012
- "type": "string"
2013
- },
2014
- "baseUrl": {
2015
- "description": "The baseUrl of this provider, e.g. \"https://gitlab.com\", which is\npassed into the GitLab client.\n\nIf no baseUrl is provided, it will default to https://${host}.",
2016
- "visibility": "frontend",
2017
- "type": "string"
2018
- }
2019
- },
2020
- "required": [
2021
- "host"
2022
- ]
2023
- }
2024
- },
2025
- "googleGcs": {
2026
- "description": "Integration configuration for Google Cloud Storage",
2027
- "type": "object",
2028
- "properties": {
2029
- "clientEmail": {
2030
- "description": "Service account email used to authenticate requests.",
2031
- "type": "string"
2032
- },
2033
- "privateKey": {
2034
- "description": "Service account private key used to authenticate requests.",
2035
- "visibility": "secret",
2036
- "type": "string"
2037
- }
2038
- }
2039
- },
2040
- "awsS3": {
2041
- "description": "Integration configuration for AWS S3 Service",
2042
- "type": "array",
2043
- "items": {
2044
- "type": "object",
2045
- "properties": {
2046
- "endpoint": {
2047
- "description": "AWS Endpoint.\nThe endpoint URI to send requests to. The default endpoint is built from the configured region.",
2048
- "visibility": "frontend",
2049
- "type": "string"
2050
- },
2051
- "s3ForcePathStyle": {
2052
- "description": "Whether to use path style URLs when communicating with S3.\nDefaults to false.\nThis allows providers like LocalStack, Minio and Wasabi (and possibly others) to be used.",
2053
- "visibility": "frontend",
2054
- "type": "boolean"
2055
- },
2056
- "accessKeyId": {
2057
- "description": "Account access key used to authenticate requests.",
2058
- "type": "string"
2059
- },
2060
- "secretAccessKey": {
2061
- "description": "Account secret key used to authenticate requests.",
2062
- "visibility": "secret",
2063
- "type": "string"
2064
- },
2065
- "roleArn": {
2066
- "description": "ARN of the role to be assumed",
2067
- "type": "string"
2068
- },
2069
- "externalId": {
2070
- "description": "External ID to use when assuming role",
2071
- "type": "string"
2072
- }
2073
- }
2074
- }
2075
- },
2076
- "gitea": {
2077
- "description": "Integration configuration for Gitea",
2078
- "type": "array",
2079
- "items": {
2080
- "type": "object",
2081
- "properties": {
2082
- "host": {
2083
- "description": "The hostname of the given Gitea instance",
2084
- "visibility": "frontend",
2085
- "type": "string"
2086
- },
2087
- "baseUrl": {
2088
- "description": "The base url for the Gitea instance.",
2089
- "visibility": "frontend",
2090
- "type": "string"
2091
- },
2092
- "username": {
2093
- "description": "The username to use for authenticated requests.",
2094
- "visibility": "secret",
2095
- "type": "string"
2096
- },
2097
- "password": {
2098
- "description": "Gitea password used to authenticate requests. This can be either a password\nor a generated access token.",
2099
- "visibility": "secret",
2100
- "type": "string"
2101
- }
2102
- },
2103
- "required": [
2104
- "host"
2105
- ]
2106
- }
2107
- }
2108
- }
2109
- }
2110
- },
2111
- "$schema": "http://json-schema.org/draft-07/schema#"
2112
- }
2113
1731
  }
2114
1732
  ],
2115
1733
  "backstageConfigSchemaVersion": 1
@@ -1 +1 @@
1
- <!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Backstage is an open source framework for building developer portals"/><link rel="manifest" href="/manifest.json" crossorigin="use-credentials"/><link rel="icon" href="/favicon.ico"/><link rel="shortcut icon" href="/favicon.ico"/><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"/><link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"/><link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"/><link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5"/><title>Techdocs Preview App</title><script defer="defer" src="/static/runtime.7025f0d6.js"></script><script defer="defer" src="/static/module-material-ui.033f9fa6.js"></script><script defer="defer" src="/static/module-material-table.145eb704.js"></script><script defer="defer" src="/static/module-lodash.1a2b8e11.js"></script><script defer="defer" src="/static/module-react-dom.3e65b8bc.js"></script><script defer="defer" src="/static/module-react-router.07ec2a81.js"></script><script defer="defer" src="/static/module-react-router-dom.ba9d01bf.js"></script><script defer="defer" src="/static/module-react-beautiful-dnd.8a51ed97.js"></script><script defer="defer" src="/static/module-zod.955be94f.js"></script><script defer="defer" src="/static/module-i18next.40b7c233.js"></script><script defer="defer" src="/static/vendor.7025f0d6.js"></script><script defer="defer" src="/static/main.7025f0d6.js"></script></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
1
+ <!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Backstage is an open source framework for building developer portals"/><link rel="manifest" href="/manifest.json" crossorigin="use-credentials"/><link rel="icon" href="/favicon.ico"/><link rel="shortcut icon" href="/favicon.ico"/><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"/><link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"/><link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"/><link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5"/><title>Techdocs Preview App</title><meta name="backstage-app-mode" content="public"><script defer="defer" src="/static/runtime.e02a8f27.js"></script><script defer="defer" src="/static/module-material-ui.1eefc717.js"></script><script defer="defer" src="/static/module-material-table.145eb704.js"></script><script defer="defer" src="/static/module-lodash.1a2b8e11.js"></script><script defer="defer" src="/static/module-mui.3056800b.js"></script><script defer="defer" src="/static/module-react-dom.3e65b8bc.js"></script><script defer="defer" src="/static/module-react-router.07ec2a81.js"></script><script defer="defer" src="/static/module-react-router-dom.ba9d01bf.js"></script><script defer="defer" src="/static/module-react-beautiful-dnd.8a51ed97.js"></script><script defer="defer" src="/static/module-zod.955be94f.js"></script><script defer="defer" src="/static/module-i18next.40b7c233.js"></script><script defer="defer" src="/static/vendor.e02a8f27.js"></script><script defer="defer" src="/static/main.e02a8f27.js"></script></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
@@ -0,0 +1,3 @@
1
+ (()=>{(self.webpackChunktechdocs_cli_embedded_app=self.webpackChunktechdocs_cli_embedded_app||[]).push([[115],{39330:function(f,p,e){"use strict";var r,i=e(4293),s=e(78920);r={value:!0},p.A=void 0;var a=s(e(14041)),t=i(e(74044)),l=(0,t.default)(a.createElement("path",{d:"M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"}),"OpenInNew");p.A=l},9402:function(f,p){"use strict";const e={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};p.A=e},86912:function(f){function p(e,r,i){switch(i.length){case 0:return e.call(r);case 1:return e.call(r,i[0]);case 2:return e.call(r,i[0],i[1]);case 3:return e.call(r,i[0],i[1],i[2])}return e.apply(r,i)}f.exports=p},84570:function(f,p,e){var r=e(47170),i=e(45770),s=i(r);f.exports=s},90313:function(f,p,e){var r=e(11129),i=e(20714);function s(a,t,l,c,o){var y=-1,b=a.length;for(l||(l=i),o||(o=[]);++y<b;){var m=a[y];t>0&&l(m)?t>1?s(m,t-1,l,c,o):r(o,m):c||(o[o.length]=m)}return o}f.exports=s},41393:function(f,p,e){var r=e(84570),i=e(36529);function s(a,t){var l=-1,c=i(a)?Array(a.length):[];return r(a,function(o,y,b){c[++l]=t(o,y,b)}),c}f.exports=s},70310:function(f,p,e){var r=e(65111),i=e(57923),s=e(3334),a=e(41393),t=e(50642),l=e(49460),c=e(46775),o=e(22053),y=e(53142);function b(m,n,v){n.length?n=r(n,function($){return y($)?function(P){return i(P,$.length===1?$[0]:$)}:$}):n=[o];var E=-1;n=r(n,l(s));var C=a(m,function($,P,k){var Y=r(n,function(D){return D($)});return{criteria:Y,index:++E,value:$}});return t(C,function($,P){return c($,P,v)})}f.exports=b},23945:function(f,p,e){var r=e(22053),i=e(75234),s=e(80796);function a(t,l){return s(i(t,l,r),t+"")}f.exports=a},47403:function(f,p,e){var r=e(82619),i=e(72532),s=e(22053),a=i?function(t,l){return i(t,"toString",{configurable:!0,enumerable:!1,value:r(l),writable:!0})}:s;f.exports=a},50642:function(f){function p(e,r){var i=e.length;for(e.sort(r);i--;)e[i]=e[i].value;return e}f.exports=p},63521:function(f,p,e){var r=e(51187);function i(s,a){if(s!==a){var t=s!==void 0,l=s===null,c=s===s,o=r(s),y=a!==void 0,b=a===null,m=a===a,n=r(a);if(!b&&!n&&!o&&s>a||o&&y&&m&&!b&&!n||l&&y&&m||!t&&m||!c)return 1;if(!l&&!o&&!n&&s<a||n&&t&&c&&!l&&!o||b&&t&&c||!y&&c||!m)return-1}return 0}f.exports=i},46775:function(f,p,e){var r=e(63521);function i(s,a,t){for(var l=-1,c=s.criteria,o=a.criteria,y=c.length,b=t.length;++l<y;){var m=r(c[l],o[l]);if(m){if(l>=b)return m;var n=t[l];return m*(n=="desc"?-1:1)}}return s.index-a.index}f.exports=i},45770:function(f,p,e){var r=e(36529);function i(s,a){return function(t,l){if(t==null)return t;if(!r(t))return s(t,l);for(var c=t.length,o=a?c:-1,y=Object(t);(a?o--:++o<c)&&l(y[o],o,y)!==!1;);return t}}f.exports=i},20714:function(f,p,e){var r=e(65650),i=e(3283),s=e(53142),a=r?r.isConcatSpreadable:void 0;function t(l){return s(l)||i(l)||!!(a&&l&&l[a])}f.exports=t},74535:function(f,p,e){var r=e(46285),i=e(36529),s=e(69632),a=e(41580);function t(l,c,o){if(!a(o))return!1;var y=typeof c;return(y=="number"?i(o)&&s(c,o.length):y=="string"&&c in o)?r(o[c],l):!1}f.exports=t},75234:function(f,p,e){var r=e(86912),i=Math.max;function s(a,t,l){return t=i(t===void 0?a.length-1:t,0),function(){for(var c=arguments,o=-1,y=i(c.length-t,0),b=Array(y);++o<y;)b[o]=c[t+o];o=-1;for(var m=Array(t+1);++o<t;)m[o]=c[o];return m[t]=l(b),r(a,this,m)}}f.exports=s},80796:function(f,p,e){var r=e(47403),i=e(3316),s=i(r);f.exports=s},3316:function(f){var p=800,e=16,r=Date.now;function i(s){var a=0,t=0;return function(){var l=r(),c=e-(l-t);if(t=l,c>0){if(++a>=p)return arguments[0]}else a=0;return s.apply(void 0,arguments)}}f.exports=i},82619:function(f){function p(e){return function(){return e}}f.exports=p},46343:function(f,p,e){var r=e(94687);function i(s,a){return r(s,a)}f.exports=i},40074:function(f,p,e){var r=e(90313),i=e(70310),s=e(23945),a=e(74535),t=s(function(l,c){if(l==null)return[];var o=c.length;return o>1&&a(l,c[0],c[1])?c=[]:o>2&&a(c[0],c[1],c[2])&&(c=[c[0]]),i(l,r(c,1),[])});f.exports=t},65398:function(f){(function(p,e){f.exports=e()})(this,function(){var p=[],e=[],r={},i={},s={};function a(n){return typeof n=="string"?new RegExp("^"+n+"$","i"):n}function t(n,v){return n===v?v:n===n.toLowerCase()?v.toLowerCase():n===n.toUpperCase()?v.toUpperCase():n[0]===n[0].toUpperCase()?v.charAt(0).toUpperCase()+v.substr(1).toLowerCase():v.toLowerCase()}function l(n,v){return n.replace(/\$(\d{1,2})/g,function(E,C){return v[C]||""})}function c(n,v){return n.replace(v[0],function(E,C){var $=l(v[1],arguments);return t(E===""?n[C-1]:E,$)})}function o(n,v,E){if(!n.length||r.hasOwnProperty(n))return v;for(var C=E.length;C--;){var $=E[C];if($[0].test(v))return c(v,$)}return v}function y(n,v,E){return function(C){var $=C.toLowerCase();return v.hasOwnProperty($)?t(C,$):n.hasOwnProperty($)?t(C,n[$]):o($,C,E)}}function b(n,v,E,C){return function($){var P=$.toLowerCase();return v.hasOwnProperty(P)?!0:n.hasOwnProperty(P)?!1:o(P,P,E)===P}}function m(n,v,E){var C=v===1?m.singular(n):m.plural(n);return(E?v+" ":"")+C}return m.plural=y(s,i,p),m.isPlural=b(s,i,p),m.singular=y(i,s,e),m.isSingular=b(i,s,e),m.addPluralRule=function(n,v){p.push([a(n),v])},m.addSingularRule=function(n,v){e.push([a(n),v])},m.addUncountableRule=function(n){if(typeof n=="string"){r[n.toLowerCase()]=!0;return}m.addPluralRule(n,"$0"),m.addSingularRule(n,"$0")},m.addIrregularRule=function(n,v){v=v.toLowerCase(),n=n.toLowerCase(),s[n]=v,i[v]=n},[["I","we"],["me","us"],["he","they"],["she","they"],["them","them"],["myself","ourselves"],["yourself","yourselves"],["itself","themselves"],["herself","themselves"],["himself","themselves"],["themself","themselves"],["is","are"],["was","were"],["has","have"],["this","these"],["that","those"],["echo","echoes"],["dingo","dingoes"],["volcano","volcanoes"],["tornado","tornadoes"],["torpedo","torpedoes"],["genus","genera"],["viscus","viscera"],["stigma","stigmata"],["stoma","stomata"],["dogma","dogmata"],["lemma","lemmata"],["schema","schemata"],["anathema","anathemata"],["ox","oxen"],["axe","axes"],["die","dice"],["yes","yeses"],["foot","feet"],["eave","eaves"],["goose","geese"],["tooth","teeth"],["quiz","quizzes"],["human","humans"],["proof","proofs"],["carve","carves"],["valve","valves"],["looey","looies"],["thief","thieves"],["groove","grooves"],["pickaxe","pickaxes"],["passerby","passersby"]].forEach(function(n){return m.addIrregularRule(n[0],n[1])}),[[/s?$/i,"s"],[/[^\u0000-\u007F]$/i,"$0"],[/([^aeiou]ese)$/i,"$1"],[/(ax|test)is$/i,"$1es"],[/(alias|[^aou]us|t[lm]as|gas|ris)$/i,"$1es"],[/(e[mn]u)s?$/i,"$1s"],[/([^l]ias|[aeiou]las|[ejzr]as|[iu]am)$/i,"$1"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1i"],[/(alumn|alg|vertebr)(?:a|ae)$/i,"$1ae"],[/(seraph|cherub)(?:im)?$/i,"$1im"],[/(her|at|gr)o$/i,"$1oes"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|automat|quor)(?:a|um)$/i,"$1a"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)(?:a|on)$/i,"$1a"],[/sis$/i,"ses"],[/(?:(kni|wi|li)fe|(ar|l|ea|eo|oa|hoo)f)$/i,"$1$2ves"],[/([^aeiouy]|qu)y$/i,"$1ies"],[/([^ch][ieo][ln])ey$/i,"$1ies"],[/(x|ch|ss|sh|zz)$/i,"$1es"],[/(matr|cod|mur|sil|vert|ind|append)(?:ix|ex)$/i,"$1ices"],[/\b((?:tit)?m|l)(?:ice|ouse)$/i,"$1ice"],[/(pe)(?:rson|ople)$/i,"$1ople"],[/(child)(?:ren)?$/i,"$1ren"],[/eaux$/i,"$0"],[/m[ae]n$/i,"men"],["thou","you"]].forEach(function(n){return m.addPluralRule(n[0],n[1])}),[[/s$/i,""],[/(ss)$/i,"$1"],[/(wi|kni|(?:after|half|high|low|mid|non|night|[^\w]|^)li)ves$/i,"$1fe"],[/(ar|(?:wo|[ae])l|[eo][ao])ves$/i,"$1f"],[/ies$/i,"y"],[/\b([pl]|zomb|(?:neck|cross)?t|coll|faer|food|gen|goon|group|lass|talk|goal|cut)ies$/i,"$1ie"],[/\b(mon|smil)ies$/i,"$1ey"],[/\b((?:tit)?m|l)ice$/i,"$1ouse"],[/(seraph|cherub)im$/i,"$1"],[/(x|ch|ss|sh|zz|tto|go|cho|alias|[^aou]us|t[lm]as|gas|(?:her|at|gr)o|[aeiou]ris)(?:es)?$/i,"$1"],[/(analy|diagno|parenthe|progno|synop|the|empha|cri|ne)(?:sis|ses)$/i,"$1sis"],[/(movie|twelve|abuse|e[mn]u)s$/i,"$1"],[/(test)(?:is|es)$/i,"$1is"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1us"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|quor)a$/i,"$1um"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)a$/i,"$1on"],[/(alumn|alg|vertebr)ae$/i,"$1a"],[/(cod|mur|sil|vert|ind)ices$/i,"$1ex"],[/(matr|append)ices$/i,"$1ix"],[/(pe)(rson|ople)$/i,"$1rson"],[/(child)ren$/i,"$1"],[/(eau)x?$/i,"$1"],[/men$/i,"man"]].forEach(function(n){return m.addSingularRule(n[0],n[1])}),["adulthood","advice","agenda","aid","aircraft","alcohol","ammo","analytics","anime","athletics","audio","bison","blood","bream","buffalo","butter","carp","cash","chassis","chess","clothing","cod","commerce","cooperation","corps","debris","diabetes","digestion","elk","energy","equipment","excretion","expertise","firmware","flounder","fun","gallows","garbage","graffiti","hardware","headquarters","health","herpes","highjinks","homework","housework","information","jeans","justice","kudos","labour","literature","machinery","mackerel","mail","media","mews","moose","music","mud","manga","news","only","personnel","pike","plankton","pliers","police","pollution","premises","rain","research","rice","salmon","scissors","series","sewage","shambles","shrimp","software","species","staff","swine","tennis","traffic","transportation","trout","tuna","wealth","welfare","whiting","wildebeest","wildlife","you",/pok[eé]mon$/i,/[^aeiou]ese$/i,/deer$/i,/fish$/i,/measles$/i,/o[iu]s$/i,/pox$/i,/sheep$/i].forEach(m.addUncountableRule),m})},62220:function(f,p,e){"use strict";var r,i,s;(function(a,t){if(1)i=[p,e(14041),e(39067)],r=t,s=typeof r=="function"?r.apply(p,i):r,s!==void 0&&(f.exports=s);else var l})(void 0,function(a,t,l){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var c=y(t),o=y(l);function y(d){return d&&d.__esModule?d:{default:d}}function b(d){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?b=function(g){return typeof g}:b=function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g},b(d)}function m(d,h){if(d==null)return{};var g=n(d,h),u,x;if(Object.getOwnPropertySymbols){var w=Object.getOwnPropertySymbols(d);for(x=0;x<w.length;x++)u=w[x],!(h.indexOf(u)>=0)&&Object.prototype.propertyIsEnumerable.call(d,u)&&(g[u]=d[u])}return g}function n(d,h){if(d==null)return{};var g={},u=Object.keys(d),x,w;for(w=0;w<u.length;w++)x=u[w],!(h.indexOf(x)>=0)&&(g[x]=d[x]);return g}function v(d,h){if(!(d instanceof h))throw new TypeError("Cannot call a class as a function")}function E(d,h){for(var g=0;g<h.length;g++){var u=h[g];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(d,u.key,u)}}function C(d,h,g){return h&&E(d.prototype,h),g&&E(d,g),d}function $(d,h){return h&&(b(h)==="object"||typeof h=="function")?h:k(d)}function P(d){return P=Object.setPrototypeOf?Object.getPrototypeOf:function(g){return g.__proto__||Object.getPrototypeOf(g)},P(d)}function k(d){if(d===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d}function Y(d,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(h&&h.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),h&&D(d,h)}function D(d,h){return D=Object.setPrototypeOf||function(u,x){return u.__proto__=x,u},D(d,h)}function W(d,h,g){return h in d?Object.defineProperty(d,h,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[h]=g,d}var ae=1e-4,te=function(h,g){return Math.abs(h-g)<ae},G=function(d){Y(h,d);function h(){var g,u;v(this,h);for(var x=arguments.length,w=new Array(x),z=0;z<x;z++)w[z]=arguments[z];return u=$(this,(g=P(h)).call.apply(g,[this].concat(w))),W(k(u),"onResize",function(){u.rafId&&window.cancelAnimationFrame(u.rafId),u.rafId=window.requestAnimationFrame(u.update.bind(k(u)))}),W(k(u),"onToggled",function(A){typeof u.props.onToggled=="function"&&setTimeout(function(){return u.props.onToggled(A)},0)}),W(k(u),"onTruncated",function(){typeof u.props.onTruncated=="function"&&setTimeout(function(){return u.props.onTruncated()},0)}),W(k(u),"onCalculated",function(){typeof u.props.onCalculated=="function"&&setTimeout(function(){return u.props.onCalculated()},0)}),W(k(u),"update",function(){var A=window.getComputedStyle(u.scope),L=[A["font-weight"],A["font-style"],A["font-size"],A["font-family"],A["letter-spacing"]].join(" ");u.canvas.font=L,u.forceUpdate()}),u}return C(h,[{key:"componentDidMount",value:function(){var u=document.createElement("canvas"),x=document.createDocumentFragment(),w=window.getComputedStyle(this.scope),z=[w["font-weight"],w["font-style"],w["font-size"],w["font-family"]].join(" ");x.appendChild(u),this.canvas=u.getContext("2d"),this.canvas.font=z,this.forceUpdate(),window.addEventListener("resize",this.onResize)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.onResize),this.rafId&&window.cancelAnimationFrame(this.rafId)}},{key:"measureWidth",value:function(u){return this.canvas.measureText(u).width}},{key:"getRenderText",value:function(){var u=this.props,x=u.containerClassName,w=u.element,z=u.line,A=u.onCalculated,L=u.onTruncated,ne=u.onToggled,O=u.text,H=u.textElement,_=u.textTruncateChild,J=u.truncateText,Q=u.maxCalculateTimes,N=m(u,["containerClassName","element","line","onCalculated","onTruncated","onToggled","text","textElement","textTruncateChild","truncateText","maxCalculateTimes"]),M=this.scope.getBoundingClientRect().width;if(M===0)return null;var X=this.measureWidth(O);if(M>X||te(M,X))return this.onToggled(!1),(0,t.createElement)(H,N,O);var j="";if(_&&typeof _.type=="string"){var K=_.type;(K.indexOf("span")>=0||K.indexOf("a")>=0)&&(j=_.props.children)}for(var T=1,U=O.length,R="",I=0,S=0,B=z,F=0,V=!1,re=!1,Z=0,q=-1,ee="",ie=0;B-- >0;){for(ee=B?"":J+(j?" "+j:"");T<=U;)if(R=O.substr(S,T),F=this.measureWidth(R+ee),F<M)I=O.indexOf(" ",T+1),I===-1?(T+=1,V=!1):(V=!0,T=I);else{do{if(ie++>=Q)break;R=O.substr(S,T),B||T--,R[R.length-1]===" "&&(R=O.substr(S,T-1)),V?(q=R.lastIndexOf(" "),q>-1?(T=q,B&&T++,R=O.substr(S,T)):(T--,R=O.substr(S,T))):(T--,R=O.substr(S,T)),F=this.measureWidth(R+ee)}while((F>M||te(F,M))&&R.length>0);S+=T;break}if(T>=U){S=U;break}V&&!re&&O.substr(Z,T).indexOf(" ")===-1&&(re=O.substr(Z,T).indexOf(" ")===-1,B--),Z=T+1}return S===U?(this.onToggled(!1),(0,t.createElement)(H,N,O)):(this.onTruncated(),this.onToggled(!0),c.default.createElement("span",N,(0,t.createElement)(H,N,O.substr(0,S)+J+" "),_))}},{key:"render",value:function(){var u=this,x=this.props,w=x.element,z=x.text,A=x.style,L=A===void 0?{}:A,ne=x.containerClassName,O=x.line,H=x.onCalculated,_=x.onTruncated,J=x.onToggled,Q=x.textElement,N=x.textTruncateChild,M=x.truncateText,X=x.maxCalculateTimes,j=m(x,["element","text","style","containerClassName","line","onCalculated","onTruncated","onToggled","textElement","textTruncateChild","truncateText","maxCalculateTimes"]),K=L.fontWeight,T=L.fontStyle,U=L.fontSize,R=L.fontFamily,I=this.scope&&O?this.getRenderText():(0,t.createElement)(Q,j,z),S={ref:function(F){u.scope=F},className:ne,style:{overflow:"hidden",fontWeight:K,fontStyle:T,fontSize:U,fontFamily:R}};return this.scope&&this.onCalculated(),(0,t.createElement)(w,S,I)}}]),h}(t.Component);W(G,"propTypes",{containerClassName:o.default.string,element:o.default.string,line:o.default.oneOfType([o.default.number,o.default.bool]),onCalculated:o.default.func,onTruncated:o.default.func,onToggled:o.default.func,text:o.default.string,textElement:o.default.elementType,textTruncateChild:o.default.node,truncateText:o.default.string,maxCalculateTimes:o.default.number}),W(G,"defaultProps",{element:"div",line:1,text:"",textElement:"span",truncateText:"\u2026",maxCalculateTimes:10}),a.default=G,f.exports=a.default})},16983:function(f,p,e){"use strict";var r;r={value:!0};var i=e(85608),s=e(14041),a=i.__importDefault(e(49069));function t(l,c,o){c===void 0&&(c=0),o===void 0&&(o=[]);var y=a.default(l,c),b=y[0],m=y[1],n=y[2];return s.useEffect(n,o),[b,m]}p.A=t},49069:function(f,p,e){"use strict";Object.defineProperty(p,"__esModule",{value:!0});var r=e(14041);function i(s,a){a===void 0&&(a=0);var t=r.useRef(!1),l=r.useRef(),c=r.useRef(s),o=r.useCallback(function(){return t.current},[]),y=r.useCallback(function(){t.current=!1,l.current&&clearTimeout(l.current),l.current=setTimeout(function(){t.current=!0,c.current()},a)},[a]),b=r.useCallback(function(){t.current=null,l.current&&clearTimeout(l.current)},[]);return r.useEffect(function(){c.current=s},[s]),r.useEffect(function(){return y(),b},[a]),[o,b,y]}p.default=i},85058:function(f,p,e){"use strict";e.d(p,{a:function(){return i}});var r=e(14041);function i(s=!1){const a=(0,r.useRef)(s),t=(0,r.useCallback)(()=>a.current,[]);return(0,r.useEffect)(()=>(a.current=!0,()=>{a.current=!1}),[]),t}}}]);})();
2
+
3
+ //# sourceMappingURL=115.dcb79bb0.chunk.js.map