MCPcopy Create free account

hub / github.com/add2cal/add-to-calendar-button / functions

Functions860 in github.com/add2cal/add-to-calendar-button

↓ 87 callersMethodreplace
(content: string | ReadableStream | Response, options?: ContentOptions)
demo/worker-configuration.d.ts:1624
↓ 46 callersFunctionmountAtcb
(config = {})
test/helpers/mount.js:21
↓ 44 callersMethodget
(key: string, options: R2GetOptions & { onlyIf: R2Conditional | Headers; })
demo/worker-configuration.d.ts:2062
↓ 41 callersMethodsetAttribute
(name: string, value: string)
demo/worker-configuration.d.ts:1592
↓ 37 callersMethodremove
()
demo/worker-configuration.d.ts:1625
↓ 32 callersFunctionclickSingleton
(host)
test/helpers/dom.js:76
↓ 31 callersMethodgetAttribute
(name: string)
demo/worker-configuration.d.ts:1590
↓ 26 callersMethodappend
(content: string | ReadableStream | Response, options?: ContentOptions)
demo/worker-configuration.d.ts:1597
↓ 22 callersMethodlog
* The **`console.log()`** static method outputs a message to the console. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/con
demo/worker-configuration.d.ts:194
↓ 22 callersFunctiontranslate_hook
(identifier: string, data: ATCBConfig)
src/i18n/index.ts:230
↓ 21 callersFunctioninterceptWindowOpen
()
test/helpers/capture.js:15
↓ 21 callersFunctionparseIcs
(raw)
test/helpers/ics.js:35
↓ 20 callersFunctionbaseEvent
(overrides = {})
test/helpers/mount.js:50
↓ 20 callersFunctioninterceptFileSave
()
test/helpers/capture.js:35
↓ 19 callersFunctionopenList
(host)
test/helpers/dom.js:49
↓ 18 callersFunctiondecodeIcsHref
(href)
test/helpers/ics.js:9
↓ 17 callersMethodtoString
()
demo/worker-configuration.d.ts:539
↓ 15 callersMethoderror
* The **`console.error()`** static method outputs a message to the console at the "error" log level. The message is only displayed to the user if the
demo/worker-configuration.d.ts:164
↓ 14 callersFunctiondecorate_data
(data: ATCBConfig | ATCBInputConfig)
src/core/decorate.ts:12
↓ 14 callersFunctionmodalHost
(host)
test/helpers/dom.js:86
↓ 14 callersMethodset
* Set a new stored value
demo/worker-configuration.d.ts:13528
↓ 12 callersFunctionbtnId
(host)
test/helpers/dom.js:19
↓ 12 callersFunctionlog_event
(event: string, trigger: string, identifier: string)
src/core/events.ts:5
↓ 12 callersFunctionr
(...p)
scripts/build.mjs:31
↓ 12 callersFunctionsecure_content
(data: unknown, isJSON = true)
src/core/text.ts:42
↓ 12 callersFunctionsecure_url
(url: string, throwError = true)
src/core/text.ts:82
↓ 10 callersFunctionproEvtConfig
(overrides = {})
test/fixtures/pro.js:15
↓ 10 callersFunctiontoggle
(host: ShadowRoot, action: string, data: ATCBConfig | string = '', button: HTMLElement | string | null = null,
src/ui/control.ts:9
↓ 10 callersFunctionvalidate
(data: ATCBConfig)
src/core/validate.ts:57
↓ 9 callersFunctiongenerate_ical
(host: ShadowRoot | null, data: ATCBConfig, type: string, subEvent: 'all' | number | string = 'all', keyboardT
src/generators/ical.ts:96
↓ 9 callersMethodhasAttribute
(name: string)
demo/worker-configuration.d.ts:1591
↓ 9 callersFunctionopen_cal_url
(data: ATCBConfig, type: string, url = '', subscribe = false, subEvent: 'all' | number | string | null = null,
src/generators/ical.ts:30
↓ 9 callersMethodwhenInitialized
()
src/element/index.ts:248
↓ 8 callersFunctiongenerate_time
(data: ATCBConfig | ATCBDateEntry, style = 'delimiters', targetCal = 'general', addTimeZoneOffset = false)
src/core/dates.ts:6
↓ 8 callersFunctiongetActiveButton
()
src/core/store.ts:24
↓ 8 callersFunctionmuteConsole
(methods = ['error', 'warn'])
test/helpers/capture.js:103
↓ 8 callersFunctionoptionEl
(host, type)
test/helpers/dom.js:37
↓ 8 callersFunctionrenderedOptions
(host)
test/helpers/dom.js:41
↓ 8 callersFunctionresolve
(source: unknown, path: string)
demo/src/utils/playground/i18n.ts:17
↓ 8 callersFunctionstrip_unsafe_keys
(node: unknown)
src/core/text.ts:66
↓ 8 callersFunctiontrigger
(host)
test/helpers/dom.js:33
↓ 7 callersFunctioncreate_modal
( mainHost: ShadowRoot, data: ATCBConfig, icon: string = '', headline?: string, content: string = ''
src/ui/generate.ts:369
↓ 7 callersFunctionescape_html
(value: string)
src/core/text.ts:12
↓ 7 callersMethodjson
()
demo/worker-configuration.d.ts:2107
↓ 7 callersMethodprepend
(content: string | ReadableStream | Response, options?: ContentOptions)
demo/worker-configuration.d.ts:1596
↓ 7 callersFunctionproRsvpConfig
(overrides = {})
test/fixtures/pro.js:48
↓ 7 callersFunctionresetDataLayer
()
test/helpers/datalayer.js:7
↓ 7 callersMethodwarn
* The **`console.warn()`** static method outputs a warning message to the console at the "warning" log level. The message is only displayed to the use
demo/worker-configuration.d.ts:232
↓ 6 callersFunctionatcb_action
(inputData: ATCBInputConfig, triggerElement?: HTMLElement, keyboardTrigger = false)
src/action/index.ts:22
↓ 6 callersFunctionclickOption
(host, type)
test/helpers/dom.js:62
↓ 6 callersMethoddelete
(keys: string | string[])
demo/worker-configuration.d.ts:2072
↓ 6 callersFunctiondlEvents
(eventName = null)
test/helpers/datalayer.js:18
↓ 6 callersFunctionisBrowser
()
src/core/globals.ts:22
↓ 6 callersFunctionlistEl
(host)
test/helpers/dom.js:55
↓ 6 callersFunctionmockProFetch
(map = {}, { status = 200, networkError = false } = {})
test/fixtures/pro.js:88
↓ 6 callersMethodremoveAttribute
(name: string)
demo/worker-configuration.d.ts:1593
↓ 6 callersFunctionsafe_html
(content: string)
src/core/text.ts:18
↓ 5 callersFunctioncheckpointSpeech
(reader: ScreenReaderPlaywright)
test/screen-reader/helpers.ts:94
↓ 5 callersMethodclose
()
demo/worker-configuration.d.ts:3340
↓ 5 callersFunctionensure_locale
* Makes sure the translation pack for the configured language is available before * rendering (labels are needed synchronously at template time). Unk
src/i18n/index.ts:174
↓ 5 callersFunctionfetch_with_context
* Adds request context to browser fetch rejections (for example CSP failures), * whose native error messages usually contain no URL.
src/core/fetch.ts:5
↓ 5 callersFunctiongenerate_modal_host
(host: ShadowRoot, data: ATCBConfig, reset: boolean = true)
src/ui/generate.ts:635
↓ 5 callersFunctiongenerate_rsvp_form
(host: ShadowRoot, data: ATCBConfig, hostEl: HTMLElement, keyboardTrigger: boolean = false)
src/ui/pro.ts:277
↓ 5 callersFunctiongetProp
(obj: unknown, key: string | number)
demo/src/utils/i18n.ts:39
↓ 5 callersFunctioninitFailed
(host)
test/helpers/dom.js:29
↓ 5 callersFunctionisMobile
()
src/core/globals.ts:79
↓ 5 callersFunctionmap_special_time_zones
(timeZone: string)
src/core/dates.ts:849
↓ 5 callersFunctionpressEsc
()
test/helpers/dom.js:96
↓ 5 callersFunctionrewrite_html_elements
(content: string, clear = false, iCalBreaks = false, preserveEntities = false)
src/core/text.ts:115
↓ 5 callersFunctionset_light_mode
(shadowRoot: ShadowRoot, data: ATCBConfig)
src/element/index.ts:716
↓ 5 callersFunctionset_sizes
(el: HTMLElement, sizes: { [key: string]: number | string })
src/ui/positioning.ts:117
↓ 5 callersMethodvalues
(options?: ReadableStreamValuesOptions)
demo/worker-configuration.d.ts:2309
↓ 4 callersFunctionappend_text
(parent: Element, tag: string, value: string, part?: string)
src/ui/group-overview.ts:212
↓ 4 callersFunctionassert_no_script
(data: unknown)
src/core/text.ts:28
↓ 4 callersFunctioncheck_required
(data: ATCBInputConfig)
src/core/validate.ts:8
↓ 4 callersFunctionclose
(host: ShadowRoot, keyboardTrigger: boolean = false)
src/ui/control.ts:127
↓ 4 callersFunctioncreate_atcbl
(host: ShadowRoot, atList: boolean = true, returnEl: boolean = false, licenseNoteOnly: boolean = false)
src/ui/generate.ts:327
↓ 4 callersFunctiondebounce_leading
(this: void, func: (...args: A) => unknown, timeout = 300)
src/core/util.ts:143
↓ 4 callersFunctionensure_style
* Resolves the full css (core + style delta) for the configured buttonStyle. * Returns null when nothing should be injected (style none, unstyle buil
src/styles/css-template.ts:106
↓ 4 callersFunctionescape_html_text
(value: string)
src/core/text.ts:6
↓ 4 callersFunctionformatYmd
(year: number, month: number, day: number)
src/core/dates.ts:253
↓ 4 callersFunctiongenerate_links
(host: ShadowRoot, type: string, data: ATCBConfig, subEvent: 'all' | number | string = 'all', keyboardTrigger
src/generators/index.ts:15
↓ 4 callersFunctiongetOccurrencesInRange
(rruleStr: string, startDate: string, startTime: string, tzid: string, from: string, to: string)
src/core/dates.ts:792
↓ 4 callersFunctiongetOptionStates
(id: string)
src/core/store.ts:40
↓ 4 callersFunctionofficialAttributeName
* The official kebab-case attribute name for a config param.
src/compat/attributes.ts:22
↓ 4 callersFunctionprepare_ics_link
(host: ShadowRoot, data: ATCBConfig, control: HTMLElement, type: string, subEvent: 'all' | number = 'all', con
src/ui/ics-links.ts:78
↓ 4 callersFunctionread_attributes
(el: ATCBHostElement, params: (keyof ATCBInputConfig)[] = wcParams)
src/element/index.ts:628
↓ 4 callersFunctionremove_client_group_overview_skeleton
(loading: ClientGroupOverviewSkeleton | null)
src/element/index.ts:65
↓ 4 callersFunctionruleInterval
(rule: ATCBRRuleParts)
src/core/dates.ts:414
↓ 4 callersFunctionstatic_ics_file
(host: ShadowRoot | null, data: ATCBConfig, subEvent: 'all' | number)
src/generators/ical.ts:67
↓ 4 callersFunctionsubEventBtn
(host, type, n)
test/helpers/dom.js:90
↓ 4 callersFunctionvisit
(object: Record<string, unknown>)
demo/src/utils/playground/attrs.ts:63
↓ 4 callersFunctionzonedDateTime
(date: string, time: string, timeZone: string)
src/core/dates.ts:267
↓ 3 callersMethodabort
(reason?: any)
demo/worker-configuration.d.ts:462
↓ 3 callersFunctionabortError
(signal: AbortSignal)
src/core/dates.ts:766
↓ 3 callersFunctioncreate_client_group_overview_skeleton
(host: ShadowRoot)
src/element/index.ts:42
↓ 3 callersFunctioncsp_nonce
(host: ShadowRoot)
src/element/index.ts:741
↓ 3 callersFunctiondateButtonMeta
(data: ATCBConfig, subEventIn: string | number = 'all', forceFullDate: boolean = false)
src/ui/templates.ts:159
↓ 3 callersFunctiondebounce
(this: void, func: (...args: A) => unknown, timeout = 200)
src/core/util.ts:133
↓ 3 callersFunctionexpectSpeech
(reader: ScreenReaderPlaywright, expected: RegExp, forbidden?: RegExp)
test/screen-reader/helpers.ts:107
next →1–100 of 860, ranked by callers