@runopencode/rx-stencil 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +18 -0
- package/README.md +42 -0
- package/dist/cjs/index-825eaf13.js +1207 -0
- package/dist/cjs/index-825eaf13.js.map +1 -0
- package/dist/cjs/index.cjs.js +672 -0
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/loader.cjs.js +24 -0
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/cjs/rx-async.cjs.entry.js +71 -0
- package/dist/cjs/rx-async.cjs.entry.js.map +1 -0
- package/dist/cjs/rx-stencil.cjs.js +28 -0
- package/dist/cjs/rx-stencil.cjs.js.map +1 -0
- package/dist/cjs/set-property-e9b49bec.js +1171 -0
- package/dist/cjs/set-property-e9b49bec.js.map +1 -0
- package/dist/collection/collection-manifest.json +12 -0
- package/dist/collection/components/async/async.js +66 -0
- package/dist/collection/components/async/async.js.map +1 -0
- package/dist/collection/components/async/async.scss +3 -0
- package/dist/collection/index.js +3 -0
- package/dist/collection/index.js.map +1 -0
- package/dist/collection/rx/decorator/index.js +3 -0
- package/dist/collection/rx/decorator/index.js.map +1 -0
- package/dist/collection/rx/decorator/query-selector-all.js +41 -0
- package/dist/collection/rx/decorator/query-selector-all.js.map +1 -0
- package/dist/collection/rx/decorator/query-selector.js +54 -0
- package/dist/collection/rx/decorator/query-selector.js.map +1 -0
- package/dist/collection/rx/index.js +5 -0
- package/dist/collection/rx/index.js.map +1 -0
- package/dist/collection/rx/observable/index.js +5 -0
- package/dist/collection/rx/observable/index.js.map +1 -0
- package/dist/collection/rx/observable/mutation-observable.js +13 -0
- package/dist/collection/rx/observable/mutation-observable.js.map +1 -0
- package/dist/collection/rx/observable/properties-observable.js +14 -0
- package/dist/collection/rx/observable/properties-observable.js.map +1 -0
- package/dist/collection/rx/observable/property-observable.js +28 -0
- package/dist/collection/rx/observable/property-observable.js.map +1 -0
- package/dist/collection/rx/observable/render-observable.js +24 -0
- package/dist/collection/rx/observable/render-observable.js.map +1 -0
- package/dist/collection/rx/operator/index.js +4 -0
- package/dist/collection/rx/operator/index.js.map +1 -0
- package/dist/collection/rx/operator/schedule-render.js +23 -0
- package/dist/collection/rx/operator/schedule-render.js.map +1 -0
- package/dist/collection/rx/operator/to-property.js +19 -0
- package/dist/collection/rx/operator/to-property.js.map +1 -0
- package/dist/collection/rx/operator/until-disconnected.js +105 -0
- package/dist/collection/rx/operator/until-disconnected.js.map +1 -0
- package/dist/collection/rx/subscriber/index.js +2 -0
- package/dist/collection/rx/subscriber/index.js.map +1 -0
- package/dist/collection/rx/subscriber/set-property.js +16 -0
- package/dist/collection/rx/subscriber/set-property.js.map +1 -0
- package/dist/collection/utils/get-property-descriptor.js +18 -0
- package/dist/collection/utils/get-property-descriptor.js.map +1 -0
- package/dist/collection/utils/index.js +2 -0
- package/dist/collection/utils/index.js.map +1 -0
- package/dist/components/index.d.ts +27 -0
- package/dist/components/index.js +661 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/rx-async.d.ts +11 -0
- package/dist/components/rx-async.js +86 -0
- package/dist/components/rx-async.js.map +1 -0
- package/dist/components/set-property.js +1153 -0
- package/dist/components/set-property.js.map +1 -0
- package/dist/esm/index-9f5c1c1c.js +1178 -0
- package/dist/esm/index-9f5c1c1c.js.map +1 -0
- package/dist/esm/index.js +660 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/loader.js +20 -0
- package/dist/esm/loader.js.map +1 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/css-shim.js +1 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/esm/rx-async.entry.js +67 -0
- package/dist/esm/rx-async.entry.js.map +1 -0
- package/dist/esm/rx-stencil.js +23 -0
- package/dist/esm/rx-stencil.js.map +1 -0
- package/dist/esm/set-property-adc341f7.js +1153 -0
- package/dist/esm/set-property-adc341f7.js.map +1 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/rx-stencil/index.esm.js +2 -0
- package/dist/rx-stencil/index.esm.js.map +1 -0
- package/dist/rx-stencil/p-3ccfcb54.js +3 -0
- package/dist/rx-stencil/p-3ccfcb54.js.map +1 -0
- package/dist/rx-stencil/p-55056215.js +2 -0
- package/dist/rx-stencil/p-55056215.js.map +1 -0
- package/dist/rx-stencil/p-b1ed83f6.entry.js +2 -0
- package/dist/rx-stencil/p-b1ed83f6.entry.js.map +1 -0
- package/dist/rx-stencil/rx-stencil.esm.js +2 -0
- package/dist/rx-stencil/rx-stencil.esm.js.map +1 -0
- package/dist/types/components/async/async.d.ts +10 -0
- package/dist/types/components.d.ts +41 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/rx/decorator/index.d.ts +2 -0
- package/dist/types/rx/decorator/query-selector-all.d.ts +22 -0
- package/dist/types/rx/decorator/query-selector.d.ts +30 -0
- package/dist/types/rx/index.d.ts +4 -0
- package/dist/types/rx/observable/index.d.ts +4 -0
- package/dist/types/rx/observable/mutation-observable.d.ts +2 -0
- package/dist/types/rx/observable/properties-observable.d.ts +6 -0
- package/dist/types/rx/observable/property-observable.d.ts +6 -0
- package/dist/types/rx/observable/render-observable.d.ts +8 -0
- package/dist/types/rx/operator/index.d.ts +3 -0
- package/dist/types/rx/operator/schedule-render.d.ts +12 -0
- package/dist/types/rx/operator/to-property.d.ts +9 -0
- package/dist/types/rx/operator/until-disconnected.d.ts +7 -0
- package/dist/types/rx/subscriber/index.d.ts +1 -0
- package/dist/types/rx/subscriber/set-property.d.ts +16 -0
- package/dist/types/stencil-public-runtime.d.ts +1640 -0
- package/dist/types/utils/get-property-descriptor.d.ts +7 -0
- package/dist/types/utils/index.d.ts +1 -0
- package/docs/components.md +69 -0
- package/docs/creation-operators.md +138 -0
- package/docs/pipeable-operators.md +36 -0
- package/docs/query-selector-all-decorator.md +154 -0
- package/docs/query-selector-decorator.md +116 -0
- package/docs/subscribers.md +49 -0
- package/loader/cdn.js +3 -0
- package/loader/index.cjs.js +3 -0
- package/loader/index.d.ts +21 -0
- package/loader/index.es2017.js +3 -0
- package/loader/index.js +4 -0
- package/loader/package.json +11 -0
- package/package.json +48 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"index.cjs.js","mappings":";;;;;;;AAAO,MAAM,qBAAqB,GAAG;AACrC,IAAI,GAAG,GAAG;AACV,QAAQ,OAAO,CAAC,qBAAqB,CAAC,QAAQ,IAAI,IAAI,EAAE,GAAG,EAAE,CAAC;AAC9D,KAAK;AACL,IAAI,QAAQ,EAAE,SAAS;AACvB,CAAC;;ACHM,MAAM,aAAa,SAASA,mBAAO,CAAC;AAC3C,IAAI,WAAW,CAAC,WAAW,GAAG,QAAQ,EAAE,WAAW,GAAG,QAAQ,EAAE,kBAAkB,GAAG,qBAAqB,EAAE;AAC5G,QAAQ,KAAK,EAAE,CAAC;AAChB,QAAQ,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;AACvC,QAAQ,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;AACvC,QAAQ,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;AACrD,QAAQ,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;AAC1B,QAAQ,IAAI,CAAC,mBAAmB,GAAG,IAAI,CAAC;AACxC,QAAQ,IAAI,CAAC,mBAAmB,GAAG,WAAW,KAAK,QAAQ,CAAC;AAC5D,QAAQ,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC;AACpD,QAAQ,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC;AACpD,KAAK;AACL,IAAI,IAAI,CAAC,KAAK,EAAE;AAChB,QAAQ,MAAM,EAAE,SAAS,EAAE,OAAO,EAA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BAA2B;GAC9B,CAAC;EAEF,KAAK,IAAI,EAAE,IAAI,SAAS,EAAE;IACtB,IAAI;MACA,qBAAqB,CAAC,GAAG,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;MACxC,OAAO;KACV;IAAC,OAAO,CAAC,EAAE;;KAEX;GACJ;EAED,MAAM,IAAI,KAAK,CAAC,yDAAyD,GAAG,CAAC,WAAW,CAAC,IAAI,IAAI,CAAC,CAAC;AACvG,CAAC;AAED;;;;SAIgB,iBAAiB,CAAc,GAAuB;EAClE,OAAO,CAAC,MAAqB;IACzB,IAAI,CAAC,qBAAqB,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE;MACjC,0BAA0B,CAAC,GAAG,CAAC,CAAC;KACnC;IAED,IAAI,qBAAqB,GAAqB,qBAAqB,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAE7E,OAAO,MAAM,CAAC,IAAI,CACd,SAAS,CAAI,qBAAqB,CAAC,CACtC,CAAC;GACL,CAAC;AACN;;;;;;;;;;;;;","names":["Subject","operate","createOperatorSubscriber","isArray","popScheduler","popResultSelector","from","Observable","identity","executeSchedule","innerFrom","isFunction","SafeSubscriber","noop","propertyObservable","getElement","distinctUntilChanged","forceUpdate","getPropertyDescriptor"],"sources":["./node_modules/rxjs/dist/esm/internal/scheduler/dateTimestampProvider.js","./node_modules/rxjs/dist/esm/internal/ReplaySubject.js","./node_modules/rxjs/dist/esm/internal/operators/map.js","./node_modules/rxjs/dist/esm/internal/util/mapOneOrManyArgs.js","./node_modules/rxjs/dist/esm/internal/util/argsArgArrayOrObject.js","./node_modules/rxjs/dist/esm/internal/util/createObject.js","./node_modules/rxjs/dist/esm/internal/observable/combineLatest.js","./node_modules/rxjs/dist/esm/internal/operators/mergeInternals.js","./node_modules/rxjs/dist/esm/internal/operators/mergeMap.js","./node_modules/rxjs/dist/esm/internal/operators/mergeAll.js","./node_modules/rxjs/dist/esm/internal/operators/concatAll.js","./node_modules/rxjs/dist/esm/internal/observable/concat.js","./node_modules/rxjs/dist/esm/internal/operators/filter.js","./node_modules/rxjs/dist/esm/internal/operators/share.js","./node_modules/rxjs/dist/esm/internal/operators/shareReplay.js","./node_modules/rxjs/dist/esm/internal/operators/startWith.js","./node_modules/rxjs/dist/esm/internal/operators/takeUntil.js","./node_modules/rxjs/dist/esm/internal/operators/tap.js","./src/rx/observable/mutation-observable.ts","./src/rx/observable/properties-observable.ts","./src/rx/observable/render-observable.ts","./src/rx/decorator/query-selector.ts","./src/rx/decorator/query-selector-all.ts","./src/rx/operator/schedule-render.ts","./src/rx/operator/to-property.ts","./src/rx/operator/until-disconnected.ts"],"sourcesContent":["export const dateTimestampProvider = {\n now() {\n return (dateTimestampProvider.delegate || Date).now();\n },\n delegate: undefined,\n};\n//# sourceMappingURL=dateTimestampProvider.js.map","import { Subject } from './Subject';\nimport { dateTimestampProvider } from './scheduler/dateTimestampProvider';\nexport class ReplaySubject extends Subject {\n constructor(_bufferSize = Infinity, _windowTime = Infinity, _timestampProvider = dateTimestampProvider) {\n super();\n this._bufferSize = _bufferSize;\n this._windowTime = _windowTime;\n this._timestampProvider = _timestampProvider;\n this._buffer = [];\n this._infiniteTimeWindow = true;\n this._infiniteTimeWindow = _windowTime === Infinity;\n this._bufferSize = Math.max(1, _bufferSize);\n this._windowTime = Math.max(1, _windowTime);\n }\n next(value) {\n const { isStopped, _buffer, _infiniteTimeWindow, _timestampProvider, _windowTime } = this;\n if (!isStopped) {\n _buffer.push(value);\n !_infiniteTimeWindow && _buffer.push(_timestampProvider.now() + _windowTime);\n }\n this._trimBuffer();\n super.next(value);\n }\n _subscribe(subscriber) {\n this._throwIfClosed();\n this._trimBuffer();\n const subscription = this._innerSubscribe(subscriber);\n const { _infiniteTimeWindow, _buffer } = this;\n const copy = _buffer.slice();\n for (let i = 0; i < copy.length && !subscriber.closed; i += _infiniteTimeWindow ? 1 : 2) {\n subscriber.next(copy[i]);\n }\n this._checkFinalizedStatuses(subscriber);\n return subscription;\n }\n _trimBuffer() {\n const { _bufferSize, _timestampProvider, _buffer, _infiniteTimeWindow } = this;\n const adjustedBufferSize = (_infiniteTimeWindow ? 1 : 2) * _bufferSize;\n _bufferSize < Infinity && adjustedBufferSize < _buffer.length && _buffer.splice(0, _buffer.length - adjustedBufferSize);\n if (!_infiniteTimeWindow) {\n const now = _timestampProvider.now();\n let last = 0;\n for (let i = 1; i < _buffer.length && _buffer[i] <= now; i += 2) {\n last = i;\n }\n last && _buffer.splice(0, last + 1);\n }\n }\n}\n//# sourceMappingURL=ReplaySubject.js.map","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function map(project, thisArg) {\n return operate((source, subscriber) => {\n let index = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n subscriber.next(project.call(thisArg, value, index++));\n }));\n });\n}\n//# sourceMappingURL=map.js.map","import { map } from \"../operators/map\";\nconst { isArray } = Array;\nfunction callOrApply(fn, args) {\n return isArray(args) ? fn(...args) : fn(args);\n}\nexport function mapOneOrManyArgs(fn) {\n return map(args => callOrApply(fn, args));\n}\n//# sourceMappingURL=mapOneOrManyArgs.js.map","const { isArray } = Array;\nconst { getPrototypeOf, prototype: objectProto, keys: getKeys } = Object;\nexport function argsArgArrayOrObject(args) {\n if (args.length === 1) {\n const first = args[0];\n if (isArray(first)) {\n return { args: first, keys: null };\n }\n if (isPOJO(first)) {\n const keys = getKeys(first);\n return {\n args: keys.map((key) => first[key]),\n keys,\n };\n }\n }\n return { args: args, keys: null };\n}\nfunction isPOJO(obj) {\n return obj && typeof obj === 'object' && getPrototypeOf(obj) === objectProto;\n}\n//# sourceMappingURL=argsArgArrayOrObject.js.map","export function createObject(keys, values) {\n return keys.reduce((result, key, i) => ((result[key] = values[i]), result), {});\n}\n//# sourceMappingURL=createObject.js.map","import { Observable } from '../Observable';\nimport { argsArgArrayOrObject } from '../util/argsArgArrayOrObject';\nimport { from } from './from';\nimport { identity } from '../util/identity';\nimport { mapOneOrManyArgs } from '../util/mapOneOrManyArgs';\nimport { popResultSelector, popScheduler } from '../util/args';\nimport { createObject } from '../util/createObject';\nimport { createOperatorSubscriber } from '../operators/OperatorSubscriber';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function combineLatest(...args) {\n const scheduler = popScheduler(args);\n const resultSelector = popResultSelector(args);\n const { args: observables, keys } = argsArgArrayOrObject(args);\n if (observables.length === 0) {\n return from([], scheduler);\n }\n const result = new Observable(combineLatestInit(observables, scheduler, keys\n ?\n (values) => createObject(keys, values)\n :\n identity));\n return resultSelector ? result.pipe(mapOneOrManyArgs(resultSelector)) : result;\n}\nexport function combineLatestInit(observables, scheduler, valueTransform = identity) {\n return (subscriber) => {\n maybeSchedule(scheduler, () => {\n const { length } = observables;\n const values = new Array(length);\n let active = length;\n let remainingFirstValues = length;\n for (let i = 0; i < length; i++) {\n maybeSchedule(scheduler, () => {\n const source = from(observables[i], scheduler);\n let hasFirstValue = false;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n values[i] = value;\n if (!hasFirstValue) {\n hasFirstValue = true;\n remainingFirstValues--;\n }\n if (!remainingFirstValues) {\n subscriber.next(valueTransform(values.slice()));\n }\n }, () => {\n if (!--active) {\n subscriber.complete();\n }\n }));\n }, subscriber);\n }\n }, subscriber);\n };\n}\nfunction maybeSchedule(scheduler, execute, subscription) {\n if (scheduler) {\n executeSchedule(subscription, scheduler, execute);\n }\n else {\n execute();\n }\n}\n//# sourceMappingURL=combineLatest.js.map","import { innerFrom } from '../observable/innerFrom';\nimport { executeSchedule } from '../util/executeSchedule';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function mergeInternals(source, subscriber, project, concurrent, onBeforeNext, expand, innerSubScheduler, additionalFinalizer) {\n const buffer = [];\n let active = 0;\n let index = 0;\n let isComplete = false;\n const checkComplete = () => {\n if (isComplete && !buffer.length && !active) {\n subscriber.complete();\n }\n };\n const outerNext = (value) => (active < concurrent ? doInnerSub(value) : buffer.push(value));\n const doInnerSub = (value) => {\n expand && subscriber.next(value);\n active++;\n let innerComplete = false;\n innerFrom(project(value, index++)).subscribe(createOperatorSubscriber(subscriber, (innerValue) => {\n onBeforeNext === null || onBeforeNext === void 0 ? void 0 : onBeforeNext(innerValue);\n if (expand) {\n outerNext(innerValue);\n }\n else {\n subscriber.next(innerValue);\n }\n }, () => {\n innerComplete = true;\n }, undefined, () => {\n if (innerComplete) {\n try {\n active--;\n while (buffer.length && active < concurrent) {\n const bufferedValue = buffer.shift();\n if (innerSubScheduler) {\n executeSchedule(subscriber, innerSubScheduler, () => doInnerSub(bufferedValue));\n }\n else {\n doInnerSub(bufferedValue);\n }\n }\n checkComplete();\n }\n catch (err) {\n subscriber.error(err);\n }\n }\n }));\n };\n source.subscribe(createOperatorSubscriber(subscriber, outerNext, () => {\n isComplete = true;\n checkComplete();\n }));\n return () => {\n additionalFinalizer === null || additionalFinalizer === void 0 ? void 0 : additionalFinalizer();\n };\n}\n//# sourceMappingURL=mergeInternals.js.map","import { map } from './map';\nimport { innerFrom } from '../observable/innerFrom';\nimport { operate } from '../util/lift';\nimport { mergeInternals } from './mergeInternals';\nimport { isFunction } from '../util/isFunction';\nexport function mergeMap(project, resultSelector, concurrent = Infinity) {\n if (isFunction(resultSelector)) {\n return mergeMap((a, i) => map((b, ii) => resultSelector(a, b, i, ii))(innerFrom(project(a, i))), concurrent);\n }\n else if (typeof resultSelector === 'number') {\n concurrent = resultSelector;\n }\n return operate((source, subscriber) => mergeInternals(source, subscriber, project, concurrent));\n}\n//# sourceMappingURL=mergeMap.js.map","import { mergeMap } from './mergeMap';\nimport { identity } from '../util/identity';\nexport function mergeAll(concurrent = Infinity) {\n return mergeMap(identity, concurrent);\n}\n//# sourceMappingURL=mergeAll.js.map","import { mergeAll } from './mergeAll';\nexport function concatAll() {\n return mergeAll(1);\n}\n//# sourceMappingURL=concatAll.js.map","import { concatAll } from '../operators/concatAll';\nimport { popScheduler } from '../util/args';\nimport { from } from './from';\nexport function concat(...args) {\n return concatAll()(from(args, popScheduler(args)));\n}\n//# sourceMappingURL=concat.js.map","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function filter(predicate, thisArg) {\n return operate((source, subscriber) => {\n let index = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => predicate.call(thisArg, value, index++) && subscriber.next(value)));\n });\n}\n//# sourceMappingURL=filter.js.map","import { innerFrom } from '../observable/innerFrom';\nimport { Subject } from '../Subject';\nimport { SafeSubscriber } from '../Subscriber';\nimport { operate } from '../util/lift';\nexport function share(options = {}) {\n const { connector = () => new Subject(), resetOnError = true, resetOnComplete = true, resetOnRefCountZero = true } = options;\n return (wrapperSource) => {\n let connection;\n let resetConnection;\n let subject;\n let refCount = 0;\n let hasCompleted = false;\n let hasErrored = false;\n const cancelReset = () => {\n resetConnection === null || resetConnection === void 0 ? void 0 : resetConnection.unsubscribe();\n resetConnection = undefined;\n };\n const reset = () => {\n cancelReset();\n connection = subject = undefined;\n hasCompleted = hasErrored = false;\n };\n const resetAndUnsubscribe = () => {\n const conn = connection;\n reset();\n conn === null || conn === void 0 ? void 0 : conn.unsubscribe();\n };\n return operate((source, subscriber) => {\n refCount++;\n if (!hasErrored && !hasCompleted) {\n cancelReset();\n }\n const dest = (subject = subject !== null && subject !== void 0 ? subject : connector());\n subscriber.add(() => {\n refCount--;\n if (refCount === 0 && !hasErrored && !hasCompleted) {\n resetConnection = handleReset(resetAndUnsubscribe, resetOnRefCountZero);\n }\n });\n dest.subscribe(subscriber);\n if (!connection &&\n refCount > 0) {\n connection = new SafeSubscriber({\n next: (value) => dest.next(value),\n error: (err) => {\n hasErrored = true;\n cancelReset();\n resetConnection = handleReset(reset, resetOnError, err);\n dest.error(err);\n },\n complete: () => {\n hasCompleted = true;\n cancelReset();\n resetConnection = handleReset(reset, resetOnComplete);\n dest.complete();\n },\n });\n innerFrom(source).subscribe(connection);\n }\n })(wrapperSource);\n };\n}\nfunction handleReset(reset, on, ...args) {\n if (on === true) {\n reset();\n return;\n }\n if (on === false) {\n return;\n }\n const onSubscriber = new SafeSubscriber({\n next: () => {\n onSubscriber.unsubscribe();\n reset();\n },\n });\n return innerFrom(on(...args)).subscribe(onSubscriber);\n}\n//# sourceMappingURL=share.js.map","import { ReplaySubject } from '../ReplaySubject';\nimport { share } from './share';\nexport function shareReplay(configOrBufferSize, windowTime, scheduler) {\n let bufferSize;\n let refCount = false;\n if (configOrBufferSize && typeof configOrBufferSize === 'object') {\n ({ bufferSize = Infinity, windowTime = Infinity, refCount = false, scheduler } = configOrBufferSize);\n }\n else {\n bufferSize = (configOrBufferSize !== null && configOrBufferSize !== void 0 ? configOrBufferSize : Infinity);\n }\n return share({\n connector: () => new ReplaySubject(bufferSize, windowTime, scheduler),\n resetOnError: true,\n resetOnComplete: false,\n resetOnRefCountZero: refCount,\n });\n}\n//# sourceMappingURL=shareReplay.js.map","import { concat } from '../observable/concat';\nimport { popScheduler } from '../util/args';\nimport { operate } from '../util/lift';\nexport function startWith(...values) {\n const scheduler = popScheduler(values);\n return operate((source, subscriber) => {\n (scheduler ? concat(values, source, scheduler) : concat(values, source)).subscribe(subscriber);\n });\n}\n//# sourceMappingURL=startWith.js.map","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { innerFrom } from '../observable/innerFrom';\nimport { noop } from '../util/noop';\nexport function takeUntil(notifier) {\n return operate((source, subscriber) => {\n innerFrom(notifier).subscribe(createOperatorSubscriber(subscriber, () => subscriber.complete(), noop));\n !subscriber.closed && source.subscribe(subscriber);\n });\n}\n//# sourceMappingURL=takeUntil.js.map","import { isFunction } from '../util/isFunction';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { identity } from '../util/identity';\nexport function tap(observerOrNext, error, complete) {\n const tapObserver = isFunction(observerOrNext) || error || complete\n ?\n { next: observerOrNext, error, complete }\n : observerOrNext;\n return tapObserver\n ? operate((source, subscriber) => {\n var _a;\n (_a = tapObserver.subscribe) === null || _a === void 0 ? void 0 : _a.call(tapObserver);\n let isUnsub = true;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n var _a;\n (_a = tapObserver.next) === null || _a === void 0 ? void 0 : _a.call(tapObserver, value);\n subscriber.next(value);\n }, () => {\n var _a;\n isUnsub = false;\n (_a = tapObserver.complete) === null || _a === void 0 ? void 0 : _a.call(tapObserver);\n subscriber.complete();\n }, (err) => {\n var _a;\n isUnsub = false;\n (_a = tapObserver.error) === null || _a === void 0 ? void 0 : _a.call(tapObserver, err);\n subscriber.error(err);\n }, () => {\n var _a, _b;\n if (isUnsub) {\n (_a = tapObserver.unsubscribe) === null || _a === void 0 ? void 0 : _a.call(tapObserver);\n }\n (_b = tapObserver.finalize) === null || _b === void 0 ? void 0 : _b.call(tapObserver);\n }));\n })\n :\n identity;\n}\n//# sourceMappingURL=tap.js.map","import {\n Observable,\n Subscriber,\n TeardownLogic,\n} from 'rxjs';\n\nexport function mutationObservable(target: Node, options?: MutationObserverInit): Observable<MutationRecord[]> {\n return new Observable((observer: Subscriber<MutationRecord[]>): TeardownLogic => {\n let mutation: MutationObserver = new MutationObserver((mutations: MutationRecord[]): void => {\n observer.next(mutations);\n });\n\n mutation.observe(target, options);\n\n return (): void => {\n mutation.disconnect();\n };\n });\n}\n","import { ComponentInterface } from '@stencil/core';\nimport {\n combineLatest,\n Observable,\n} from 'rxjs';\nimport { propertyObservable } from './property-observable';\n\n/**\n * Returns an observable that emits an array of values from the given properties.\n */\nexport function propertiesObservable<T extends any[]>(cmp: ComponentInterface, ...properties: string[]): Observable<T> {\n if (0 === properties.length) {\n throw new Error('At least one property must be specified.');\n }\n\n return combineLatest(properties.map((property: string): Observable<any> => {\n return propertyObservable(cmp, property);\n })) as Observable<any>;\n}\n","import { ComponentInterface } from '@stencil/core';\nimport {\n Observable,\n Subscriber,\n TeardownLogic,\n} from 'rxjs';\n\n/**\n * Returns an observable that emits when the component render()\n * function is called. Value will be emitted after the next\n * microtask (next tick).\n */\nexport function renderObservable(cmp: ComponentInterface): Observable<void> {\n if ('function' !== typeof cmp.render) {\n throw new Error('Component does not have a render function.');\n }\n\n return new Observable<void>((subscriber: Subscriber<void>): TeardownLogic => {\n let previousRender: () => any = cmp.render;\n\n cmp.render = function (): any {\n Promise.resolve().then((): void => {\n subscriber.next();\n });\n\n return previousRender.call(this);\n }\n\n return (): void => {\n cmp.render = previousRender;\n }\n });\n}\n","import {\n ComponentInterface,\n getElement,\n} from '@stencil/core';\nimport {\n distinctUntilChanged,\n filter,\n map,\n Observable,\n shareReplay,\n startWith,\n} from 'rxjs';\nimport {\n mutationObservable,\n renderObservable,\n} from '../observable';\n\n/**\n * Options for QuerySelector decorator.\n */\nexport type QuerySelectorOptions = {\n /**\n * If `true`, the element will be searched in the shadow root. Default is `false`.\n */\n shadowRoot?: boolean;\n /**\n * If `true`, mutation observer instead of `renderObservable` from this package will\n * be used to detect changes. Default is `false`.\n */\n mutationObserver?: boolean;\n};\n\n/**\n * Observe all sub nodes of the given node and notify\n * when any of them is removed and/or added.\n *\n * {@internal}\n */\nexport function observeSubNodes(target: Node): Observable<void> {\n return mutationObservable(target, {\n subtree: true,\n childList: true,\n }).pipe(\n filter((records: MutationRecord[]): boolean => {\n for (let i: number = 0; i < records.length; i++) {\n if ('childList' !== records[i].type) {\n continue;\n }\n\n if (records[i].addedNodes.length || records[i].removedNodes.length) {\n return true;\n }\n }\n\n return false;\n }),\n map((): void => {\n /* noop */\n }),\n );\n}\n\n/**\n * Property decorator inspired by Angular's @ViewChild/@ContentChild.\n *\n * After each render, the decorated property will be set to the first element\n * matching the given selector. If no element is found, the property will be\n * set to null.\n */\nexport function QuerySelector<T extends HTMLElement = HTMLElement>(selector: string, options?: QuerySelectorOptions): any {\n return (target: Function, property: string): void => {\n let descriptor: PropertyDescriptor = {\n set: function (): void {\n throw new Error(`Property \"${property}\" is read-only.`);\n },\n get: function (this: ComponentInterface): Observable<T | null> {\n let observableProperty: string = `__rx__query_selector__observable__shadow_root__${options?.shadowRoot ? 'yes' : 'no'}__mutation_observer__${options?.mutationObserver ? 'yes' : 'no'}__selector__${selector}__`;\n\n if (!this[observableProperty]) {\n let root: HTMLElement | ShadowRoot = options?.shadowRoot ? getElement(this).shadowRoot : getElement(this);\n let observable: Observable<void> = options?.mutationObserver ? observeSubNodes(root) : renderObservable(this);\n\n this[observableProperty] = observable.pipe(\n startWith(),\n map((): T => root.querySelector(selector)),\n distinctUntilChanged(),\n shareReplay(1),\n );\n }\n\n return this[observableProperty];\n },\n }\n\n Object.defineProperty(target, property, descriptor);\n };\n}\n","import {\n ComponentInterface,\n getElement,\n} from '@stencil/core';\nimport {\n distinctUntilChanged,\n map,\n Observable,\n shareReplay,\n startWith,\n} from 'rxjs';\nimport { renderObservable } from '../observable';\nimport { observeSubNodes } from './query-selector';\n\n/**\n * Options for QuerySelectorAll decorator.\n */\nexport type QuerySelectorAllOptions = {\n /**\n * If `true`, the elements will be searched in the shadow root. Default is `false`.\n */\n shadowRoot?: boolean;\n /**\n * If `true`, mutation observer instead of `renderObservable` from this package will\n * be used to detect changes. Default is `false`.\n */\n mutationObserver?: boolean;\n};\n\n/**\n * Property decorator inspired by Angular's @ViewChild/@ContentChild.\n *\n * After each render, the decorated property will be set to the first element\n * matching the given selector. If no element is found, the property will be\n * set to null.\n */\nexport function QuerySelectorAll<T extends HTMLElement = HTMLElement>(selector: string, options?: QuerySelectorAllOptions): any {\n return (target: Function, property: string): void => {\n let descriptor: PropertyDescriptor = {\n set: function (): void {\n throw new Error(`Property \"${property}\" is read-only.`);\n },\n get: function (this: ComponentInterface): Observable<T | null> {\n let observableProperty: string = `__rx__query_selector_all__observable__shadow_root__${options?.shadowRoot ? 'yes' : 'no'}__mutation_observer__${options?.mutationObserver ? 'yes' : 'no'}__selector__${selector}__`;\n\n if (!this[observableProperty]) {\n let root: HTMLElement | ShadowRoot = options?.shadowRoot ? getElement(this).shadowRoot : getElement(this);\n let observable: Observable<void> = options?.mutationObserver ? observeSubNodes(root) : renderObservable(this);\n\n this[observableProperty] = observable.pipe(\n startWith(),\n map((): T[] => Array.from(root.querySelectorAll(selector))),\n distinctUntilChanged((previous: T[], current: T[]): boolean => {\n if (previous.length !== current.length) {\n return false;\n }\n\n for (let i: number = 0; i < previous.length; i++) {\n if (previous[i] !== current[i]) {\n return false;\n }\n }\n\n return true;\n }),\n shareReplay(1),\n );\n }\n\n return this[observableProperty];\n },\n }\n\n Object.defineProperty(target, property, descriptor);\n };\n}\n","import {\n ComponentInterface,\n forceUpdate,\n} from '@stencil/core';\nimport {\n MonoTypeOperatorFunction,\n Observable,\n tap,\n} from 'rxjs';\n\n/**\n * Schedule a render of the component. This is useful when you\n * want to force a render of the component as result of changing\n * the values of the component which are not tracked by Stencil,\n * observables, for example.\n *\n * By default, the render is scheduled on the next tick, but you\n * can disable this behavior by passing `false` as second argument.\n */\nexport function scheduleRender<T = unknown>(cmp: ComponentInterface, nextTick: boolean = true): MonoTypeOperatorFunction<T> {\n return (source: Observable<T>): Observable<T> => {\n return source.pipe(tap((): void => {\n if (!nextTick) {\n forceUpdate(cmp);\n return;\n }\n\n Promise.resolve().then((): void => forceUpdate(cmp));\n }));\n };\n}\n","import { ComponentInterface } from '@stencil/core';\nimport {\n MonoTypeOperatorFunction,\n tap,\n} from 'rxjs';\nimport { getPropertyDescriptor } from '../../utils';\n\n/**\n * Use this function to tap into a value stream and flush value to\n * component property. You may also use this function as subscription\n * function (function will detect that value is passed instead of\n * observable).\n */\nexport function toProperty<T = any>(cmp: ComponentInterface, property: string): MonoTypeOperatorFunction<T> {\n // ensure that the property is defined on the component.\n getPropertyDescriptor(cmp, property);\n\n // @ts-ignore\n return (source: Observable<T>): Observable<T> | void => {\n return source.pipe(\n tap((value: T): void => {\n cmp[property] = value;\n }),\n );\n };\n}\n","import {\n ComponentInterface,\n getElement,\n} from '@stencil/core';\nimport {\n MonoTypeOperatorFunction,\n Observable,\n Subject,\n Subscriber,\n takeUntil,\n TeardownLogic,\n} from 'rxjs';\n\n/**\n * A map of component observables that are being watched for\n * disconnect callback invocation. A weak map is being used\n * so that the component instance can be garbage collected.\n *\n * {@internal}\n */\nlet disconnectObservables: WeakMap<ComponentInterface, Observable<void>> = new WeakMap();\n\n/**\n * A function that creates an observable which emits an event\n * when the component is disconnected from DOM.\n *\n * {@internal}\n */\ntype CreateDisconnectObservableFn = (cmp: ComponentInterface) => Observable<void>;\n\n/**\n * Creates an observable that emits a value when the component\n * is disconnected from DOM and method `disconnectedCallback()`\n * is invoked. StencilJS will supress the invocation of this\n * method if it is not defined on the component.\n *\n * {@internal}\n */\nlet createUsingDisconnectedCallback: CreateDisconnectObservableFn = function (cmp: ComponentInterface): Observable<void> {\n let previousDisconnected: Function | undefined = cmp.disconnectedCallback;\n\n if (!previousDisconnected) {\n throw new Error(`Component \"${cmp.constructor.name}\" does not have a \"disconnectedCallback()\" method defined.`);\n }\n\n let disconnectedSubject$: Subject<void> = new Subject<void>();\n\n cmp.disconnectedCallback = function (): void {\n if (previousDisconnected) {\n previousDisconnected.call(cmp);\n }\n\n disconnectedSubject$.next();\n };\n\n return disconnectedSubject$.asObservable();\n}\n\n/**\n * Mutation observer is our next heuristic. We will monitor parent\n * node of the component and emit a value when the component is\n * disconnected from DOM. This will only work, of course, if the\n * component is not the root node of the application and component\n * is already within DOM.\n *\n * {@internal}\n */\nlet createUsingMutationObserver: CreateDisconnectObservableFn = function (cmp: ComponentInterface): Observable<void> {\n let element: HTMLElement = getElement(cmp);\n\n if (null === element.parentNode) {\n throw new Error(`Component \"${cmp.constructor.name}\" is not within DOM.`);\n }\n\n return new Observable<void>((observer: Subscriber<void>): TeardownLogic => {\n\n let mutationObserver: MutationObserver = new MutationObserver((mutations: MutationRecord[]): void => {\n mutations.forEach((record: MutationRecord): void => {\n for (let node of Array.from(record.removedNodes)) {\n if (node !== element) {\n continue;\n }\n\n observer.next();\n observer.complete();\n }\n });\n });\n\n mutationObserver.observe(element.parentNode, {\n childList: true,\n subtree: true,\n });\n\n return (): void => {\n mutationObserver.disconnect();\n // we can not re-use this observable, so we have to delete it\n disconnectObservables.delete(cmp);\n };\n });\n\n\n}\n\n/**\n * Creates an observable that emits a value when the component\n * is disconnected from DOM.\n *\n * {@internal}\n */\nfunction createDisconnectObservable(cmp: ComponentInterface): void {\n let functions: CreateDisconnectObservableFn[] = [\n createUsingDisconnectedCallback,\n createUsingMutationObserver,\n ];\n\n for (let fn of functions) {\n try {\n disconnectObservables.set(cmp, fn(cmp));\n return;\n } catch (e) {\n // noop\n }\n }\n\n throw new Error(`Could not create disconnect observable for component \"${cmp.constructor.name}\".`);\n}\n\n/**\n * Operator that unsubscribes from the source observable when\n * the component is disconnected from DOM.\n */\nexport function untilDisconnected<T = unknown>(cmp: ComponentInterface): MonoTypeOperatorFunction<T> {\n return (source: Observable<T>): Observable<T> => {\n if (!disconnectObservables.has(cmp)) {\n createDisconnectObservable(cmp);\n }\n\n let disconnectObservable$: Observable<void> = disconnectObservables.get(cmp);\n\n return source.pipe(\n takeUntil<T>(disconnectObservable$),\n );\n };\n}\n"],"version":3}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-825eaf13.js');
|
|
6
|
+
|
|
7
|
+
/*
|
|
8
|
+
Stencil Client Patch Esm v3.4.2 | MIT Licensed | https://stenciljs.com
|
|
9
|
+
*/
|
|
10
|
+
const patchEsm = () => {
|
|
11
|
+
return index.promiseResolve();
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
const defineCustomElements = (win, options) => {
|
|
15
|
+
if (typeof window === 'undefined') return Promise.resolve();
|
|
16
|
+
return patchEsm().then(() => {
|
|
17
|
+
return index.bootstrapLazy([["rx-async.cjs",[[0,"rx-async",{"value":[16]}]]]], options);
|
|
18
|
+
});
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
exports.setNonce = index.setNonce;
|
|
22
|
+
exports.defineCustomElements = defineCustomElements;
|
|
23
|
+
|
|
24
|
+
//# sourceMappingURL=loader.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"loader.cjs.js","mappings":";;;;;;AAAA;AACA;AACA;AAGA,MAAM,QAAQ,GAAG,MAAM;AAiBvB,IAAI,OAAOA,oBAAc,EAAE,CAAC;AAC5B,CAAC;;ACnBW,MAAC,oBAAoB,GAAG,CAAC,GAAG,EAAE,OAAO,KAAK;AACtD,EAAE,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE,OAAO,OAAO,CAAC,OAAO,EAAE,CAAC;AAC9D,EAAE,OAAO,QAAQ,EAAE,CAAC,IAAI,CAAC,MAAM;AAE/B,EAAE,OAAOC,mBAAa,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;AAC9D,GAAG,CAAC,CAAC;AACL;;;;;","names":["promiseResolve","bootstrapLazy"],"sources":["./node_modules/@stencil/core/internal/client/patch-esm.js","@lazy-external-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Esm v3.4.2 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD } from '@stencil/core/internal/app-data';\nimport { CSS, plt, win, promiseResolve } from '@stencil/core';\nconst patchEsm = () => {\n // NOTE!! This fn cannot use async/await!\n // TODO(STENCIL-659): Remove code implementing the CSS variable shim\n // @ts-ignore\n if (BUILD.cssVarShim && !(CSS && CSS.supports && CSS.supports('color', 'var(--c)'))) {\n // @ts-ignore\n return import(/* webpackChunkName: \"polyfills-css-shim\" */ './css-shim.js').then(() => {\n if ((plt.$cssShim$ = win.__cssshim)) {\n // TODO(STENCIL-659): Remove code implementing the CSS variable shim\n return plt.$cssShim$.i();\n }\n else {\n // for better minification\n return 0;\n }\n });\n }\n return promiseResolve();\n};\nexport { patchEsm };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchEsm } from '@stencil/core/internal/client/patch-esm';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\nexport const defineCustomElements = (win, options) => {\n if (typeof window === 'undefined') return Promise.resolve();\n return patchEsm().then(() => {\n globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n });\n};\n"],"version":3}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-825eaf13.js');
|
|
6
|
+
const setProperty = require('./set-property-e9b49bec.js');
|
|
7
|
+
|
|
8
|
+
function of(...args) {
|
|
9
|
+
const scheduler = setProperty.popScheduler(args);
|
|
10
|
+
return setProperty.from(args, scheduler);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
function isObservable(obj) {
|
|
14
|
+
return !!obj && (obj instanceof setProperty.Observable || (setProperty.isFunction(obj.lift) && setProperty.isFunction(obj.subscribe)));
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
function switchMap(project, resultSelector) {
|
|
18
|
+
return setProperty.operate((source, subscriber) => {
|
|
19
|
+
let innerSubscriber = null;
|
|
20
|
+
let index = 0;
|
|
21
|
+
let isComplete = false;
|
|
22
|
+
const checkComplete = () => isComplete && !innerSubscriber && subscriber.complete();
|
|
23
|
+
source.subscribe(setProperty.createOperatorSubscriber(subscriber, (value) => {
|
|
24
|
+
innerSubscriber === null || innerSubscriber === void 0 ? void 0 : innerSubscriber.unsubscribe();
|
|
25
|
+
let innerIndex = 0;
|
|
26
|
+
const outerIndex = index++;
|
|
27
|
+
setProperty.innerFrom(project(value, outerIndex)).subscribe((innerSubscriber = setProperty.createOperatorSubscriber(subscriber, (innerValue) => subscriber.next(resultSelector ? resultSelector(value, innerValue, outerIndex, innerIndex++) : innerValue), () => {
|
|
28
|
+
innerSubscriber = null;
|
|
29
|
+
checkComplete();
|
|
30
|
+
})));
|
|
31
|
+
}, () => {
|
|
32
|
+
isComplete = true;
|
|
33
|
+
checkComplete();
|
|
34
|
+
}));
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
const asyncScss = ":host{display:inline-block}";
|
|
39
|
+
|
|
40
|
+
const Async = class {
|
|
41
|
+
constructor(hostRef) {
|
|
42
|
+
index.registerInstance(this, hostRef);
|
|
43
|
+
this._value = null;
|
|
44
|
+
this.value = null;
|
|
45
|
+
}
|
|
46
|
+
connectedCallback() {
|
|
47
|
+
setProperty.propertyObservable(this, 'value').pipe(switchMap((value) => {
|
|
48
|
+
if (isObservable(value)) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
if (value instanceof Promise) {
|
|
52
|
+
return setProperty.from(value);
|
|
53
|
+
}
|
|
54
|
+
return of(value);
|
|
55
|
+
})).subscribe(setProperty.setProperty(this, '_value', {
|
|
56
|
+
scheduleRender: true,
|
|
57
|
+
nextTick: false,
|
|
58
|
+
}));
|
|
59
|
+
}
|
|
60
|
+
disconnectedCallback() {
|
|
61
|
+
// noop
|
|
62
|
+
}
|
|
63
|
+
render() {
|
|
64
|
+
return (index.h(index.Host, null, this._value));
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
Async.style = asyncScss;
|
|
68
|
+
|
|
69
|
+
exports.rx_async = Async;
|
|
70
|
+
|
|
71
|
+
//# sourceMappingURL=rx-async.cjs.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"rx-async.entry.cjs.js","mappings":";;;;;;;AAEO,SAAS,EAAE,CAAC,GAAG,IAAI,EAAE;AAC5B,IAAI,MAAM,SAAS,GAAGA,wBAAY,CAAC,IAAI,CAAC,CAAC;AACzC,IAAI,OAAOC,gBAAI,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;AACjC;;ACHO,SAAS,YAAY,CAAC,GAAG,EAAE;AAClC,IAAI,OAAO,CAAC,CAAC,GAAG,KAAK,GAAG,YAAYC,sBAAU,KAAKC,sBAAU,CAAC,GAAG,CAAC,IAAI,CAAC,IAAIA,sBAAU,CAAC,GAAG,C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AA6B;;MC0BlC,KAAK;;;IAKN,WAAM,GAAY,IAAI,CAAC;iBAFJ,IAAI;;EAIxB,iBAAiB;IACpBE,8BAAkB,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAClC,SAAS,CAAC,CAAC,KAAiB;MACxB,IAAI,YAAY,CAAC,KAAK,CAAC,EAAE;QACrB,OAAO,KAAK,CAAC;OAChB;MAED,IAAI,KAAK,YAAY,OAAO,EAAE;QAC1B,OAAON,gBAAI,CAAC,KAAK,CAAC,CAAC;OACtB;MAED,OAAO,EAAE,CAAC,KAAK,CAAC,CAAC;KACpB,CAAC,CACL,CAAC,SAAS,CAACO,uBAAW,CAAC,IAAI,EAAE,QAAQ,EAAE;MACpC,cAAc,EAAE,IAAI;MACpB,QAAQ,EAAQ,KAAK;KACxB,CAAC,CAAC,CAAC;GACP;EAEM,oBAAoB;;GAE1B;EAEM,MAAM;IACT,QACIC,QAACC,UAAI,QACA,IAAI,CAAC,MAAM,CACT,EACV;GACJ;;;;;;","names":["popScheduler","from","Observable","isFunction","operate","createOperatorSubscriber","innerFrom","propertyObservable","setProperty","h","Host"],"sources":["./node_modules/rxjs/dist/esm/internal/observable/of.js","./node_modules/rxjs/dist/esm/internal/util/isObservable.js","./node_modules/rxjs/dist/esm/internal/operators/switchMap.js","./src/components/async/async.scss?tag=rx-async","./src/components/async/async.tsx"],"sourcesContent":["import { popScheduler } from '../util/args';\nimport { from } from './from';\nexport function of(...args) {\n const scheduler = popScheduler(args);\n return from(args, scheduler);\n}\n//# sourceMappingURL=of.js.map","import { Observable } from '../Observable';\nimport { isFunction } from './isFunction';\nexport function isObservable(obj) {\n return !!obj && (obj instanceof Observable || (isFunction(obj.lift) && isFunction(obj.subscribe)));\n}\n//# sourceMappingURL=isObservable.js.map","import { innerFrom } from '../observable/innerFrom';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function switchMap(project, resultSelector) {\n return operate((source, subscriber) => {\n let innerSubscriber = null;\n let index = 0;\n let isComplete = false;\n const checkComplete = () => isComplete && !innerSubscriber && subscriber.complete();\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n innerSubscriber === null || innerSubscriber === void 0 ? void 0 : innerSubscriber.unsubscribe();\n let innerIndex = 0;\n const outerIndex = index++;\n innerFrom(project(value, outerIndex)).subscribe((innerSubscriber = createOperatorSubscriber(subscriber, (innerValue) => subscriber.next(resultSelector ? resultSelector(value, innerValue, outerIndex, innerIndex++) : innerValue), () => {\n innerSubscriber = null;\n checkComplete();\n })));\n }, () => {\n isComplete = true;\n checkComplete();\n }));\n });\n}\n//# sourceMappingURL=switchMap.js.map",":host {\n display: inline-block;\n}","import {\n Component,\n ComponentInterface,\n h,\n Host,\n Prop,\n} from '@stencil/core';\nimport {\n from,\n isObservable,\n Observable,\n of,\n switchMap,\n} from 'rxjs';\nimport {\n propertyObservable,\n setProperty,\n} from '../../rx';\n\nexport type AsyncValue = Promise<unknown> | Observable<unknown> | null | undefined;\n\n@Component({\n tag: 'rx-async',\n shadow: false,\n styleUrl: 'async.scss',\n})\nexport class Async implements ComponentInterface {\n\n @Prop()\n public value: AsyncValue = null;\n\n private _value: unknown = null;\n\n public connectedCallback(): void {\n propertyObservable(this, 'value').pipe(\n switchMap((value: AsyncValue): Observable<unknown> => {\n if (isObservable(value)) {\n return value;\n }\n\n if (value instanceof Promise) {\n return from(value);\n }\n\n return of(value);\n }),\n ).subscribe(setProperty(this, '_value', {\n scheduleRender: true,\n nextTick: false,\n }));\n }\n\n public disconnectedCallback(): void {\n // noop\n }\n\n public render(): any {\n return (\n <Host>\n {this._value}\n </Host>\n )\n }\n}"],"version":3}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-825eaf13.js');
|
|
6
|
+
|
|
7
|
+
/*
|
|
8
|
+
Stencil Client Patch Browser v3.4.2 | MIT Licensed | https://stenciljs.com
|
|
9
|
+
*/
|
|
10
|
+
const patchBrowser = () => {
|
|
11
|
+
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('rx-stencil.cjs.js', document.baseURI).href));
|
|
12
|
+
const opts = {};
|
|
13
|
+
// TODO(STENCIL-663): Remove code related to deprecated `safari10` field.
|
|
14
|
+
if (importMeta !== '') {
|
|
15
|
+
opts.resourcesUrl = new URL('.', importMeta).href;
|
|
16
|
+
// TODO(STENCIL-661): Remove code related to the dynamic import shim
|
|
17
|
+
// TODO(STENCIL-663): Remove code related to deprecated `safari10` field.
|
|
18
|
+
}
|
|
19
|
+
return index.promiseResolve(opts);
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
patchBrowser().then(options => {
|
|
23
|
+
return index.bootstrapLazy([["rx-async.cjs",[[0,"rx-async",{"value":[16]}]]]], options);
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
exports.setNonce = index.setNonce;
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=rx-stencil.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"rx-stencil.cjs.js","mappings":";;;;;;AAAA;AACA;AACA;AAiBA,MAAM,YAAY,GAAG,MAAM;AAkC3B,IAAI,MAAM,UAAU,GAAG,4MAAe,CAAC;AACvC,IAAI,MAAM,IAAI,GAAiE,EAAE,CAAC;AAgBlF;AACA,IAAI,IAAuB,UAAU,KAAK,EAAE,EAAE;AAC9C,QAAQ,IAAI,CAAC,YAAY,GAAG,IAAI,GAAG,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC,IAAI,CAAC;AAC1D;AACA;AACA,KAaK;AACL,IAAI,OAAOA,oBAAc,CAAC,IAAI,CAAC,CAAC;AAChC,CAAC;;ACtFD,YAAY,EAAE,CAAC,IAAI,CAAC,OAAO,IAAI;AAE/B,EAAE,OAAOC,mBAAa,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;AAC9D,CAAC,CAAC;;;;","names":["promiseResolve","bootstrapLazy"],"sources":["./node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v3.4.2 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, plt, win, doc, promiseResolve, H } from '@stencil/core';\n/**\n * Helper method for querying a `meta` tag that contains a nonce value\n * out of a DOM's head.\n *\n * @param doc The DOM containing the `head` to query against\n * @returns The content of the meta tag representing the nonce value, or `undefined` if no tag\n * exists or the tag has no content.\n */\nfunction queryNonceMetaTagContent(doc) {\n var _a, _b, _c;\n return (_c = (_b = (_a = doc.head) === null || _a === void 0 ? void 0 : _a.querySelector('meta[name=\"csp-nonce\"]')) === null || _b === void 0 ? void 0 : _b.getAttribute('content')) !== null && _c !== void 0 ? _c : undefined;\n}\n// TODO(STENCIL-661): Remove code related to the dynamic import shim\nconst getDynamicImportFunction = (namespace) => `__sc_import_${namespace.replace(/\\s|-/g, '_')}`;\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n // TODO(STENCIL-659): Remove code implementing the CSS variable shim\n if (BUILD.cssVarShim) {\n // shim css vars\n // TODO(STENCIL-659): Remove code implementing the CSS variable shim\n plt.$cssShim$ = win.__cssshim;\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n if (BUILD.profile && !performance.mark) {\n // not all browsers support performance.mark/measure (Safari 10)\n // because the mark/measure APIs are designed to write entries to a buffer in the browser that does not exist,\n // simply stub the implementations out.\n // TODO(STENCIL-323): Remove this patch when support for older browsers is removed (breaking)\n // @ts-ignore\n performance.mark = performance.measure = () => {\n /*noop*/\n };\n performance.getEntriesByName = () => [];\n }\n // @ts-ignore\n const scriptElm = \n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n BUILD.scriptDataOpts || BUILD.safari10 || BUILD.dynamicImportShim\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})['data-opts'] || {} : {};\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n if (BUILD.safari10 && 'onbeforeload' in scriptElm && !history.scrollRestoration /* IS_ESM_BUILD */) {\n // Safari < v11 support: This IF is true if it's Safari below v11.\n // This fn cannot use async/await since Safari didn't support it until v11,\n // however, Safari 10 did support modules. Safari 10 also didn't support \"nomodule\",\n // so both the ESM file and nomodule file would get downloaded. Only Safari\n // has 'onbeforeload' in the script, and \"history.scrollRestoration\" was added\n // to Safari in v11. Return a noop then() so the async/await ESM code doesn't continue.\n // IS_ESM_BUILD is replaced at build time so this check doesn't happen in systemjs builds.\n return {\n then() {\n /* promise noop */\n },\n };\n }\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n if (!BUILD.safari10 && importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n }\n else if (BUILD.dynamicImportShim || BUILD.safari10) {\n opts.resourcesUrl = new URL('.', new URL(scriptElm.getAttribute('data-resources-url') || scriptElm.src, win.location.href)).href;\n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n if (BUILD.dynamicImportShim) {\n patchDynamicImport(opts.resourcesUrl, scriptElm);\n }\n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n if (BUILD.dynamicImportShim && !win.customElements) {\n // module support, but no custom elements support (Old Edge)\n // @ts-ignore\n return import(/* webpackChunkName: \"polyfills-dom\" */ './dom.js').then(() => opts);\n }\n }\n return promiseResolve(opts);\n};\n// TODO(STENCIL-661): Remove code related to the dynamic import shim\nconst patchDynamicImport = (base, orgScriptElm) => {\n const importFunctionName = getDynamicImportFunction(NAMESPACE);\n try {\n // test if this browser supports dynamic imports\n // There is a caching issue in V8, that breaks using import() in Function\n // By generating a random string, we can workaround it\n // Check https://bugs.chromium.org/p/chromium/issues/detail?id=990810 for more info\n win[importFunctionName] = new Function('w', `return import(w);//${Math.random()}`);\n }\n catch (e) {\n // this shim is specifically for browsers that do support \"esm\" imports\n // however, they do NOT support \"dynamic\" imports\n // basically this code is for old Edge, v18 and below\n const moduleMap = new Map();\n win[importFunctionName] = (src) => {\n var _a;\n const url = new URL(src, base).href;\n let mod = moduleMap.get(url);\n if (!mod) {\n const script = doc.createElement('script');\n script.type = 'module';\n script.crossOrigin = orgScriptElm.crossOrigin;\n script.src = URL.createObjectURL(new Blob([`import * as m from '${url}'; window.${importFunctionName}.m = m;`], {\n type: 'application/javascript',\n }));\n // Apply CSP nonce to the script tag if it exists\n const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);\n if (nonce != null) {\n script.setAttribute('nonce', nonce);\n }\n mod = new Promise((resolve) => {\n script.onload = () => {\n resolve(win[importFunctionName].m);\n script.remove();\n };\n });\n moduleMap.set(url, mod);\n doc.head.appendChild(script);\n }\n return mod;\n };\n }\n};\nconst patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function (deep) {\n if (this.nodeName === 'TEMPLATE') {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(options => {\n globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"version":3}
|