@angular-wave/angular.ts 0.0.7 → 0.0.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 (80) hide show
  1. package/dist/angular-ts.esm.js +1 -1
  2. package/dist/angular-ts.umd.js +1 -1
  3. package/docs/.cspell.yml +8 -0
  4. package/docs/.github/dependabot.yml +14 -0
  5. package/docs/.nvmrc +1 -0
  6. package/docs/CONTRIBUTING.md +28 -0
  7. package/docs/Dockerfile +4 -0
  8. package/docs/LICENSE +201 -0
  9. package/docs/README.md +184 -0
  10. package/docs/assets/scss/_variables_project.scss +6 -0
  11. package/docs/config.yaml +15 -0
  12. package/docs/content/en/_index.md +77 -0
  13. package/docs/content/en/about/featured-background.jpg +0 -0
  14. package/docs/content/en/about/index.md +35 -0
  15. package/docs/content/en/blog/_index.md +8 -0
  16. package/docs/content/en/blog/news/_index.md +4 -0
  17. package/docs/content/en/blog/news/first-post/featured-sunset-get.png +0 -0
  18. package/docs/content/en/blog/news/first-post/index.md +48 -0
  19. package/docs/content/en/blog/news/second-post.md +244 -0
  20. package/docs/content/en/blog/releases/_index.md +4 -0
  21. package/docs/content/en/blog/releases/in-depth-monoliths-detailed-spec.md +244 -0
  22. package/docs/content/en/community/_index.md +6 -0
  23. package/docs/content/en/docs/_index.md +29 -0
  24. package/docs/content/en/docs/concepts/_index.md +14 -0
  25. package/docs/content/en/docs/contribution-guidelines/_index.md +79 -0
  26. package/docs/content/en/docs/examples/_index.md +13 -0
  27. package/docs/content/en/docs/getting-started/_index.md +35 -0
  28. package/docs/content/en/docs/getting-started/example-page.md +240 -0
  29. package/docs/content/en/docs/overview/_index.md +36 -0
  30. package/docs/content/en/docs/reference/_index.md +12 -0
  31. package/docs/content/en/docs/reference/parameter-reference.md +211 -0
  32. package/docs/content/en/docs/tasks/Ponycopters/_index.md +12 -0
  33. package/docs/content/en/docs/tasks/Ponycopters/configuring-ponycopters.md +238 -0
  34. package/docs/content/en/docs/tasks/Ponycopters/launching-ponycopters.md +236 -0
  35. package/docs/content/en/docs/tasks/_index.md +21 -0
  36. package/docs/content/en/docs/tasks/beds.md +237 -0
  37. package/docs/content/en/docs/tasks/porridge.md +237 -0
  38. package/docs/content/en/docs/tasks/task.md +237 -0
  39. package/docs/content/en/docs/tutorials/_index.md +13 -0
  40. package/docs/content/en/docs/tutorials/multi-bear.md +236 -0
  41. package/docs/content/en/docs/tutorials/tutorial2.md +236 -0
  42. package/docs/content/en/featured-background.jpg +0 -0
  43. package/docs/content/en/search.md +4 -0
  44. package/docs/docker-compose.yaml +13 -0
  45. package/docs/docsy.work +5 -0
  46. package/docs/docsy.work.sum +0 -0
  47. package/docs/go.mod +5 -0
  48. package/docs/go.sum +6 -0
  49. package/docs/hugo-disabled.toml +221 -0
  50. package/docs/hugo.yaml +220 -0
  51. package/docs/layouts/404.html +7 -0
  52. package/docs/layouts/_default/_markup/render-heading.html +1 -0
  53. package/docs/netlify.toml +12 -0
  54. package/docs/package.json +42 -0
  55. package/package.json +1 -1
  56. package/rollup.config.js +2 -5
  57. package/src/core/compile.js +82 -269
  58. package/src/core/compile.md +51 -16
  59. package/src/core/filter.md +23 -17
  60. package/src/core/interval.md +73 -72
  61. package/src/core/sce.js +2 -13
  62. package/src/directive/if.js +2 -7
  63. package/src/directive/repeat.js +5 -346
  64. package/src/directive/repeat.md +358 -0
  65. package/src/directive/switch.js +2 -4
  66. package/src/exts/messages.js +2 -494
  67. package/src/exts/messages.md +550 -0
  68. package/src/injector.md +30 -1
  69. package/src/jqLite.js +11 -17
  70. package/src/loader.js +0 -4
  71. package/test/binding.spec.js +24 -24
  72. package/test/jqlite.spec.js +0 -56
  73. package/test/messages/messages.spec.js +3 -5
  74. package/test/module-test.html +5 -1
  75. package/test/ng/compile.spec.js +94 -371
  76. package/test/ng/directive/form.spec.js +8 -8
  77. package/test/ng/directive/repeat.spec.js +0 -37
  78. package/test/ng/directive/switch.spec.js +2 -9
  79. package/types/jqlite.d.ts +0 -78
  80. package/dist/angular-ts.cjs.js +0 -1
package/docs/hugo.yaml ADDED
@@ -0,0 +1,220 @@
1
+ baseURL: https://example.docsy.dev
2
+ title: Goldydocs
3
+
4
+ # cSpell:ignore goldmark github hugo readingtime docsy subdir lastmod pygments linenos catmullrom norsk gu
5
+
6
+ # Language settings
7
+ contentDir: content/en
8
+ defaultContentLanguage: en
9
+ defaultContentLanguageInSubdir: false
10
+ # Useful when translating.
11
+ enableMissingTranslationPlaceholders: true
12
+
13
+ enableRobotsTXT: true
14
+
15
+ # Will give values to .Lastmod etc.
16
+ enableGitInfo: true
17
+
18
+ # Comment out to enable taxonomies in Docsy
19
+ # disableKinds: [taxonomy, taxonomyTerm]
20
+
21
+ # You can add your own taxonomies
22
+ taxonomies:
23
+ tag: tags
24
+ category: categories
25
+
26
+ # Highlighting config
27
+ pygmentsCodeFences: true
28
+ pygmentsUseClasses: false
29
+ # Use the new Chroma Go highlighter in Hugo.
30
+ pygmentsUseClassic: false
31
+ # pygmentsOptions: "linenos=table"
32
+ # See https://help.farbox.com/pygments.html
33
+ pygmentsStyle: tango
34
+
35
+ # Configure how URLs look like per section.
36
+ permalinks:
37
+ blog: /:section/:year/:month/:day/:slug/
38
+
39
+ # Image processing configuration.
40
+ imaging:
41
+ resampleFilter: CatmullRom
42
+ quality: 75
43
+ anchor: smart
44
+
45
+ # Language configuration
46
+ languages:
47
+ en:
48
+ languageName: English
49
+ title: Goldydocs
50
+ params:
51
+ description: A Docsy example site
52
+ # cSpell:disable
53
+ 'no':
54
+ languageName: Norsk
55
+ contentDir: content/no
56
+ title: Gulldoks
57
+ params:
58
+ description: Docsy er operativsystem for skyen
59
+ time_format_default: 02.01.2006
60
+ time_format_blog: 02.01.2006
61
+ fa:
62
+ languageDirection: rtl
63
+ languageName: "فارسی (Persian)"
64
+ contentDir: content/fa
65
+ title: "اسناد گلدی"
66
+ params:
67
+ description: "یک نمونه برای پوسته داکسی"
68
+ time_format_default: 2006.01.02
69
+ time_format_blog: 2006.01.02
70
+ # cSpell:enable
71
+
72
+ markup:
73
+ goldmark:
74
+ parser:
75
+ attribute:
76
+ block: true
77
+ renderer:
78
+ unsafe: true
79
+ highlight:
80
+ # See a complete list of available styles at https://xyproto.github.io/splash/docs/all.html
81
+ style: tango
82
+ # Uncomment if you want your chosen highlight style used for code blocks without a specified language
83
+ # guessSyntax: true
84
+
85
+ # Everything below this are Site Params
86
+
87
+ # Comment out if you don't want the "print entire section" link enabled.
88
+ outputs:
89
+ section: [HTML, print, RSS]
90
+
91
+ params:
92
+ taxonomy:
93
+ # set taxonomyCloud = [] to hide taxonomy clouds
94
+ taxonomyCloud: [tags, categories]
95
+
96
+ # If used, must have same length as taxonomyCloud
97
+ taxonomyCloudTitle: [Tag Cloud, Categories]
98
+
99
+ # set taxonomyPageHeader = [] to hide taxonomies on the page headers
100
+ taxonomyPageHeader: [tags, categories]
101
+
102
+ privacy_policy: https://policies.google.com/privacy
103
+
104
+ # First one is picked as the Twitter card image if not set on page.
105
+ # images: [images/project-illustration.png]
106
+
107
+ # Menu title if your navbar has a versions selector to access old versions of your site.
108
+ # This menu appears only if you have at least one [params.versions] set.
109
+ version_menu: Releases
110
+
111
+ # Flag used in the "version-banner" partial to decide whether to display a
112
+ # banner on every page indicating that this is an archived version of the docs.
113
+ # Set this flag to "true" if you want to display the banner.
114
+ archived_version: false
115
+
116
+ # The version number for the version of the docs represented in this doc set.
117
+ # Used in the "version-banner" partial to display a version number for the
118
+ # current doc set.
119
+ version: 0.0
120
+
121
+ # A link to latest version of the docs. Used in the "version-banner" partial to
122
+ # point people to the main doc site.
123
+ url_latest_version: https://example.com
124
+
125
+ # Repository configuration (URLs for in-page links to opening issues and suggesting changes)
126
+ github_repo: https://github.com/google/docsy-example
127
+
128
+ # An optional link to a related project repo. For example, the sibling repository where your product code lives.
129
+ github_project_repo: https://github.com/google/docsy
130
+
131
+ # Specify a value here if your content directory is not in your repo's root directory
132
+ # github_subdir: ""
133
+
134
+ # Uncomment this if your GitHub repo does not have "main" as the default branch,
135
+ # or specify a new value if you want to reference another branch in your GitHub links
136
+ github_branch: main
137
+
138
+ # Google Custom Search Engine ID. Remove or comment out to disable search.
139
+ gcs_engine_id: d72aa9b2712488cc3
140
+
141
+ # Enable Lunr.js offline search
142
+ offlineSearch: false
143
+
144
+ # Enable syntax highlighting and copy buttons on code blocks with Prism
145
+ prism_syntax_highlighting: false
146
+
147
+ copyright:
148
+ authors: Docsy Authors | [CC BY 4.0](https://creativecommons.org/licenses/by/4.0) |
149
+ from_year: 2018
150
+
151
+ # User interface configuration
152
+ ui:
153
+ # Set to true to disable breadcrumb navigation.
154
+ breadcrumb_disable: false
155
+ # Set to false if you don't want to display a logo (/assets/icons/logo.svg) in the top navbar
156
+ navbar_logo: true
157
+ # Set to true if you don't want the top navbar to be translucent when over a `block/cover`, like on the homepage.
158
+ navbar_translucent_over_cover_disable: false
159
+ # Enable to show the side bar menu in its compact state.
160
+ sidebar_menu_compact: false
161
+ # Set to true to hide the sidebar search box (the top nav search box will still be displayed if search is enabled)
162
+ sidebar_search_disable: false
163
+
164
+ # Adds a H2 section titled "Feedback" to the bottom of each doc. The responses are sent to Google Analytics as events.
165
+ # This feature depends on [services.googleAnalytics] and will be disabled if "services.googleAnalytics.id" is not set.
166
+ # If you want this feature, but occasionally need to remove the "Feedback" section from a single page,
167
+ # add "hide_feedback: true" to the page's front matter.
168
+ feedback:
169
+ enable: true
170
+ # The responses that the user sees after clicking "yes" (the page was helpful) or "no" (the page was not helpful).
171
+ 'yes': >-
172
+ Glad to hear it! Please <a href="https://github.com/USERNAME/REPOSITORY/issues/new">tell us how we can improve</a>.
173
+ 'no': >-
174
+ Sorry to hear that. Please <a href="https://github.com/USERNAME/REPOSITORY/issues/new">tell us how we can improve</a>.
175
+
176
+ # Adds a reading time to the top of each doc.
177
+ # If you want this feature, but occasionally need to remove the Reading time from a single page,
178
+ # add "hide_readingtime: true" to the page's front matter
179
+ readingtime:
180
+ enable: false
181
+
182
+ links:
183
+ # End user relevant links. These will show up on left side of footer and in the community page if you have one.
184
+ user:
185
+ - name: User mailing list
186
+ url: https://example.org/mail
187
+ icon: fa fa-envelope
188
+ desc: Discussion and help from your fellow users
189
+ - name: Twitter
190
+ url: https://example.org/twitter
191
+ icon: fab fa-twitter
192
+ desc: Follow us on Twitter to get the latest news!
193
+ - name: Stack Overflow
194
+ url: https://example.org/stack
195
+ icon: fab fa-stack-overflow
196
+ desc: Practical questions and curated answers
197
+ # Developer relevant links. These will show up on right side of footer and in the community page if you have one.
198
+ developer:
199
+ - name: GitHub
200
+ url: https://github.com/google/docsy
201
+ icon: fab fa-github
202
+ desc: Development takes place here!
203
+ - name: Slack
204
+ url: https://example.org/slack
205
+ icon: fab fa-slack
206
+ desc: Chat with other project developers
207
+ - name: Developer mailing list
208
+ url: https://example.org/mail
209
+ icon: fa fa-envelope
210
+ desc: Discuss development issues around the project
211
+
212
+ module:
213
+ # Uncomment the next line to build and serve using local docsy clone declared in the named Hugo workspace:
214
+ # workspace: docsy.work
215
+ hugoVersion:
216
+ extended: true
217
+ min: 0.110.0
218
+ imports:
219
+ - path: github.com/google/docsy
220
+ disable: false
@@ -0,0 +1,7 @@
1
+ {{ define "main" -}}
2
+ <div class="td-content">
3
+ <h1>Not found</h1>
4
+ <p>Oops! This page doesn't exist. Try going back to the <a href="{{ "" | relURL }}">home page</a>.</p>
5
+ <p>You can learn how to make a 404 page like this in <a href="https://gohugo.io/templates/404/">Custom 404 Pages</a>.</p>
6
+ </div>
7
+ {{- end }}
@@ -0,0 +1 @@
1
+ {{ template "_default/_markup/td-render-heading.html" . }}
@@ -0,0 +1,12 @@
1
+ # Hugo build configuration for Netlify
2
+ # (https://gohugo.io/hosting-and-deployment/hosting-on-netlify/#configure-hugo-version-in-netlify)
3
+
4
+ [build]
5
+ command = "npm run build:preview"
6
+ publish = "public"
7
+
8
+ [build.environment]
9
+ GO_VERSION = "1.22.2"
10
+
11
+ [context.production]
12
+ command = "npm run build:production"
@@ -0,0 +1,42 @@
1
+ {
2
+ "name": "docsy-example-site",
3
+ "version": "0.10.0",
4
+ "version.next": "0.10.1-dev.0-unreleased",
5
+ "description": "Example site that uses Docsy theme for technical documentation.",
6
+ "repository": "github:google/docsy-example",
7
+ "homepage": "https://example.docsy.dev",
8
+ "author": "Docsy Authors",
9
+ "license": "Apache-2.0",
10
+ "bugs": "https://github.com/google/docsy-example/issues",
11
+ "spelling": "cSpell:ignore HTMLTEST precheck postbuild -",
12
+ "scripts": {
13
+ "_build": "npm run _hugo-dev --",
14
+ "_check:links": "echo IMPLEMENTATION PENDING for check-links; echo",
15
+ "_hugo": "hugo --cleanDestinationDir",
16
+ "_hugo-dev": "npm run _hugo -- -e dev -DFE",
17
+ "_local": "npx cross-env HUGO_MODULE_WORKSPACE=docsy.work",
18
+ "_serve": "npm run _hugo-dev -- --minify serve --renderToMemory",
19
+ "build:preview": "npm run _hugo-dev -- --minify --baseURL \"${DEPLOY_PRIME_URL:-/}\"",
20
+ "build:production": "npm run _hugo -- --minify",
21
+ "build": "npm run _build -- ",
22
+ "check:links:all": "HTMLTEST_ARGS= npm run _check:links",
23
+ "check:links": "npm run _check:links",
24
+ "clean": "rm -Rf public/* resources",
25
+ "local": "npm run _local -- npm run",
26
+ "make:public": "git init -b main public",
27
+ "precheck:links:all": "npm run build",
28
+ "precheck:links": "npm run build",
29
+ "postbuild:preview": "npm run _check:links",
30
+ "postbuild:production": "npm run _check:links",
31
+ "serve": "npm run _serve",
32
+ "test": "npm run check:links",
33
+ "update:dep": "npm install --save-dev autoprefixer@latest postcss-cli@latest",
34
+ "update:hugo": "npm install --save-dev --save-exact hugo-extended@latest"
35
+ },
36
+ "devDependencies": {
37
+ "autoprefixer": "^10.4.14",
38
+ "cross-env": "^7.0.3",
39
+ "hugo-extended": "0.126.1",
40
+ "postcss-cli": "^11.0.0"
41
+ }
42
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@angular-wave/angular.ts",
3
3
  "license": "MIT",
4
- "version": "0.0.7",
4
+ "version": "0.0.9",
5
5
  "type": "module",
6
6
  "main": "dist/angular-ts.cjs.js",
7
7
  "module": "dist/angular-ts.esm.js",
package/rollup.config.js CHANGED
@@ -15,7 +15,7 @@ export default [
15
15
  plugins: [resolve(), commonjs(), terser()],
16
16
  },
17
17
 
18
- // CommonJS (for Node) and ES module (for bundlers) build.
18
+ // ES module (for bundlers) build.
19
19
  // (We could have three entries in the configuration array
20
20
  // instead of two, but it's quicker to generate multiple
21
21
  // builds from a single configuration where possible, using
@@ -24,10 +24,7 @@ export default [
24
24
  {
25
25
  input: 'src/index.js',
26
26
  external: ['ms'],
27
- output: [
28
- { file: pkg.main, format: 'cjs' },
29
- { file: pkg.module, format: 'es' },
30
- ],
27
+ output: { file: pkg.module, format: 'es' },
31
28
  plugins: [terser()],
32
29
  },
33
30
  ];