Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
4151c0c
general commit
mochsner Oct 27, 2022
fdadcba
Working .NET call
mochsner Oct 27, 2022
e79be9e
rm angular files form gitignore
mochsner Dec 17, 2022
5ad7de9
add .gitignore
mochsner Dec 18, 2022
0ef04a1
Initial DB :check:
mochsner Dec 18, 2022
8e5ba49
gitignore
mochsner Dec 18, 2022
1e48305
Add seed data n
mochsner Dec 18, 2022
2c80de9
Add data to remote database
mochsner Dec 18, 2022
ca1f683
Add Dtos
mochsner Dec 18, 2022
f831a69
Basic automapper
mochsner Dec 18, 2022
06c8f6c
Delete accidental folder
mochsner Dec 18, 2022
be3fb40
Add automapper to Retrieve Recipes
mochsner Dec 18, 2022
aa979c9
ignore dev.json
mochsner Dec 18, 2022
aed5fd5
Working end-to-end request with UnitOfWork.cs DI
mochsner Dec 18, 2022
6cceab8
Remove OnConfiguring method which seems to override the Contstructor …
mochsner Dec 18, 2022
9c68037
complete fetch-data
mochsner Dec 19, 2022
65e11ec
Initial table module test
Dec 21, 2022
abf685f
Clean up automapper profile
mochsner Dec 26, 2022
c1e613a
recipe ingredients as json
mochsner Dec 30, 2022
758611d
Tryig to get an angular autocomplete as component working ?
mochsner Dec 31, 2022
3cbb195
Enable angular material pre-build indigo theme
mochsner Dec 31, 2022
9b2cfdc
Add native select
mochsner Dec 31, 2022
eb7c1b7
dynamic table with function calls only (doesn't add or remove)
mochsner Dec 31, 2022
1ab48f4
Technically working editable table (no date module imported though)
mochsner Dec 31, 2022
892c8a4
One-way data binding via @input html attributes
mochsner Jan 1, 2023
8834681
Basic for of recipes
mochsner Jan 1, 2023
ac5bb5d
Basic editable table using services
mochsner Jan 2, 2023
eeba616
Basic editable table using services
mochsner Jan 2, 2023
3460fb5
Enable selector + start the "add" / "update" methods for ingredients
mochsner Jan 2, 2023
a717135
Add/update front-end fixed; backend fails because ingredient junction…
mochsner Jan 3, 2023
4850b40
Working ingredients (no validation though)
mochsner Jan 5, 2023
767496b
Compute displayedRecipeIngredients for reading
mochsner Jan 5, 2023
7a8a279
Initial template of maybe how it'll be (TODO - can the model even be …
Jan 8, 2023
f38c959
table34
mochsner Jan 8, 2023
5bb60a1
front-end for recipe ingredients
mochsner Jan 12, 2023
9bf816a
backend delete/ and addorupdate/ added - need to call from recipe-ing…
mochsner Jan 12, 2023
1c3d221
TODO: addOrUpdate
mochsner Jan 13, 2023
6986788
TODO: addOrUpdate recipeIngredient + create new recipe / remove recipe
mochsner Jan 13, 2023
b991eee
working add recipeIngredient EXCEPT when there's no ingredient specified
mochsner Jan 14, 2023
5a5a3f6
Added blank ingredient
mochsner Jan 14, 2023
1c8a2ad
some styles
mochsner Jan 15, 2023
e4908b4
move loc
mochsner Jan 15, 2023
d3f2973
Working recipeIngredients, technically. But they don't reload from wh…
mochsner Jan 29, 2023
f7a9dd6
Commit TODOs
mochsner Jan 29, 2023
18630e8
Add grocery list SQL
Jan 29, 2023
6899f57
Add grocery list SQL
Jan 29, 2023
5c414e4
Merge remote-tracking branch 'origin/main' into main
mochsner Jan 30, 2023
147655c
pop-up working but not returning anything (example in recipe-dialog.c…
mochsner Jan 30, 2023
2e81f5f
Updated groceries 2023-02-05
Feb 6, 2023
546cb91
Updated groceries 2023-02-05
Feb 6, 2023
7811f59
Todos
mochsner Feb 11, 2023
2814dd3
Merge remote-tracking branch 'origin/main' into main
mochsner Feb 11, 2023
974ed81
darn conflict
mochsner Feb 11, 2023
2ec0f2f
working edit (but should add this to create)
mochsner Feb 11, 2023
9cd16eb
todos
mochsner Feb 21, 2023
bcf316a
update list with note on pgres
Mar 5, 2023
351cc39
Merge remote-tracking branch 'origin/main' into main
Mar 5, 2023
2376e2a
use DI a little for services
mochsner Mar 11, 2023
bb7850c
add todos
mochsner Mar 19, 2023
e3348c6
fix backendService.serviceUrl
mochsner Mar 19, 2023
04ab5b8
updated list I guess
mochsner Mar 26, 2023
a9e2688
add blank ox-recipe-selector component
mochsner Mar 26, 2023
e09c124
ng add component tool imported in wrong place
mochsner Mar 27, 2023
a117c66
two-way binding for recipe selector (note: it's slow)
mochsner Mar 27, 2023
62890d0
Cleanup / running with checkmarks
mochsner Mar 28, 2023
ec62f13
Create README.md
mochsner Mar 28, 2023
61b098b
remove old note
mochsner Mar 28, 2023
733e8d2
Add event pass thru
mochsner Mar 29, 2023
0236b68
Update README.md
mochsner Mar 30, 2023
c96818f
Update README.md
mochsner Mar 30, 2023
72f3c15
Add output
mochsner Mar 30, 2023
c566cd5
DISABLE HOST CHECK
Mar 31, 2023
fe85d8b
update todos
mochsner Apr 8, 2023
ef87875
rename to devreadme.md
mochsner Apr 8, 2023
4e5a617
Update README.md
mochsner Apr 8, 2023
d4608ac
Update README.md
mochsner Apr 8, 2023
6f40f96
DEVREADME.md
mochsner Apr 8, 2023
e8dfc2c
Update DEVREADME.md
mochsner Apr 8, 2023
0f801ea
Deploy
mochsner Apr 21, 2023
74ccec3
Include package-lock because I want future me to suffer :)
mochsner Apr 21, 2023
68895c8
add gitignore .angular
mochsner Apr 21, 2023
0f17c7f
add gitignore .angular
mochsner Apr 21, 2023
2593f03
change workflow for prod
mochsner Apr 21, 2023
2b25eab
Add root controller version
mochsner Apr 22, 2023
82711f0
add gitignore
mochsner Jun 5, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@ bin/
obj/
/packages/
riderModule.iml
/_ReSharper.Caches/
/_ReSharper.Caches/
angular-dotnet/ClientApp/.angular
.idea/*
**/appsettings.Development.json
13 changes: 0 additions & 13 deletions .idea/.idea.app_asp_net/.idea/.gitignore

This file was deleted.

17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Grocer
simplified meal planning

## Development Notes
For active development features, TODOs, etc., see: [DEVREADME.md](angular-dotnet/DEVREADME.md)

## Introduction
### Add Ingredients (by Store Location)
![image](https://user-images.githubusercontent.com/19310711/228107840-6aa553c1-3b6e-4430-b0fa-77d16abe24ec.png)


### Edit Recipes (with quantity of Ingredients)
![image](https://user-images.githubusercontent.com/19310711/228107503-b6c2d643-0bc6-45bb-9c9a-0acd0dae6cb9.png)


### Select Recipes to generate shopping list (by section of store)
![image](https://user-images.githubusercontent.com/19310711/228949980-c3d9760c-1723-45f3-9fc9-7a4af4eabdd2.png)
3 changes: 3 additions & 0 deletions angular-dotnet/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -229,3 +229,6 @@ _Pvt_Extensions

# FAKE - F# Make
.fake/
ClientApp/.angular/*
ClientApp/node_modules/*
.vscode/*
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"ast":null,"code":"import { EMPTY } from '../observable/empty';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function takeLast(count) {\n return count <= 0 ? () => EMPTY : operate((source, subscriber) => {\n let buffer = [];\n source.subscribe(createOperatorSubscriber(subscriber, value => {\n buffer.push(value);\n count < buffer.length && buffer.shift();\n }, () => {\n for (const value of buffer) {\n subscriber.next(value);\n }\n\n subscriber.complete();\n }, undefined, () => {\n buffer = null;\n }));\n });\n}","map":{"version":3,"names":["EMPTY","operate","createOperatorSubscriber","takeLast","count","source","subscriber","buffer","subscribe","value","push","length","shift","next","complete","undefined"],"sources":["/home/marcochsner/RiderProjects/app_asp_net/angular-dotnet/ClientApp/node_modules/rxjs/dist/esm/internal/operators/takeLast.js"],"sourcesContent":["import { EMPTY } from '../observable/empty';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function takeLast(count) {\n return count <= 0\n ? () => EMPTY\n : operate((source, subscriber) => {\n let buffer = [];\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n buffer.push(value);\n count < buffer.length && buffer.shift();\n }, () => {\n for (const value of buffer) {\n subscriber.next(value);\n }\n subscriber.complete();\n }, undefined, () => {\n buffer = null;\n }));\n });\n}\n"],"mappings":"AAAA,SAASA,KAAT,QAAsB,qBAAtB;AACA,SAASC,OAAT,QAAwB,cAAxB;AACA,SAASC,wBAAT,QAAyC,sBAAzC;AACA,OAAO,SAASC,QAAT,CAAkBC,KAAlB,EAAyB;EAC5B,OAAOA,KAAK,IAAI,CAAT,GACD,MAAMJ,KADL,GAEDC,OAAO,CAAC,CAACI,MAAD,EAASC,UAAT,KAAwB;IAC9B,IAAIC,MAAM,GAAG,EAAb;IACAF,MAAM,CAACG,SAAP,CAAiBN,wBAAwB,CAACI,UAAD,EAAcG,KAAD,IAAW;MAC7DF,MAAM,CAACG,IAAP,CAAYD,KAAZ;MACAL,KAAK,GAAGG,MAAM,CAACI,MAAf,IAAyBJ,MAAM,CAACK,KAAP,EAAzB;IACH,CAHwC,EAGtC,MAAM;MACL,KAAK,MAAMH,KAAX,IAAoBF,MAApB,EAA4B;QACxBD,UAAU,CAACO,IAAX,CAAgBJ,KAAhB;MACH;;MACDH,UAAU,CAACQ,QAAX;IACH,CARwC,EAQtCC,SARsC,EAQ3B,MAAM;MAChBR,MAAM,GAAG,IAAT;IACH,CAVwC,CAAzC;EAWH,CAbQ,CAFb;AAgBH"},"metadata":{},"sourceType":"module"}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"ast":null,"code":"import { operate } from '../util/lift';\nimport { concatAll } from './concatAll';\nimport { popScheduler } from '../util/args';\nimport { from } from '../observable/from';\nexport function concat(...args) {\n const scheduler = popScheduler(args);\n return operate((source, subscriber) => {\n concatAll()(from([source, ...args], scheduler)).subscribe(subscriber);\n });\n}","map":{"version":3,"names":["operate","concatAll","popScheduler","from","concat","args","scheduler","source","subscriber","subscribe"],"sources":["/home/marcochsner/RiderProjects/app_asp_net/angular-dotnet/ClientApp/node_modules/rxjs/dist/esm/internal/operators/concat.js"],"sourcesContent":["import { operate } from '../util/lift';\nimport { concatAll } from './concatAll';\nimport { popScheduler } from '../util/args';\nimport { from } from '../observable/from';\nexport function concat(...args) {\n const scheduler = popScheduler(args);\n return operate((source, subscriber) => {\n concatAll()(from([source, ...args], scheduler)).subscribe(subscriber);\n });\n}\n"],"mappings":"AAAA,SAASA,OAAT,QAAwB,cAAxB;AACA,SAASC,SAAT,QAA0B,aAA1B;AACA,SAASC,YAAT,QAA6B,cAA7B;AACA,SAASC,IAAT,QAAqB,oBAArB;AACA,OAAO,SAASC,MAAT,CAAgB,GAAGC,IAAnB,EAAyB;EAC5B,MAAMC,SAAS,GAAGJ,YAAY,CAACG,IAAD,CAA9B;EACA,OAAOL,OAAO,CAAC,CAACO,MAAD,EAASC,UAAT,KAAwB;IACnCP,SAAS,GAAGE,IAAI,CAAC,CAACI,MAAD,EAAS,GAAGF,IAAZ,CAAD,EAAoBC,SAApB,CAAP,CAAT,CAAgDG,SAAhD,CAA0DD,UAA1D;EACH,CAFa,CAAd;AAGH"},"metadata":{},"sourceType":"module"}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"ast":null,"code":"import { Observable } from '../Observable';\nimport { EMPTY } from './empty';\nexport function range(start, count, scheduler) {\n if (count == null) {\n count = start;\n start = 0;\n }\n\n if (count <= 0) {\n return EMPTY;\n }\n\n const end = count + start;\n return new Observable(scheduler ? subscriber => {\n let n = start;\n return scheduler.schedule(function () {\n if (n < end) {\n subscriber.next(n++);\n this.schedule();\n } else {\n subscriber.complete();\n }\n });\n } : subscriber => {\n let n = start;\n\n while (n < end && !subscriber.closed) {\n subscriber.next(n++);\n }\n\n subscriber.complete();\n });\n}","map":{"version":3,"names":["Observable","EMPTY","range","start","count","scheduler","end","subscriber","n","schedule","next","complete","closed"],"sources":["/home/marcochsner/RiderProjects/app_asp_net/angular-dotnet/ClientApp/node_modules/rxjs/dist/esm/internal/observable/range.js"],"sourcesContent":["import { Observable } from '../Observable';\nimport { EMPTY } from './empty';\nexport function range(start, count, scheduler) {\n if (count == null) {\n count = start;\n start = 0;\n }\n if (count <= 0) {\n return EMPTY;\n }\n const end = count + start;\n return new Observable(scheduler\n ?\n (subscriber) => {\n let n = start;\n return scheduler.schedule(function () {\n if (n < end) {\n subscriber.next(n++);\n this.schedule();\n }\n else {\n subscriber.complete();\n }\n });\n }\n :\n (subscriber) => {\n let n = start;\n while (n < end && !subscriber.closed) {\n subscriber.next(n++);\n }\n subscriber.complete();\n });\n}\n"],"mappings":"AAAA,SAASA,UAAT,QAA2B,eAA3B;AACA,SAASC,KAAT,QAAsB,SAAtB;AACA,OAAO,SAASC,KAAT,CAAeC,KAAf,EAAsBC,KAAtB,EAA6BC,SAA7B,EAAwC;EAC3C,IAAID,KAAK,IAAI,IAAb,EAAmB;IACfA,KAAK,GAAGD,KAAR;IACAA,KAAK,GAAG,CAAR;EACH;;EACD,IAAIC,KAAK,IAAI,CAAb,EAAgB;IACZ,OAAOH,KAAP;EACH;;EACD,MAAMK,GAAG,GAAGF,KAAK,GAAGD,KAApB;EACA,OAAO,IAAIH,UAAJ,CAAeK,SAAS,GAEtBE,UAAD,IAAgB;IACZ,IAAIC,CAAC,GAAGL,KAAR;IACA,OAAOE,SAAS,CAACI,QAAV,CAAmB,YAAY;MAClC,IAAID,CAAC,GAAGF,GAAR,EAAa;QACTC,UAAU,CAACG,IAAX,CAAgBF,CAAC,EAAjB;QACA,KAAKC,QAAL;MACH,CAHD,MAIK;QACDF,UAAU,CAACI,QAAX;MACH;IACJ,CARM,CAAP;EASH,CAbsB,GAetBJ,UAAD,IAAgB;IACZ,IAAIC,CAAC,GAAGL,KAAR;;IACA,OAAOK,CAAC,GAAGF,GAAJ,IAAW,CAACC,UAAU,CAACK,MAA9B,EAAsC;MAClCL,UAAU,CAACG,IAAX,CAAgBF,CAAC,EAAjB;IACH;;IACDD,UAAU,CAACI,QAAX;EACH,CArBF,CAAP;AAsBH"},"metadata":{},"sourceType":"module"}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"ast":null,"code":"export const COMPLETE_NOTIFICATION = (() => createNotification('C', undefined, undefined))();\nexport function errorNotification(error) {\n return createNotification('E', undefined, error);\n}\nexport function nextNotification(value) {\n return createNotification('N', value, undefined);\n}\nexport function createNotification(kind, value, error) {\n return {\n kind,\n value,\n error\n };\n}","map":{"version":3,"names":["COMPLETE_NOTIFICATION","createNotification","undefined","errorNotification","error","nextNotification","value","kind"],"sources":["/home/marcochsner/RiderProjects/app_asp_net/angular-dotnet/ClientApp/node_modules/rxjs/dist/esm/internal/NotificationFactories.js"],"sourcesContent":["export const COMPLETE_NOTIFICATION = (() => createNotification('C', undefined, undefined))();\nexport function errorNotification(error) {\n return createNotification('E', undefined, error);\n}\nexport function nextNotification(value) {\n return createNotification('N', value, undefined);\n}\nexport function createNotification(kind, value, error) {\n return {\n kind,\n value,\n error,\n };\n}\n"],"mappings":"AAAA,OAAO,MAAMA,qBAAqB,GAAG,CAAC,MAAMC,kBAAkB,CAAC,GAAD,EAAMC,SAAN,EAAiBA,SAAjB,CAAzB,GAA9B;AACP,OAAO,SAASC,iBAAT,CAA2BC,KAA3B,EAAkC;EACrC,OAAOH,kBAAkB,CAAC,GAAD,EAAMC,SAAN,EAAiBE,KAAjB,CAAzB;AACH;AACD,OAAO,SAASC,gBAAT,CAA0BC,KAA1B,EAAiC;EACpC,OAAOL,kBAAkB,CAAC,GAAD,EAAMK,KAAN,EAAaJ,SAAb,CAAzB;AACH;AACD,OAAO,SAASD,kBAAT,CAA4BM,IAA5B,EAAkCD,KAAlC,EAAyCF,KAAzC,EAAgD;EACnD,OAAO;IACHG,IADG;IAEHD,KAFG;IAGHF;EAHG,CAAP;AAKH"},"metadata":{},"sourceType":"module"}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"ast":null,"code":"import { createErrorClass } from './createErrorClass';\nexport const ArgumentOutOfRangeError = createErrorClass(_super => function ArgumentOutOfRangeErrorImpl() {\n _super(this);\n\n this.name = 'ArgumentOutOfRangeError';\n this.message = 'argument out of range';\n});","map":{"version":3,"names":["createErrorClass","ArgumentOutOfRangeError","_super","ArgumentOutOfRangeErrorImpl","name","message"],"sources":["/home/marcochsner/RiderProjects/app_asp_net/angular-dotnet/ClientApp/node_modules/rxjs/dist/esm/internal/util/ArgumentOutOfRangeError.js"],"sourcesContent":["import { createErrorClass } from './createErrorClass';\nexport const ArgumentOutOfRangeError = createErrorClass((_super) => function ArgumentOutOfRangeErrorImpl() {\n _super(this);\n this.name = 'ArgumentOutOfRangeError';\n this.message = 'argument out of range';\n});\n"],"mappings":"AAAA,SAASA,gBAAT,QAAiC,oBAAjC;AACA,OAAO,MAAMC,uBAAuB,GAAGD,gBAAgB,CAAEE,MAAD,IAAY,SAASC,2BAAT,GAAuC;EACvGD,MAAM,CAAC,IAAD,CAAN;;EACA,KAAKE,IAAL,GAAY,yBAAZ;EACA,KAAKC,OAAL,GAAe,uBAAf;AACH,CAJsD,CAAhD"},"metadata":{},"sourceType":"module"}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"ast":null,"code":"let nextHandle = 1;\nlet resolved;\nconst activeHandles = {};\n\nfunction findAndClearHandle(handle) {\n if (handle in activeHandles) {\n delete activeHandles[handle];\n return true;\n }\n\n return false;\n}\n\nexport const Immediate = {\n setImmediate(cb) {\n const handle = nextHandle++;\n activeHandles[handle] = true;\n\n if (!resolved) {\n resolved = Promise.resolve();\n }\n\n resolved.then(() => findAndClearHandle(handle) && cb());\n return handle;\n },\n\n clearImmediate(handle) {\n findAndClearHandle(handle);\n }\n\n};\nexport const TestTools = {\n pending() {\n return Object.keys(activeHandles).length;\n }\n\n};","map":{"version":3,"names":["nextHandle","resolved","activeHandles","findAndClearHandle","handle","Immediate","setImmediate","cb","Promise","resolve","then","clearImmediate","TestTools","pending","Object","keys","length"],"sources":["/home/marcochsner/RiderProjects/app_asp_net/angular-dotnet/ClientApp/node_modules/rxjs/dist/esm/internal/util/Immediate.js"],"sourcesContent":["let nextHandle = 1;\nlet resolved;\nconst activeHandles = {};\nfunction findAndClearHandle(handle) {\n if (handle in activeHandles) {\n delete activeHandles[handle];\n return true;\n }\n return false;\n}\nexport const Immediate = {\n setImmediate(cb) {\n const handle = nextHandle++;\n activeHandles[handle] = true;\n if (!resolved) {\n resolved = Promise.resolve();\n }\n resolved.then(() => findAndClearHandle(handle) && cb());\n return handle;\n },\n clearImmediate(handle) {\n findAndClearHandle(handle);\n },\n};\nexport const TestTools = {\n pending() {\n return Object.keys(activeHandles).length;\n }\n};\n"],"mappings":"AAAA,IAAIA,UAAU,GAAG,CAAjB;AACA,IAAIC,QAAJ;AACA,MAAMC,aAAa,GAAG,EAAtB;;AACA,SAASC,kBAAT,CAA4BC,MAA5B,EAAoC;EAChC,IAAIA,MAAM,IAAIF,aAAd,EAA6B;IACzB,OAAOA,aAAa,CAACE,MAAD,CAApB;IACA,OAAO,IAAP;EACH;;EACD,OAAO,KAAP;AACH;;AACD,OAAO,MAAMC,SAAS,GAAG;EACrBC,YAAY,CAACC,EAAD,EAAK;IACb,MAAMH,MAAM,GAAGJ,UAAU,EAAzB;IACAE,aAAa,CAACE,MAAD,CAAb,GAAwB,IAAxB;;IACA,IAAI,CAACH,QAAL,EAAe;MACXA,QAAQ,GAAGO,OAAO,CAACC,OAAR,EAAX;IACH;;IACDR,QAAQ,CAACS,IAAT,CAAc,MAAMP,kBAAkB,CAACC,MAAD,CAAlB,IAA8BG,EAAE,EAApD;IACA,OAAOH,MAAP;EACH,CAToB;;EAUrBO,cAAc,CAACP,MAAD,EAAS;IACnBD,kBAAkB,CAACC,MAAD,CAAlB;EACH;;AAZoB,CAAlB;AAcP,OAAO,MAAMQ,SAAS,GAAG;EACrBC,OAAO,GAAG;IACN,OAAOC,MAAM,CAACC,IAAP,CAAYb,aAAZ,EAA2Bc,MAAlC;EACH;;AAHoB,CAAlB"},"metadata":{},"sourceType":"module"}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"ast":null,"code":"import { operate } from '../util/lift';\nimport { scanInternals } from './scanInternals';\nexport function scan(accumulator, seed) {\n return operate(scanInternals(accumulator, seed, arguments.length >= 2, true));\n}","map":{"version":3,"names":["operate","scanInternals","scan","accumulator","seed","arguments","length"],"sources":["/home/marcochsner/RiderProjects/app_asp_net/angular-dotnet/ClientApp/node_modules/rxjs/dist/esm/internal/operators/scan.js"],"sourcesContent":["import { operate } from '../util/lift';\nimport { scanInternals } from './scanInternals';\nexport function scan(accumulator, seed) {\n return operate(scanInternals(accumulator, seed, arguments.length >= 2, true));\n}\n"],"mappings":"AAAA,SAASA,OAAT,QAAwB,cAAxB;AACA,SAASC,aAAT,QAA8B,iBAA9B;AACA,OAAO,SAASC,IAAT,CAAcC,WAAd,EAA2BC,IAA3B,EAAiC;EACpC,OAAOJ,OAAO,CAACC,aAAa,CAACE,WAAD,EAAcC,IAAd,EAAoBC,SAAS,CAACC,MAAV,IAAoB,CAAxC,EAA2C,IAA3C,CAAd,CAAd;AACH"},"metadata":{},"sourceType":"module"}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"ast":null,"code":"import { switchMap } from './switchMap';\nimport { operate } from '../util/lift';\nexport function switchScan(accumulator, seed) {\n return operate((source, subscriber) => {\n let state = seed;\n switchMap((value, index) => accumulator(state, value, index), (_, innerValue) => (state = innerValue, innerValue))(source).subscribe(subscriber);\n return () => {\n state = null;\n };\n });\n}","map":{"version":3,"names":["switchMap","operate","switchScan","accumulator","seed","source","subscriber","state","value","index","_","innerValue","subscribe"],"sources":["/home/marcochsner/RiderProjects/app_asp_net/angular-dotnet/ClientApp/node_modules/rxjs/dist/esm/internal/operators/switchScan.js"],"sourcesContent":["import { switchMap } from './switchMap';\nimport { operate } from '../util/lift';\nexport function switchScan(accumulator, seed) {\n return operate((source, subscriber) => {\n let state = seed;\n switchMap((value, index) => accumulator(state, value, index), (_, innerValue) => ((state = innerValue), innerValue))(source).subscribe(subscriber);\n return () => {\n state = null;\n };\n });\n}\n"],"mappings":"AAAA,SAASA,SAAT,QAA0B,aAA1B;AACA,SAASC,OAAT,QAAwB,cAAxB;AACA,OAAO,SAASC,UAAT,CAAoBC,WAApB,EAAiCC,IAAjC,EAAuC;EAC1C,OAAOH,OAAO,CAAC,CAACI,MAAD,EAASC,UAAT,KAAwB;IACnC,IAAIC,KAAK,GAAGH,IAAZ;IACAJ,SAAS,CAAC,CAACQ,KAAD,EAAQC,KAAR,KAAkBN,WAAW,CAACI,KAAD,EAAQC,KAAR,EAAeC,KAAf,CAA9B,EAAqD,CAACC,CAAD,EAAIC,UAAJ,MAAqBJ,KAAK,GAAGI,UAAT,EAAsBA,UAA1C,CAArD,CAAT,CAAqHN,MAArH,EAA6HO,SAA7H,CAAuIN,UAAvI;IACA,OAAO,MAAM;MACTC,KAAK,GAAG,IAAR;IACH,CAFD;EAGH,CANa,CAAd;AAOH"},"metadata":{},"sourceType":"module"}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"ast":null,"code":"import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function refCount() {\n return operate((source, subscriber) => {\n let connection = null;\n source._refCount++;\n const refCounter = createOperatorSubscriber(subscriber, undefined, undefined, undefined, () => {\n if (!source || source._refCount <= 0 || 0 < --source._refCount) {\n connection = null;\n return;\n }\n\n const sharedConnection = source._connection;\n const conn = connection;\n connection = null;\n\n if (sharedConnection && (!conn || sharedConnection === conn)) {\n sharedConnection.unsubscribe();\n }\n\n subscriber.unsubscribe();\n });\n source.subscribe(refCounter);\n\n if (!refCounter.closed) {\n connection = source.connect();\n }\n });\n}","map":{"version":3,"names":["operate","createOperatorSubscriber","refCount","source","subscriber","connection","_refCount","refCounter","undefined","sharedConnection","_connection","conn","unsubscribe","subscribe","closed","connect"],"sources":["/home/marcochsner/RiderProjects/app_asp_net/angular-dotnet/ClientApp/node_modules/rxjs/dist/esm/internal/operators/refCount.js"],"sourcesContent":["import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function refCount() {\n return operate((source, subscriber) => {\n let connection = null;\n source._refCount++;\n const refCounter = createOperatorSubscriber(subscriber, undefined, undefined, undefined, () => {\n if (!source || source._refCount <= 0 || 0 < --source._refCount) {\n connection = null;\n return;\n }\n const sharedConnection = source._connection;\n const conn = connection;\n connection = null;\n if (sharedConnection && (!conn || sharedConnection === conn)) {\n sharedConnection.unsubscribe();\n }\n subscriber.unsubscribe();\n });\n source.subscribe(refCounter);\n if (!refCounter.closed) {\n connection = source.connect();\n }\n });\n}\n"],"mappings":"AAAA,SAASA,OAAT,QAAwB,cAAxB;AACA,SAASC,wBAAT,QAAyC,sBAAzC;AACA,OAAO,SAASC,QAAT,GAAoB;EACvB,OAAOF,OAAO,CAAC,CAACG,MAAD,EAASC,UAAT,KAAwB;IACnC,IAAIC,UAAU,GAAG,IAAjB;IACAF,MAAM,CAACG,SAAP;IACA,MAAMC,UAAU,GAAGN,wBAAwB,CAACG,UAAD,EAAaI,SAAb,EAAwBA,SAAxB,EAAmCA,SAAnC,EAA8C,MAAM;MAC3F,IAAI,CAACL,MAAD,IAAWA,MAAM,CAACG,SAAP,IAAoB,CAA/B,IAAoC,IAAI,EAAEH,MAAM,CAACG,SAArD,EAAgE;QAC5DD,UAAU,GAAG,IAAb;QACA;MACH;;MACD,MAAMI,gBAAgB,GAAGN,MAAM,CAACO,WAAhC;MACA,MAAMC,IAAI,GAAGN,UAAb;MACAA,UAAU,GAAG,IAAb;;MACA,IAAII,gBAAgB,KAAK,CAACE,IAAD,IAASF,gBAAgB,KAAKE,IAAnC,CAApB,EAA8D;QAC1DF,gBAAgB,CAACG,WAAjB;MACH;;MACDR,UAAU,CAACQ,WAAX;IACH,CAZ0C,CAA3C;IAaAT,MAAM,CAACU,SAAP,CAAiBN,UAAjB;;IACA,IAAI,CAACA,UAAU,CAACO,MAAhB,EAAwB;MACpBT,UAAU,GAAGF,MAAM,CAACY,OAAP,EAAb;IACH;EACJ,CApBa,CAAd;AAqBH"},"metadata":{},"sourceType":"module"}
Loading