MCPcopy Create free account

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

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

↓ 45 callersFunctionmountAtcb
(config = {})
test/helpers/mount.js:21
↓ 32 callersFunctionclickSingleton
(host)
test/helpers/dom.js:76
↓ 22 callersFunctiontranslate_hook
(identifier: string, data: ATCBConfig)
src/i18n/index.ts:210
↓ 20 callersFunctioninterceptFileSave
()
test/helpers/capture.js:35
↓ 20 callersFunctioninterceptWindowOpen
()
test/helpers/capture.js:15
↓ 19 callersFunctionbaseEvent
(overrides = {})
test/helpers/mount.js:50
↓ 18 callersFunctiondecodeIcsHref
(href)
test/helpers/ics.js:9
↓ 18 callersFunctionopenList
(host)
test/helpers/dom.js:49
↓ 18 callersFunctionparseIcs
(raw)
test/helpers/ics.js:35
↓ 13 callersFunctionmodalHost
(host)
test/helpers/dom.js:86
↓ 12 callersFunctionbtnId
(host)
test/helpers/dom.js:19
↓ 12 callersFunctionr
(...p)
scripts/build.mjs:31
↓ 11 callersFunctionlog_event
(event: string, trigger: string, identifier: string)
src/core/events.ts:5
↓ 10 callersFunctiontoggle
(host: ShadowRoot, action: string, data: ATCBConfig | string = '', button: HTMLElement | string | null = null,
src/ui/control.ts:9
↓ 9 callersFunctionproEvtConfig
(overrides = {})
test/fixtures/pro.js:15
↓ 9 callersFunctionsecure_url
(url: string, throwError = true)
src/core/text.ts:40
↓ 8 callersFunctiongenerate_time
(data: ATCBConfig | ATCBDateEntry, style = 'delimiters', targetCal = 'general', addTimeZoneOffset = false)
src/core/dates.ts:7
↓ 8 callersFunctiongetActiveButton
()
src/core/store.ts:24
↓ 8 callersFunctionopen_cal_url
(data: ATCBConfig, type: string, url = '', subscribe = false, subEvent: 'all' | number | string | null = null,
src/generators/ical.ts:30
↓ 8 callersFunctionoptionEl
(host, type)
test/helpers/dom.js:37
↓ 8 callersFunctionrenderedOptions
(host)
test/helpers/dom.js:41
↓ 8 callersFunctionsecure_content
(data: unknown, isJSON = true)
src/core/text.ts:9
↓ 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:356
↓ 7 callersFunctiondecorate_data
(data: ATCBConfig | ATCBInputConfig)
src/core/decorate.ts:12
↓ 7 callersFunctionmuteConsole
(methods = ['error', 'warn'])
test/helpers/capture.js:92
↓ 7 callersFunctionresetDataLayer
()
test/helpers/datalayer.js:7
↓ 7 callersFunctionstrip_unsafe_keys
(node: unknown)
src/core/text.ts:24
↓ 6 callersFunctionclickOption
(host, type)
test/helpers/dom.js:62
↓ 6 callersFunctiondlEvents
(eventName = null)
test/helpers/datalayer.js:18
↓ 6 callersFunctionisBrowser
()
src/core/globals.ts:21
↓ 6 callersFunctionlistEl
(host)
test/helpers/dom.js:55
↓ 6 callersFunctionmockProFetch
(map = {}, { status = 200, networkError = false } = {})
test/fixtures/pro.js:88
↓ 6 callersFunctionproRsvpConfig
(overrides = {})
test/fixtures/pro.js:48
↓ 6 callersFunctionrewrite_html_elements
(content: string, clear = false, iCalBreaks = false)
src/core/text.ts:66
↓ 5 callersFunctionatcb_action
(inputData: ATCBInputConfig, triggerElement?: HTMLElement, keyboardTrigger = false)
src/action/index.ts:22
↓ 5 callersFunctiongenerate_modal_host
(host: ShadowRoot, data: ATCBConfig, reset: boolean = true)
src/ui/generate.ts:607
↓ 5 callersFunctiongenerate_rsvp_form
(host: ShadowRoot, data: ATCBConfig, hostEl: HTMLElement, keyboardTrigger: boolean = false)
src/ui/pro.ts:276
↓ 5 callersFunctiongetPartsForTimeZone
(dateObj: Date, timeZone: string)
src/core/dates.ts:637
↓ 5 callersFunctioninitFailed
(host)
test/helpers/dom.js:29
↓ 5 callersFunctionisMobile
()
src/core/globals.ts:77
↓ 5 callersFunctionpressEsc
()
test/helpers/dom.js:96
↓ 5 callersFunctionset_sizes
(el: HTMLElement, sizes: { [key: string]: number | string })
src/ui/positioning.ts:114
↓ 5 callersMethodwhenInitialized
()
src/element/index.ts:198
↓ 4 callersFunctionappend_text
(parent: Element, tag: string, value: string, part?: string)
src/ui/group-overview.ts:132
↓ 4 callersFunctioncheck_required
(data: ATCBInputConfig)
src/core/validate.ts:8
↓ 4 callersFunctionclose
(host: ShadowRoot, keyboardTrigger: boolean = false)
src/ui/control.ts:126
↓ 4 callersFunctioncreate_atcbl
(host: ShadowRoot, atList: boolean = true, returnEl: boolean = false, licenseNoteOnly: boolean = false)
src/ui/generate.ts:326
↓ 4 callersFunctiondebounce_leading
(this: void, func: (...args: A) => unknown, timeout = 300)
src/core/util.ts:143
↓ 4 callersFunctiongenerate_ical
(host: ShadowRoot | null, data: ATCBConfig, type: string, subEvent: 'all' | number | string = 'all', keyboardT
src/generators/ical.ts:103
↓ 4 callersFunctiongenerate_links
(host: ShadowRoot, type: string, data: ATCBConfig, subEvent: 'all' | number | string = 'all', keyboardTrigger
src/generators/index.ts:15
↓ 4 callersFunctiongetOptionStates
(id: string)
src/core/store.ts:40
↓ 4 callersFunctionmap_special_time_zones
(timeZone: string)
src/core/dates.ts:916
↓ 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 callersFunctionset_light_mode
(shadowRoot: ShadowRoot, data: ATCBConfig)
src/element/index.ts:608
↓ 4 callersFunctionsubEventBtn
(host, type, n)
test/helpers/dom.js:90
↓ 4 callersFunctionvalidate
(data: ATCBConfig)
src/core/validate.ts:57
↓ 3 callersFunctiondateButtonMeta
(data: ATCBConfig, subEventIn: string | number = 'all', forceFullDate: boolean = false)
src/ui/templates.ts:157
↓ 3 callersFunctiondebounce
(this: void, func: (...args: A) => unknown, timeout = 200)
src/core/util.ts:133
↓ 3 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:155
↓ 3 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:92
↓ 3 callersFunctionformat_datetime
(datetime: Date, style = 'delimiters', includeTime = true, removeZ = false)
src/core/dates.ts:111
↓ 3 callersFunctionget
(key: string)
demo/utils/localStorage.ts:14
↓ 3 callersFunctiongetConfigAttribute
(el: Element, param: string)
src/compat/attributes.ts:63
↓ 3 callersFunctiongetDefaultAttrs
(defaultName: string, defaultDescription: string, defaultLocation: string, goBlank: boolean = false)
demo/utils/attrs/default.ts:62
↓ 3 callersFunctionget_pro_data
(licenseKey?: string, el?: ATCBHostElement, directData: ATCBInputConfig & { proOverride?: boolean } = {})
src/element/index.ts:823
↓ 3 callersFunctionlegacyAttributeName
* The legacy attribute name: what the DOM stores for the documented camelCase * attribute names (HTML lowercases attribute names).
src/compat/attributes.ts:36
↓ 3 callersFunctionlicenseBanner
(subject)
scripts/build.mjs:35
↓ 3 callersFunctionload_css
(host: ShadowRoot, rootObj: HTMLElement | null = null, data: ATCBConfig)
src/element/index.ts:645
↓ 3 callersFunctionmanage_body_scroll
(host: ShadowRoot, modalObj: Element | null = null)
src/ui/positioning.ts:92
↓ 3 callersFunctionread_attributes
(el: ATCBHostElement, params: (keyof ATCBInputConfig)[] = wcParams)
src/element/index.ts:521
↓ 3 callersMethodremoveSsrShell
()
src/element/index.ts:102
↓ 3 callersFunctionrender
()
src/ui/group-overview.ts:329
↓ 3 callersFunctionrender_debug_msg
(host: ShadowRoot, error: unknown)
src/element/index.ts:771
↓ 3 callersFunctionresolveAttributeName
* Resolves the attribute name to read for a param on a given element, * honoring official-over-legacy precedence. Returns null if neither is set.
src/compat/attributes.ts:44
↓ 3 callersFunctionsetActiveButton
(id: string)
src/core/store.ts:20
↓ 3 callersFunctionset_fully_successful
(host: ShadowRoot, data: ATCBConfig, multiDateModal = false)
src/generators/index.ts:142
↓ 3 callersFunctionstatic_ics_file
(host: ShadowRoot | null, data: ATCBConfig, subEvent: 'all' | number)
src/generators/ical.ts:82
↓ 3 callersFunctionunfoldIcs
(raw)
test/helpers/ics.js:28
↓ 3 callersFunctionvalidEmail
(email: string)
src/core/util.ts:46
↓ 2 callersFunctionattrValue
(key, value)
test/helpers/mount.js:11
↓ 2 callersFunctionbuild_form
(fields: ATCBProFormField[], identifier: string = '', disabled: boolean = false)
src/ui/pro.ts:669
↓ 2 callersFunctionbuttonTemplate
(host: ShadowRoot, data: ATCBConfig)
src/ui/templates.ts:255
↓ 2 callersFunctioncan_group_ics
(data: ATCBConfig)
src/ui/ics-links.ts:36
↓ 2 callersFunctioncleanup
(host: ShadowRoot, identifier?: string)
src/element/index.ts:589
↓ 2 callersFunctionclipboard_note_content
(copyValue: string, data: ATCBConfig)
src/generators/ical.ts:337
↓ 2 callersFunctioncontextOf
(node)
scripts/split-css.mjs:120
↓ 2 callersFunctioncopy_to_clipboard
(dataString: unknown)
src/core/util.ts:55
↓ 2 callersFunctioncsp_nonce
(host: ShadowRoot)
src/element/index.ts:633
↓ 2 callersFunctioncycle
(config)
test/wc-tests/r-MEM-leaks.test.js:14
↓ 2 callersFunctiondateButtonAriaLabel
(data: ATCBConfig, subEvent: number, subEventAll: boolean, hoverText: string, fullTimeInfo: string[], oneOptio
src/ui/templates.ts:132
↓ 2 callersFunctiondateButtonContentTemplate
(data: ATCBConfig, subEventIn: string | number = 'all', forceFullDate: boolean = false)
src/ui/templates.ts:207
↓ 2 callersFunctiondecorate_data_dates
(data: ATCBConfig | ATCBInputConfig)
src/core/decorate-dates.ts:9
↓ 2 callersFunctiondecorate_sizes
* Size attribute parsing, shared by the client decoration pipeline and the ssr * shell. Deliberately dependency-free: the ssr entry must stay importa
src/core/sizes.ts:11
↓ 2 callersFunctiondeleteButtonInstance
(id: string)
src/core/store.ts:45
↓ 2 callersFunctionescape_html
(value: string)
src/core/text.ts:4
↓ 2 callersFunctionfileFor
(style)
scripts/split-css.mjs:29
↓ 2 callersFunctionflatten_translations
(strings: NestedTranslations, prefix: string = '')
src/i18n/index.ts:115
↓ 2 callersFunctiongenerate_bg_overlay
(host: ShadowRoot, trigger: string = '', modal: boolean = false, darken: boolean = true, closable: boolean = t
src/ui/generate.ts:253
next →1–100 of 446, ranked by callers